/frameworks/base/graphics/java/android/graphics/text/ |
D | TextRunShaper.java | 66 @NonNull char[] text, int start, int count, int contextStart, int contextCount, in shapeTextRun() argument 71 nativeShapeTextRun(text, start, count, contextStart, contextCount, isRtl, in shapeTextRun() 96 @NonNull CharSequence text, int start, int count, int contextStart, int contextCount, in shapeTextRun() argument 103 (String) text, start, count, contextStart, contextCount, isRtl, in shapeTextRun() 107 char[] buf = new char[contextCount]; in shapeTextRun() 108 TextUtils.getChars(text, contextStart, contextStart + contextCount, buf, 0); in shapeTextRun() 112 0, contextCount, isRtl, paint.getNativeInstance()), in shapeTextRun() 118 char[] text, int start, int count, int contextStart, int contextCount, in nativeShapeTextRun() argument 122 String text, int start, int count, int contextStart, int contextCount, in nativeShapeTextRun() argument
|
/frameworks/base/libs/hwui/jni/text/ |
D | TextShaper.cpp | 47 int contextStart, int contextCount, minikin::Bidi bidiFlags, in shapeTextRun() argument 53 text, textSize, start, count, contextStart, contextCount, nullptr); in shapeTextRun() 75 jint start, jint count, jint contextStart, jint contextCount, jboolean isRtl, in TextShaper_shapeTextRunChars() argument 84 contextStart, contextCount, in TextShaper_shapeTextRunChars() 91 jint start, jint count, jint contextStart, jint contextCount, jboolean isRtl, in TextShaper_shapeTextRunString() argument 100 contextStart, contextCount, in TextShaper_shapeTextRunString()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 2318 @IntRange(from = 0) int contextStart, @IntRange(from = 0) int contextCount, in getFontMetricsInt() 2334 if (contextCount < 0 || contextStart + contextCount > text.length()) { in getFontMetricsInt() 2348 contextCount, isRtl, outMetrics); in getFontMetricsInt() 2350 char[] buf = TemporaryBuffer.obtain(contextCount); in getFontMetricsInt() 2352 TextUtils.getChars(text, contextStart, contextStart + contextCount, buf, 0); in getFontMetricsInt() 2354 contextCount, isRtl, outMetrics); in getFontMetricsInt() 2381 @IntRange(from = 0) int contextStart, @IntRange(from = 0) int contextCount, in getFontMetricsInt() 2396 if (contextCount < 0 || contextStart + contextCount > text.length) { in getFontMetricsInt() 2408 nGetFontMetricsIntForText(mNativePaint, text, start, count, contextStart, contextCount, in getFontMetricsInt() 3014 @IntRange(from = 0) int contextCount, boolean isRtl, @Nullable float[] advances, in getTextRunAdvances() [all …]
|
D | BaseRecordingCanvas.java | 517 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 525 if ((index | count | contextIndex | contextCount | index - contextIndex in drawTextRun() 526 | (contextIndex + contextCount) - (index + count) in drawTextRun() 527 | text.length - (contextIndex + contextCount)) < 0) { in drawTextRun() 531 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, in drawTextRun() 752 int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, in nDrawTextRun() argument
|
D | BaseCanvas.java | 578 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument 586 if ((index | count | contextIndex | contextCount | index - contextIndex in drawTextRun() 587 | (contextIndex + contextCount) - (index + count) in drawTextRun() 588 | text.length - (contextIndex + contextCount)) < 0) { in drawTextRun() 593 nDrawTextRun(mNativeCanvasWrapper, text, index, count, contextIndex, contextCount, in drawTextRun() 848 int contextStart, int contextCount, float x, float y, boolean isRtl, long nativePaint, in nDrawTextRun() argument
|
D | Canvas.java | 2281 int contextCount, float x, float y, boolean isRtl, @NonNull Paint paint) { 2282 super.drawTextRun(text, index, count, contextIndex, contextCount, x, y, isRtl, paint);
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintTest.java | 190 final int contextCount = contextEnd - contextStart; in assertGetTextRunAdvances() local 194 contextStart, contextCount, isRtl, advanceArrays[0], 0); in assertGetTextRunAdvances() 197 contextStart, contextCount, isRtl, advanceArrays[1], 0); in assertGetTextRunAdvances() 199 contextStart, contextCount, isRtl, advanceArrays[1], c); in assertGetTextRunAdvances() 211 chars, start, count, contextStart, contextCount, isRtl, end), 1.0f); in assertGetTextRunAdvances()
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | ClientTransactionListenerController.java | 171 final int contextCount = mContextToPreChangedConfigMap.size(); in onClientTransactionFinished() local 173 for (int i = 0; i < contextCount; i++) { in onClientTransactionFinished()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinUtils.cpp | 66 size_t contextStart, size_t contextCount, in doLayout() argument 72 const minikin::Range contextRange(contextStart, contextStart + contextCount); in doLayout()
|
D | Canvas.cpp | 90 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText() argument 101 start, count, contextStart, contextCount, mt); in drawText()
|
D | MinikinUtils.h | 48 size_t contextStart, size_t contextCount,
|
D | Canvas.h | 262 int contextCount, float x, float y, minikin::Bidi bidiFlags,
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 185 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, in doTextAdvances() argument 189 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) { in doTextAdvances() 209 contextCount, advancesArray.get(), nullptr, nullptr); in doTextAdvances() 217 jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, in getTextAdvances___CIIIII_FI() argument 223 index - contextIndex, count, contextCount, bidiFlags, advances, advancesIndex); in getTextAdvances___CIIIII_FI() 254 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) { in getTextRunCursor___C() argument 259 contextStart, contextCount, dir, offset, cursorOpt); in getTextRunCursor___C()
|
D | android_graphics_Canvas.cpp | 684 jint index, jint count, jint contextIndex, jint contextCount, in drawTextRunChars() argument 696 contextIndex, contextCount, // context range, in drawTextRunChars()
|
/frameworks/base/core/java/android/text/ |
D | TextLine.java | 1205 int contextCount = contextEnd - contextStart; in expandMetricsFromPaint() local 1207 wp.getFontMetricsInt(mChars, start, count, contextStart, contextCount, runIsRtl, in expandMetricsFromPaint() 1212 contextCount, runIsRtl, fmi); in expandMetricsFromPaint() 1791 int contextCount = contextEnd - contextStart; in drawTextRun() local 1792 c.drawTextRun(mChars, start, count, contextStart, contextCount, in drawTextRun() 1817 int contextCount = contextEnd - contextStart; in shapeTextRun() local 1823 contextStart, contextCount, in shapeTextRun() 1832 mStart + contextStart, contextCount, in shapeTextRun()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 274 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, in drawTextRun() argument
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | LayoutTest.java | 1111 int contextCount, float x, float y, boolean isRtl, Paint paint) { in drawTextRun() argument
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 16122 int contextCount = contextEnd - contextStart; in drawTextRun() local 16124 contextCount, x, y, isRtl, p); in drawTextRun() 16139 int contextCount = contextEnd - contextStart; in getTextRunAdvances() local 16141 contextStart + mStart, contextCount, isRtl, advances, in getTextRunAdvances() 16147 int contextCount = contextEnd - contextStart; in getTextRunCursor() local 16149 contextCount, isRtl, offset + mStart, cursorOpt); in getTextRunCursor()
|