Searched refs:widthSize (Results 1 – 11 of 11) sorted by relevance
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
D | ButtonBarLayout.java | 53 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()
|
D | PreferenceImageView.java | 49 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/ |
D | LineWrapLayout.java | 49 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/ |
D | PagedView.java | 498 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/ |
D | CircledImageView.java | 313 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/ |
D | GalleryThumbnailView.java | 128 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/ |
D | CarDrawerLayout.java | 672 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/ |
D | PagedView.java | 669 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()
|
D | CellLayout.java | 801 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/ |
D | ScrollAdapterView.java | 1156 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/ |
D | DigitalAppWidgetProvider.java | 418 final int widthSize = View.MeasureSpec.getSize(measuredSizes.mTargetWidthPx); in measure() local 420 final int widthMeasureSpec = View.MeasureSpec.makeMeasureSpec(widthSize, UNSPECIFIED); in measure()
|