Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutGetLineLeftRightTest.java149 final float textWidth = mPaint.measureText(mText, start, end); in testGetLineLeft() local
173 final float textWidth = mPaint.measureText(mText, start, end); in testGetLineRight() local
DTextUtilsTest.java213 float textWidth = p.measureText("long, 3 plus"); in testCommaEllipsize() local
515 float textWidth = p.measureText(mEllipsis) + p.measureText("uncate"); in testEllipsize() local
600 float textWidth = p.measureText(mEllipsis + "uncate"); in testEllipsizeCallback() local
/cts/tests/tests/text/src/android/text/style/cts/
DStrikethroughSpanTest.java98 private float textWidth(CharSequence text) { in textWidth() method in StrikethroughSpanTest
DUnderlineSpanTest.java95 private float textWidth(CharSequence text) { in textWidth() method in UnderlineSpanTest
DSuggestionSpanTest.java215 private float textWidth(CharSequence text) { in textWidth() method in SuggestionSpanTest
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java121 int textWidth = Math.round(paint.measureText(text)); in testOnTouchEvent() local
DBaseMovementMethodTest.java189 private void setContentView(@NonNull TextView textView, int textWidth) throws Throwable { in setContentView()