/frameworks/base/core/java/android/text/ |
D | Styled.java | 112 ret = workPaint.measureText(tmp, tmpstart, tmpend); in drawUniformRun() 127 ret = workPaint.measureText(tmp, tmpstart, tmpend); in drawUniformRun() 136 ret = workPaint.measureText(tmp, tmpstart, tmpend); in drawUniformRun() 146 ret = workPaint.measureText(tmp, tmpstart, tmpend); in drawUniformRun() 260 ret = paint.measureText(tmp, 0, tmpend); in drawDirectionalRun() 267 ret = paint.measureText(text, start, end); in drawDirectionalRun() 426 public static float measureText(TextPaint paint, in measureText() method in Styled
|
D | GraphicsOperations.java | 39 float measureText(int start, int end, Paint p); in measureText() method
|
D | Layout.java | 88 float w = measureText(paint, workPaint, in getDesiredWidth() 564 float wid = measureText(mPaint, mWorkPaint, mText, start, offset, end, in getHorizontal() 569 wid -= measureText(mPaint, mWorkPaint, in getHorizontal() 572 wid += measureText(mPaint, mWorkPaint, in getHorizontal() 689 return measureText(mPaint, mWorkPaint, in getLineMax() 1436 Styled.measureText(paint, workPaint, text, in drawText() 1465 private static float measureText(TextPaint paint, in measureText() method in Layout 1518 h += Styled.measureText(paint, workPaint, text, in measureText() 1525 h -= Styled.measureText(paint, workPaint, text, in measureText() 1532 segw = Styled.measureText(paint, workPaint, text, in measureText() [all …]
|
D | BoringLayout.java | 212 mMax = (int) (FloatMath.ceil(Styled.measureText(paint, sTemp, in init() 283 wid = (int) (FloatMath.ceil(Styled.measureText(paint, sTemp, in isBoring()
|
D | SpannableStringBuilder.java | 1061 public float measureText(int start, int end, Paint p) { in measureText() method in SpannableStringBuilder 1067 ret = p.measureText(mText, start, end - start); in measureText() 1069 ret = p.measureText(mText, start + mGapLength, end - start); in measureText() 1074 ret = p.measureText(buf, 0, end - start); in measureText()
|
D | TextUtils.java | 1010 float wid = p.measureText(text, 0, len); in ellipsize() 1020 float ellipsiswid = p.measureText(sEllipsis); in ellipsize() 1069 float used = p.measureText(text, len - right, len); in ellipsize() 1120 float ellipsiswid = p.measureText(sEllipsis); in ellipsize() 1336 moreWid = p.measureText(format); in commaEllipsize()
|
D | StaticLayout.java | 522 measureText(paint, mWorkPaint, in generate() 956 if (measureText(paint, workPaint, in getFit() 1137 float ellipsiswid = paint.measureText("\u2026"); in calculateEllipsis()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1000 public float measureText(char[] text, int index, int count) { in measureText() method in Paint 1019 public float measureText(String text, int start, int end) { in measureText() method in Paint 1036 public float measureText(String text) { in measureText() method in Paint 1055 public float measureText(CharSequence text, int start, int end) { in measureText() method in Paint 1057 return measureText((String)text, start, end); in measureText() 1061 return measureText(text.toString(), start, end); in measureText() 1064 return ((GraphicsOperations)text).measureText(start, end, this); in measureText() 1069 float result = measureText(buf, 0, end - start); in measureText()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 310 assertTrue("wid " + i + " pass " + j, p.measureText(out1) <= i); in testEllipsize() 313 assertTrue("wid " + i + " pass " + j, p.measureText(keep1) == p.measureText(out1)); in testEllipsize()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft in measureWidth()
|
/frameworks/base/services/java/com/android/server/ |
D | LoadAverageService.java | 50 mLoadWidth = (int)mPaint.measureText(mLoadText); in onLoadChanged() 55 return (int)mPaint.measureText(name); in onMeasureProcessName()
|
D | WindowManagerService.java | 10106 mTextWidth = (int)mTextPaint.measureText(mText); in Watermark()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 333 SkScalar width = paint->measureText(textArray + index, count << 1); in measureText_CII() 354 jfloat width = SkScalarToFloat(paint->measureText(textArray + start, count << 1)); in measureText_StringII() 367 jfloat width = SkScalarToFloat(paint->measureText(textArray, textLength << 1)); in measureText_String() 498 paint.measureText(text, count << 1, &r); in doTextBounds()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 549 return delegate.measureText(text, index, count); in native_measureText() 587 float res = delegate.measureText(text, start, end - start + 1); in native_breakText() 1071 /*package*/ float measureText(char[] text, int index, int count) { in measureText() method in Paint_Delegate
|
D | Canvas_Delegate.java | 999 float m = paintDelegate.measureText(text, index, count); in native_drawText()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 314 p.measureText("H"); 2830 public float measureText(int start, int end, Paint p) { in measureText() method in TextView.CharWrapper 2831 return p.measureText(mChars, start + mStart, end - start); in measureText()
|