/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 159 void Canvas::drawText(const uint16_t* text, int start, int count, int contextCount, float x, argument 166 MinikinUtils::doLayout(&paint, bidiFlags, typeface, text, start, count, contextCount,
|
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | LayoutTest.java | 683 int contextCount, float x, float y, boolean isRtl, Paint paint) { 682 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, Paint paint) argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 270 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, argument
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 462 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 470 if ((index | count | contextIndex | contextCount | index - contextIndex 471 | (contextIndex + contextCount) - (index + count) 472 | text.length - (contextIndex + contextCount)) < 0) { 476 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, 639 int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, 461 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument 638 nDrawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativePrecomputedText) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BaseCanvas.java | 447 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 455 if ((index | count | contextIndex | contextCount | index - contextIndex 456 | (contextIndex + contextCount) - (index + count) 457 | text.length - (contextIndex + contextCount)) < 0) { 462 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, 651 int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, 446 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument 650 nDrawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativePrecomputedText) argument
|
H A D | Canvas.java | 1966 * method {@code count} and {@code contextCount} are used rather than offsets of the end 1967 * position; {@code count = end - start, contextCount = contextEnd - 1974 * @param contextCount the number of characters in the context for shaping. contexIndex + 1975 * contextCount must be no less than index + count. 1982 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 1983 super.drawTextRun(text, index, count, contextIndex, contextCount, x, y, isRtl, paint); 1981 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument
|
H A D | Paint.java | 2265 int contextIndex, int contextCount, boolean isRtl, float[] advances, 2271 if ((index | count | contextIndex | contextCount | advancesIndex 2272 | (index - contextIndex) | (contextCount - count) 2273 | ((contextIndex + contextCount) - (index + count)) 2274 | (chars.length - (contextIndex + contextCount)) 2284 return nGetTextAdvances(mNativePaint, chars, index, count, contextIndex, contextCount, 2292 contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances, advancesIndex); 2857 int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex); 2264 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument 2856 nGetTextAdvances(long paintPtr, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 509 int start, int count, int contextStart, int contextCount, 508 nDrawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long paint, long nativeMeasuredText, int measuredTextOffset) argument
|
H A D | Paint_Delegate.java | 965 int count, int contextIndex, int contextCount, 964 nGetTextAdvances(long native_object, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 514 jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, 523 contextCount, x, y, bidiFlags, *paint, typeface, mt); 535 jint contextCount = contextEnd - contextStart; local 538 contextCount, x, y, bidiFlags, *paint, typeface, nullptr); 513 drawTextRunChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong mtHandle) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 186 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, 190 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) { 209 static_cast<minikin::Bidi>(bidiFlags), typeface, text, start, count, contextCount, 218 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, 224 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); 255 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) { 260 contextStart, contextCount, dir, offset, cursorOpt); 185 doTextAdvances(JNIEnv *env, Paint *paint, const Typeface* typeface, const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument 217 getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument 254 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument
|