/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 3078 int contextEnd = contextStart + contextLength; in getTextRunCursor() local 3079 if (((contextStart | contextEnd | offset | (contextEnd - contextStart) in getTextRunCursor() 3080 | (offset - contextStart) | (contextEnd - offset) in getTextRunCursor() 3081 | (text.length - contextEnd) | cursorOpt) < 0) in getTextRunCursor() 3116 @IntRange(from = 0) int contextEnd, boolean isRtl, @IntRange(from = 0) int offset, in getTextRunCursor() 3121 return getTextRunCursor(text.toString(), contextStart, contextEnd, in getTextRunCursor() 3126 contextStart, contextEnd, isRtl, offset, cursorOpt, this); in getTextRunCursor() 3129 int contextLen = contextEnd - contextStart; in getTextRunCursor() 3131 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getTextRunCursor() 3165 @IntRange(from = 0) int contextEnd, boolean isRtl, @IntRange(from = 0) int offset, in getTextRunCursor() [all …]
|
D | BaseRecordingCanvas.java | 537 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 545 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 546 | 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() 587 int contextStart, int contextEnd, float x, float y, boolean isRtl, in drawTextRun() argument 590 contextStart, contextEnd - contextStart, x, y, isRtl, paint.getNativeInstance(), in drawTextRun() [all …]
|
D | BaseCanvas.java | 598 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 606 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 607 | contextEnd - end | text.length() - contextEnd) < 0) { in drawTextRun() 615 contextEnd, x, y, isRtl, paint.getNativeInstance()); in drawTextRun() 618 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 631 contextEnd - paraStart, in drawTextRun() 636 int contextLen = contextEnd - contextStart; in drawTextRun() 639 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 648 int contextStart, int contextEnd, float x, float y, boolean isRtl, in drawTextRun() argument 651 contextStart, contextEnd - contextStart, x, y, isRtl, paint.getNativeInstance(), in drawTextRun() [all …]
|
D | Canvas.java | 2320 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { 2321 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint); 2345 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { 2346 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint);
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/ |
D | DrawTextRun.java | 42 int contextEnd, in DrawTextRun() argument 50 mContextEnd = contextEnd; in DrawTextRun() 77 int contextEnd = buffer.readInt(); in read() local 81 DrawTextRun op = new DrawTextRun(text, start, end, contextStart, contextEnd, x, y, rtl); in read() 101 int contextEnd, in apply() argument 110 buffer.writeInt(contextEnd); in apply()
|
D | DrawText.java | 45 int contextEnd, in DrawText() argument 53 mContextEnd = contextEnd; in DrawText() 80 int contextEnd = buffer.readInt(); in read() local 84 DrawText op = new DrawText(text, start, end, contextStart, contextEnd, x, y, rtl); in read() 116 int contextEnd, in apply() argument 125 buffer.writeInt(contextEnd); in apply()
|
/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 | 1196 int contextStart, int contextEnd, boolean runIsRtl, FontMetricsInt fmi) { in expandMetricsFromPaint() argument 1205 int contextCount = contextEnd - contextStart; in expandMetricsFromPaint() 1251 private float getRunAdvance(TextPaint wp, int start, int end, int contextStart, int contextEnd, in getRunAdvance() argument 1263 float r = wp.getRunCharacterAdvance(mChars, start, end, contextStart, contextEnd, in getRunAdvance() 1275 delta + contextStart, delta + contextEnd, runIsRtl, in getRunAdvance() 1321 int contextStart, int contextEnd, boolean runIsRtl, in handleText() argument 1361 totalWidth = getRunAdvance(wp, start, end, contextStart, contextEnd, runIsRtl, offset, in handleText() 1384 shapeTextRun(consumer, wp, start, end, contextStart, contextEnd, runIsRtl, leftX); in handleText() 1388 expandMetricsFromPaint(wp, start, end, contextStart, contextEnd, runIsRtl, fmi); in handleText() 1404 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, in handleText() [all …]
|
D | SpannableStringBuilder.java | 1443 public void drawTextRun(BaseCanvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument 1447 int contextLen = contextEnd - contextStart; in drawTextRun() 1449 if (contextEnd <= mGapStart) { in drawTextRun() 1456 getChars(contextStart, contextEnd, buf, 0); in drawTextRun() 1514 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() argument 1519 int contextLen = contextEnd - contextStart; in getTextRunAdvances() 1530 getChars(contextStart, contextEnd, buf, 0); in getTextRunAdvances() 1565 public int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, in getTextRunCursor() argument 1567 return getTextRunCursor(contextStart, contextEnd, dir == 1, offset, cursorOpt, p); in getTextRunCursor() 1572 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, int offset, in getTextRunCursor() argument [all …]
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/ |
D | PaintContext.java | 103 int contextEnd, in drawTextRun() argument
|
D | RemoteComposeBuffer.java | 442 int contextEnd, in addDrawTextRun() argument 449 contextStart, contextEnd, x, y, rtl); in addDrawTextRun() 469 int contextEnd, in addDrawTextRun() argument 475 contextStart, contextEnd, x, y, rtl); in addDrawTextRun()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 186 int contextStart, int contextEnd, boolean isRtl, boolean compareWithOtherMethods) { in assertGetTextRunAdvances() argument 190 final int contextCount = contextEnd - contextStart; in assertGetTextRunAdvances() 208 if (compareWithOtherMethods && start == contextStart && end == contextEnd) { in assertGetTextRunAdvances()
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 229 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, in getTextAdvances__StringIIIII_FI() argument 235 start - contextStart, end - start, contextEnd - contextStart, bidiFlags, in getTextAdvances__StringIIIII_FI() 265 jstring text, jint contextStart, jint contextEnd, jint dir, jint offset, in getTextRunCursor__String() argument 271 contextStart, contextEnd - contextStart, dir, offset, cursorOpt); in getTextRunCursor__String() 547 jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jint offset) { in getRunAdvance___CIIIIZI_F() argument 552 start - contextStart, end - start, contextEnd - contextStart, in getRunAdvance___CIIIIZI_F() 559 jint contextStart, jint contextEnd, in getRunCharacterAdvance___CIIIIZI_FI_F() argument 569 start - contextStart, end - start, contextEnd - contextStart, in getRunCharacterAdvance___CIIIIZI_FI_F() 591 jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, in getOffsetForAdvance___CIIIIZF_I() argument 597 start - contextStart, end - start, contextEnd - contextStart, isRtl, advance); in getOffsetForAdvance___CIIIIZF_I()
|
D | android_graphics_Canvas.cpp | 702 jint start, jint end, jint contextStart, jint contextEnd, in drawTextRunString() argument 712 contextStart, contextEnd - contextStart, // context range in drawTextRunString()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 279 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument 346 int contextEnd, float x, float y, boolean isRtl, Paint paint) { in drawTextRun() argument
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/ |
D | AndroidPaintContext.java | 204 int contextEnd, in drawTextRun() argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 1105 int contextEnd, float x, float y, boolean isRtl, Paint paint) { in drawTextRun() argument
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 16120 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument 16122 int contextCount = contextEnd - contextStart; in drawTextRun() 16136 int contextEnd, boolean isRtl, float[] advances, int advancesIndex, in getTextRunAdvances() argument 16139 int contextCount = contextEnd - contextStart; in getTextRunAdvances() 16145 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, in getTextRunCursor() argument 16147 int contextCount = contextEnd - contextStart; in getTextRunCursor()
|