Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DButtonBarLayout.java53 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
56 if (widthSize > mLastWidthSize && isStacked()) { in onMeasure()
61 mLastWidthSize = widthSize; in onMeasure()
71 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/apps/Launcher2/src/com/android/launcher2/
DPagedView.java498 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
506 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
524 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
546 MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode); in onMeasure()
560 setMeasuredDimension(widthSize, heightSize); in onMeasure()
578 int spacing = Math.max(offset, widthSize - offset - in onMeasure()
/packages/apps/PackageInstaller/src/android/support/wearable/view/
DCircledImageView.java313 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
321 width = widthSize; in onMeasure()
323 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/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java672 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
682 widthSize = 300; in onMeasure()
693 setMeasuredDimension(widthSize, heightSize); in onMeasure()
699 widthSize - lp.leftMargin - lp.rightMargin, MeasureSpec.EXACTLY); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java669 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
685 scaledWidthSize = widthSize; in onMeasure()
688 mViewport.set(0, 0, widthSize, heightSize); in onMeasure()
696 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
712 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
DCellLayout.java801 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
803 int childWidthSize = widthSize - (getPaddingLeft() + getPaddingRight()); in onMeasure()
840 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/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) -
/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()