Home
last modified time | relevance | path

Searched refs:tvEllipsizeEnd (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3011 final TextView tvEllipsizeEnd = new TextView(mActivity); in testEllipsizeAndMaxLinesForSingleLine() local
3012 tvEllipsizeEnd.setEllipsize(TruncateAt.END); in testEllipsizeAndMaxLinesForSingleLine()
3013 tvEllipsizeEnd.setMaxLines(1); in testEllipsizeAndMaxLinesForSingleLine()
3014 tvEllipsizeEnd.setLineSpacing(0, 1.5f); in testEllipsizeAndMaxLinesForSingleLine()
3015 tvEllipsizeEnd.setText("a\na"); in testEllipsizeAndMaxLinesForSingleLine()
3021 layout.addView(tvEllipsizeEnd, layoutParams); in testEllipsizeAndMaxLinesForSingleLine()
3031 assertEquals(tvEllipsizeEnd.getHeight(), tvEllipsizeNone.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()
3033 assertEquals(tvEllipsizeEnd.getHeight(), tvNoMaxLine.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()
3035 assertEquals(tvEllipsizeEnd.getLayout().getLineBaseline(0), in testEllipsizeAndMaxLinesForSingleLine()
3038 assertEquals(tvEllipsizeEnd.getLayout().getLineBaseline(0), in testEllipsizeAndMaxLinesForSingleLine()
[all …]