/packages/apps/Browser/src/com/android/browser/view/ |
SnapshotGridView.java | 42 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 44 if (widthSize > 0 && mColWidth > 0) { 45 int numCols = widthSize / mColWidth; 46 widthSize = Math.min( 48 widthSize); 49 widthMeasureSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode);
|
/packages/apps/Email/src/com/android/email/view/ |
SizeBoundingFrameLayout.java | 85 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 92 widthSize = Math.min(widthSize, mMaxWidth); 96 widthSize = mMaxWidth; 112 super.onMeasure(MeasureSpec.makeMeasureSpec(widthSize, widthMode),
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuView.java | 90 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); 91 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { 92 mFormatItemsWidth = widthSize; 106 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 112 widthSize -= widthPadding; 115 final int cellCount = widthSize / mMinCellSize; 116 final int cellSizeRemaining = widthSize % mMinCellSize; 120 setMeasuredDimension(widthSize, 0); 310 setMeasuredDimension(widthSize, heightSize);
|
/frameworks/base/core/java/android/widget/ |
ImageView.java | 689 int widthSize; 699 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); 706 float actualAspect = (float)(widthSize - pleft - pright) / 717 if (newWidth <= widthSize) { 718 widthSize = newWidth; 725 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 744 widthSize = resolveSizeAndState(w, widthMeasureSpec, 0); 748 setMeasuredDimension(widthSize, heightSize); [all...] |
AnalogClock.java | 133 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 140 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { 141 hScale = (float) widthSize / (float) mDialWidth;
|
AbsSpinner.java | 166 int widthSize; 227 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); 229 setMeasuredDimension(widthSize, heightSize);
|
Switch.java | 309 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 330 widthSize = Math.min(widthSize, switchWidth); 334 widthSize = switchWidth;
|
LinearLayout.java | [all...] |
GridView.java | [all...] |
ListView.java | [all...] |
NumberPicker.java | 758 final int widthSize = resolveSizeAndStateRespectingMinSize(mMinWidth, getMeasuredWidth(), 762 setMeasuredDimension(widthSize, heightSize); [all...] |
RelativeLayout.java | 325 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 330 myWidth = widthSize; [all...] |
TextView.java | [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 250 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 267 final int childWidthSpec = MeasureSpec.makeMeasureSpec((int) (widthSize * 0.8f), 276 setMeasuredDimension(widthSize, heightSize); 279 setMeasuredDimension(widthSize, Math.max(minHeight, textHeight + padding));
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
BalloonHint.java | 392 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 396 setMeasuredDimension(widthSize, heightSize); 409 if (widthSize > measuredWidth || widthMode == MeasureSpec.AT_MOST) { 410 measuredWidth = widthSize;
|
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 165 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 175 setMeasuredDimension(widthSize, heightSize);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedView.java | 444 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 464 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); 486 MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode); 500 setMeasuredDimension(widthSize, heightSize); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarView.java | [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | [all...] |