Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java317 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize() local
321 String trim1 = keep1.replace("\uFEFF", ""); in testEllipsize()
328 assertEquals("wid " + i + " pass " + j, keep1, keep2); in testEllipsize()
335 assertEquals("wid " + i + " pass " + j, keep1.length(), s1.length()); in testEllipsize()
341 assertTrue("wid " + i + " pass " + j, p.measureText(keep1) == p.measureText(out1)); in testEllipsize()