/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | FixedAspectSurfaceView.java | 89 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/ |
D | FixedAspectSurfaceView.java | 89 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/ |
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()
|
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()
|
D | ActionBarContextView.java | 310 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 311 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
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()
|
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);
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
D | BlingyNotification.kt | 52 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/ |
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()
|
/frameworks/base/core/java/android/widget/ |
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()
|
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()
|
D | ActionMenuView.java | 176 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local 380 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
|
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()
|
D | AnalogClock.java | 641 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 651 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
|
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()
|
D | ListView.java | 1282 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()
|
D | ScrollView.java | 464 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/ |
D | TileLayout.java | 157 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/ |
D | ExpandableView.java | 112 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()
|
D | NotificationContentView.java | 226 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/ |
D | MediaRouteButton.java | 283 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/ |
D | NotificationChildrenContainer.java | 226 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/ |
D | StaggeredGridView.java | 616 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/ |
D | RenderSessionImpl.java | 661 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/ |
D | DecorView.java | 704 final int heightMode = getMode(heightMeasureSpec); 735 if (heightMode == AT_MOST) {
|