/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);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuView.java | 103 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 104 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { 105 mFormatItemsWidth = widthSize; 126 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 137 widthSize -= widthPadding; 140 final int cellCount = widthSize / mMinCellSize; 141 final int cellSizeRemaining = widthSize % mMinCellSize; 145 setMeasuredDimension(widthSize, 0); 335 setMeasuredDimension(widthSize, heightSize);
|
ActionMenuItemView.java | 269 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 271 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuView.java | 104 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); 105 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { 106 mFormatItemsWidth = widthSize; 127 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 138 widthSize -= widthPadding; 141 final int cellCount = widthSize / mMinCellSize; 142 final int cellSizeRemaining = widthSize % mMinCellSize; 146 setMeasuredDimension(widthSize, 0); 358 setMeasuredDimension(widthSize, heightSize);
|
ActionMenuItemView.java | 218 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 220 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth)
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwLayoutSizer.java | 154 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 176 measuredWidth = widthSize;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityViewFlipper.java | 189 final int widthSize = MeasureSpec.getSize(widthSpec); 191 int maxWidth = widthSize; 211 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; 222 width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize - wPadding));
|
/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;
|
/frameworks/base/core/java/android/widget/ |
AnalogClock.java | 137 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 144 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { 145 hScale = (float) widthSize / (float) mDialWidth;
|
AbsSpinner.java | 167 int widthSize; 230 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); 232 setMeasuredDimension(widthSize, heightSize);
|
ImageView.java | 803 int widthSize; 813 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); 820 float actualAspect = (float)(widthSize - pleft - pright) / 834 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); 837 if (newWidth <= widthSize) { 838 widthSize = newWidth; 845 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + 871 widthSize = resolveSizeAndState(w, widthMeasureSpec, 0); 875 setMeasuredDimension(widthSize, heightSize); [all...] |
GridView.java | [all...] |
LinearLayout.java | [all...] |
/frameworks/base/core/java/android/app/ |
MediaRouteButton.java | 323 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 336 width = widthSize; 339 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight());
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
AbsSpinnerICS.java | 148 int widthSize; 214 widthSize = resolveSize(preferredWidth, widthMeasureSpec); 216 setMeasuredDimension(widthSize, heightSize);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AnalogClock.java | 145 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 152 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { 153 hScale = (float) widthSize / (float) mDialWidth;
|
/frameworks/support/v4/java/android/support/v4/view/ |
PagerTitleStrip.java | 424 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 437 final int childWidthSpec = MeasureSpec.makeMeasureSpec((int) (widthSize * 0.8f), 446 setMeasuredDimension(widthSize, heightSize); 449 setMeasuredDimension(widthSize, Math.max(minHeight, textHeight + padding));
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
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); [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
MediaRouteButton.java | 422 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 435 width = widthSize; 438 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight());
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
StaggeredGridView.java | [all...] |
/development/samples/Home/src/com/example/android/home/ |
ApplicationsStackLayout.java | 165 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 175 setMeasuredDimension(widthSize, heightSize);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
SlidingPaneLayout.java | 433 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 447 widthSize = 300; 479 int widthRemaining = widthSize - getPaddingLeft() - getPaddingRight(); 511 childWidthSpec = MeasureSpec.makeMeasureSpec(widthSize - horizontalMargin, 514 childWidthSpec = MeasureSpec.makeMeasureSpec(widthSize - horizontalMargin, 546 final int fixedPanelWidthLimit = widthSize - mOverhangSize; 611 final int newWidth = widthSize - horizontalMargin; 629 setMeasuredDimension(widthSize, layoutHeight); [all...] |
DrawerLayout.java | 603 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 616 widthSize = 300; 631 setMeasuredDimension(widthSize, heightSize); 648 widthSize - lp.leftMargin - lp.rightMargin, MeasureSpec.EXACTLY); [all...] |
/packages/apps/Gallery2/src/com/android/photos/views/ |
GalleryThumbnailView.java | 128 int widthSize = MeasureSpec.getSize(widthMeasureSpec); 133 "Using fallback spec of EXACTLY " + widthSize); 140 setMeasuredDimension(widthSize, heightSize);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedView.java | 498 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 506 if (widthSize <= 0 || heightSize <= 0) { 524 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); 546 MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode); 560 setMeasuredDimension(widthSize, heightSize); 578 int spacing = Math.max(offset, widthSize - offset - [all...] |