Home
last modified time | relevance | path

Searched refs:contextEnd (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPaint.java2644 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 …]
DBaseRecordingCanvas.java502 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 …]
DBaseCanvas.java536 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 …]
DCanvas.java2188 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/
DGraphicsOperations.java39 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
DTextLine.java817 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 …]
DSpannableStringBuilder.java1442 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/
DPaintTest.java185 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/
DPaint_Delegate.java973 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()
DBaseCanvas_Delegate.java550 int start, int end, int contextStart, int contextEnd, in nDrawTextRun() argument
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java275 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp591 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/
DLayoutTest.java679 int contextEnd, float x, float y, boolean isRtl, Paint paint) { in drawTextRun() argument
/frameworks/base/core/java/android/widget/
DTextView.java13167 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/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...