Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DTextPaint.java29 public int baselineShift; field in TextPaint
64 baselineShift = tp.baselineShift; in set()
DMeasuredText.java183 workPaint.baselineShift = 0; 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()
215 fm.bottom += workPaint.baselineShift; in addStyleRun()
DTextLine.java766 float underlineTop = y + wp.baselineShift + (1.0f / 9.0f) * wp.getTextSize(); in handleText()
784 x, y + wp.baselineShift); in handleText()
DLayout.java148 paint.baselineShift = 0; in Layout()
/frameworks/base/core/java/android/text/style/
DSubscriptSpan.java44 tp.baselineShift -= (int) (tp.ascent() / 2); in updateDrawState()
49 tp.baselineShift -= (int) (tp.ascent() / 2); in updateMeasureState()
DSuperscriptSpan.java44 tp.baselineShift += (int) (tp.ascent() / 2); in updateDrawState()
49 tp.baselineShift += (int) (tp.ascent() / 2); in updateMeasureState()
/frameworks/base/api/
Dcurrent.txt20268 field public int baselineShift;
D14.txt20268 field public int baselineShift;