Searched defs:measureText (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/text/
H A DGraphicsOperations.java44 * Just like {@link Paint#measureText}.
46 float measureText(int start, int end, Paint p); method in interface:GraphicsOperations
H A DSpannableStringBuilder.java1404 public float measureText(int start, int end, Paint p) { method in class:SpannableStringBuilder
1405 checkRange("measureText", start, end);
1410 ret = p.measureText(mText, start, end - start);
1412 ret = p.measureText(mText, start + mGapLength, end - start);
1417 ret = p.measureText(buf, 0, end - start);
/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp63 float MinikinUtils::measureText(const Paint* paint, int bidiFlags, Typeface* typeface, function in class:android::MinikinUtils
68 return Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint,
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DStaticLayout_Delegate.java97 measureText(nativePaint, builder.mText, start, end - start, builder.mWidths,
212 private static float measureText(long nativePaint, char []text, int index, int count, method in class:StaticLayout_Delegate
/frameworks/rs/
H A DrsFont.cpp783 void FontState::measureText(const char *text, uint32_t len, Font::Rect *bounds) { function in class:FontState
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java647 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags);
983 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, bidiFlags);
1054 delegate.measureText(text, index, count, null, 0, bidiFlags).roundOut(bounds);
1299 /*package*/ RectF measureText(char[] text, int index, int count, float[] advances, method in class:Paint_Delegate
1305 /*package*/ RectF measureText(char[] text, int index, int count, float[] advances, method in class:Paint_Delegate
/frameworks/minikin/libs/minikin/
H A DLayout.cpp597 float Layout::measureText(const uint16_t* buf, size_t start, size_t count, size_t bufSize, function in class:android::Layout
/frameworks/base/graphics/java/android/graphics/
H A DPaint.java1699 public float measureText(char[] text, int index, int count) { method in class:Paint
1731 public float measureText(String text, int start, int end) { method in class:Paint
1760 public float measureText(String text) { method in class:Paint
1764 return measureText(text, 0, text.length());
1775 public float measureText(CharSequence text, int start, int end) { method in class:Paint
1787 return measureText((String)text, start, end);
1791 return measureText(text.toString(), start, end);
1794 return ((GraphicsOperations)text).measureText(start, end, this);
1799 float result = measureText(buf, 0, end - start);
/frameworks/base/core/java/android/widget/
H A DTextView.java672 p.measureText("H");
10167 public float measureText(int start, int end, Paint p) { method in class:TextView.CharWrapper
10168 return p.measureText(mChars, start + mStart, end - start);

Completed in 287 milliseconds