Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3228 final TextView tvEllipsizeNone = new TextView(mActivity); in testEllipsizeAndMaxLinesForSingleLine() local
3229 tvEllipsizeNone.setMaxLines(1); in testEllipsizeAndMaxLinesForSingleLine()
3230 tvEllipsizeNone.setLineSpacing(0, 1.5f); in testEllipsizeAndMaxLinesForSingleLine()
3231 tvEllipsizeNone.setText("a\na"); in testEllipsizeAndMaxLinesForSingleLine()
3245 layout.addView(tvEllipsizeNone, layoutParams); in testEllipsizeAndMaxLinesForSingleLine()
3254 assertEquals(tvEllipsizeEnd.getHeight(), tvEllipsizeNone.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()
3259 tvEllipsizeNone.getLayout().getLineBaseline(0)); in testEllipsizeAndMaxLinesForSingleLine()
3273 final TextView tvEllipsizeNone = new TextView(mActivity); in testEllipsizeAndMaxLinesForMultiLine() local
3274 tvEllipsizeNone.setMaxLines(2); in testEllipsizeAndMaxLinesForMultiLine()
3275 tvEllipsizeNone.setLineSpacing(0, 1.5f); in testEllipsizeAndMaxLinesForMultiLine()
[all …]