Searched refs:contextLen (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/core/java/android/text/ |
H A D | SpannableStringBuilder.java | 1447 int contextLen = contextEnd - contextStart; in drawTextRun() local 1453 contextLen, x, y, isRtl, p); in drawTextRun() 1455 char[] buf = TextUtils.obtain(contextLen); in drawTextRun() 1519 int contextLen = contextEnd - contextStart; in getTextRunAdvances() local 1529 char[] buf = TextUtils.obtain(contextLen); in getTextRunAdvances() 1532 0, contextLen, isRtl, advances, advancesPos); in getTextRunAdvances() 1577 int contextLen = contextEnd - contextStart; in getTextRunCursor() local 1579 ret = p.getTextRunCursor(mText, contextStart, contextLen, in getTextRunCursor() 1582 ret = p.getTextRunCursor(mText, contextStart + mGapLength, contextLen, in getTextRunCursor() 1585 char[] buf = TextUtils.obtain(contextLen); in getTextRunCursor() [all …]
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | BaseCanvas.java | 631 int contextLen = contextEnd - contextStart; in drawTextRun() local 633 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun() 636 0, contextLen, x, y, isRtl, paint.getNativeInstance(), in drawTextRun()
|
H A D | BaseRecordingCanvas.java | 569 int contextLen = contextEnd - contextStart; in drawTextRun() local 571 char[] buf = TemporaryBuffer.obtain(contextLen); in drawTextRun() 574 0, contextLen, x, y, isRtl, paint.getNativeInstance(), in drawTextRun()
|
H A D | Paint.java | 2880 int contextLen = contextEnd - contextStart; in getTextRunCursor() local 2881 char[] buf = TemporaryBuffer.obtain(contextLen); in getTextRunCursor() 2883 int relPos = getTextRunCursor(buf, 0, contextLen, isRtl, offset - contextStart, cursorOpt); in getTextRunCursor()
|