Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java188 assertTrue(layout.getEllipsisCount(0) == 0); in testBuilder()
189 assertTrue(layout.getEllipsisCount(5) > 0); in testBuilder()
198 assertTrue(layout.getEllipsisCount(0) > 0); in testBuilder()
393 assertTrue(mDefaultLayout.getEllipsisCount(0) == 0); in testGetEllipsisCount()
394 assertTrue(mDefaultLayout.getEllipsisCount(1) == 0); in testGetEllipsisCount()
395 assertTrue(mDefaultLayout.getEllipsisCount(2) == 0); in testGetEllipsisCount()
396 assertTrue(mDefaultLayout.getEllipsisCount(3) == 0); in testGetEllipsisCount()
397 assertTrue(mDefaultLayout.getEllipsisCount(4) == 0); in testGetEllipsisCount()
398 assertTrue(mDefaultLayout.getEllipsisCount(5) == 0); in testGetEllipsisCount()
401 mDefaultLayout.getEllipsisCount(-1); in testGetEllipsisCount()
[all …]
DBoringLayoutTest.java119 assertEquals(0, mBoringLayout.getEllipsisCount(0)); in testPreconditions()
121 assertEquals(1, mBoringLayout.getEllipsisCount(0)); in testPreconditions()
DDynamicLayoutTest.java99 assertEquals(0, dynamicLayout.getEllipsisCount(LINE1)); in testEllipsis()
DLayoutTest.java299 public int getEllipsisCount(int line) { in getEllipsisCount() method in LayoutTest.MockLayout