Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DSpannableStringBuilder.java1385 int contextLen = contextEnd - contextStart; in drawTextRun() local
1388 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p); in drawTextRun()
1391 contextLen, x, y, isRtl, p); in drawTextRun()
1393 char[] buf = TextUtils.obtain(contextLen); in drawTextRun()
1395 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p); in drawTextRun()
1457 int contextLen = contextEnd - contextStart; in getTextRunAdvances() local
1461 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
1465 contextStart + mGapLength, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
1467 char[] buf = TextUtils.obtain(contextLen); in getTextRunAdvances()
1470 0, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPaint.java2163 int contextLen = contextEnd - contextStart; in getTextRunAdvances() local
2165 char[] buf = TemporaryBuffer.obtain(contextLen); in getTextRunAdvances()
2168 0, contextLen, isRtl, advances, advancesIndex); in getTextRunAdvances()
2331 int contextLen = contextEnd - contextStart; in getTextRunCursor() local
2332 char[] buf = TemporaryBuffer.obtain(contextLen); in getTextRunCursor()
2334 int relPos = getTextRunCursor(buf, 0, contextLen, dir, offset - contextStart, cursorOpt); in getTextRunCursor()
DCanvas.java1824 int contextLen = contextEnd - contextStart; in drawTextRun() local
1826 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun()
1829 0, contextLen, x, y, isRtl, paint.getNativeInstance(), paint.mNativeTypeface); in drawTextRun()