Home
last modified time | relevance | path

Searched refs:getTextRunAdvances (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
DPaintTest.java48 final float advance = p.getTextRunAdvances(str, start, end, contextStart, contextEnd, in assertGetTextRunAdvances()
52 final float advance_c = p.getTextRunAdvances(chars, start, count, contextStart, in assertGetTextRunAdvances()
57 final float firstPartAdvance = p.getTextRunAdvances(str, start, start + c, in assertGetTextRunAdvances()
59 final float secondPartAdvance = p.getTextRunAdvances(str, start + c, end, in assertGetTextRunAdvances()
64 final float firstPartAdvance_c = p.getTextRunAdvances(chars, start, c, in assertGetTextRunAdvances()
66 final float secondPartAdvance_c = p.getTextRunAdvances(chars, start + c, in assertGetTextRunAdvances()
99 p.getTextRunAdvances((String)null, 0, 0, 0, 0, false, null, 0); in testGetTextRunAdvances_invalid()
105 p.getTextRunAdvances((CharSequence)null, 0, 0, 0, 0, false, null, 0); in testGetTextRunAdvances_invalid()
111 p.getTextRunAdvances((char[])null, 0, 0, 0, 0, false, null, 0); in testGetTextRunAdvances_invalid()
117 p.getTextRunAdvances(text, 0, text.length(), 0, text.length(), false, in testGetTextRunAdvances_invalid()
[all …]
/frameworks/base/core/java/android/text/
DGraphicsOperations.java57 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, in getTextRunAdvances() method
DMeasuredText.java181 width = paint.getTextRunAdvances(mChars, p, len, p, len, isRtl, widths, p); in addStyleRun()
198 paint.getTextRunAdvances(mChars, q, i - q, q, i - q, isRtl, widths, q); in addStyleRun()
DSpannableStringBuilder.java1507 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() method in SpannableStringBuilder
1516 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
1519 ret = p.getTextRunAdvances(mText, start + mGapLength, len, in getTextRunAdvances()
1524 ret = p.getTextRunAdvances(buf, start - contextStart, len, in getTextRunAdvances()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2085 public float getTextRunAdvances(char[] chars, int index, int count, in getTextRunAdvances() method in Paint
2132 public float getTextRunAdvances(CharSequence text, int start, int end, in getTextRunAdvances() method in Paint
2147 return getTextRunAdvances((String) text, start, end, in getTextRunAdvances()
2152 return getTextRunAdvances(text.toString(), start, end, in getTextRunAdvances()
2156 return ((GraphicsOperations) text).getTextRunAdvances(start, end, in getTextRunAdvances()
2167 float result = getTextRunAdvances(buf, start - contextStart, len, in getTextRunAdvances()
2214 public float getTextRunAdvances(String text, int start, int end, int contextStart, in getTextRunAdvances() method in Paint
/frameworks/base/core/java/android/widget/
DTextView.java10180 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() method in TextView.CharWrapper
10185 return p.getTextRunAdvances(mChars, start + mStart, count, in getTextRunAdvances()