Home
last modified time | relevance | path

Searched refs:heightSpec (Results 1 – 25 of 26) 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.java661 final int heightSpec; in show() local
665 heightSpec = noInputMethod ? height : ViewGroup.LayoutParams.MATCH_PARENT; in show()
676 heightSpec = height; in show()
678 heightSpec = mDropDownHeight; in show()
685 (heightSpec < 0)? -1 : heightSpec); in show()
699 final int heightSpec; in show()
701 heightSpec = ViewGroup.LayoutParams.MATCH_PARENT; in show()
704 heightSpec = height; in show()
706 heightSpec = mDropDownHeight; in show()
711 mPopup.setHeight(heightSpec); 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
1088 int heightSpecSansPadding = adjust(heightSpec, -vPadding); in onMeasure()
1111 resolveSizeAndState(measuredHeight, heightSpec, 0)); in onMeasure()
DPopupWindow.java1170 public void setWindowLayoutMode(int widthSpec, int heightSpec) { in setWindowLayoutMode() argument
1172 mHeightMode = heightSpec; in setWindowLayoutMode()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DNotificationOptimizedLinearLayoutComparisonTest.java153 for (int heightSpec : MEASURE_SPECS) { in test()
158 widthSpec, heightSpec, in test()
216 int heightSpec, in TestSpec() argument
229 mHeightSpec = heightSpec; 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
114 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure()
120 Log.w(TAG, "onMeasure: heightSpec " + MeasureSpec.toString(heightSpec) + in onMeasure()
125 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DUniqueObjectHostView.kt48 val heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.getMode(heightMeasureSpec)) in onMeasure() constant
49 val measurementInput = MeasurementInput(widthSpec, heightSpec) in onMeasure()
/frameworks/base/core/java/android/view/
DNotificationTopLineView.java115 int heightSpec = MeasureSpec.makeMeasureSpec(givenHeight, MeasureSpec.AT_MOST); in onMeasure() local
129 int childHeightSpec = getChildMeasureSpec(heightSpec, in onMeasure()
148 mOverflowAdjuster.resetForOverflow(overFlow, heightSpec) in onMeasure()
408 OverflowAdjuster resetForOverflow(int overflow, int heightSpec) { in resetForOverflow() argument
410 mHeightSpec = heightSpec; in resetForOverflow()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java780 final int heightSpec; in layoutChildren() local
782 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in layoutChildren()
784 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in layoutChildren()
787 child.measure(widthSpec, heightSpec); in layoutChildren()
938 final int heightSpec; in fillUp() local
940 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in fillUp()
942 heightSpec = MeasureSpec.makeMeasureSpec(lp.height, MeasureSpec.EXACTLY); in fillUp()
944 child.measure(widthSpec, heightSpec); in fillUp()
1052 final int heightSpec; in fillDown() local
1054 heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in fillDown()
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DNotificationShadeActivity.java132 int heightSpec = MeasureSpec.makeMeasureSpec(0, MeasureSpec.UNSPECIFIED); in updateState() local
133 child.measure(widthSpec, heightSpec); in updateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuEduTooltipView.java162 final int heightSpec = MeasureSpec.makeMeasureSpec(/* size= */ 0, UNSPECIFIED); in updateLocationWith() local
163 mMessageView.measure(widthSpec, heightSpec); in updateLocationWith()
/frameworks/base/core/java/android/transition/
DTransitionUtils.java108 int heightSpec = View.MeasureSpec.makeMeasureSpec(bottom - top, View.MeasureSpec.EXACTLY); in copyViewImage() local
109 copy.measure(widthSpec, heightSpec); in copyViewImage()
/frameworks/base/core/java/com/android/internal/widget/
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()
3079 final int heightMode = MeasureSpec.getMode(heightSpec); 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 …]
DResolverDrawerLayout.java982 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
1001 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
1021 measureChildWithMargins(child, widthSpec, 0, heightSpec, heightUsed);
DViewPager.java1423 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
1424 child.measure(widthSpec, heightSpec);
1592 final int heightSpec = MeasureSpec.makeMeasureSpec(
1595 child.measure(widthSpec, heightSpec);
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java561 int heightSpec = View.MeasureSpec.makeMeasureSpec(height, View.MeasureSpec.EXACTLY); in setSharedElementState() local
562 view.measure(widthSpec, heightSpec); in setSharedElementState()
724 int heightSpec = View.MeasureSpec.makeMeasureSpec(state.mMeasuredHeight, in setOriginalSharedElementState() local
726 view.measure(widthSpec, heightSpec); in setOriginalSharedElementState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java291 int heightSpec; in onMeasure() local
301 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.EXACTLY); in onMeasure()
303 heightSpec = MeasureSpec.makeMeasureSpec(size, MeasureSpec.AT_MOST); in onMeasure()
305 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
308 heightSpec = MeasureSpec.makeMeasureSpec(mMinContractedHeight, MeasureSpec.EXACTLY); in onMeasure()
309 measureChildWithMargins(mContractedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
315 heightSpec = MeasureSpec.makeMeasureSpec(mContractedChild.getMeasuredHeight(), in onMeasure()
317 measureChildWithMargins(mExpandedChild, widthMeasureSpec, 0, heightSpec, 0); in onMeasure()
DNotificationContentInflater.java807 int heightSpec = View.MeasureSpec.makeMeasureSpec(0, View.MeasureSpec.UNSPECIFIED); in satisfiesMinHeightRequirement()
812 view.measure(widthSpec, heightSpec); in satisfiesMinHeightRequirement()
DNotificationRowContentBinderImpl.kt1286 val heightSpec = in <lambda>() constant
1294 view.measure(widthSpec, heightSpec) in <lambda>()
/frameworks/base/media/java/android/media/
DTtmlRenderer.java711 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
713 measure(widthSpec, heightSpec); in setSize()
DClosedCaptionRenderer.java179 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
181 measure(widthSpec, heightSpec); in setSize()
DWebVttRenderer.java1177 final int heightSpec = MeasureSpec.makeMeasureSpec(height, MeasureSpec.EXACTLY); in setSize() local
1179 measure(widthSpec, heightSpec); in setSize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt1428 val heightSpec = desiredHostState?.measurementInput?.heightMeasureSpec ?: 0 in <lambda>() constant
1429 mediaCarousel.measure(widthSpec, heightSpec) in <lambda>()

12