Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DMeasuredText.java218 TextPaint workPaint = mWorkPaint; in addStyleRun() local
219 workPaint.set(paint); in addStyleRun()
221 workPaint.baselineShift = 0; in addStyleRun()
229 span.updateMeasureState(workPaint); in addStyleRun()
235 wid = addStyleRun(workPaint, len, fm); in addStyleRun()
238 wid = replacement.getSize(workPaint, mText, mTextStart + mPos, in addStyleRun()
252 if (workPaint.baselineShift < 0) { in addStyleRun()
253 fm.ascent += workPaint.baselineShift; in addStyleRun()
254 fm.top += workPaint.baselineShift; in addStyleRun()
256 fm.descent += workPaint.baselineShift; in addStyleRun()
[all …]