Home
last modified time | relevance | path

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

12

/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DBottomSheetLayout.java50 public void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
52 super.onMeasure(widthSpec, heightSpec); in onMeasure()
59 super.onMeasure(widthSpec, heightSpec); in onMeasure()
/frameworks/base/core/java/android/widget/
DListPopupWindow.java650 final int widthSpec; in show() local
654 widthSpec = -1; in show()
656 widthSpec = getAnchorView().getWidth(); in show()
658 widthSpec = mDropDownWidth; in show()
684 mDropDownVerticalOffset, (widthSpec < 0)? -1 : widthSpec, in show()
688 final int widthSpec; in show()
690 widthSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
693 widthSpec = getAnchorView().getWidth(); in show()
695 widthSpec = mDropDownWidth; in show()
710 mPopup.setWidth(widthSpec); in show()
[all …]
DGridLayout.java1045 private void measureChildrenWithMargins(int widthSpec, int heightSpec, boolean firstPass) { in measureChildrenWithMargins() argument
1051 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, lp.height); in measureChildrenWithMargins()
1062 measureChildWithMargins2(c, widthSpec, heightSpec, viewSize, lp.height); in measureChildrenWithMargins()
1064 measureChildWithMargins2(c, widthSpec, heightSpec, lp.width, viewSize); in measureChildrenWithMargins()
1077 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
1087 int widthSpecSansPadding = adjust( widthSpec, -hPadding); in onMeasure()
1110 resolveSizeAndState(measuredWidth, widthSpec, 0), in onMeasure()
DPopupWindow.java1170 public void setWindowLayoutMode(int widthSpec, int heightSpec) { in setWindowLayoutMode() argument
1171 mWidthMode = widthSpec; in setWindowLayoutMode()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationOptimizedLinearLayoutComparisonTest.java152 for (int widthSpec : MEASURE_SPECS) { in test()
158 widthSpec, heightSpec, in test()
215 int widthSpec, in TestSpec() argument
228 mWidthSpec = widthSpec; in TestSpec()
321 int widthSpec, int heightSpec, in createTestSpec() argument
329 widthSpec, heightSpec, in createTestSpec()
/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.java112 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
113 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
116 Log.w(TAG, "onMeasure: widthSpec " + MeasureSpec.toString(widthSpec) + in onMeasure()
124 final int widthSize = MeasureSpec.getSize(widthSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DUniqueObjectHostView.kt46 val widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.getMode(widthMeasureSpec)) in onMeasure() constant
49 val measurementInput = MeasurementInput(widthSpec, heightSpec) in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsPopupMenu.java98 int widthSpec = MeasureSpec.makeMeasureSpec( in show() local
103 child.measure(widthSpec, MeasureSpec.UNSPECIFIED); in show()
/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/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuEduTooltipView.java160 final int widthSpec = MeasureSpec.makeMeasureSpec( in updateLocationWith() local
163 mMessageView.measure(widthSpec, heightSpec); in updateLocationWith()
/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/
DSubtitleView.java221 final int widthSpec = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
223 if (computeMeasurements(widthSpec)) { in onMeasure()
DResolverDrawerLayout.java981 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
997 measureChildWithMargins(child, widthSpec, 0,
1001 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
1017 measureChildWithMargins(child, widthSpec, 0,
1021 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
DGridLayoutManager.java742 private void measureChildWithDecorationsAndMargin(View child, int widthSpec, int heightSpec, in measureChildWithDecorationsAndMargin() argument
747 measure = shouldReMeasureChild(child, widthSpec, heightSpec, lp); in measureChildWithDecorationsAndMargin()
749 measure = shouldMeasureChild(child, widthSpec, heightSpec, lp); in measureChildWithDecorationsAndMargin()
752 child.measure(widthSpec, heightSpec); in measureChildWithDecorationsAndMargin()
DRecyclerView.java3072 protected void onMeasure(int widthSpec, int heightSpec) { in onMeasure() argument
3074 defaultOnMeasure(widthSpec, heightSpec); in onMeasure()
3078 final int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure()
3082 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3091 mLayout.setMeasureSpecs(widthSpec, heightSpec); in onMeasure()
3096 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure()
3107 mLayout.setMeasuredDimensionFromChildren(widthSpec, heightSpec); in onMeasure()
3111 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3138 mLayout.onMeasure(mRecycler, mState, widthSpec, heightSpec); in onMeasure()
3147 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/media/java/android/media/
DTtmlRenderer.java710 final int widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.EXACTLY); in setSize() local
713 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java810 int widthSpec = View.MeasureSpec.makeMeasureSpec(referenceWidth, in satisfiesMinHeightRequirement() local
812 view.measure(widthSpec, heightSpec); in satisfiesMinHeightRequirement()
DNotificationRowContentBinderImpl.kt1292 val widthSpec = in <lambda>() constant
1294 view.measure(widthSpec, heightSpec) in <lambda>()

12