/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 46 float measureText(int start, int end, Paint p); in measureText() method
|
D | SpannableStringBuilder.java | 1077 public float measureText(int start, int end, Paint p) { in measureText() method in SpannableStringBuilder 1083 ret = p.measureText(mText, start, end - start); in measureText() 1085 ret = p.measureText(mText, start + mGapLength, end - start); in measureText() 1090 ret = p.measureText(buf, 0, end - start); in measureText()
|
D | StaticLayout.java | 766 float ellipsisWidth = paint.measureText( in calculateEllipsis()
|
D | TextUtils.java | 1086 float ellipsiswid = paint.measureText(ellipsis); in ellipsize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1217 public float measureText(char[] text, int index, int count) { in measureText() method in Paint 1249 public float measureText(String text, int start, int end) { in measureText() method in Paint 1279 public float measureText(String text) { in measureText() method in Paint 1306 public float measureText(CharSequence text, int start, int end) { in measureText() method in Paint 1318 return measureText((String)text, start, end); in measureText() 1322 return measureText(text.toString(), start, end); in measureText() 1325 return ((GraphicsOperations)text).measureText(start, end, this); in measureText() 1330 float result = measureText(buf, 0, end - start); in measureText()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft in measureWidth()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 320 assertTrue("wid " + i + " pass " + j, p.measureText(out1) <= i); in testEllipsize() 323 assertTrue("wid " + i + " pass " + j, p.measureText(keep1) == p.measureText(out1)); in testEllipsize()
|
D | StaticLayoutDirectionsTest.java | 128 float width = b.paint.measureText(b.text, 0, 5); // exclude 'c' in testTrailingWhitespace()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LoadAverageService.java | 51 mLoadWidth = (int)mPaint.measureText(mLoadText); in onLoadChanged() 56 return (int)mPaint.measureText(name); in onMeasureProcessName()
|
/frameworks/base/libs/rs/ |
D | rsScriptC_LibGL.cpp | 309 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureTextAlloc() 317 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureText()
|
D | rsFont.h | 156 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
|
D | rsFont.cpp | 758 void FontState::measureText(const char *text, uint32_t len, Font::Rect *bounds) { in measureText() function in FontState
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Watermark.java | 90 mTextWidth = (int)mTextPaint.measureText(mText); in Watermark()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 358 SkScalar width = paint->measureText(textArray + index, count << 1); in measureText_CII() 388 width = SkScalarToFloat(paint->measureText(textArray + start, count << 1)); in measureText_StringII() 411 width = SkScalarToFloat(paint->measureText(textArray, textLength << 1)); in measureText_String() 808 paint.measureText(text, count << 1, &r); in doTextBounds()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 574 return delegate.measureText(text, index, count); in native_measureText() 612 float res = delegate.measureText(text, start, end - start + 1); in native_breakText() 1180 /*package*/ float measureText(char[] text, int index, int count) { in measureText() method in Paint_Delegate
|
D | Canvas_Delegate.java | 981 float m = paintDelegate.measureText(text, index, count); in native_drawText()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 412 int width = Math.max(deleteWidth * 2, (int) Math.floor(paint.measureText(ellipsizedText, 0, in createSelectedChip() 461 int width = Math.max(iconWidth * 2, (int) Math.floor(paint.measureText(ellipsizedText, 0, in createUnselectedChip() 1500 int width = (int)morePaint.measureText(moreText) + mMoreItem.getPaddingLeft() in createMoreChip()
|
/frameworks/base/libs/hwui/ |
D | OpenGLRenderer.cpp | 2076 length = paint->measureText(text, bytesCount); in drawText() 2080 length = paint->measureText(text, bytesCount); in drawText() 2360 underlineWidth = paintCopy.measureText(text, bytesCount); in drawTextDecorations()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 409 p.measureText("H"); 3368 public float measureText(int start, int end, Paint p) { in measureText() method in TextView.CharWrapper 3369 return p.measureText(mChars, start + mStart, end - start); in measureText()
|
/frameworks/base/api/ |
D | current.txt | 8314 method public float measureText(char[], int, int); 8315 method public float measureText(java.lang.String, int, int); 8316 method public float measureText(java.lang.String); 8317 method public float measureText(java.lang.CharSequence, int, int);
|
D | 14.txt | 8314 method public float measureText(char[], int, int); 8315 method public float measureText(java.lang.String, int, int); 8316 method public float measureText(java.lang.String); 8317 method public float measureText(java.lang.CharSequence, int, int);
|