/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2644 int contextEnd = contextStart + contextLength; in getTextRunCursor() local 2645 if (((contextStart | contextEnd | offset | (contextEnd - contextStart) in getTextRunCursor() 2646 | (offset - contextStart) | (contextEnd - offset) in getTextRunCursor() 2647 | (text.length - contextEnd) | cursorOpt) < 0) in getTextRunCursor() 2682 @IntRange(from = 0) int contextEnd, boolean isRtl, @IntRange(from = 0) int offset, in getTextRunCursor() 2687 return getTextRunCursor(text.toString(), contextStart, contextEnd, in getTextRunCursor() 2692 contextStart, contextEnd, isRtl, offset, cursorOpt, this); in getTextRunCursor() 2695 int contextLen = contextEnd - contextStart; in getTextRunCursor() 2697 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getTextRunCursor() 2731 @IntRange(from = 0) int contextEnd, boolean isRtl, @IntRange(from = 0) int offset, in getTextRunCursor() [all …]
|
D | BaseCanvas.java | 536 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 544 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 545 | contextEnd - end | text.length() - contextEnd) < 0) { in drawTextRun() 553 contextEnd, x, y, isRtl, paint.getNativeInstance()); in drawTextRun() 556 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 569 contextEnd - paraStart, in drawTextRun() 574 int contextLen = contextEnd - contextStart; in drawTextRun() 577 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 586 int contextStart, int contextEnd, float x, float y, boolean isRtl, in drawTextRun() argument 589 contextStart, contextEnd - contextStart, x, y, isRtl, paint.getNativeInstance(), in drawTextRun() [all …]
|
D | BaseRecordingCanvas.java | 502 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 510 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 511 | contextEnd - end | text.length() - contextEnd) < 0) { in drawTextRun() 518 contextEnd, x, y, isRtl, paint.getNativeInstance()); in drawTextRun() 521 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 534 contextEnd - paraStart, in drawTextRun() 539 int contextLen = contextEnd - contextStart; in drawTextRun() 542 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 552 int contextStart, int contextEnd, float x, float y, boolean isRtl, in drawTextRun() argument 555 contextStart, contextEnd - contextStart, x, y, isRtl, paint.getNativeInstance(), in drawTextRun() [all …]
|
D | Canvas.java | 2190 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 2191 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 2215 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 2216 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, boolean isRtl, int offset, in getTextRunCursor() argument
|
D | TextLine.java | 820 private float getRunAdvance(TextPaint wp, int start, int end, int contextStart, int contextEnd, 823 return wp.getRunAdvance(mChars, start, end, contextStart, contextEnd, runIsRtl, offset); 828 delta + contextStart, delta + contextEnd, runIsRtl, delta + offset); 856 int contextStart, int contextEnd, boolean runIsRtl, 878 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset); 903 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, 913 wp, start, end, contextStart, contextEnd, runIsRtl, decorationStart); 915 wp, start, end, contextStart, contextEnd, runIsRtl, decorationEnd); 1248 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) { 1252 int contextCount = contextEnd - contextStart; [all …]
|
D | SpannableStringBuilder.java | 1442 public void drawTextRun(BaseCanvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument 1446 int contextLen = contextEnd - contextStart; in drawTextRun() 1448 if (contextEnd <= mGapStart) { in drawTextRun() 1455 getChars(contextStart, contextEnd, buf, 0); in drawTextRun() 1513 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() argument 1518 int contextLen = contextEnd - contextStart; in getTextRunAdvances() 1529 getChars(contextStart, contextEnd, buf, 0); in getTextRunAdvances() 1564 public int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, in getTextRunCursor() argument 1566 return getTextRunCursor(contextStart, contextEnd, dir == 1, offset, cursorOpt, p); in getTextRunCursor() 1571 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, int offset, in getTextRunCursor() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 185 int contextStart, int contextEnd, boolean isRtl, boolean compareWithOtherMethods) { in assertGetTextRunAdvances() argument 189 final int contextCount = contextEnd - contextStart; in assertGetTextRunAdvances() 207 if (compareWithOtherMethods && start == contextStart && end == contextEnd) { in assertGetTextRunAdvances()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 973 int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) { in nGetTextAdvances() argument 980 contextStart, contextEnd - contextStart, bidiFlags, advances, advancesIndex); in nGetTextAdvances() 994 int contextStart, int contextEnd, int flags, int offset, int cursorOpt) { in nGetTextRunCursor() argument 1155 int end, int contextStart, int contextEnd, in nGetRunAdvance() argument 1161 contextEnd - contextStart, bidiFlags, advances, 0); in nGetRunAdvance() 1172 int end, int contextStart, int contextEnd, boolean isRtl, float advance) { in nGetOffsetForAdvance() argument 1177 contextEnd - contextStart, bidiFlags, advances, 0); in nGetOffsetForAdvance()
|
D | BaseCanvas_Delegate.java | 550 int start, int end, int contextStart, int contextEnd, in nDrawTextRun() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 235 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, in getTextAdvances__StringIIIII_FI() argument 241 start - contextStart, end - start, contextEnd - contextStart, bidiFlags, in getTextAdvances__StringIIIII_FI() 271 jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, in getTextRunCursor__String() argument 277 contextStart, contextEnd - contextStart, dir, offset, cursorOpt); in getTextRunCursor__String() 533 jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jint offset) { in getRunAdvance___CIIIIZI_F() argument 538 start - contextStart, end - start, contextEnd - contextStart, isRtl, in getRunAdvance___CIIIIZI_F() 553 jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, in getOffsetForAdvance___CIIIIZF_I() argument 559 start - contextStart, end - start, contextEnd - contextStart, isRtl, advance); in getOffsetForAdvance___CIIIIZF_I()
|
/frameworks/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 | 591 jint start, jint end, jint contextStart, jint contextEnd, in drawTextRunString() argument 601 contextStart, contextEnd - contextStart, // context range in drawTextRunString()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 679 int contextEnd, float x, float y, boolean isRtl, Paint paint) { in drawTextRun() argument
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 13210 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument 13212 int contextCount = contextEnd - contextStart; in drawTextRun() 13226 int contextEnd, boolean isRtl, float[] advances, int advancesIndex, in getTextRunAdvances() argument 13229 int contextCount = contextEnd - contextStart; in getTextRunAdvances() 13235 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, in getTextRunCursor() argument 13237 int contextCount = contextEnd - contextStart; in getTextRunCursor()
|