Searched defs:contextCount (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp499 void drawText(Canvas* canvas, const uint16_t* text, int start, int count, int contextCount, argument
505 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount);
552 jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y,
560 contextCount, x, y, bidiFlags, *paint, typeface); local
573 jint contextCount = contextEnd - contextStart; local
576 contextCount, x, y, bidiFlags, *paint, typeface); local
551 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 typefaceHandle) argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1721 * {@link #drawText}, in this method {@code count} and {@code contextCount} are used rather
1722 * than offsets of the end position; {@code count = end - start, contextCount = contextEnd -
1730 * @param contextCount the number of characters in the context for shaping.
1731 * contexIndex + contextCount must be no less than index + count.
1738 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) {
1746 if ((index | count | contextIndex | contextCount | index - contextIndex
1747 | (contextIndex + contextCount) - (index + count)
1748 | text.length - (contextIndex + contextCount)) < 0) {
1752 native_drawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount,
2111 int start, int count, int contextStart, int contextCount,
1737 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument
2110 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
[all...]
H A DPaint.java1877 int contextIndex, int contextCount, boolean isRtl, float[] advances,
1883 if ((index | count | contextIndex | contextCount | advancesIndex
1884 | (index - contextIndex) | (contextCount - count)
1885 | ((contextIndex + contextCount) - (index + count))
1886 | (chars.length - (contextIndex + contextCount))
1897 contextIndex, contextCount, isRtl, advances, advancesIndex);
1903 contextIndex, contextCount, isRtl, advances, advancesIndex);
2487 char[] text, int index, int count, int contextIndex, int contextCount,
1876 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
2486 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java881 int start, int count, int contextStart, int contextCount,
880 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long paint, long typeface) argument
H A DPaint_Delegate.java998 char[] text, int index, int count, int contextIndex, int contextCount,
997 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp701 jint start, jint count, jint contextCount, jboolean isRtl,
706 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) {
726 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, start, count, contextCount);
739 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount,
745 index - contextIndex, count, contextCount, isRtl, advances, advancesIndex);
772 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) {
775 jint result = doTextRunCursor(env, paint, textArray, contextStart, contextCount, dir,
700 doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text, jint start, jint count, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
737 getTextRunAdvances___CIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
771 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument

Completed in 100 milliseconds