Home
last modified time | relevance | path

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

12

/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure()
107 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
110 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure()
125 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
102 if (widthMode == MeasureSpec.EXACTLY && heightMode == MeasureSpec.EXACTLY) { in onMeasure()
107 } else if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
110 } else if (widthMode == MeasureSpec.AT_MOST && heightMode == MeasureSpec.AT_MOST) { in onMeasure()
125 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
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()
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()
DActionBarContextView.java310 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
311 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
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()
DViewPager.java1398 int heightMode = MeasureSpec.AT_MOST;
1405 heightMode = MeasureSpec.EXACTLY;
1417 heightMode = MeasureSpec.EXACTLY;
1423 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
DBlingyNotification.kt52 val heightMode = MeasureSpec.getMode(heightMeasureSpec) in onMeasure() constant
55 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
59 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
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()
/frameworks/base/core/java/android/widget/
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()
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()
DActionMenuView.java176 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local
380 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
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()
DAnalogClock.java641 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
651 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
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()
DListView.java1282 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
1292 || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
1316 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
1321 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
DScrollView.java464 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
465 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DTileLayout.java157 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
158 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java112 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
113 if (heightMode != MeasureSpec.UNSPECIFIED && givenHeight != 0) { in onMeasure()
147 int ownHeight = heightMode == MeasureSpec.EXACTLY in onMeasure()
DNotificationContentView.java226 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
227 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure()
228 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java283 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
305 switch (heightMode) { in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java226 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
227 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure()
228 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure()
261 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java616 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
625 if (heightMode != MeasureSpec.EXACTLY) { in onMeasure()
628 heightMode = MeasureSpec.EXACTLY; in onMeasure()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java661 int width, int widthMode, int height, int heightMode) { in measureView() argument
663 int h_spec = MeasureSpec.makeMeasureSpec(height, heightMode); in measureView()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java704 final int heightMode = getMode(heightMeasureSpec);
735 if (heightMode == AT_MOST) {

12