Home
last modified time | relevance | path

Searched refs:contextCount (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/graphics/java/android/graphics/text/
DTextRunShaper.java66 @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/
DTextShaper.cpp47 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/
DPaint.java2318 @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 …]
DBaseRecordingCanvas.java517 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
DBaseCanvas.java578 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
DCanvas.java2281 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/
DPaintTest.java190 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/
DClientTransactionListenerController.java171 final int contextCount = mContextToPreChangedConfigMap.size(); in onClientTransactionFinished() local
173 for (int i = 0; i < contextCount; i++) { in onClientTransactionFinished()
/frameworks/base/libs/hwui/hwui/
DMinikinUtils.cpp66 size_t contextStart, size_t contextCount, in doLayout() argument
72 const minikin::Range contextRange(contextStart, contextStart + contextCount); in doLayout()
DCanvas.cpp90 int contextCount, float x, float y, minikin::Bidi bidiFlags, in drawText() argument
101 start, count, contextStart, contextCount, mt); in drawText()
DMinikinUtils.h48 size_t contextStart, size_t contextCount,
DCanvas.h262 int contextCount, float x, float y, minikin::Bidi bidiFlags,
/frameworks/base/libs/hwui/jni/
DPaint.cpp185 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()
Dandroid_graphics_Canvas.cpp684 jint index, jint count, jint contextIndex, jint contextCount, in drawTextRunChars() argument
696 contextIndex, contextCount, // context range, in drawTextRunChars()
/frameworks/base/core/java/android/text/
DTextLine.java1205 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/
DNopCanvas.java274 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, in drawTextRun() argument
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java1111 int contextCount, float x, float y, boolean isRtl, Paint paint) { in drawTextRun() argument
/frameworks/base/core/java/android/widget/
DTextView.java16122 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()