Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DPreferenceImageView.java57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
58 if (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAutoResizeListView.java48 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
53 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
61 heightMeasureSpec = MeasureSpec.makeMeasureSpec(height, heightMode); in onMeasure()
/packages/apps/Gallery2/src/com/android/photos/views/
DSquareImageView.java41 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
45 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
DGalleryThumbnailView.java127 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
135 if (heightMode != MeasureSpec.EXACTLY) { in onMeasure()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheelContainer.java129 int heightMode = MeasureSpec.getMode(heightSpec); in onMeasure() local
138 if (heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
140 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java653 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
685 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
780 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
850 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()
918 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java653 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in measureVertical() local
685 if (heightMode == MeasureSpec.EXACTLY && lp.height == 0 && lp.weight > 0) { in measureVertical()
780 (heightMode == MeasureSpec.AT_MOST || heightMode == MeasureSpec.UNSPECIFIED)) { in measureVertical()
850 if ((lp.height != 0) || (heightMode != MeasureSpec.EXACTLY)) { in measureVertical()
918 if (useLargestChild && heightMode != MeasureSpec.EXACTLY) { in measureVertical()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java313 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
327 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
329 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1155 int heightMode = MeasureSpec.getMode(heightMeasureSpec);
1170 (heightMode == MeasureSpec.UNSPECIFIED ? 1 : clientHeightSize / mScrapHeight)
1192 if (heightMode == MeasureSpec.UNSPECIFIED ||
1193 (heightMode == MeasureSpec.AT_MOST && mOrientation == HORIZONTAL)) {
1197 heightSize = heightMode == MeasureSpec.AT_MOST ? Math.min(size, heightSize) : size;
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java529 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
532 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()