Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DBoringLayout.java54 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in make() argument
57 includepad, ellipsize, ellipsizedWidth); in make()
92 TextUtils.TruncateAt ellipsize, in replaceOrMake() argument
96 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in replaceOrMake()
105 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, in replaceOrMake()
106 ellipsize, true, this), in replaceOrMake()
139 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in BoringLayout() argument
149 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in BoringLayout()
155 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, in BoringLayout()
156 ellipsize, true, this), in BoringLayout()
DStaticLayout.java89 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in StaticLayout() argument
92 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth, Integer.MAX_VALUE); in StaticLayout()
103 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() argument
104 super((ellipsize == null) in StaticLayout()
119 if (ellipsize != null) { in StaticLayout()
124 e.mMethod = ellipsize; in StaticLayout()
142 ellipsize); in StaticLayout()
163 TextUtils.TruncateAt ellipsize) { in generate() argument
414 chs, widths, paraStart, ellipsize, ellipsizedWidth, in generate()
463 widths, paraStart, ellipsize, in generate()
[all …]
DDynamicLayout.java79 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in DynamicLayout() argument
81 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth); in DynamicLayout()
98 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in DynamicLayout() argument
99 super((ellipsize == null) in DynamicLayout()
109 if (ellipsize != null) { in DynamicLayout()
112 mEllipsizeAt = ellipsize; in DynamicLayout()
131 if (ellipsize != null) { in DynamicLayout()
136 e.mMethod = ellipsize; in DynamicLayout()
146 if (ellipsize != null) { in DynamicLayout()
DTextUtils.java1048 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1051 return ellipsize(text, p, avail, where, false, null); in ellipsize()
1066 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1076 return ellipsize(text, paint, avail, where, preserveLength, callback, in ellipsize()
1094 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
DLayout.java1747 private void ellipsize(int start, int end, int line, in ellipsize() method
1836 mLayout.ellipsize(start, end, i, dest, destoff, mMethod); in getChars()
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java295 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize()
296 String out2 = TextUtils.ellipsize(s2, p, i, kind).toString(); in testEllipsize()
297 String out3 = TextUtils.ellipsize(s3, p, i, kind).toString(); in testEllipsize()
299 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize()
300 String keep2 = TextUtils.ellipsize(s2, p, i, kind, true, null).toString(); in testEllipsize()
301 String keep3 = TextUtils.ellipsize(s3, p, i, kind, true, null).toString(); in testEllipsize()
/frameworks/base/core/java/android/widget/
DTextView.java745 int ellipsize = -1; in TextView() local
904 ellipsize = a.getInt(attr, ellipsize); in TextView()
1211 if (singleLine && getKeyListener() == null && ellipsize < 0) { in TextView()
1212 ellipsize = 3; // END in TextView()
1215 switch (ellipsize) { in TextView()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java542 return TextUtils.ellipsize(text, paint, maxWidth, in ellipsizeText()
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd1899 ellipsize long content, but it will try to avoid breaking tags.
/frameworks/base/api/
Dcurrent.txt466 field public static final int ellipsize = 16842923; // 0x10100ab
24657 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
24658 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…