Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DPreferenceImageView.java60 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
61 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
65 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
H A DAlertDialogLayout.java111 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in tryOnMeasure() local
139 if (heightMode == MeasureSpec.UNSPECIFIED) { in tryOnMeasure()
143 Math.max(0, heightSize - usedHeight), heightMode); in tryOnMeasure()
188 middleHeight, heightMode); in tryOnMeasure()
H A DActionBarContextView.java310 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
311 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
H A DActionBarView.java908 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
909 if (heightMode != MeasureSpec.AT_MOST) { in onMeasure()
1516 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1531 switch (heightMode) { in onMeasure()
H A DViewPager.java1398 int heightMode = MeasureSpec.AT_MOST;
1405 heightMode = MeasureSpec.EXACTLY;
1417 heightMode = MeasureSpec.EXACTLY;
1423 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
H A DRecyclerView.java3079 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local
3081 && heightMode == MeasureSpec.EXACTLY; in onMeasure()
/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
H A DBlingyNotification.kt52 val heightMode = MeasureSpec.getMode(heightMeasureSpec) regex
55 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) {
59 if (heightMode == MeasureSpec.AT_MOST) {
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DAlertDialogLayout.java110 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in tryOnMeasure() local
138 if (heightMode == MeasureSpec.UNSPECIFIED) { in tryOnMeasure()
142 Math.max(0, heightSize - usedHeight), heightMode); in tryOnMeasure()
187 middleHeight, heightMode); in tryOnMeasure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java104 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local
109 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure()
139 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
/aosp14/frameworks/base/core/java/android/widget/
H A DLinearLayout.java820 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
856 if (heightMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureVertical()
953 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
1013 if (mUseLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
1016 || heightMode == MeasureSpec.EXACTLY)) { in measureVertical()
1065 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
1150 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureHorizontal() local
1267 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) { in measureHorizontal()
1451 boolean matchHeightLocally = heightMode != MeasureSpec.EXACTLY && in measureHorizontal()
1526 if (!allFillParent && heightMode != MeasureSpec.EXACTLY) { in measureHorizontal()
H A DRelativeLayout.java419 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
428 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
436 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
459 final boolean isWrapContentHeight = heightMode != MeasureSpec.EXACTLY; in onMeasure()
726 final int heightMode; in measureChildHorizontal() local
728 heightMode = MeasureSpec.EXACTLY; in measureChildHorizontal()
730 heightMode = MeasureSpec.AT_MOST; in measureChildHorizontal()
732 childHeightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, heightMode); in measureChildHorizontal()
H A DActionMenuView.java176 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
380 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
H A DSearchView.java846 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
849 switch (heightMode) { in onMeasure()
857 heightMode = MeasureSpec.EXACTLY; in onMeasure()
860 MeasureSpec.makeMeasureSpec(height, heightMode)); in onMeasure()
H A DAnalogClock.java646 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
656 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
H A DGridView.java1064 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1112 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1117 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
H A DListView.java1280 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1290 || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
1314 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1319 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
H A DScrollView.java472 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
473 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
H A DTextView.java10867 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
11008 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
11018 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DExpandableView.java120 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
121 if (heightMode != MeasureSpec.UNSPECIFIED && givenHeight != 0) { in onMeasure()
155 int ownHeight = heightMode == MeasureSpec.EXACTLY in onMeasure()
H A DNotificationContentView.java245 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
246 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure()
247 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DTileLayout.java167 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
168 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
/aosp14/frameworks/base/core/java/android/app/
H A DMediaRouteButton.java283 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
305 switch (heightMode) { in onMeasure()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationChildrenContainer.java230 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
231 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure()
232 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure()
265 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java694 final int heightMode = getMode(heightMeasureSpec);
725 if (heightMode == AT_MOST) {
/aosp14/frameworks/base/core/java/android/view/
H A DViewRootImpl.java2974 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in setMeasuredRootSizeFromSpec() local
2975 if (widthMode != MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) { in setMeasuredRootSizeFromSpec()