/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 | 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 | 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 | Canvas.java | 2187 public void drawTextRun(@NonNull CharSequence text, int start, int end, int contextStart, in drawTextRun() argument 2189 super.drawTextRun(text, start, end, contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun() 2212 public void drawTextRun(@NonNull MeasuredText text, int start, int end, int contextStart, 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 | 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 | 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 …]
|
/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/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 | 13167 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument 13169 int contextCount = contextEnd - contextStart; in drawTextRun() 13170 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun() 13182 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() argument 13186 int contextCount = contextEnd - contextStart; in getTextRunAdvances() 13188 contextStart + mStart, contextCount, isRtl, advances, in getTextRunAdvances() 13192 public int getTextRunCursor(int contextStart, int contextEnd, boolean isRtl, in getTextRunCursor() argument 13194 int contextCount = contextEnd - contextStart; in getTextRunCursor() 13195 return p.getTextRunCursor(mChars, contextStart + mStart, in getTextRunCursor()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |