Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/
DBatteryPercentTextOnlyDrawable.kt84 val textWidth = textPaint.measureText(percentText) in <lambda>() constant
DBatterySpaceSharingPercentTextDrawable.kt107 val textWidth = textPaint.measureText(percentText) in <lambda>() constant
/frameworks/base/core/tests/coretests/src/android/text/style/
DUnderlineSpanTest.java58 private float textWidth(CharSequence text) { in textWidth() method in UnderlineSpanTest
/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/core/java/com/android/internal/widget/
DTextProgressBar.java160 int textWidth = mChronometer.getWidth(); in onChronometerTick() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricCustomizedViewBinder.kt200 val textWidth = paint.measureText(passedInText) in PromptContentItem() constant
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt302 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/core/java/com/android/internal/widget/remotecompose/core/operations/
DDrawTextAnchored.java180 float textWidth = scale * (mBounds[2] - mBounds[0]); in getHorizontalOffset() local
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayoutPreviewDrawable.java269 float textWidth = textBounds.width(); in measureGlyphs() local
280 float textWidth = glyph.rect.width(); in draw() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptViewModel.kt543 val textWidth = paint.measureText(title) in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java602 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
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java873 int textWidth = (int) paint.measureText(ellipsizedText, 0, ellipsizedText.length()); in createChipBitmap() local