Searched refs:mMaxWidth (Results 1 – 11 of 11) sorted by relevance
/frameworks/support/volley/src/com/android/volley/toolbox/ |
D | ImageRequest.java | 46 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/core/java/android/widget/ |
D | SearchView.java | 125 private int mMaxWidth; field in SearchView 692 mMaxWidth = maxpixels; in setMaxWidth() 705 return mMaxWidth; in getMaxWidth() 722 if (mMaxWidth > 0) { in onMeasure() 723 width = Math.min(mMaxWidth, width); in onMeasure() 730 if (mMaxWidth > 0) { in onMeasure() 731 width = Math.min(mMaxWidth, width); in onMeasure() 736 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); in onMeasure()
|
D | ProgressBar.java | 200 int mMaxWidth; field in ProgressBar 274 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth); in ProgressBar() 413 mMaxWidth = 48; in initProgressBar() 1068 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
|
D | NumberPicker.java | 213 private int mMaxWidth; field in NumberPicker 574 mMaxWidth = attributesArray.getDimensionPixelSize( in NumberPicker() 576 if (mMinWidth != SIZE_UNSPECIFIED && mMaxWidth != SIZE_UNSPECIFIED in NumberPicker() 577 && mMinWidth > mMaxWidth) { in NumberPicker() 581 mComputeMaxWidth = (mMaxWidth == SIZE_UNSPECIFIED); in NumberPicker() 730 final int newWidthMeasureSpec = makeMeasureSpec(widthMeasureSpec, mMaxWidth); in onMeasure() 1181 if (mMaxWidth != maxTextWidth) { in tryComputeMaxWidth() 1183 mMaxWidth = maxTextWidth; in tryComputeMaxWidth() 1185 mMaxWidth = mMinWidth; in tryComputeMaxWidth()
|
D | ImageView.java | 67 private int mMaxWidth = Integer.MAX_VALUE; field in ImageView 262 return mMaxWidth; in getMaxWidth() 287 mMaxWidth = maxWidth; in setMaxWidth() 768 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); in onMeasure()
|
D | AbsSeekBar.java | 328 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
|
D | TextView.java | 359 private int mMaxWidth = Integer.MAX_VALUE; field in TextView 2977 mMaxWidth = maxems; in setMaxEms() 2994 return mMaxWidthMode == EMS ? mMaxWidth : -1; in getMaxEms() 3004 mMaxWidth = maxpixels; in setMaxWidth() 3021 return mMaxWidthMode == PIXELS ? mMaxWidth : -1; in getMaxWidth() 3036 mMaxWidth = mMinWidth = ems; in setEms() 3057 mMaxWidth = mMinWidth = pixels; in setWidth() 6070 width = Math.min(width, mMaxWidth * getLineHeight()); in onMeasure() 6072 width = Math.min(width, mMaxWidth); in onMeasure() 6266 (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && in checkForRelayout()
|
/frameworks/rs/ |
D | rsFont.h | 169 uint32_t mMaxWidth; member 175 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
|
D | rsFont.cpp | 718 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol); in getRemainingCacheCapacity() 719 totalPixels += mCacheLines[i]->mMaxWidth; in getRemainingCacheCapacity() 836 if (mCurrentCol + (uint32_t)bitmap->width < mMaxWidth) { in fitBitmap()
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.h | 89 mMaxWidth(maxWidth), in CacheTextureLine() 99 uint16_t mMaxWidth; variable
|
D | FontRenderer.cpp | 53 if (mCurrentCol + glyph.fWidth + TEXTURE_BORDER_SIZE < mMaxWidth) { in fitBitmap() 667 uint32_t cacheWidth = cacheLine->mMaxWidth; in cacheBitmap() 814 uint32_t width = cl->mMaxWidth; in checkTextureUpdate() 950 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol); in getRemainingCacheCapacity() 951 totalPixels += mCacheLines[i]->mMaxWidth; in getRemainingCacheCapacity()
|