Home
last modified time | relevance | path

Searched refs:mMinWidth (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuItemView.java54 private int mMinWidth; field in ActionMenuItemView
79 mMinWidth = a.getDimensionPixelSize( in ActionMenuItemView()
298 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure()
299 : mMinWidth; in onMeasure()
301 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
DActionMenuItemView.java61 private int mMinWidth; field in ActionMenuItemView
82 mMinWidth = a.getDimensionPixelSize( in ActionMenuItemView()
281 final int targetWidth = widthMode == MeasureSpec.AT_MOST ? Math.min(widthSize, mMinWidth) in onMeasure()
282 : mMinWidth; in onMeasure()
284 if (widthMode != MeasureSpec.EXACTLY && mMinWidth > 0 && oldMeasuredWidth < targetWidth) { in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java52 private int mMinWidth; field in MediaRouteButton
90 mMinWidth = a.getDimensionPixelSize( in MediaRouteButton()
333 final int minWidth = Math.max(mMinWidth, in onMeasure()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java100 private int mMinWidth; field in MediaRouteButton
132 mMinWidth = a.getDimensionPixelSize( in MediaRouteButton()
430 final int minWidth = Math.max(mMinWidth, in onMeasure()
/frameworks/base/core/java/android/widget/
DProgressBar.java201 int mMinWidth; field in ProgressBar
277 mMinWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_minWidth, mMinWidth); in ProgressBar()
503 mMinWidth = 24; in initProgressBar()
1686 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
DNumberPicker.java236 private final int mMinWidth; field in NumberPicker
635 mMinWidth = attributesArray.getDimensionPixelSize( in NumberPicker()
640 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED in NumberPicker()
641 && mMinWidth > mMaxWidth) { in NumberPicker()
798 final int widthSize = resolveSizeAndStateRespectingMinSize(mMinWidth, getMeasuredWidth(), in onMeasure()
1307 if (maxTextWidth > mMinWidth) { in tryComputeMaxWidth()
1310 mMaxWidth = mMinWidth; in tryComputeMaxWidth()
DAbsSeekBar.java547 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
DTextView.java544 private int mMinWidth = 0; field in TextView
3416 mMinWidth = minems; in setMinEms()
3433 return mMinWidthMode == EMS ? mMinWidth : -1; in getMinEms()
3443 mMinWidth = minpixels; in setMinWidth()
3460 return mMinWidthMode == PIXELS ? mMinWidth : -1; in getMinWidth()
3529 mMaxWidth = mMinWidth = ems; in setEms()
3550 mMaxWidth = mMinWidth = pixels; in setWidth()
6638 width = Math.max(width, mMinWidth * getLineHeight()); in onMeasure()
6640 width = Math.max(width, mMinWidth); in onMeasure()
6828 (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && in checkForRelayout()
/frameworks/base/core/java/android/view/
DView.java3360 private int mMinWidth; field in View
3981 mMinWidth = a.getDimensionPixelSize(attr, 0);
17778 return (mBackground == null) ? mMinWidth : max(mMinWidth, mBackground.getMinimumWidth());
17820 return mMinWidth;
17835 mMinWidth = minWidth;