Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/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/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/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/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/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java314 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
328 if (heightMode == MeasureSpec.EXACTLY) { in onMeasure()
330 } else if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnalogClock.java146 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
156 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java671 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
675 if (widthMode != MeasureSpec.EXACTLY || heightMode != MeasureSpec.EXACTLY) { in onMeasure()
684 else if (heightMode == MeasureSpec.UNSPECIFIED) { 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/Launcher2/src/com/android/launcher2/
DPagedView.java499 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
556 if (heightMode == MeasureSpec.AT_MOST) { in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java740 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure() local
760 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()