/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | ActionMenuView.java | 104 final int widthSize = MeasureSpec.getMode(widthMeasureSpec); in onMeasure() local 105 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { in onMeasure() 106 mFormatItemsWidth = widthSize; in onMeasure() 127 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasureExactFormat() local 138 widthSize -= widthPadding; in onMeasureExactFormat() 141 final int cellCount = widthSize / mMinCellSize; in onMeasureExactFormat() 142 final int cellSizeRemaining = widthSize % mMinCellSize; in onMeasureExactFormat() 146 setMeasuredDimension(widthSize, 0); in onMeasureExactFormat() 358 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
|
D | ActionMenuItemView.java | 218 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 220 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenuView.java | 103 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 104 if (mFormatItems && mMenu != null && widthSize != mFormatItemsWidth) { in onMeasure() 105 mFormatItemsWidth = widthSize; in onMeasure() 126 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasureExactFormat() local 137 widthSize -= widthPadding; in onMeasureExactFormat() 140 final int cellCount = widthSize / mMinCellSize; in onMeasureExactFormat() 141 final int cellSizeRemaining = widthSize % mMinCellSize; in onMeasureExactFormat() 145 setMeasuredDimension(widthSize, 0); in onMeasureExactFormat() 335 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
|
D | ActionMenuItemView.java | 269 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 271 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure()
|
/frameworks/base/core/java/android/widget/ |
D | ImageView.java | 803 int widthSize; in onMeasure() local 813 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); in onMeasure() 820 float actualAspect = (float)(widthSize - pleft - pright) / in onMeasure() 834 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); in onMeasure() 837 if (newWidth <= widthSize) { in onMeasure() 838 widthSize = newWidth; in onMeasure() 845 int newHeight = (int)((widthSize - pleft - pright) / desiredAspect) + in onMeasure() 871 widthSize = resolveSizeAndState(w, widthMeasureSpec, 0); in onMeasure() 875 setMeasuredDimension(widthSize, heightSize); in onMeasure()
|
D | AnalogClock.java | 137 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 144 if (widthMode != MeasureSpec.UNSPECIFIED && widthSize < mDialWidth) { in onMeasure() 145 hScale = (float) widthSize / (float) mDialWidth; in onMeasure()
|
D | AbsSpinner.java | 167 int widthSize; in onMeasure() local 230 widthSize = resolveSizeAndState(preferredWidth, widthMeasureSpec, 0); in onMeasure() 232 setMeasuredDimension(widthSize, heightSize); in onMeasure()
|
D | GridView.java | 1023 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 1028 widthSize = mColumnWidth + mListPadding.left + mListPadding.right; in onMeasure() 1030 widthSize = mListPadding.left + mListPadding.right; in onMeasure() 1032 widthSize += getVerticalScrollbarWidth(); in onMeasure() 1035 int childWidth = widthSize - mListPadding.left - mListPadding.right; in onMeasure() 1094 if (ourSize > widthSize || didNotInitiallyFit) { in onMeasure() 1095 widthSize |= MEASURED_STATE_TOO_SMALL; in onMeasure() 1099 setMeasuredDimension(widthSize, heightSize); in onMeasure()
|
D | LinearLayout.java | 1173 int widthSize = mTotalLength; in measureHorizontal() local 1176 widthSize = Math.max(widthSize, getSuggestedMinimumWidth()); in measureHorizontal() 1179 int widthSizeAndState = resolveSizeAndState(widthSize, widthMeasureSpec, 0); in measureHorizontal() 1180 widthSize = widthSizeAndState & MEASURED_SIZE_MASK; in measureHorizontal() 1184 int delta = widthSize - mTotalLength; in measureHorizontal()
|
D | ListView.java | 1137 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 1162 widthSize = mListPadding.left + mListPadding.right + childWidth + in onMeasure() 1165 widthSize |= (childState&MEASURED_STATE_MASK); in onMeasure() 1178 setMeasuredDimension(widthSize , heightSize); in onMeasure()
|
D | RelativeLayout.java | 392 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 397 myWidth = widthSize; in onMeasure()
|
D | NumberPicker.java | 764 final int widthSize = resolveSizeAndStateRespectingMinSize(mMinWidth, getMeasuredWidth(), in onMeasure() local 768 setMeasuredDimension(widthSize, heightSize); in onMeasure()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardSecurityViewFlipper.java | 189 final int widthSize = MeasureSpec.getSize(widthSpec); in onMeasure() local 191 int maxWidth = widthSize; in onMeasure() 211 int width = widthMode == MeasureSpec.EXACTLY ? widthSize : 0; in onMeasure() 222 width = Math.max(width, Math.min(child.getMeasuredWidth(), widthSize - wPadding)); in onMeasure()
|
D | PagedView.java | 652 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 663 mViewport.set(0, 0, widthSize, heightSize); in onMeasure() 671 if (widthSize <= 0 || heightSize <= 0) { in onMeasure() 686 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure() 712 MeasureSpec.makeMeasureSpec(widthSize - horizontalPadding, childWidthMode); in onMeasure() 741 int spacing = Math.max(offset, widthSize - offset - in onMeasure()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | AbsSpinnerICS.java | 148 int widthSize; in onMeasure() local 214 widthSize = resolveSize(preferredWidth, widthMeasureSpec); in onMeasure() 216 setMeasuredDimension(widthSize, heightSize); in onMeasure()
|
D | ActionBarView.java | 1323 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 1328 width = Math.min(width, widthSize); in onMeasure() 1331 width = widthSize; in onMeasure()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 424 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 437 final int childWidthSpec = MeasureSpec.makeMeasureSpec((int) (widthSize * 0.8f), in onMeasure() 446 setMeasuredDimension(widthSize, heightSize); in onMeasure() 449 setMeasuredDimension(widthSize, Math.max(minHeight, textHeight + padding)); in onMeasure()
|
D | ViewPager.java | 1404 int widthSize = childWidthSize; 1409 widthSize = lp.width; 1418 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, widthMode);
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 617 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 622 "Using fallback spec of EXACTLY " + widthSize); in onMeasure() 631 setMeasuredDimension(widthSize, heightSize); in onMeasure() 634 final int colCount = widthSize / mMinColWidth; in onMeasure() 775 final int widthSize = colWidth * span + itemMargin * (span - 1); in layoutChildren() local 778 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in layoutChildren() 905 final int widthSize = colWidth * span + itemMargin * (span - 1); in fillUp() local 906 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillUp() 1019 final int widthSize = colWidth * span + itemMargin * (span - 1); in fillDown() local 1020 final int widthSpec = MeasureSpec.makeMeasureSpec(widthSize, MeasureSpec.EXACTLY); in fillDown()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteButton.java | 323 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 336 width = widthSize; in onMeasure() 339 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight()); in onMeasure()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteButton.java | 422 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 435 width = widthSize; in onMeasure() 438 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight()); in onMeasure()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | SlidingPaneLayout.java | 433 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 447 widthSize = 300; in onMeasure() 479 int widthRemaining = widthSize - getPaddingLeft() - getPaddingRight(); in onMeasure() 511 childWidthSpec = MeasureSpec.makeMeasureSpec(widthSize - horizontalMargin, in onMeasure() 514 childWidthSpec = MeasureSpec.makeMeasureSpec(widthSize - horizontalMargin, in onMeasure() 546 final int fixedPanelWidthLimit = widthSize - mOverhangSize; in onMeasure() 611 final int newWidth = widthSize - horizontalMargin; in onMeasure() 629 setMeasuredDimension(widthSize, layoutHeight); in onMeasure()
|
D | DrawerLayout.java | 603 int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 616 widthSize = 300; in onMeasure() 631 setMeasuredDimension(widthSize, heightSize); in onMeasure() 648 widthSize - lp.leftMargin - lp.rightMargin, MeasureSpec.EXACTLY); in onMeasure()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarView.java | 1490 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local 1495 width = Math.min(width, widthSize); in onMeasure() 1498 width = widthSize; in onMeasure()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | PhoneWindow.java | 2263 final int widthSize = MeasureSpec.getSize(widthMeasureSpec); 2265 Math.min(w, widthSize), EXACTLY);
|