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.java3316 final TextView tvEllipsizeEnd = new TextView(mActivity); in testEllipsizeAndMaxLinesForSingleLine() local
3317 tvEllipsizeEnd.setEllipsize(TruncateAt.END); in testEllipsizeAndMaxLinesForSingleLine()
3318 tvEllipsizeEnd.setMaxLines(1); in testEllipsizeAndMaxLinesForSingleLine()
3319 tvEllipsizeEnd.setLineSpacing(0, 1.5f); in testEllipsizeAndMaxLinesForSingleLine()
3320 tvEllipsizeEnd.setText("a\na"); in testEllipsizeAndMaxLinesForSingleLine()
3326 layout.addView(tvEllipsizeEnd, layoutParams); in testEllipsizeAndMaxLinesForSingleLine()
3336 assertEquals(tvEllipsizeEnd.getHeight(), tvEllipsizeNone.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()
3338 assertEquals(tvEllipsizeEnd.getHeight(), tvNoMaxLine.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()
3340 assertEquals(tvEllipsizeEnd.getLayout().getLineBaseline(0), in testEllipsizeAndMaxLinesForSingleLine()
3343 assertEquals(tvEllipsizeEnd.getLayout().getLineBaseline(0), in testEllipsizeAndMaxLinesForSingleLine()
[all …]