/frameworks/base/core/java/android/text/ |
D | GraphicsOperations.java | 46 float measureText(int start, int end, Paint p); in measureText() method
|
D | SpannableStringBuilder.java | 1157 public float measureText(int start, int end, Paint p) { in measureText() method in SpannableStringBuilder 1163 ret = p.measureText(mText, start, end - start); in measureText() 1165 ret = p.measureText(mText, start + mGapLength, end - start); in measureText() 1170 ret = p.measureText(buf, 0, end - start); in measureText()
|
D | StaticLayout.java | 653 float ellipsisWidth = paint.measureText(
|
D | TextUtils.java | 1130 float ellipsiswid = paint.measureText(ellipsis); in ellipsize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1447 public float measureText(char[] text, int index, int count) { in measureText() method in Paint 1479 public float measureText(String text, int start, int end) { in measureText() method in Paint 1509 public float measureText(String text) { in measureText() method in Paint 1538 public float measureText(CharSequence text, int start, int end) { in measureText() method in Paint 1550 return measureText((String)text, start, end); in measureText() 1554 return measureText(text.toString(), start, end); in measureText() 1557 return ((GraphicsOperations)text).measureText(start, end, this); in measureText() 1562 float result = measureText(buf, 0, end - start); in measureText()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 162 float width = mFirstLine.getPaint().measureText(mText); in updateText() 174 width = mFirstLine.getPaint().measureText(mText.substring(0, i)); in updateText()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags); in native_measureText() 646 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); in native_breakText() 973 RectF bounds = delegate.measureText(text, index, count, widths, 0, bidiFlags); in native_getTextWidths() 1010 RectF bounds = delegate.measureText(text, index, count, advances, advancesIndex, isRtl); in native_getTextRunAdvances() 1081 delegate.measureText(text, index, count, null, 0, bidiFlags).roundOut(bounds); in nativeGetCharArrayBounds() 1199 /*package*/ RectF measureText(char[] text, int index, int count, float[] advances, in measureText() method in Paint_Delegate 1205 /*package*/ RectF measureText(char[] text, int index, int count, float[] advances, in measureText() method in Paint_Delegate
|
D | Canvas_Delegate.java | 975 RectF bounds = paintDelegate.measureText(text, index, count, null, 0, in drawText()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | LabelView.java | 140 result = (int) mTextPaint.measureText(mText) + mPaddingLeft in measureWidth()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | StreamingTextView.java | 241 int width = (int) paint.measureText(text, start, end); in draw() 275 return (int) paint.measureText(text, start, end); in getSize()
|
/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 | 154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
|
D | rsFont.cpp | 787 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/core/java/com/android/server/wm/ |
D | Watermark.java | 92 mTextWidth = (int)mTextPaint.measureText(mText); in Watermark()
|
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 325 float textWidth = SkScalarToFloat(paint->measureText(text, len)); in render()
|
/frameworks/base/core/java/android/widget/ |
D | NumberPicker.java | 1284 final float digitWidth = mSelectorWheelPaint.measureText(formatNumberWithLocale(i)); in tryComputeMaxWidth() 1299 final float textWidth = mSelectorWheelPaint.measureText(mDisplayedValues[i]); in tryComputeMaxWidth()
|
D | TextView.java | 600 p.measureText("H"); 9272 public float measureText(int start, int end, Paint p) { in measureText() method in TextView.CharWrapper 9273 return p.measureText(mChars, start + mStart, end - start); in measureText()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 655 int textWidth = (int) paint.measureText(ellipsizedText, 0, ellipsizedText.length()); in createChipBitmap() 1981 final int width = (int) mWorkPaint.measureText(moreText) + mMoreItem.getPaddingLeft() in createMoreSpan()
|
/frameworks/base/api/ |
D | system-current.txt | 11324 method public float measureText(char[], int, int); 11325 method public float measureText(java.lang.String, int, int); 11326 method public float measureText(java.lang.String); 11327 method public float measureText(java.lang.CharSequence, int, int);
|
D | current.txt | 11018 method public float measureText(char[], int, int); 11019 method public float measureText(java.lang.String, int, int); 11020 method public float measureText(java.lang.String); 11021 method public float measureText(java.lang.CharSequence, int, int);
|