Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java439 public void drawTextRun(@NonNull char[] text, int index, int count, int contextIndex, in drawTextRun() argument
448 if ((index | count | contextIndex | contextCount | index - contextIndex in drawTextRun()
449 | (contextIndex + contextCount) - (index + count) in drawTextRun()
450 | text.length - (contextIndex + contextCount)) < 0) { in drawTextRun()
455 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, in drawTextRun()
DPaint.java2172 int contextIndex, int contextCount, boolean isRtl, float[] advances, in getTextRunAdvances() argument
2178 if ((index | count | contextIndex | contextCount | advancesIndex in getTextRunAdvances()
2179 | (index - contextIndex) | (contextCount - count) in getTextRunAdvances()
2180 | ((contextIndex + contextCount) - (index + count)) in getTextRunAdvances()
2181 | (chars.length - (contextIndex + contextCount)) in getTextRunAdvances()
2192 contextIndex, contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances, in getTextRunAdvances()
2199 contextIndex, contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances, in getTextRunAdvances()
2761 char[] text, int index, int count, int contextIndex, int contextCount, in nGetTextAdvances() argument
DCanvas.java1907 public void drawTextRun(@NonNull char[] text, int index, int count, int contextIndex, in drawTextRun() argument
1909 super.drawTextRun(text, index, count, contextIndex, contextCount, x, y, isRtl, paint); in drawTextRun()
/frameworks/base/core/java/android/view/
DRecordingCanvas.java460 public final void drawTextRun(@NonNull char[] text, int index, int count, int contextIndex, in drawTextRun() argument
469 if ((index | count | contextIndex | contextCount | index - contextIndex in drawTextRun()
470 | (contextIndex + contextCount) - (index + count) in drawTextRun()
471 | text.length - (contextIndex + contextCount)) < 0) { in drawTextRun()
475 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, in drawTextRun()
/frameworks/base/tools/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/
Dandroid_graphics_Canvas.cpp499 jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, in drawTextRunChars() argument
506 get_canvas(canvasHandle)->drawText(jchars + contextIndex, index - contextIndex, count, in drawTextRunChars()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp217 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, in getTextAdvances___CIIIII_FI() argument
222 jfloat result = doTextAdvances(env, paint, typeface, textArray + contextIndex, in getTextAdvances___CIIIII_FI()
223 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java932 char[] text, int index, int count, int contextIndex, int contextCount, in nGetTextAdvances() argument