/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1690 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 …]
|
D | Canvas.java | 1456 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/ |
D | GraphicsOperations.java | 40 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
|
D | SpannableStringBuilder.java | 1132 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 …]
|
D | TextLine.java | 722 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/ |
D | Paint.cpp | 528 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 …]
|
D | Canvas.cpp | 849 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/ |
D | Paint_Delegate.java | 972 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
|
D | Canvas_Delegate.java | 1095 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/ |
D | GLES20Canvas.java | 1286 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
|
D | GLES20RecordingCanvas.java | 289 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/ |
D | android_view_GLES20Canvas.cpp | 618 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/ |
D | TextView.java | 8672 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 …]
|