/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PreferenceImageView.java | 60 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 D | AlertDialogLayout.java | 111 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 D | ActionBarContextView.java | 310 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 311 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
H A D | ActionBarView.java | 908 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 D | ViewPager.java | 1398 int heightMode = MeasureSpec.AT_MOST; 1405 heightMode = MeasureSpec.EXACTLY; 1417 heightMode = MeasureSpec.EXACTLY; 1423 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
|
H A D | RecyclerView.java | 3079 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 D | BlingyNotification.kt | 52 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 D | AlertDialogLayout.java | 110 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 D | KeyguardSecurityViewFlipper.java | 104 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 D | LinearLayout.java | 820 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 D | RelativeLayout.java | 419 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 D | ActionMenuView.java | 176 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local 380 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
|
H A D | SearchView.java | 846 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 D | AnalogClock.java | 646 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 656 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
|
H A D | GridView.java | 1064 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 D | ListView.java | 1280 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 D | ScrollView.java | 472 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 473 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
H A D | TextView.java | 10867 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 D | ExpandableView.java | 120 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 D | NotificationContentView.java | 245 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 D | TileLayout.java | 167 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 D | MediaRouteButton.java | 283 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 D | NotificationChildrenContainer.java | 230 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 D | DecorView.java | 694 final int heightMode = getMode(heightMeasureSpec); 725 if (heightMode == AT_MOST) {
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | ViewRootImpl.java | 2974 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in setMeasuredRootSizeFromSpec() local 2975 if (widthMode != MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) { in setMeasuredRootSizeFromSpec()
|