/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2641 public int getTextRunCursor(@NonNull char[] text, @IntRange(from = 0) int contextStart, in getTextRunCursor() 2644 int contextEnd = contextStart + contextLength; in getTextRunCursor() 2645 if (((contextStart | contextEnd | offset | (contextEnd - contextStart) in getTextRunCursor() 2646 | (offset - contextStart) | (contextEnd - offset) in getTextRunCursor() 2652 return nGetTextRunCursor(mNativePaint, text, contextStart, contextLength, in getTextRunCursor() 2681 public int getTextRunCursor(@NonNull CharSequence text, @IntRange(from = 0) int contextStart, 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() [all …]
|
D | BaseCanvas.java | 535 public void drawTextRun(@NonNull CharSequence text, int start, int end, int contextStart, in drawTextRun() argument 544 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 552 nDrawTextRun(mNativeCanvasWrapper, text.toString(), start, end, contextStart, in drawTextRun() 556 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 568 contextStart - paraStart, in drawTextRun() 574 int contextLen = contextEnd - contextStart; in drawTextRun() 577 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 578 nDrawTextRun(mNativeCanvasWrapper, buf, start - contextStart, len, 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 | 501 public final void drawTextRun(@NonNull CharSequence text, int start, int end, int contextStart, in drawTextRun() argument 510 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun() 517 nDrawTextRun(mNativeCanvasWrapper, text.toString(), start, end, contextStart, in drawTextRun() 521 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 533 contextStart - paraStart, in drawTextRun() 539 int contextLen = contextEnd - contextStart; in drawTextRun() 542 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun() 543 nDrawTextRun(mNativeCanvasWrapper, buf, start - contextStart, len, 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 | 2189 public void drawTextRun(@NonNull CharSequence text, int start, int end, int contextStart, in drawTextRun() argument 2191 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 2214 public void drawTextRun(@NonNull MeasuredText text, int start, int end, int contextStart, 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 | 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() 1449 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p); in drawTextRun() 1450 } else if (contextStart >= mGapStart) { in drawTextRun() 1451 c.drawTextRun(mText, start + mGapLength, len, contextStart + mGapLength, in drawTextRun() 1455 getChars(contextStart, contextEnd, buf, 0); in drawTextRun() 1456 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p); 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() 1522 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances() [all …]
|
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 …]
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 54 size_t contextStart, size_t contextCount, in doLayout() argument 60 const minikin::Range contextRange(contextStart, contextStart + contextCount); in doLayout() 65 return minikin::Layout(textBuf.substr(contextRange), range - contextStart, bidiFlags, in doLayout()
|
D | MinikinUtils.h | 48 size_t contextStart, size_t contextCount,
|
D | Canvas.cpp | 151 void Canvas::drawText(const uint16_t* text, int textSize, int start, int count, int contextStart, in drawText() argument 158 start, count, contextStart, contextCount, mt); in drawText()
|
D | Canvas.h | 286 void drawText(const uint16_t* text, int textSize, int start, int count, int contextStart,
|
/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() 193 contextStart, contextCount, isRtl, advanceArrays[0], 0); in assertGetTextRunAdvances() 196 contextStart, contextCount, isRtl, advanceArrays[1], 0); in assertGetTextRunAdvances() 198 contextStart, contextCount, isRtl, advanceArrays[1], c); in assertGetTextRunAdvances() 207 if (compareWithOtherMethods && start == contextStart && end == contextEnd) { in assertGetTextRunAdvances() 210 chars, start, count, contextStart, contextCount, isRtl, end), 1.0f); in assertGetTextRunAdvances()
|
/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 240 jfloat result = doTextAdvances(env, paint, typeface, textArray + contextStart, in getTextAdvances__StringIIIII_FI() 241 start - contextStart, end - start, contextEnd - contextStart, bidiFlags, in getTextAdvances__StringIIIII_FI() 260 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) { in getTextRunCursor___C() argument 265 contextStart, contextCount, dir, offset, cursorOpt); in getTextRunCursor___C() 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 537 jfloat result = doRunAdvance(paint, typeface, textArray.get() + contextStart, in getRunAdvance___CIIIIZI_F() 538 start - contextStart, end - start, contextEnd - contextStart, isRtl, in getRunAdvance___CIIIIZI_F() [all …]
|
/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() 985 int contextStart, int contextLength, int flags, int offset, int cursorOpt) { in nGetTextRunCursor() argument 994 int contextStart, int contextEnd, int flags, int offset, int cursorOpt) { in nGetTextRunCursor() argument 1155 int end, int contextStart, int contextEnd, in nGetRunAdvance() argument 1160 nGetTextAdvances(nativePaint, text, start, count, contextStart, in nGetRunAdvance() 1161 contextEnd - contextStart, bidiFlags, advances, 0); in nGetRunAdvance() 1172 int end, int contextStart, int contextEnd, boolean isRtl, float advance) { in nGetOffsetForAdvance() argument 1176 nGetTextAdvances(nativePaint, text, start, count, contextStart, in nGetOffsetForAdvance() 1177 contextEnd - contextStart, bidiFlags, advances, 0); in nGetOffsetForAdvance()
|
D | BaseCanvas_Delegate.java | 550 int start, int end, int contextStart, int contextEnd, in nDrawTextRun() argument 562 int start, int count, int contextStart, int contextCount, 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 | 678 public void drawTextRun(CharSequence text, int start, int end, int contextStart, 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() 13213 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun() 13225 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() argument 13229 int contextCount = contextEnd - contextStart; in getTextRunAdvances() 13231 contextStart + mStart, contextCount, isRtl, advances, in getTextRunAdvances() 13235 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, in getTextRunCursor() argument 13237 int contextCount = contextEnd - contextStart; in getTextRunCursor() 13238 return p.getTextRunCursor(mChars, contextStart + mStart, in getTextRunCursor()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 21359 field public int contextStart;
|
/frameworks/base/api/ |
D | current.txt | 21359 field public int contextStart;
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 30610 Landroid/icu/text/Transliterator$Position;->contextStart:I
|