Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.h239 uint16_t mMaxWidth; member
247 mMaxWidth(maxWidth), in CacheTextureLine()
258 if (mCurrentCol + glyph.fWidth + 2 < mMaxWidth) { in fitBitmap()
DFontRenderer.cpp669 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol); in getRemainingCacheCapacity()
670 totalPixels += mCacheLines[i]->mMaxWidth; in getRemainingCacheCapacity()
/frameworks/base/libs/rs/
DrsFont.h167 uint32_t mMaxWidth; member
173 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
DrsFont.cpp706 remainingCapacity += (mCacheLines[i]->mMaxWidth - mCacheLines[i]->mCurrentCol); in getRemainingCacheCapacity()
707 totalPixels += mCacheLines[i]->mMaxWidth; in getRemainingCacheCapacity()
820 if (mCurrentCol + (uint32_t)bitmap->width < mMaxWidth) { in fitBitmap()
/frameworks/base/core/java/android/widget/
DSearchView.java123 private int mMaxWidth; field in SearchView
639 mMaxWidth = maxpixels; in setMaxWidth()
658 if (mMaxWidth > 0) { in onMeasure()
659 width = Math.min(mMaxWidth, width); in onMeasure()
666 if (mMaxWidth > 0) { in onMeasure()
667 width = Math.min(mMaxWidth, width); in onMeasure()
672 width = mMaxWidth > 0 ? mMaxWidth : getPreferredWidth(); in onMeasure()
DProgressBar.java195 int mMaxWidth; field in ProgressBar
267 mMaxWidth = a.getDimensionPixelSize(R.styleable.ProgressBar_maxWidth, mMaxWidth); in ProgressBar()
409 mMaxWidth = 48; in initProgressBar()
1011 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth())); in onMeasure()
DImageView.java66 private int mMaxWidth = Integer.MAX_VALUE; field in ImageView
263 mMaxWidth = maxWidth; in setMaxWidth()
699 widthSize = resolveAdjustedSize(w + pleft + pright, mMaxWidth, widthMeasureSpec); in onMeasure()
DAbsSeekBar.java315 dw = Math.max(mMinWidth, Math.min(mMaxWidth, d.getIntrinsicWidth()));
DTextView.java2686 mMaxWidth = maxems; in setMaxEms()
2700 mMaxWidth = maxpixels; in setMaxWidth()
2714 mMaxWidth = mMinWidth = ems; in setEms()
2730 mMaxWidth = mMinWidth = pixels; in setWidth()
6477 width = Math.min(width, mMaxWidth * getLineHeight()); in onMeasure()
6479 width = Math.min(width, mMaxWidth); in onMeasure()
6673 (mMaxWidthMode == mMinWidthMode && mMaxWidth == mMinWidth)) && in checkForRelayout()
11495 private int mMaxWidth = Integer.MAX_VALUE; field in TextView