Searched refs:contextCount (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2086 int contextIndex, int contextCount, boolean isRtl, float[] advances,
2092 if ((index | count | contextIndex | contextCount | advancesIndex
2093 | (index - contextIndex) | (contextCount - count)
2094 | ((contextIndex + contextCount) - (index + count))
2095 | (chars.length - (contextIndex + contextCount))
2106 contextIndex, contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances,
2113 contextIndex, contextCount, isRtl ? BIDI_FORCE_RTL : BIDI_FORCE_LTR, advances,
2681 char[] text, int index, int count, int contextIndex, int contextCount,
2085 getTextRunAdvances(char[] chars, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
2680 nGetTextAdvances(long paintPtr, long typefacePtr, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument
H A DCanvas.java1732 * {@link #drawText}, in this method {@code count} and {@code contextCount} are used rather
1733 * than offsets of the end position; {@code count = end - start, contextCount = contextEnd -
1741 * @param contextCount the number of characters in the context for shaping.
1742 * contexIndex + contextCount must be no less than index + count.
1749 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) {
1757 if ((index | count | contextIndex | contextCount | index - contextIndex
1758 | (contextIndex + contextCount) - (index + count)
1759 | text.length - (contextIndex + contextCount)) < 0) {
1763 native_drawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount,
2132 int start, int count, int contextStart, int contextCount,
1748 drawTextRun(@onNull char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) argument
2131 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...]
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp149 void Canvas::drawText(const uint16_t* text, int start, int count, int contextCount, argument
155 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount);
H A DCanvas.h229 void drawText(const uint16_t* text, int start, int count, int contextCount,
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp478 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags,
482 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) {
501 start, count, contextCount, advancesArray.get());
510 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount,
516 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex);
543 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) {
546 jint result = doTextRunCursor(env, paint, textArray, contextStart, contextCount, dir,
477 doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
508 getTextAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
542 getTextRunCursor___C(JNIEnv* env, jobject clazz, jlong paintHandle, jcharArray text, jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) argument
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp501 jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y,
509 contextCount, x, y, bidiFlags, *paint, typeface);
522 jint contextCount = contextEnd - contextStart; local
525 contextCount, x, y, bidiFlags, *paint, typeface);
500 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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java266 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, argument
/frameworks/base/core/java/android/text/
H A DTextLine.java958 int contextCount = contextEnd - contextStart;
959 c.drawTextRun(mChars, start, count, contextStart, contextCount,
/frameworks/base/core/java/android/widget/
H A DTextView.java10162 int contextCount = contextEnd - contextStart;
10164 contextCount, x, y, isRtl, p);
10179 int contextCount = contextEnd - contextStart;
10181 contextStart + mStart, contextCount, isRtl, advances,
10187 int contextCount = contextEnd - contextStart;
10189 contextCount, dir, offset + mStart, cursorOpt);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java969 int start, int count, int contextStart, int contextCount,
968 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.java966 char[] text, int index, int count, int contextIndex, int contextCount,
965 nGetTextAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, int bidiFlags, float[] advances, int advancesIndex) argument

Completed in 1319 milliseconds