Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DMeasuredText.java180 TextPaint workPaint = mWorkPaint; in addStyleRun() local
181 workPaint.set(paint); in addStyleRun()
183 workPaint.baselineShift = 0; in addStyleRun()
191 span.updateMeasureState(workPaint); in addStyleRun()
197 wid = addStyleRun(workPaint, len, fm); in addStyleRun()
200 wid = replacement.getSize(workPaint, mText, mTextStart + mPos, in addStyleRun()
210 if (workPaint.baselineShift < 0) { in addStyleRun()
211 fm.ascent += workPaint.baselineShift; in addStyleRun()
212 fm.top += workPaint.baselineShift; in addStyleRun()
214 fm.descent += workPaint.baselineShift; in addStyleRun()
[all …]
DLayout.java79 TextPaint workPaint = new TextPaint(); in getDesiredWidth() local
89 float w = measurePara(paint, workPaint, source, i, next); in getDesiredWidth()
1484 static float measurePara(TextPaint paint, TextPaint workPaint,