Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DTextPaint.java31 public int baselineShift; field in TextPaint
68 baselineShift = tp.baselineShift; in set()
DMeasuredText.java221 workPaint.baselineShift = 0; 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()
257 fm.bottom += workPaint.baselineShift; in addStyleRun()
DTextLine.java772 float underlineTop = y + wp.baselineShift + (1.0f / 9.0f) * wp.getTextSize(); in handleText()
790 x, y + wp.baselineShift); in handleText()
DLayout.java204 paint.baselineShift = 0; in Layout()
/frameworks/base/core/java/android/text/style/
DSubscriptSpan.java54 tp.baselineShift -= (int) (tp.ascent() / 2); in updateDrawState()
59 tp.baselineShift -= (int) (tp.ascent() / 2); in updateMeasureState()
DSuperscriptSpan.java54 tp.baselineShift += (int) (tp.ascent() / 2); in updateDrawState()
59 tp.baselineShift += (int) (tp.ascent() / 2); in updateMeasureState()
/frameworks/base/api/
Dcurrent.txt32429 field public int baselineShift;
Dsystem-current.txt34721 field public int baselineShift;