Home
last modified time | relevance | path

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

/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPreferenceImageView.java49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
52 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/packages/apps/Settings/src/com/android/settings/widget/
DBottomLabelLayout.java46 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
55 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); in onMeasure()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DGroupedTaskView.kt66 val widthSize = MeasureSpec.getSize(widthMeasureSpec) in onMeasure() constant
68 setMeasuredDimension(widthSize, heightSize) in onMeasure()
75 widthSize, in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java668 private int getPageWidthSize(int widthSize) { in getPageWidthSize() argument
671 return (widthSize - mInsets.left - mInsets.right - getPaddingLeft() - getPaddingRight()) in getPageWidthSize()
685 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
695 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
702 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
705 getPageWidthSize(widthSize), MeasureSpec.EXACTLY); in onMeasure()
712 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DCellLayout.java970 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
972 int childWidthSize = widthSize - (getPaddingLeft() + getPaddingRight()); in onMeasure()
1006 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/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DResolverDrawerLayout.java1013 int widthSize = sourceWidth;
1019 widthSize = Math.min(widthSize, mMaxWidth + getPaddingLeft() + getPaddingRight());
1022 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetProvider.kt492 val widthSize: Int = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx) in <lambda>() constant
494 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) -