Home
last modified time | relevance | path

Searched refs:widthSize (Results 1 – 11 of 11) 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.java48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
57 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST); in onMeasure()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DGroupedTaskView.java309 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
311 setMeasuredDimension(widthSize, heightSize); in onMeasure()
318 mSnapshotView2, widthSize, heightSize, mSplitBoundsConfig, in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java650 private int getPageWidthSize(int widthSize) { in getPageWidthSize() argument
653 return (widthSize - mInsets.left - mInsets.right - getPaddingLeft() - getPaddingRight()) in getPageWidthSize()
667 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
677 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
684 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
687 getPageWidthSize(widthSize), MeasureSpec.EXACTLY); in onMeasure()
694 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DCellLayout.java982 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
984 int childWidthSize = widthSize - (getPaddingLeft() + getPaddingRight()); in onMeasure()
1018 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/packages/modules/Permission/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/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.java966 int widthSize = sourceWidth;
972 widthSize = Math.min(widthSize, mMaxWidth + getPaddingLeft() + getPaddingRight());
975 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) -