Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DEditText.java131 public void setEllipsize(TextUtils.TruncateAt ellipsis) { in setEllipsize() argument
132 if (ellipsis == TextUtils.TruncateAt.MARQUEE) { in setEllipsize()
136 super.setEllipsize(ellipsis); in setEllipsize()
/frameworks/base/core/java/android/os/
DFileUtils.java262 public static String readTextFile(File file, int max, String ellipsis) throws IOException { in readTextFile() argument
276 if (ellipsis == null) return new String(data, 0, max); in readTextFile()
277 return new String(data, 0, max) + ellipsis; in readTextFile()
297 if (ellipsis == null || !rolled) return new String(last); in readTextFile()
298 return ellipsis + new String(last); in readTextFile()
/frameworks/base/core/java/android/text/
DTextUtils.java1112 TextDirectionHeuristic textDir, String ellipsis) { in ellipsize() argument
1130 float ellipsiswid = paint.measureText(ellipsis); in ellipsize()
1157 buf[left++] = ellipsis.charAt(0); in ellipsize()
1176 StringBuilder sb = new StringBuilder(remaining + ellipsis.length()); in ellipsize()
1178 sb.append(ellipsis); in ellipsize()
1185 ssb.append(ellipsis); in ellipsize()