/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 | 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 | 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 | Canvas.java | 2188 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 2189 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 2213 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 2214 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 | 817 private float getRunAdvance(TextPaint wp, int start, int end, int contextStart, int contextEnd, in getRunAdvance() argument 820 return wp.getRunAdvance(mChars, start, end, contextStart, contextEnd, runIsRtl, offset); in getRunAdvance() 825 delta + contextStart, delta + contextEnd, runIsRtl, delta + offset); in getRunAdvance() 853 int contextStart, int contextEnd, boolean runIsRtl, in handleText() argument 875 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset); in handleText() 900 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, in handleText() 910 wp, start, end, contextStart, contextEnd, runIsRtl, decorationStart); in handleText() 912 wp, start, end, contextStart, contextEnd, runIsRtl, decorationEnd); in handleText() 1245 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) { in drawTextRun() argument 1249 int contextCount = contextEnd - contextStart; in drawTextRun() [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/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 | 13167 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument 13169 int contextCount = contextEnd - contextStart; in drawTextRun() 13183 int contextEnd, boolean isRtl, float[] advances, int advancesIndex, in getTextRunAdvances() argument 13186 int contextCount = contextEnd - contextStart; in getTextRunAdvances() 13192 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, in getTextRunCursor() argument 13194 int contextCount = contextEnd - contextStart; in getTextRunCursor()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |