Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java1446 int contextLen = contextEnd - contextStart; in drawTextRun() local
1449 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p); in drawTextRun()
1452 contextLen, x, y, isRtl, p); in drawTextRun()
1454 char[] buf = TextUtils.obtain(contextLen); in drawTextRun()
1456 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p); in drawTextRun()
1518 int contextLen = contextEnd - contextStart; in getTextRunAdvances() local
1522 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
1526 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
1528 char[] buf = TextUtils.obtain(contextLen); in getTextRunAdvances()
1531 0, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
[all …]
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java574 int contextLen = contextEnd - contextStart; in drawTextRun() local
576 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun()
579 0, contextLen, x, y, isRtl, paint.getNativeInstance(), in drawTextRun()
DBaseRecordingCanvas.java539 int contextLen = contextEnd - contextStart; in drawTextRun() local
541 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun()
544 0, contextLen, x, y, isRtl, paint.getNativeInstance(), in drawTextRun()
DPaint.java2695 int contextLen = contextEnd - contextStart; in getTextRunCursor() local
2696 char[] buf = TemporaryBuffer.obtain(contextLen); in getTextRunCursor()
2698 int relPos = getTextRunCursor(buf, 0, contextLen, isRtl, offset - contextStart, cursorOpt); in getTextRunCursor()