Searched refs:ellipsize (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | TextUtilsTest.java | 82 String re = TextUtils.ellipsize(text, p, width, TruncateAt.START).toString(); in getEllipsis() 336 TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize() 340 TextUtils.ellipsize(text, p, textWidth, TruncateAt.END).toString()); in testEllipsize() 344 TextUtils.ellipsize(text, p, textWidth, TruncateAt.MIDDLE).toString()); in testEllipsize() 350 TextUtils.ellipsize(text, p, textWidth, TruncateAt.MARQUEE).toString()); in testEllipsize() 353 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.END).toString()); in testEllipsize() 354 assertEquals("", TextUtils.ellipsize(text, p, textWidth - 1, TruncateAt.END).toString()); in testEllipsize() 355 assertEquals("", TextUtils.ellipsize(text, p, -1f, TruncateAt.END).toString()); in testEllipsize() 357 TextUtils.ellipsize(text, p, Float.MAX_VALUE, TruncateAt.END).toString()); in testEllipsize() 359 assertEquals("", TextUtils.ellipsize(text, p, textWidth, TruncateAt.START).toString()); in testEllipsize() [all …]
|
D | StaticLayoutTest.java | 85 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument 90 ellipsize, in createEllipsizeStaticLayout()
|