Home
last modified time | relevance | path

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

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
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/modules/Permission/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/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.java575 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
580 if (widthMode == MeasureSpec.UNSPECIFIED || heightMode == MeasureSpec.UNSPECIFIED) { in onMeasure()