/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 | 59 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 60 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 64 && (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/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 200 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local 205 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure() 233 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TileLayout.java | 108 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 109 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableView.java | 74 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 75 if (heightMode != MeasureSpec.UNSPECIFIED && givenSize != 0) { in onMeasure() 104 int ownHeight = heightMode == MeasureSpec.EXACTLY in onMeasure()
|
D | NotificationContentView.java | 196 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 197 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure() 198 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | LinearLayout.java | 784 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local 820 if (heightMode == MeasureSpec.EXACTLY && useExcessSpace) { in measureVertical() 917 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical() 977 if (mUseLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical() 980 || heightMode == MeasureSpec.EXACTLY)) { in measureVertical() 1029 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical() 1114 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureHorizontal() local 1231 if (heightMode != MeasureSpec.EXACTLY && lp.height == LayoutParams.MATCH_PARENT) { in measureHorizontal() 1399 boolean matchHeightLocally = heightMode != MeasureSpec.EXACTLY && in measureHorizontal() 1470 if (!allFillParent && heightMode != MeasureSpec.EXACTLY) { in measureHorizontal()
|
D | AnalogClock.java | 155 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 165 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
|
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 | 175 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasureExactFormat() local 379 if (heightMode != MeasureSpec.EXACTLY) { in onMeasureExactFormat()
|
D | SearchView.java | 839 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 842 switch (heightMode) { in onMeasure() 850 heightMode = MeasureSpec.EXACTLY; in onMeasure() 853 MeasureSpec.makeMeasureSpec(height, heightMode)); in onMeasure()
|
D | GridView.java | 1063 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 1111 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 1116 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
|
D | ScrollView.java | 458 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 459 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
|
D | ListView.java | 1286 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 1296 || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure() 1320 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure() 1325 if (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 | 183 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 184 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure() 185 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; in onMeasure() 217 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialPickerLayout.java | 153 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 157 MeasureSpec.makeMeasureSpec(minDimension, heightMode)); 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 | 604 int width, int widthMode, int height, int heightMode) { in measureView() argument 606 int h_spec = MeasureSpec.makeMeasureSpec(height, heightMode); in measureView()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 668 final int heightMode = getMode(heightMeasureSpec); 699 if (heightMode == AT_MOST) {
|