Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DButtonBarLayout.java54 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
57 if (widthSize > mLastWidthSize && isStacked()) { in onMeasure()
62 mLastWidthSize = widthSize; in onMeasure()
72 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); in onMeasure()
DPreferenceImageView.java49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
52 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec) - startPadding - endPadding; in onMeasure() local
55 int childWidthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); in onMeasure()
75 if ((x + childMeasuredWidth) > widthSize) { in onMeasure()
92 int width = isFixedSize ? widthSize : maxLineWidth; in onMeasure()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DBottomLabelLayout.java48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
57 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DBottomLabelLayout.java48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
57 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); in onMeasure()
/packages/apps/PermissionController/src/android/support/wearable/view/
DCircledImageView.java312 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
320 width = widthSize; in onMeasure()
322 width = (int) Math.min(desiredWidth, widthSize); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java529 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
539 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
546 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
549 widthSize - mInsets.left - mInsets.right, MeasureSpec.EXACTLY); in onMeasure()
556 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DCellLayout.java769 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
771 int childWidthSize = widthSize - (getPaddingLeft() + getPaddingRight()); in onMeasure()
809 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java128 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
133 "Using fallback spec of EXACTLY " + widthSize); in onMeasure()
140 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.java418 final int widthSize = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx); in measure() local
420 final int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(widthSize, UNSPECIFIED); in measure()
DDigitalAppWidgetProvider.kt488 val widthSize: Int = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx) in <lambda>() constant
490 val widthMeasureSpec: Int = View.MeasureSpec.makeMeasureSpec(widthSize, UNSPECIFIED) in <lambda>()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java1156 int widthSize = MeasureSpec.getSize(widthMeasureSpec);
1158 int clientWidthSize = widthSize - getPaddingLeft() - getPaddingRight();
1186 widthSize = widthMode == MeasureSpec.AT_MOST ? Math.min(size, widthSize) : size;
1201 setMeasuredDimension(widthSize, heightSize);
1205 int scrollMax = (mOrientation == HORIZONTAL ? heightSize : widthSize) -