Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DPaint.java1922 int contextStart, int contextEnd, boolean isRtl, float[] advances, in getTextRunAdvances() argument
1928 if ((start | end | contextStart | contextEnd | advancesIndex | (end - start) in getTextRunAdvances()
1929 | (start - contextStart) | (contextEnd - end) in getTextRunAdvances()
1930 | (text.length() - contextEnd) in getTextRunAdvances()
1938 contextStart, contextEnd, isRtl, advances, advancesIndex); in getTextRunAdvances()
1943 contextStart, contextEnd, isRtl, advances, advancesIndex); in getTextRunAdvances()
1947 contextStart, contextEnd, isRtl, advances, advancesIndex, this); in getTextRunAdvances()
1953 int contextLen = contextEnd - contextStart; in getTextRunAdvances()
1956 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in getTextRunAdvances()
2005 int contextEnd, boolean isRtl, float[] advances, int advancesIndex) { in getTextRunAdvances() argument
[all …]
DCanvas.java1792 int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) { in drawTextRun() argument
1800 if ((start | end | contextStart | contextEnd | start - contextStart | end - start in drawTextRun()
1801 | contextEnd - end | text.length() - contextEnd) < 0) { in drawTextRun()
1808 contextEnd, x, y, isRtl, paint.getNativeInstance(), paint.mNativeTypeface); in drawTextRun()
1811 contextStart, contextEnd, x, y, isRtl, paint); in drawTextRun()
1813 int contextLen = contextEnd - contextStart; in drawTextRun()
1816 TextUtils.getChars(text, contextStart, contextEnd, buf, 0); in drawTextRun()
2107 int start, int end, int contextStart, int contextEnd, 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
DTextLine.java725 int contextStart, int contextEnd, boolean runIsRtl, in handleText() argument
744 ret = wp.getRunAdvance(mChars, start, end, contextStart, contextEnd, in handleText()
749 delta + contextStart, delta + contextEnd, runIsRtl, delta + end); in handleText()
789 drawTextRun(c, wp, start, end, contextStart, contextEnd, runIsRtl, in handleText()
982 int contextStart, int contextEnd, boolean runIsRtl, float x, int y) { in drawTextRun() argument
986 int contextCount = contextEnd - contextStart; in drawTextRun()
992 delta + contextStart, delta + contextEnd, x, y, runIsRtl, wp); in drawTextRun()
DSpannableStringBuilder.java1206 public void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, in drawTextRun() argument
1210 int contextLen = contextEnd - contextStart; in drawTextRun()
1212 if (contextEnd <= mGapStart) { in drawTextRun()
1219 getChars(contextStart, contextEnd, buf, 0); in drawTextRun()
1277 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() argument
1282 int contextLen = contextEnd - contextStart; in getTextRunAdvances()
1293 getChars(contextStart, contextEnd, buf, 0); in getTextRunAdvances()
1328 public int getTextRunCursor(int contextStart, int contextEnd, int dir, int offset, in getTextRunCursor() argument
1333 int contextLen = contextEnd - contextStart; in getTextRunCursor()
1334 if (contextEnd <= mGapStart) { in getTextRunCursor()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java991 int end, int contextStart, int contextEnd, int flags, char[] glyphs) { in native_getTextGlyphs() argument
1021 String text, int start, int end, int contextStart, int contextEnd, in native_getTextRunAdvances() argument
1029 contextStart, contextEnd - contextStart, isRtl, advances, advancesIndex); in native_getTextRunAdvances()
1043 int contextStart, int contextEnd, int flags, int offset, int cursorOpt) { in native_getTextRunCursor() argument
1168 @NonNull char[] text, int start, int end, int contextStart, int contextEnd, in native_getRunAdvance() argument
1173 contextStart, contextEnd - contextStart, isRtl, advances, 0); in native_getRunAdvance()
1184 char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, in native_getOffsetForAdvance() argument
1189 contextStart, contextEnd - contextStart, isRtl, advances, 0); in native_getOffsetForAdvance()
DCanvas_Delegate.java870 int start, int end, int contextStart, int contextEnd, in native_drawTextRun() argument
/frameworks/base/core/jni/android/graphics/
DPaint.cpp752 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, in getTextRunAdvances__StringIIIIZ_FI() argument
758 start - contextStart, end - start, contextEnd - contextStart, isRtl, in getTextRunAdvances__StringIIIIZ_FI()
782 jint contextStart, jint contextEnd, jint dir, jint offset, jint cursorOpt) { in getTextRunCursor__String() argument
786 contextEnd - contextStart, dir, offset, cursorOpt); in getTextRunCursor__String()
1065 jint contextEnd, jboolean isRtl, jint offset) { in getRunAdvance___CIIIIZI_F() argument
1070 start - contextStart, end - start, contextEnd - contextStart, isRtl, in getRunAdvance___CIIIIZI_F()
1085 jint contextEnd, jboolean isRtl, jfloat advance) { in getOffsetForAdvance___CIIIIZF_I() argument
1090 start - contextStart, end - start, contextEnd - contextStart, isRtl, advance); in getOffsetForAdvance___CIIIIZF_I()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp565 jint start, jint end, jint contextStart, jint contextEnd, in drawTextRunString() argument
573 jint contextCount = contextEnd - contextStart; in drawTextRunString()
/frameworks/base/core/java/android/widget/
DTextView.java9951 int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) { in drawTextRun() argument
9953 int contextCount = contextEnd - contextStart; in drawTextRun()
9967 int contextEnd, boolean isRtl, float[] advances, int advancesIndex, in getTextRunAdvances() argument
9970 int contextCount = contextEnd - contextStart; in getTextRunAdvances()
9976 public int getTextRunCursor(int contextStart, int contextEnd, int dir, in getTextRunCursor() argument
9978 int contextCount = contextEnd - contextStart; in getTextRunCursor()