/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2219 int contextStart, int contextEnd, boolean isRtl, float[] advances, in getTextRunAdvances() argument 2224 if ((start | end | contextStart | contextEnd | advancesIndex | (end - start) in getTextRunAdvances() 2225 | (start - contextStart) | (contextEnd - end) in getTextRunAdvances() 2226 | (text.length() - contextEnd) in getTextRunAdvances() 2234 contextStart, contextEnd, isRtl, advances, advancesIndex); in getTextRunAdvances() 2239 contextStart, contextEnd, isRtl, advances, advancesIndex); in getTextRunAdvances() 2243 contextStart, contextEnd, isRtl, advances, advancesIndex, this); in getTextRunAdvances() 2249 int contextLen = contextEnd - contextStart; in getTextRunAdvances() 2252 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getTextRunAdvances() 2301 int contextEnd, boolean isRtl, float[] advances, int advancesIndex) { in getTextRunAdvances() argument [all …]
|
D | BaseCanvas.java | 460 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 468 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 469 | contextEnd - end | text.length() - contextEnd) < 0) { in drawTextRun() 477 contextEnd, x, y, isRtl, paint.getNativeInstance(), paint.mNativeTypeface); in drawTextRun() 480 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 482 int contextLen = contextEnd - contextStart; in drawTextRun() 485 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 623 int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, in nDrawTextRun() argument
|
D | Canvas.java | 1946 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 1947 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun()
|
/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 39 void drawTextRun(BaseCanvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument 55 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, in getTextRunAdvances() argument 61 int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, in getTextRunCursor() argument
|
D | TextLine.java | 718 int contextStart, int contextEnd, boolean runIsRtl, in handleText() argument 738 ret = wp.getRunAdvance(mChars, start, end, contextStart, contextEnd, in handleText() 743 delta + contextStart, delta + contextEnd, runIsRtl, delta + offset); in handleText() 783 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, in handleText() 992 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) { in drawTextRun() argument 996 int contextCount = contextEnd - contextStart; in drawTextRun() 1002 delta + contextStart, delta + contextEnd, x, y, runIsRtl, wp); in drawTextRun()
|
D | SpannableStringBuilder.java | 1427 public void drawTextRun(BaseCanvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument 1431 int contextLen = contextEnd - contextStart; in drawTextRun() 1433 if (contextEnd <= mGapStart) { in drawTextRun() 1440 getChars(contextStart, contextEnd, buf, 0); in drawTextRun() 1498 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() argument 1503 int contextLen = contextEnd - contextStart; in getTextRunAdvances() 1514 getChars(contextStart, contextEnd, buf, 0); in getTextRunAdvances() 1549 public int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, in getTextRunCursor() argument 1554 int contextLen = contextEnd - contextStart; in getTextRunCursor() 1555 if (contextEnd <= mGapStart) { in getTextRunCursor() [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 180 int contextStart, int contextEnd, boolean isRtl, boolean compareWithOtherMethods) { in assertGetTextRunAdvances() argument 186 final float advance = p.getTextRunAdvances(str, start, end, contextStart, contextEnd, in assertGetTextRunAdvances() 191 contextEnd - contextStart, isRtl, advanceArrays[1], 0); in assertGetTextRunAdvances() 196 contextStart, contextEnd, isRtl, advanceArrays[2], 0); in assertGetTextRunAdvances() 198 contextStart, contextEnd, isRtl, advanceArrays[2], c); in assertGetTextRunAdvances() 203 contextStart, contextEnd - contextStart, isRtl, advanceArrays[3], 0); in assertGetTextRunAdvances() 205 count - c, contextStart, contextEnd - contextStart, isRtl, in assertGetTextRunAdvances() 218 if (compareWithOtherMethods && start == contextStart && end == contextEnd) { in assertGetTextRunAdvances() 221 str, start, end, contextStart, contextEnd, isRtl, end), 1.0f); in assertGetTextRunAdvances()
|
/frameworks/base/core/java/android/view/ |
D | RecordingCanvas.java | 481 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 489 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 490 | contextEnd - end | text.length() - contextEnd) < 0) { in drawTextRun() 497 contextEnd, x, y, isRtl, paint.getNativeInstance(), paint.mNativeTypeface); in drawTextRun() 500 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 502 int contextLen = contextEnd - contextStart; in drawTextRun() 505 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 625 int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, in nDrawTextRun() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 955 String text, int start, int end, int contextStart, int contextEnd, in nGetTextAdvances() argument 963 contextStart, contextEnd - contextStart, bidiFlags, advances, advancesIndex); in nGetTextAdvances() 978 String text, int contextStart, int contextEnd, int flags, int offset, int cursorOpt) { in nGetTextRunCursor() argument 1127 @NonNull char[] text, int start, int end, int contextStart, int contextEnd, in nGetRunAdvance() argument 1133 contextStart, contextEnd - contextStart, bidiFlags, advances, 0); in nGetRunAdvance() 1144 char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, in nGetOffsetForAdvance() argument 1150 contextStart, contextEnd - contextStart, bidiFlags, advances, 0); in nGetOffsetForAdvance()
|
D | BaseCanvas_Delegate.java | 499 int start, int end, int contextStart, int contextEnd, in nDrawTextRun() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 230 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, in getTextAdvances__StringIIIII_FI() argument 236 start - contextStart, end - start, contextEnd - contextStart, bidiFlags, in getTextAdvances__StringIIIII_FI() 267 jlong typefaceHandle, jstring text, jint contextStart, jint contextEnd, jint dir, in getTextRunCursor__String() argument 273 contextStart, contextEnd - contextStart, dir, offset, cursorOpt); in getTextRunCursor__String() 516 jint contextEnd, jboolean isRtl, jint offset) { in getRunAdvance___CIIIIZI_F() argument 521 start - contextStart, end - start, contextEnd - contextStart, isRtl, in getRunAdvance___CIIIIZI_F() 538 jint contextEnd, jboolean isRtl, jfloat advance) { in getOffsetForAdvance___CIIIIZF_I() argument 543 start - contextStart, end - start, contextEnd - contextStart, isRtl, advance); in getOffsetForAdvance___CIIIIZF_I()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 275 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 512 jint start, jint end, jint contextStart, jint contextEnd, in drawTextRunString() argument 520 jint contextCount = contextEnd - contextStart; in drawTextRunString()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 11695 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument 11697 int contextCount = contextEnd - contextStart; in drawTextRun() 11711 int contextEnd, boolean isRtl, float[] advances, int advancesIndex, in getTextRunAdvances() argument 11714 int contextCount = contextEnd - contextStart; in getTextRunAdvances() 11720 public int getTextRunCursor(int contextStart, int contextEnd, int dir, in getTextRunCursor() argument 11722 int contextCount = contextEnd - contextStart; in getTextRunCursor()
|