Home
last modified time | relevance | path

Searched refs:contextIndex (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java515 public void drawTextRun(@NonNull char[] text, int index, int count, int contextIndex, in drawTextRun() argument
524 if ((index | count | contextIndex | contextCount | index - contextIndex in drawTextRun()
525 | (contextIndex + contextCount) - (index + count) in drawTextRun()
526 | text.length - (contextIndex + contextCount)) < 0) { in drawTextRun()
531 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, in drawTextRun()
DBaseRecordingCanvas.java481 public final void drawTextRun(@NonNull char[] text, int index, int count, int contextIndex, in drawTextRun() argument
490 if ((index | count | contextIndex | contextCount | index - contextIndex in drawTextRun()
491 | (contextIndex + contextCount) - (index + count) in drawTextRun()
492 | text.length - (contextIndex + contextCount)) < 0) { in drawTextRun()
496 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, in drawTextRun()
DPaint.java2579 @IntRange(from = 0) int count, @IntRange(from = 0) int contextIndex, in getTextRunAdvances()
2585 if ((index | count | contextIndex | contextCount | advancesIndex in getTextRunAdvances()
2586 | (index - contextIndex) | (contextCount - count) in getTextRunAdvances()
2587 | ((contextIndex + contextCount) - (index + count)) in getTextRunAdvances()
2588 | (chars.length - (contextIndex + contextCount)) in getTextRunAdvances()
2598 return nGetTextAdvances(mNativePaint, chars, index, count, contextIndex, contextCount, in getTextRunAdvances()
2605 final float res = nGetTextAdvances(mNativePaint, chars, index, count, contextIndex, in getTextRunAdvances()
3054 int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex); in nGetTextAdvances() argument
DCanvas.java2150 public void drawTextRun(@NonNull char[] text, int index, int count, int contextIndex, in drawTextRun() argument
2152 super.drawTextRun(text, index, count, contextIndex, contextCount, x, y, isRtl, paint); in drawTextRun()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java270 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, in drawTextRun() argument
/frameworks/base/core/jni/android/graphics/
DPaint.cpp223 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, in getTextAdvances___CIIIII_FI() argument
228 jfloat result = doTextAdvances(env, paint, typeface, textArray + contextIndex, in getTextAdvances___CIIIII_FI()
229 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp573 jint index, jint count, jint contextIndex, jint contextCount, in drawTextRunChars() argument
585 contextIndex, contextCount, // context range, in drawTextRunChars()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java684 public void drawTextRun(char[] text, int index, int count, int contextIndex, in drawTextRun() argument
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java955 int count, int contextIndex, int contextCount, in nGetTextAdvances() argument