Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/tv/
DTvStreamConfig.java36 private int mMaxWidth; field in TvStreamConfig
79 return mMaxWidth; in getMaxWidth()
106 dest.writeInt(mMaxWidth); in writeToParcel()
117 private Integer mMaxWidth; field in TvStreamConfig.Builder
135 mMaxWidth = maxWidth; in maxWidth()
150 if (mStreamId == null || mType == null || mMaxWidth == null || mMaxHeight == null in build()
158 config.mMaxWidth = mMaxWidth; in build()
174 && config.mMaxWidth == mMaxWidth in equals()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageRequest.java47 private final int mMaxWidth; field in ImageRequest
79 mMaxWidth = maxWidth; in ImageRequest()
174 if (mMaxWidth == 0 && mMaxHeight == 0) { in doParse()
185 int desiredWidth = getResizedDimension(mMaxWidth, mMaxHeight, in doParse()
187 int desiredHeight = getResizedDimension(mMaxHeight, mMaxWidth, in doParse()
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java31 private int mMaxWidth = Integer.MAX_VALUE; field in PreferenceImageView
64 mMaxWidth = maxWidth; in setMaxWidth()
69 return mMaxWidth; in getMaxWidth()
/frameworks/support/design/src/android/support/design/widget/
DNavigationView.java87 private int mMaxWidth; field in NavigationView
121 mMaxWidth = a.getDimensionPixelSize(R.styleable.NavigationView_android_maxWidth, 0); in NavigationView()
217 Math.min(MeasureSpec.getSize(widthSpec), mMaxWidth), MeasureSpec.EXACTLY); in onMeasure()
220 widthSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY); in onMeasure()
DSnackbar.java650 private int mMaxWidth; field in Snackbar.SnackbarLayout
672 mMaxWidth = a.getDimensionPixelSize(R.styleable.SnackbarLayout_android_maxWidth, -1); in SnackbarLayout()
713 if (mMaxWidth > 0 && getMeasuredWidth() > mMaxWidth) { in onMeasure()
714 widthMeasureSpec = MeasureSpec.makeMeasureSpec(mMaxWidth, MeasureSpec.EXACTLY); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java59 private int mMaxWidth; field in KeyButtonRipple
69 mMaxWidth = ctx.getResources().getDimensionPixelSize(R.dimen.key_button_ripple_max_width); in KeyButtonRipple()
280 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.cpp725 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol); in getRemainingCacheCapacity()
726 totalPixels += mCacheLines[i]->mMaxWidth; in getRemainingCacheCapacity()
845 if (mCurrentCol + (uint32_t)bitmap->width < mMaxWidth) { in fitBitmap()
/frameworks/base/core/java/android/widget/
DSearchView.java152 private int mMaxWidth; field in SearchView
765 mMaxWidth = maxpixels; in setMaxWidth()
778 return mMaxWidth; in getMaxWidth()
795 if (mMaxWidth > 0) { in onMeasure()
796 width = Math.min(mMaxWidth, width); in onMeasure()
803 if (mMaxWidth > 0) { in onMeasure()
804 width = Math.min(mMaxWidth, width); in onMeasure()
809 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); in onMeasure()
DNumberPicker.java247 private int mMaxWidth; field in NumberPicker
653 mMaxWidth = attributesArray.getDimensionPixelSize( in NumberPicker()
655 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED in NumberPicker()
656 && mMinWidth > mMaxWidth) { in NumberPicker()
660 mComputeMaxWidth = (mMaxWidth == SIZE_UNSPECIFIED); in NumberPicker()
809 final int newWidthMeasureSpec = makeMeasureSpec(widthMeasureSpec, mMaxWidth); in onMeasure()
1321 if (mMaxWidth != maxTextWidth) { in tryComputeMaxWidth()
1323 mMaxWidth = maxTextWidth; in tryComputeMaxWidth()
1325 mMaxWidth = mMinWidth; in tryComputeMaxWidth()
DImageView.java84 private int mMaxWidth = Integer.MAX_VALUE; field in ImageView
318 return mMaxWidth; in getMaxWidth()
343 mMaxWidth = maxWidth; in setMaxWidth()
1034 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); in onMeasure()
1055 widthSize = resolveAdjustedSize(newWidth, mMaxWidth, widthMeasureSpec); in onMeasure()
DProgressBar.java212 int mMaxWidth; field in ProgressBar
298 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth); in ProgressBar()
576 mMaxWidth = 48; in initProgressBar()
1803 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
DTextView.java601 private int mMaxWidth = Integer.MAX_VALUE; field in TextView
3887 mMaxWidth = maxems; in setMaxEms()
3904 return mMaxWidthMode == EMS ? mMaxWidth : -1; in getMaxEms()
3914 mMaxWidth = maxpixels; in setMaxWidth()
3931 return mMaxWidthMode == PIXELS ? mMaxWidth : -1; in getMaxWidth()
3946 mMaxWidth = mMinWidth = ems; in setEms()
3967 mMaxWidth = mMinWidth = pixels; in setWidth()
7124 width = Math.min(width, mMaxWidth * getLineHeight()); in onMeasure()
7126 width = Math.min(width, mMaxWidth); in onMeasure()
7320 (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && in checkForRelayout()
DAbsSeekBar.java732 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSearchView.java170 private int mMaxWidth; field in SearchView
802 mMaxWidth = maxpixels; in setMaxWidth()
815 return mMaxWidth; in getMaxWidth()
832 if (mMaxWidth > 0) { in onMeasure()
833 width = Math.min(mMaxWidth, width); in onMeasure()
840 if (mMaxWidth > 0) { in onMeasure()
841 width = Math.min(mMaxWidth, width); in onMeasure()
846 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DResolverDrawerLayout.java54 private int mMaxWidth; field in ResolverDrawerLayout
129 mMaxWidth = a.getDimensionPixelSize(R.styleable.ResolverDrawerLayout_maxWidth, -1); in ResolverDrawerLayout()
744 if (mMaxWidth >= 0) {
745 widthSize = Math.min(widthSize, mMaxWidth);
/frameworks/av/media/libstagefright/httplive/
DLiveSession.h207 int32_t mMaxWidth; member
DLiveSession.cpp291 mMaxWidth(720), in LiveSession()
487 meta->setInt32(kKeyMaxWidth, mMaxWidth); in getStreamFormat()
1095 mMaxWidth = maxWidth > 0 ? maxWidth : mMaxWidth; in onMasterPlaylistFetched()