Home
last modified time | relevance | path

Searched defs:textWidth (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java58 private float textWidth(CharSequence text) { in textWidth() method in UnderlineSpanTest
/frameworks/base/core/java/com/android/internal/widget/
DTextProgressBar.java160 int textWidth = mChronometer.getWidth(); in onChronometerTick() local
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java556 final float textWidth = mDefaultPaint.measureText(text); in testEllipsis_singleLine() local
591 final float textWidth = mDefaultPaint.measureText(text); in testEllipsis_singleLine() local
606 final float textWidth = mDefaultPaint.measureText(text); in testEllipsis_singleLine() local
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomSurfaceView.java138 int textWidth = (int)(paint.measureText(mName) + 0.5f); in invalidateSurface() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java445 private int squeezeButtonToTextWidth(Button button, int heightMeasureSpec, int textWidth) { in squeezeButtonToTextWidth()
/frameworks/base/libs/hwui/font/
DFont.cpp312 float textWidth = SkScalarToFloat(paint->measureText(glyphs, numGlyphs * 2)); in render() local
/frameworks/base/core/java/android/widget/
DNumberPicker.java1329 final float textWidth = mSelectorWheelPaint.measureText(mDisplayedValues[i]); in tryComputeMaxWidth() local
DTextView.java8396 final float textWidth = mLayout.getLineWidth(0); in compressText() local
12442 final int textWidth = textView.getWidth() - textView.getCompoundPaddingLeft() in start() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java870 int textWidth = (int) paint.measureText(ellipsizedText, 0, ellipsizedText.length()); in createChipBitmap() local