/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 | 309 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 310 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 | 201 final int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local 206 if (DEBUG && heightMode != MeasureSpec.AT_MOST) { in onMeasure() 234 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableView.java | 73 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 74 if (heightMode != MeasureSpec.UNSPECIFIED && givenSize != 0) { in onMeasure() 103 int ownHeight = heightMode == MeasureSpec.EXACTLY in onMeasure()
|
D | NotificationContentView.java | 188 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 189 boolean hasFixedHeight = heightMode == MeasureSpec.EXACTLY; in onMeasure() 190 boolean isHeightLimited = heightMode == MeasureSpec.AT_MOST; 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/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 | 157 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 167 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
|
D | RelativeLayout.java | 418 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 427 if (heightMode != MeasureSpec.UNSPECIFIED) { in onMeasure() 435 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure() 458 final boolean isWrapContentHeight = heightMode != MeasureSpec.EXACTLY; in onMeasure() 725 final int heightMode; in measureChildHorizontal() local 727 heightMode = MeasureSpec.EXACTLY; in measureChildHorizontal() 729 heightMode = MeasureSpec.AT_MOST; in measureChildHorizontal() 731 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 | 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 | TextView.java | 9260 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local 9399 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure() 9409 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/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) {
|