Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DPaint.java1690 public int getTextGlyphs(String text, int start, int end, int contextStart, int contextEnd, in getTextGlyphs() argument
1698 if ((start | end | contextStart | contextEnd | (end - start) in getTextGlyphs()
1699 | (start - contextStart) | (contextEnd - end) | (text.length() - end) in getTextGlyphs()
1706 return native_getTextGlyphs(mNativePaint, text, start, end, contextStart, contextEnd, in getTextGlyphs()
1780 int contextStart, int contextEnd, int flags, float[] advances, in getTextRunAdvances() argument
1782 return getTextRunAdvances(text, start, end, contextStart, contextEnd, flags, in getTextRunAdvances()
1794 int contextStart, int contextEnd, int flags, float[] advances, in getTextRunAdvances() argument
1800 if ((start | end | contextStart | contextEnd | advancesIndex | (end - start) in getTextRunAdvances()
1801 | (start - contextStart) | (contextEnd - end) in getTextRunAdvances()
1810 contextStart, contextEnd, flags, advances, advancesIndex, reserved); in getTextRunAdvances()
[all …]
DCanvas.java1456 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
1474 contextStart, contextEnd, x, y, flags, paint.mNativePaint); in drawTextRun()
1477 contextStart, contextEnd, x, y, flags, paint); in drawTextRun()
1479 int contextLen = contextEnd - contextStart; in drawTextRun()
1482 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
1483 native_drawTextRun(mNativeCanvas, buf, start - contextStart, len, in drawTextRun()
1737 int start, int end, int contextStart, int contextEnd, in native_drawTextRun() argument
1741 int start, int count, int contextStart, int contextCount, in native_drawTextRun() argument
/frameworks/base/core/java/android/text/
DGraphicsOperations.java40 void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
57 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, in getTextRunAdvances() argument
64 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, in getTextRunAdvances() argument
71 int getTextRunCursor(int contextStart, int contextEnd, int flags, int offset, in getTextRunCursor() argument
DSpannableStringBuilder.java1132 public void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
1136 int contextLen = contextEnd - contextStart; in drawTextRun()
1139 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, flags, p); in drawTextRun()
1140 } else if (contextStart >= mGapStart) { in drawTextRun()
1141 c.drawTextRun(mText, start + mGapLength, len, contextStart + mGapLength, in drawTextRun()
1145 getChars(contextStart, contextEnd, buf, 0); in drawTextRun()
1146 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, flags, p); in drawTextRun()
1203 public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, int flags, in getTextRunAdvances() argument
1208 int contextLen = contextEnd - contextStart; in getTextRunAdvances()
1212 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
[all …]
DTextLine.java722 int contextStart, int contextEnd, boolean runIsRtl, in handleText() argument
739 int contextLen = contextEnd - contextStart; in handleText()
744 contextStart, contextLen, flags, null, 0); in handleText()
748 delta + end, delta + contextStart, delta + contextEnd, in handleText()
789 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, in handleText()
978 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) { in drawTextRun() argument
983 int contextCount = contextEnd - contextStart; in drawTextRun()
984 c.drawTextRun(mChars, start, count, contextStart, contextCount, in drawTextRun()
989 delta + contextStart, delta + contextEnd, x, y, flags, wp); in drawTextRun()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp528 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint flags, in getTextGlyphs__StringIIIII_C() argument
531 int count = doTextGlyphs(env, paint, textArray + contextStart, start - contextStart, in getTextGlyphs__StringIIIII_C()
532 end - start, contextEnd - contextStart, flags, glyphs); in getTextGlyphs__StringIIIII_C()
616 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint flags, in getTextRunAdvances__StringIIIII_FII() argument
620 doTextRunAdvances(env, paint, textArray + contextStart, start - contextStart, in getTextRunAdvances__StringIIIII_FII()
621 end - start, contextEnd - contextStart, flags, advances, advancesIndex) : in getTextRunAdvances__StringIIIII_FII()
622 doTextRunAdvancesICU(env, paint, textArray + contextStart, start - contextStart, in getTextRunAdvances__StringIIIII_FII()
623 end - start, contextEnd - contextStart, flags, advances, advancesIndex); in getTextRunAdvances__StringIIIII_FII()
673 jint contextStart, jint contextCount, jint flags, jint offset, jint cursorOpt) { in getTextRunCursor___C() argument
675 jint result = doTextRunCursor(env, paint, textArray, contextStart, contextCount, flags, in getTextRunCursor___C()
[all …]
DCanvas.cpp849 jint end, jint contextStart, jint contextEnd, in drawTextRun__StringIIIIFFIPaint() argument
853 jint contextCount = contextEnd - contextStart; in drawTextRun__StringIIIIFFIPaint()
855 drawTextWithGlyphs(canvas, chars + contextStart, start - contextStart, in drawTextRun__StringIIIIFFIPaint()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java972 int end, int contextStart, int contextEnd, int flags, char[] glyphs) { in native_getTextGlyphs() argument
1023 String text, int start, int end, int contextStart, int contextEnd, in native_getTextRunAdvances() argument
1030 return native_getTextRunAdvances(native_object, buffer, 0, count, contextStart, in native_getTextRunAdvances()
1031 contextEnd - contextStart, flags, advances, advancesIndex, reserved); in native_getTextRunAdvances()
1036 int contextStart, int contextLength, int flags, int offset, int cursorOpt) { in native_getTextRunCursor() argument
1045 int contextStart, int contextEnd, int flags, int offset, int cursorOpt) { in native_getTextRunCursor() argument
DCanvas_Delegate.java1095 int start, int end, int contextStart, int contextEnd, in native_drawTextRun() argument
1106 int start, int count, int contextStart, int contextCount, in native_drawTextRun() argument
/frameworks/base/core/java/android/view/
DGLES20Canvas.java1286 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
1297 nDrawTextRun(mRenderer, text.toString(), start, end, contextStart, in drawTextRun()
1301 contextStart, contextEnd, x, y, flags, paint); in drawTextRun()
1303 int contextLen = contextEnd - contextStart; in drawTextRun()
1306 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
1307 nDrawTextRun(mRenderer, buf, start - contextStart, len, 0, contextLen, in drawTextRun()
1317 int contextStart, int contextEnd, float x, float y, int flags, int nativePaint); in nDrawTextRun() argument
DGLES20RecordingCanvas.java289 public void drawTextRun(CharSequence text, int start, int end, int contextStart, in drawTextRun() argument
291 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, dir, paint); in drawTextRun()
/frameworks/base/core/jni/
Dandroid_view_GLES20Canvas.cpp618 jint contextStart, int contextEnd, jfloat x, jfloat y, jint dirFlags, in android_view_GLES20Canvas_drawTextRun() argument
622 jint contextCount = contextEnd - contextStart; in android_view_GLES20Canvas_drawTextRun()
623 renderTextRun(renderer, textArray + contextStart, start - contextStart, in android_view_GLES20Canvas_drawTextRun()
/frameworks/base/core/java/android/widget/
DTextView.java8672 int contextStart, int contextEnd, float x, float y, int flags, Paint p) { in drawTextRun() argument
8674 int contextCount = contextEnd - contextStart; in drawTextRun()
8675 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
8687 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() argument
8691 int contextCount = contextEnd - contextStart; in getTextRunAdvances()
8693 contextStart + mStart, contextCount, flags, advances, in getTextRunAdvances()
8697 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() argument
8701 int contextCount = contextEnd - contextStart; in getTextRunAdvances()
8703 contextStart + mStart, contextCount, flags, advances, in getTextRunAdvances()
8707 public int getTextRunCursor(int contextStart, int contextEnd, int flags, in getTextRunCursor() argument
[all …]