Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DPreferenceImageView.java47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
48 if (widthMode == MeasureSpec.AT_MOST || widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
52 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlWheelContainer.java128 int widthMode = MeasureSpec.getMode(widthSpec); in onMeasure() local
131 if (widthMode == MeasureSpec.UNSPECIFIED) { in onMeasure()
133 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure()
/packages/apps/Gallery2/src/com/android/photos/views/
DSquareImageView.java40 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
42 if (widthMode == MeasureSpec.EXACTLY && heightMode != MeasureSpec.EXACTLY) { in onMeasure()
DGalleryThumbnailView.java126 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
131 if (widthMode != MeasureSpec.EXACTLY) { in onMeasure()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java311 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
319 if (widthMode == MeasureSpec.EXACTLY) { in onMeasure()
321 } else if (widthMode == MeasureSpec.AT_MOST) { in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java48 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
50 final boolean isFixedSize = (widthMode == MeasureSpec.EXACTLY); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java652 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() local
745 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical()
895 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical()
940 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java652 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in measureVertical() local
745 if (widthMode != MeasureSpec.EXACTLY && lp.width == LayoutParams.MATCH_PARENT) { in measureVertical()
895 boolean matchWidthLocally = widthMode != MeasureSpec.EXACTLY && in measureVertical()
940 if (!allFillParent && widthMode != MeasureSpec.EXACTLY) { in measureVertical()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1154 int widthMode = MeasureSpec.getMode(widthMeasureSpec);
1171 : (widthMode == MeasureSpec.UNSPECIFIED ? 1 : clientWidthSize / mScrapWidth);
1181 if (widthMode == MeasureSpec.UNSPECIFIED ||
1182 (widthMode == MeasureSpec.AT_MOST && mOrientation == VERTICAL)) {
1186 widthSize = widthMode == MeasureSpec.AT_MOST ? Math.min(size, widthSize) : size;
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java527 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
532 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()