/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 46 float measureText(int start, int end, Paint p); in measureText() method
|
D | SpannableStringBuilder.java | 1155 public float measureText(int start, int end, Paint p) { in measureText() method in SpannableStringBuilder 1161 ret = p.measureText(mText, start, end - start); in measureText() 1163 ret = p.measureText(mText, start + mGapLength, end - start); in measureText() 1168 ret = p.measureText(buf, 0, end - start); in measureText()
|
D | StaticLayout.java | 724 float ellipsisWidth = paint.measureText( in calculateEllipsis()
|
D | TextUtils.java | 1115 float ellipsiswid = paint.measureText(ellipsis); in ellipsize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1286 public float measureText(char[] text, int index, int count) { in measureText() method in Paint 1318 public float measureText(String text, int start, int end) { in measureText() method in Paint 1348 public float measureText(String text) { in measureText() method in Paint 1377 public float measureText(CharSequence text, int start, int end) { in measureText() method in Paint 1389 return measureText((String)text, start, end); in measureText() 1393 return measureText(text.toString(), start, end); in measureText() 1396 return ((GraphicsOperations)text).measureText(start, end, this); in measureText() 1401 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/rs/ |
D | rsScriptC_LibGL.cpp | 255 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureTextAlloc() 264 rsc->mStateFont.measureText(text, textLen, &metrics); in rsrMeasureText()
|
D | rsFont.h | 155 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
|
D | rsFont.cpp | 782 void FontState::measureText(const char *text, uint32_t len, Font::Rect *bounds) { in measureText() function in FontState
|
/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/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ScaledTextActivity.java | 132 float width = mPaint.measureText(TEXT); in onDraw()
|
/frameworks/base/services/java/com/android/server/wm/ |
D | Watermark.java | 92 mTextWidth = (int)mTextPaint.measureText(mText); in Watermark()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 579 return delegate.measureText(text, index, count, bidiFlags); in native_measureText() 618 float res = delegate.measureText(text, start, end - start + 1, bidiFlags); in native_breakText() 1188 /*package*/ float measureText(char[] text, int index, int count, int bidiFlags) { in measureText() method in Paint_Delegate
|
D | Canvas_Delegate.java | 994 float m = paintDelegate.measureText(text, index, count, 0); in native_drawText()
|
/frameworks/base/libs/hwui/ |
D | DisplayListRenderer.cpp | 430 if (length < 0.0f) length = paint->measureText(text, bytesCount); in drawText()
|
D | OpenGLRenderer.cpp | 2868 if (length < 0.0f) length = paint->measureText(text, bytesCount); in drawText() 3245 underlineWidth = paintCopy.measureText(text, bytesCount); in drawTextDecorations()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 306 float textWidth = SkScalarToFloat(paint->measureText(text, len)); in render()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 1214 final float digitWidth = mSelectorWheelPaint.measureText(formatNumberWithLocale(i)); in tryComputeMaxWidth() 1229 final float textWidth = mSelectorWheelPaint.measureText(mDisplayedValues[i]); in tryComputeMaxWidth()
|
D | TextView.java | 579 p.measureText("H"); 8871 public float measureText(int start, int end, Paint p) { in measureText() method in TextView.CharWrapper 8872 return p.measureText(mChars, start + mStart, end - start); in measureText()
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 546 int width = Math.max(deleteWidth * 2, (int) Math.floor(paint.measureText(ellipsizedText, 0, in createSelectedChip() 588 int width = Math.max(iconWidth * 2, (int) Math.floor(paint.measureText(ellipsizedText, 0, in createUnselectedChip() 1777 int width = (int)morePaint.measureText(moreText) + mMoreItem.getPaddingLeft() in createMoreSpan()
|
/frameworks/base/core/jni/android/graphics/ |
D | Paint.cpp | 769 paint.measureText(value->getGlyphs(), value->getGlyphsCount() << 1, &r); in doTextBounds()
|
/frameworks/base/api/ |
D | current.txt | 9100 method public float measureText(char[], int, int); 9101 method public float measureText(java.lang.String, int, int); 9102 method public float measureText(java.lang.String); 9103 method public float measureText(java.lang.CharSequence, int, int);
|