Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintTest.java186 final float advance = p.getTextRunAdvances(str, start, end, contextStart, contextEnd, in assertGetTextRunAdvances()
190 final float advance_c = p.getTextRunAdvances(chars, start, count, contextStart, in assertGetTextRunAdvances()
195 final float firstPartAdvance = p.getTextRunAdvances(str, start, start + c, in assertGetTextRunAdvances()
197 final float secondPartAdvance = p.getTextRunAdvances(str, start + c, end, in assertGetTextRunAdvances()
202 final float firstPartAdvance_c = p.getTextRunAdvances(chars, start, c, in assertGetTextRunAdvances()
204 final float secondPartAdvance_c = p.getTextRunAdvances(chars, start + c, in assertGetTextRunAdvances()
237 p.getTextRunAdvances((String)null, 0, 0, 0, 0, false, null, 0); in testGetTextRunAdvances_invalid()
243 p.getTextRunAdvances((CharSequence)null, 0, 0, 0, 0, false, null, 0); in testGetTextRunAdvances_invalid()
249 p.getTextRunAdvances((char[])null, 0, 0, 0, 0, false, null, 0); in testGetTextRunAdvances_invalid()
255 p.getTextRunAdvances(text, 0, text.length(), 0, text.length(), false, in testGetTextRunAdvances_invalid()
[all …]
/frameworks/base/core/java/android/text/
DGraphicsOperations.java55 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.java1498 …public float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRt… in getTextRunAdvances() method in SpannableStringBuilder
1507 ret = p.getTextRunAdvances(mText, start, len, contextStart, contextLen, in getTextRunAdvances()
1510 ret = p.getTextRunAdvances(mText, start + mGapLength, len, in getTextRunAdvances()
1515 ret = p.getTextRunAdvances(buf, start - contextStart, len, in getTextRunAdvances()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2171 public float getTextRunAdvances(char[] chars, int index, int count, in getTextRunAdvances() method in Paint
2218 public float getTextRunAdvances(CharSequence text, int start, int end, in getTextRunAdvances() method in Paint
2233 return getTextRunAdvances((String) text, start, end, in getTextRunAdvances()
2238 return getTextRunAdvances(text.toString(), start, end, in getTextRunAdvances()
2242 return ((GraphicsOperations) text).getTextRunAdvances(start, end, in getTextRunAdvances()
2253 float result = getTextRunAdvances(buf, start - contextStart, len, in getTextRunAdvances()
2300 public float getTextRunAdvances(String text, int start, int end, int contextStart, in getTextRunAdvances() method in Paint
/frameworks/base/core/java/android/widget/
DTextView.java11710 public float getTextRunAdvances(int start, int end, int contextStart, in getTextRunAdvances() method in TextView.Drawables.CharWrapper
11715 return p.getTextRunAdvances(mChars, start + mStart, count, in getTextRunAdvances()