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.java558 final float textWidth = mDefaultPaint.measureText(text); in testEllipsis_singleLine() local
593 final float textWidth = mDefaultPaint.measureText(text); in testEllipsis_singleLine() local
608 final float textWidth = mDefaultPaint.measureText(text); in testEllipsis_singleLine() local
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt301 var textWidth = canvas.width in onDraw() variable
/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.java701 private int squeezeButtonToTextWidth(Button button, int heightMeasureSpec, int textWidth) { in squeezeButtonToTextWidth()
/frameworks/base/core/java/android/widget/
DNumberPicker.java1365 final float textWidth = mSelectorWheelPaint.measureText(mDisplayedValues[i]); in tryComputeMaxWidth() local
DTextView.java9182 final float textWidth = mLayout.getLineWidth(0); in compressText() local
13351 final int textWidth = textView.getWidth() - textView.getCompoundPaddingLeft() in start() local
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java873 int textWidth = (int) paint.measureText(ellipsizedText, 0, ellipsizedText.length()); in createChipBitmap() local