HomeSort by relevance Sort by last modified time
    Searched full:commaellipsize (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java 87 method = "commaEllipsize",
90 @ToBeFixed(bug = "1688347 ", explanation = "The javadoc for commaEllipsize() " +
99 // in the javadoc of commaEllipsize().
101 TextUtils.commaEllipsize(text, p, textWidth - 1.4f, "plus 1", "%d plus").toString());
104 TextUtils.commaEllipsize(text, p, textWidth, "plus 1", "%d plus").toString());
109 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString());
114 TextUtils.commaEllipsize(text, p, textWidth, "more 1", "%d more").toString());
117 assertEquals("long, string, to, more 1", TextUtils.commaEllipsize(
121 assertEquals("", TextUtils.commaEllipsize(text, p, -1f, "plus 1", "%d plus").toString());
123 assertEquals(text, TextUtils.commaEllipsize(
    [all...]
  /frameworks/base/core/java/android/text/
TextUtils.java     [all...]

Completed in 151 milliseconds