Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java90 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local
91 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { in onMeasure()
92 mFormatItemsWidth = widthSize; in onMeasure()
106 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasureExactFormat() local
112 widthSize -= widthPadding; in onMeasureExactFormat()
115 final int cellCount = widthSize / mMinCellSize; in onMeasureExactFormat()
116 final int cellSizeRemaining = widthSize % mMinCellSize; in onMeasureExactFormat()
120 setMeasuredDimension(widthSize, 0); in onMeasureExactFormat()
310 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
/frameworks/base/core/java/android/widget/
DImageView.java689 int widthSize; in onMeasure() local
699 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); in onMeasure()
706 float actualAspect = (float)(widthSize - pleft - pright) / in onMeasure()
717 if (newWidth <= widthSize) { in onMeasure()
718 widthSize = newWidth; in onMeasure()
725 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure()
744 widthSize = resolveSizeAndState(w, widthMeasureSpec, 0); in onMeasure()
748 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DAnalogClock.java133 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
140 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { in onMeasure()
141 hScale = (float) widthSize / (float) mDialWidth; in onMeasure()
DAbsSpinner.java166 int widthSize; in onMeasure() local
227 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); in onMeasure()
229 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DSwitch.java309 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
330 widthSize = Math.min(widthSize, switchWidth); in onMeasure()
334 widthSize = switchWidth; in onMeasure()
DGridView.java1005 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
1010 widthSize = mColumnWidth + mListPadding.left + mListPadding.right; in onMeasure()
1012 widthSize = mListPadding.left + mListPadding.right; in onMeasure()
1014 widthSize += getVerticalScrollbarWidth(); in onMeasure()
1017 int childWidth = widthSize - mListPadding.left - mListPadding.right; in onMeasure()
1077 if (ourSize > widthSize || didNotInitiallyFit) { in onMeasure()
1078 widthSize |= MEASURED_STATE_TOO_SMALL; in onMeasure()
1082 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DLinearLayout.java1138 int widthSize = mTotalLength; in measureHorizontal() local
1141 widthSize = Math.max(widthSize, getSuggestedMinimumWidth()); in measureHorizontal()
1144 int widthSizeAndState = resolveSizeAndState(widthSize, widthMeasureSpec, 0); in measureHorizontal()
1145 widthSize = widthSizeAndState & MEASURED_SIZE_MASK; in measureHorizontal()
1149 int delta = widthSize - mTotalLength; in measureHorizontal()
DListView.java1117 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
1142 widthSize = mListPadding.left + mListPadding.right + childWidth + in onMeasure()
1145 widthSize |= (childState&MEASURED_STATE_MASK); in onMeasure()
1158 setMeasuredDimension(widthSize , heightSize); in onMeasure()
DRelativeLayout.java325 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
330 myWidth = widthSize; in onMeasure()
DTextView.java6394 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
6412 width = widthSize; in onMeasure()
6492 width = Math.min(widthSize, width); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarView.java1256 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
1261 width = Math.min(width, widthSize); in onMeasure()
1264 width = widthSize; in onMeasure()
/frameworks/base/core/java/android/webkit/
DWebView.java7577 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
7580 int measuredWidth = widthSize; in onMeasure()