Searched refs:tvEllipsizeEnd (Results 1 – 1 of 1) sorted by relevance
3234 final TextView tvEllipsizeEnd = new TextView(mActivity); in testEllipsizeAndMaxLinesForSingleLine() local3235 tvEllipsizeEnd.setEllipsize(TruncateAt.END); in testEllipsizeAndMaxLinesForSingleLine()3236 tvEllipsizeEnd.setMaxLines(1); in testEllipsizeAndMaxLinesForSingleLine()3237 tvEllipsizeEnd.setLineSpacing(0, 1.5f); in testEllipsizeAndMaxLinesForSingleLine()3238 tvEllipsizeEnd.setText("a\na"); in testEllipsizeAndMaxLinesForSingleLine()3244 layout.addView(tvEllipsizeEnd, layoutParams); in testEllipsizeAndMaxLinesForSingleLine()3254 assertEquals(tvEllipsizeEnd.getHeight(), tvEllipsizeNone.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()3256 assertEquals(tvEllipsizeEnd.getHeight(), tvNoMaxLine.getHeight()); in testEllipsizeAndMaxLinesForSingleLine()3258 assertEquals(tvEllipsizeEnd.getLayout().getLineBaseline(0), in testEllipsizeAndMaxLinesForSingleLine()3261 assertEquals(tvEllipsizeEnd.getLayout().getLineBaseline(0), in testEllipsizeAndMaxLinesForSingleLine()[all …]