Home
last modified time | relevance | path

Searched refs:mTempTextPaint (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatTextViewAutoSizeHelper.java87 private TextPaint mTempTextPaint; field in AppCompatTextViewAutoSizeHelper
657 if (mTempTextPaint == null) { in suggestedSizeFitsInSpace()
658 mTempTextPaint = new TextPaint(); in suggestedSizeFitsInSpace()
660 mTempTextPaint.reset(); in suggestedSizeFitsInSpace()
662 mTempTextPaint.set(mTextView.getPaint()); in suggestedSizeFitsInSpace()
663 mTempTextPaint.setTextSize(suggestedSizeInPx); in suggestedSizeFitsInSpace()
695 text, 0, text.length(), mTempTextPaint, availableWidth); in createStaticLayoutForMeasuring()
735 return new StaticLayout(text, mTempTextPaint, availableWidth, in createStaticLayoutForMeasuringPre23()
/frameworks/base/core/java/android/widget/
DTextView.java678 private TextPaint mTempTextPaint;
8344 if (mTempTextPaint == null) { in suggestedSizeFitsInSpace()
8345 mTempTextPaint = new TextPaint(); in suggestedSizeFitsInSpace()
8347 mTempTextPaint.reset(); in suggestedSizeFitsInSpace()
8349 mTempTextPaint.set(getPaint()); in suggestedSizeFitsInSpace()
8350 mTempTextPaint.setTextSize(suggestedSizeInPx); in suggestedSizeFitsInSpace()
8353 text, 0, text.length(), mTempTextPaint, Math.round(availableSpace.right)); in suggestedSizeFitsInSpace()