Home
last modified time | relevance | path

Searched refs:widthSize (Results 1 – 9 of 9) 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/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.java563 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
573 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
580 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
583 widthSize - mInsets.left - mInsets.right, MeasureSpec.EXACTLY); in onMeasure()
590 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DCellLayout.java774 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
776 int childWidthSize = widthSize - (getPaddingLeft() + getPaddingRight()); in onMeasure()
807 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()
/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) -