Home
last modified time | relevance | path

Searched refs:mMaxWidth (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/tv/
DTvStreamConfig.java36 private int mMaxWidth; field in TvStreamConfig
79 return mMaxWidth; in getMaxWidth()
110 dest.writeInt(mMaxWidth); in writeToParcel()
121 private Integer mMaxWidth; field in TvStreamConfig.Builder
139 mMaxWidth = maxWidth; in maxWidth()
154 if (mStreamId == null || mType == null || mMaxWidth == null || mMaxHeight == null in build()
162 config.mMaxWidth = mMaxWidth; in build()
178 && config.mMaxWidth == mMaxWidth in equals()
/frameworks/volley/src/com/android/volley/toolbox/
DImageRequest.java46 private final int mMaxWidth; field in ImageRequest
76 mMaxWidth = maxWidth; in ImageRequest()
141 if (mMaxWidth == 0 && mMaxHeight == 0) { in doParse()
152 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight, in doParse()
154 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth, in doParse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java59 private int mMaxWidth; field in KeyButtonRipple
70 mMaxWidth = ctx.getResources().getDimensionPixelSize(R.dimen.key_button_ripple_max_width); in KeyButtonRipple()
281 return Math.min(size, mMaxWidth); in getRippleSize()
/frameworks/rs/
DrsFont.h168 uint32_t mMaxWidth; member
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
DrsFont.cpp729 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol); in getRemainingCacheCapacity()
730 totalPixels += mCacheLines[i]->mMaxWidth; in getRemainingCacheCapacity()
849 if (mCurrentCol + (uint32_t)bitmap->width < mMaxWidth) { in fitBitmap()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java149 private int mMaxWidth; field in SearchView
744 mMaxWidth = maxpixels; in setMaxWidth()
755 return mMaxWidth; in getMaxWidth()
772 if (mMaxWidth > 0) { in onMeasure()
773 width = Math.min(mMaxWidth, width); in onMeasure()
780 if (mMaxWidth > 0) { in onMeasure()
781 width = Math.min(mMaxWidth, width); in onMeasure()
786 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); in onMeasure()
/frameworks/base/core/java/android/widget/
DSearchView.java138 private int mMaxWidth; field in SearchView
742 mMaxWidth = maxpixels; in setMaxWidth()
755 return mMaxWidth; in getMaxWidth()
772 if (mMaxWidth > 0) { in onMeasure()
773 width = Math.min(mMaxWidth, width); in onMeasure()
780 if (mMaxWidth > 0) { in onMeasure()
781 width = Math.min(mMaxWidth, width); in onMeasure()
786 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); in onMeasure()
DImageView.java78 private int mMaxWidth = Integer.MAX_VALUE; field in ImageView
301 return mMaxWidth; in getMaxWidth()
326 mMaxWidth = maxWidth; in setMaxWidth()
926 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); in onMeasure()
947 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); in onMeasure()
DNumberPicker.java241 private int mMaxWidth; field in NumberPicker
638 mMaxWidth = attributesArray.getDimensionPixelSize( in NumberPicker()
640 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED in NumberPicker()
641 && mMinWidth > mMaxWidth) { in NumberPicker()
645 mComputeMaxWidth = (mMaxWidth == SIZE_UNSPECIFIED); in NumberPicker()
794 final int newWidthMeasureSpec = makeMeasureSpec(widthMeasureSpec, mMaxWidth); in onMeasure()
1306 if (mMaxWidth != maxTextWidth) { in tryComputeMaxWidth()
1308 mMaxWidth = maxTextWidth; in tryComputeMaxWidth()
1310 mMaxWidth = mMinWidth; in tryComputeMaxWidth()
DProgressBar.java202 int mMaxWidth; field in ProgressBar
278 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth); in ProgressBar()
504 mMaxWidth = 48; in initProgressBar()
1686 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
DAbsSeekBar.java547 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
DTextView.java542 private int mMaxWidth = Integer.MAX_VALUE; field in TextView
3470 mMaxWidth = maxems; in setMaxEms()
3487 return mMaxWidthMode == EMS ? mMaxWidth : -1; in getMaxEms()
3497 mMaxWidth = maxpixels; in setMaxWidth()
3514 return mMaxWidthMode == PIXELS ? mMaxWidth : -1; in getMaxWidth()
3529 mMaxWidth = mMinWidth = ems; in setEms()
3550 mMaxWidth = mMinWidth = pixels; in setWidth()
6632 width = Math.min(width, mMaxWidth * getLineHeight()); in onMeasure()
6634 width = Math.min(width, mMaxWidth); in onMeasure()
6828 (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && in checkForRelayout()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java48 private int mMaxWidth; field in ResolverDrawerLayout
115 mMaxWidth = a.getDimensionPixelSize(R.styleable.ResolverDrawerLayout_maxWidth, -1); in ResolverDrawerLayout()
634 if (mMaxWidth >= 0) {
635 widthSize = Math.min(widthSize, mMaxWidth);