Home
last modified time | relevance | path

Searched refs:contextStart (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DPaint.java1888 int contextStart, int contextEnd, boolean isRtl, float[] advances, in getTextRunAdvances() argument
1894 if ((start | end | contextStart | contextEnd | advancesIndex | (end - start) in getTextRunAdvances()
1895 | (start - contextStart) | (contextEnd - end) in getTextRunAdvances()
1904 contextStart, contextEnd, isRtl, advances, advancesIndex); in getTextRunAdvances()
1909 contextStart, contextEnd, isRtl, advances, advancesIndex); in getTextRunAdvances()
1913 contextStart, contextEnd, isRtl, advances, advancesIndex, this); in getTextRunAdvances()
1919 int contextLen = contextEnd - contextStart; in getTextRunAdvances()
1922 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getTextRunAdvances()
1923 float result = getTextRunAdvances(buf, start - contextStart, len, in getTextRunAdvances()
1970 public float getTextRunAdvances(String text, int start, int end, int contextStart, in getTextRunAdvances() argument
[all …]
DCanvas.java1777 public void drawTextRun(@NonNull CharSequence text, int start, int end, int contextStart, in drawTextRun() argument
1793contextStart, contextEnd, x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface); in drawTextRun()
1796 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun()
1798 int contextLen = contextEnd - contextStart; in drawTextRun()
1801 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
1802 native_drawTextRun(mNativeCanvasWrapper, buf, start - contextStart, len, in drawTextRun()
2090 int start, int end, int contextStart, int contextEnd, in native_drawTextRun() argument
2094 int start, int count, int contextStart, int contextCount, in native_drawTextRun() argument
/frameworks/base/core/java/android/text/
DGraphicsOperations.java40 void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
57 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, in getTextRunAdvances() argument
64 int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, in getTextRunCursor() argument
DSpannableStringBuilder.java1134 public void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
1138 int contextLen = contextEnd - contextStart; in drawTextRun()
1141 c.drawTextRun(mText, start, len, contextStart, contextLen, x, y, isRtl, p); in drawTextRun()
1142 } else if (contextStart >= mGapStart) { in drawTextRun()
1143 c.drawTextRun(mText, start + mGapLength, len, contextStart + mGapLength, in drawTextRun()
1147 getChars(contextStart, contextEnd, buf, 0); in drawTextRun()
1148 c.drawTextRun(buf, start - contextStart, len, 0, contextLen, x, y, isRtl, p); in drawTextRun()
1205 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() argument
1210 int contextLen = contextEnd - contextStart; in getTextRunAdvances()
1214 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
[all …]
DTextLine.java725 int contextStart, int contextEnd, boolean runIsRtl, in handleText() argument
742 int contextLen = contextEnd - contextStart; in handleText()
746 contextStart, contextLen, runIsRtl, null, 0); in handleText()
750 delta + end, delta + contextStart, delta + contextEnd, in handleText()
791 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, in handleText()
980 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) { in drawTextRun() argument
984 int contextCount = contextEnd - contextStart; in drawTextRun()
985 c.drawTextRun(mChars, start, count, contextStart, contextCount, in drawTextRun()
990 delta + contextStart, delta + contextEnd, x, y, runIsRtl, wp); in drawTextRun()
/frameworks/base/core/java/android/view/
DGLES20Canvas.java966 public void drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
974 nDrawTextRun(mRenderer, text.toString(), start, end, contextStart, in drawTextRun()
978 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun()
980 int contextLen = contextEnd - contextStart; in drawTextRun()
983 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
984 nDrawTextRun(mRenderer, buf, start - contextStart, len, 0, contextLen, in drawTextRun()
991 …int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTy… in nDrawTextRun() argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java986 int end, int contextStart, int contextEnd, int flags, char[] glyphs) { in native_getTextGlyphs() argument
1016 String text, int start, int end, int contextStart, int contextEnd, in native_getTextRunAdvances() argument
1024 contextStart, contextEnd - contextStart, isRtl, advances, advancesIndex); in native_getTextRunAdvances()
1029 int contextStart, int contextLength, int flags, int offset, int cursorOpt) { in native_getTextRunCursor() argument
1038 int contextStart, int contextEnd, int flags, int offset, int cursorOpt) { in native_getTextRunCursor() argument
DCanvas_Delegate.java864 int start, int end, int contextStart, int contextEnd, in native_drawTextRun() argument
875 int start, int count, int contextStart, int contextCount, in native_drawTextRun() argument
/frameworks/base/core/jni/android/graphics/
DPaint.cpp691 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, in getTextRunAdvances__StringIIIIZ_FI() argument
696 jfloat result = doTextRunAdvances(env, paint, typeface, textArray + contextStart, in getTextRunAdvances__StringIIIIZ_FI()
697 start - contextStart, end - start, contextEnd - contextStart, isRtl, in getTextRunAdvances__StringIIIIZ_FI()
711 jint contextStart, jint contextCount, jint dir, jint offset, jint cursorOpt) { in getTextRunCursor___C() argument
714 jint result = doTextRunCursor(env, paint, textArray, contextStart, contextCount, dir, in getTextRunCursor___C()
721 jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) { in getTextRunCursor__String() argument
724 jint result = doTextRunCursor(env, paint, textArray, contextStart, in getTextRunCursor__String()
725 contextEnd - contextStart, dir, offset, cursorOpt); in getTextRunCursor__String()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp544 jint start, jint end, jint contextStart, jint contextEnd, in drawTextRunString() argument
552 jint contextCount = contextEnd - contextStart; in drawTextRunString()
554 drawText(get_canvas(canvasHandle), jchars + contextStart, start - contextStart, count, in drawTextRunString()
Dandroid_view_GLES20Canvas.cpp768 jint contextStart, int contextEnd, jfloat x, jfloat y, jboolean isRtl, in android_view_GLES20Canvas_drawTextRun() argument
773 jint contextCount = contextEnd - contextStart; in android_view_GLES20Canvas_drawTextRun()
778 renderTextRun(renderer, textArray + contextStart, start - contextStart, in android_view_GLES20Canvas_drawTextRun()
/frameworks/base/core/java/android/widget/
DTextView.java9265 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument
9267 int contextCount = contextEnd - contextStart; in drawTextRun()
9268 c.drawTextRun(mChars, start + mStart, count, contextStart + mStart, in drawTextRun()
9280 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() argument
9284 int contextCount = contextEnd - contextStart; in getTextRunAdvances()
9286 contextStart + mStart, contextCount, isRtl, advances, in getTextRunAdvances()
9290 public int getTextRunCursor(int contextStart, int contextEnd, int dir, in getTextRunCursor() argument
9292 int contextCount = contextEnd - contextStart; in getTextRunCursor()
9293 return p.getTextRunCursor(mChars, contextStart + mStart, in getTextRunCursor()