/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ButtonBarLayout.java | 63 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 66 if (widthSize > mLastWidthSize && isStacked()) { 71 mLastWidthSize = widthSize; 81 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST);
|
H A D | PreferenceImageView.java | 49 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 52 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) {
|
H A D | ResolverDrawerLayout.java | 793 int widthSize = sourceWidth; 799 widthSize = Math.min(widthSize, mMaxWidth); 802 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ButtonBarLayout.java | 68 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 71 if (widthSize > mLastWidthSize && isStacked()) { 76 mLastWidthSize = widthSize; 86 initialWidthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.AT_MOST);
|
H A D | ActionMenuView.java | 156 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 157 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { 158 mFormatItemsWidth = widthSize; 179 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 188 widthSize -= widthPadding; 191 final int cellCount = widthSize / mMinCellSize; 192 final int cellSizeRemaining = widthSize % mMinCellSize; 196 setMeasuredDimension(widthSize, 0); 386 setMeasuredDimension(widthSize, heightSize);
|
H A D | ContentFrameLayout.java | 117 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 119 Math.min(w, widthSize), EXACTLY);
|
H A D | LinearLayoutCompat.java | 1145 int widthSize = mTotalLength; 1148 widthSize = Math.max(widthSize, getSuggestedMinimumWidth()); 1151 int widthSizeAndState = View.resolveSizeAndState(widthSize, widthMeasureSpec, 0); 1152 widthSize = widthSizeAndState & View.MEASURED_SIZE_MASK; 1157 int delta = widthSize - mTotalLength; 1252 // TODO: Should we update widthSize with the new total length?
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | ButtonBarLayout.java | 48 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 66 if (getMeasuredWidth() > widthSize) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
H A D | PrintOptionsLayout.java | 56 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 58 final int columnWidth = (widthSize != 0) 59 ? (widthSize - mPaddingLeft - mPaddingRight) / mColumnCount : 0;
|
/frameworks/support/preference/src/main/java/androidx/preference/internal/ |
H A D | PreferenceImageView.java | 93 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 96 && (maxWidth < widthSize || widthMode == MeasureSpec.UNSPECIFIED)) {
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 152 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 153 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { 154 mFormatItemsWidth = widthSize; 175 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 184 widthSize -= widthPadding; 187 final int cellCount = widthSize / mMinCellSize; 188 final int cellSizeRemaining = widthSize % mMinCellSize; 192 setMeasuredDimension(widthSize, 0); 382 setMeasuredDimension(widthSize, heightSize);
|
H A D | AnalogClock.java | 148 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 155 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { 156 hScale = (float) widthSize / (float) mDialWidth;
|
H A D | ImageView.java | 1098 int widthSize; 1108 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); 1115 final float actualAspect = (float)(widthSize - pleft - pright) / 1129 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); 1132 if (newWidth <= widthSize) { 1133 widthSize = newWidth; 1140 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 1166 widthSize = resolveSizeAndState(w, widthMeasureSpec, 0); 1170 setMeasuredDimension(widthSize, heightSize);
|
H A D | AbsSpinner.java | 178 int widthSize; 241 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); 243 setMeasuredDimension(widthSize, heightSize);
|
H A D | GridView.java | 1049 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 1054 widthSize = mColumnWidth + mListPadding.left + mListPadding.right; 1056 widthSize = mListPadding.left + mListPadding.right; 1058 widthSize += getVerticalScrollbarWidth(); 1061 int childWidth = widthSize - mListPadding.left - mListPadding.right; 1122 if (ourSize > widthSize || didNotInitiallyFit) { 1123 widthSize |= MEASURED_STATE_TOO_SMALL; 1127 setMeasuredDimension(widthSize, heightSize);
|
H A D | ListPopupWindow.java | 1180 final int widthSize; 1184 widthSize = mDropDownWidth; 1187 widthSize = 0; 1189 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode);
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 212 final int widthSize = MeasureSpec.getSize(widthSpec); 214 int maxWidth = widthSize; 234 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; 245 width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize - wPadding));
|
/frameworks/base/core/java/android/app/ |
H A D | MediaRouteButton.java | 280 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 293 measuredWidth = widthSize; 296 measuredWidth = Math.min(widthSize, width);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | ActionMenuItemView.java | 285 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 287 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | ActionMenuItemView.java | 278 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 280 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
H A D | StaggeredGridView.java | 617 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 622 "Using fallback spec of EXACTLY " + widthSize); 631 setMeasuredDimension(widthSize, heightSize); 634 final int colCount = widthSize / mMinColWidth; 775 final int widthSize = colWidth * span + itemMargin * (span - 1); 778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 905 final int widthSize = colWidth * span + itemMargin * (span - 1); 906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); 1019 final int widthSize = colWidth * span + itemMargin * (span - 1); 1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpe [all...] |
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
H A D | MediaRouteButton.java | 440 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 453 measuredWidth = widthSize; 456 measuredWidth = Math.min(widthSize, width);
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/ |
H A D | MediaRouteButton.java | 425 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 438 measuredWidth = widthSize; 441 measuredWidth = Math.min(widthSize, width);
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
H A D | PagerTitleStrip.java | 429 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 430 final int widthPadding = (int) (widthSize * 0.2f); 451 setMeasuredDimension(widthSize, measuredHeight);
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | CircledImageView.java | 324 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 332 width = widthSize; 334 width = (int) Math.min(desiredWidth, widthSize);
|