Home
last modified time | relevance | path

Searched refs:widthSpec (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/widget/
DListPopupWindow.java643 final int widthSpec; in show() local
647 widthSpec = -1; in show()
649 widthSpec = getAnchorView().getWidth(); in show()
651 widthSpec = mDropDownWidth; in show()
677 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, in show()
681 final int widthSpec; in show()
683 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
686 widthSpec = getAnchorView().getWidth(); in show()
688 widthSpec = mDropDownWidth; in show()
703 mPopup.setWidth(widthSpec); in show()
[all …]
DGridLayout.java1039 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
1045 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
1056 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
1058 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
1071 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
1081 int widthSpecSansPadding = adjust( widthSpec, -hPadding); in onMeasure()
1104 resolveSizeAndState(measuredWidth, widthSpec, 0), in onMeasure()
DPopupWindow.java1166 public void setWindowLayoutMode(int widthSpec, int heightSpec) { in setWindowLayoutMode() argument
1167 mWidthMode = widthSpec; in setWindowLayoutMode()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java75 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
76 super.onMeasure(widthSpec, heightSpec); in onMeasure()
78 measureChild(getHeader(), widthSpec, heightSpec); in onMeasure() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java199 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
200 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
203 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + in onMeasure()
211 final int widthSize = MeasureSpec.getSize(widthSpec); in onMeasure()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DHierarchicalMove.java100 int widthSpec = wide ? LayoutParams.WRAP_CONTENT : LayoutParams.MATCH_PARENT; in sendMessage() local
101 LayoutParams params = new LayoutParams(widthSpec, LayoutParams.WRAP_CONTENT); in sendMessage()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java131 int widthSpec = MeasureSpec.makeMeasureSpec(getWidth(), MeasureSpec.AT_MOST); in updateState() local
133 child.measure(widthSpec, heightSpec); in updateState()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java107 int widthSpec = View.MeasureSpec.makeMeasureSpec(right - left, View.MeasureSpec.EXACTLY); in copyViewImage() local
109 copy.measure(widthSpec, heightSpec); in copyViewImage()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java855 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
871 measureChildWithMargins(child, widthSpec, 0,
875 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
891 measureChildWithMargins(child, widthSpec, 0,
895 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
DSubtitleView.java220 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
222 if (computeMeasurements(widthSpec)) { in onMeasure()
DRecyclerView.java2951 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
2953 defaultOnMeasure(widthSpec, heightSpec); in onMeasure()
2957 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
2961 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
2970 mLayout.setMeasureSpecs(widthSpec, heightSpec); in onMeasure()
2975 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure()
2986 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure()
2990 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3017 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3026 void defaultOnMeasure(int widthSpec, int heightSpec) { in defaultOnMeasure() argument
[all …]
DViewPager.java1422 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode);
1424 child.measure(widthSpec, heightSpec);
1453 final int widthSpec = MeasureSpec.makeMeasureSpec(
1455 child.measure(widthSpec, mChildHeightMeasureSpec);
1589 final int widthSpec = MeasureSpec.makeMeasureSpec(
1595 child.measure(widthSpec, heightSpec);
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in layoutChildren() local
787 child.measure(widthSpec, heightSpec); in layoutChildren()
906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillUp() local
944 child.measure(widthSpec, heightSpec); in fillUp()
1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillDown() local
1058 child.measure(widthSpec, heightSpec); in fillDown()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java560 int widthSpec = View.MeasureSpec.makeMeasureSpec(width, View.MeasureSpec.EXACTLY); in setSharedElementState() local
562 view.measure(widthSpec, heightSpec); in setSharedElementState()
722 int widthSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredWidth, in setOriginalSharedElementState() local
726 view.measure(widthSpec, heightSpec); in setOriginalSharedElementState()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskView.java274 int widthSpec = MeasureSpec.makeMeasureSpec(widthWithoutPadding, MeasureSpec.EXACTLY); in measureContents() local
278 measureChildren(widthSpec, heightSpec); in measureContents()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java709 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in setSize() local
712 measure(widthSpec, heightSpec); in setSize()
DClosedCaptionRenderer.java178 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in setSize() local
181 measure(widthSpec, heightSpec); in setSize()
DWebVttRenderer.java1176 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in setSize() local
1179 measure(widthSpec, heightSpec); in setSize()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java400 int widthSpec = MeasureSpec.makeMeasureSpec(v.getWidth(), MeasureSpec.EXACTLY); in collapseParentView() local
402 v.measure(widthSpec, heightSpec); in collapseParentView()
3744 int widthSpec = MeasureSpec.makeMeasureSpec(child.getWidth(),
3748 child.measure(widthSpec, heightSpec);