Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java1447 int contextLen = contextEnd - contextStart; in drawTextRun() local
1450 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p); in drawTextRun()
1453 contextLen, x, y, isRtl, p); in drawTextRun()
1455 char[] buf = TextUtils.obtain(contextLen); in drawTextRun()
1457 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p); in drawTextRun()
1519 int contextLen = contextEnd - contextStart; in getTextRunAdvances() local
1523 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
1527 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
1529 char[] buf = TextUtils.obtain(contextLen); in getTextRunAdvances()
1532 0, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBaseRecordingCanvas.java573 int contextLen = contextEnd - contextStart; in drawTextRun() local
575 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun()
578 0, contextLen, x, y, isRtl, paint.getNativeInstance(), in drawTextRun()
DBaseCanvas.java634 int contextLen = contextEnd - contextStart; in drawTextRun() local
636 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun()
639 0, contextLen, x, y, isRtl, paint.getNativeInstance(), in drawTextRun()
DPaint.java2741 int contextLen = contextEnd - contextStart; in getTextRunCursor() local
2742 char[] buf = TemporaryBuffer.obtain(contextLen); in getTextRunCursor()
2744 int relPos = getTextRunCursor(buf, 0, contextLen, isRtl, offset - contextStart, cursorOpt); in getTextRunCursor()