Home
last modified time | relevance | path

Searched refs:contextCount (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java440 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 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()
627 int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, in nDrawTextRun() argument
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.java1908 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument
1909 super.drawTextRun(text, index, count, contextIndex, contextCount, x, y, isRtl, paint); in drawTextRun()
/frameworks/base/core/java/android/view/
DRecordingCanvas.java461 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 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()
630 int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, in nDrawTextRun() argument
/frameworks/base/libs/hwui/hwui/
DCanvas.cpp151 void Canvas::drawText(const uint16_t* text, int start, int count, int contextCount, in drawText() argument
157 &paint, bidiFlags, typeface, text, start, count, contextCount); in drawText()
DCanvas.h267 void drawText(const uint16_t* text, int start, int count, int contextCount,
/frameworks/base/core/jni/android/graphics/
DPaint.cpp185 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, in doTextAdvances() argument
189 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) { in doTextAdvances()
208 start, count, contextCount, advancesArray.get()); in doTextAdvances()
217 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, in getTextAdvances___CIIIII_FI() argument
223 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI()
255 jlong typefaceHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, in getTextRunCursor___C() argument
261 contextStart, contextCount, dir, offset, cursorOpt); in getTextRunCursor___C()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp499 jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, in drawTextRunChars() argument
507 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunChars()
520 jint contextCount = contextEnd - contextStart; in drawTextRunString() local
523 contextCount, x, y, bidiFlags, *paint, typeface); in drawTextRunString()
/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/java/android/text/
DTextLine.java996 int contextCount = contextEnd - contextStart; in drawTextRun() local
997 c.drawTextRun(mChars, start, count, contextStart, contextCount, in drawTextRun()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java510 int start, int count, int contextStart, int contextCount, in nDrawTextRun() argument
DPaint_Delegate.java932 char[] text, int index, int count, int contextIndex, int contextCount, in nGetTextAdvances() argument
/frameworks/base/core/java/android/widget/
DTextView.java11697 int contextCount = contextEnd - contextStart; in drawTextRun() local
11699 contextCount, x, y, isRtl, p); in drawTextRun()
11714 int contextCount = contextEnd - contextStart; in getTextRunAdvances() local
11716 contextStart + mStart, contextCount, isRtl, advances, in getTextRunAdvances()
11722 int contextCount = contextEnd - contextStart; in getTextRunCursor() local
11724 contextCount, dir, offset + mStart, cursorOpt); in getTextRunCursor()