Home
last modified time | relevance | path

Searched refs:ellipsize (Results 1 – 12 of 12) 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 ellipsizedWidth, ellipsize); in StaticLayout()
163 float ellipsizedWidth, TextUtils.TruncateAt ellipsize) { in generate() argument
418 ellipsize, ellipsizedWidth, okWidth, in generate()
434 ellipsize, ellipsizedWidth, fitWidth, in generate()
[all …]
DDynamicLayout.java77 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in DynamicLayout() argument
79 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth); in DynamicLayout()
96 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in DynamicLayout() argument
97 super((ellipsize == null) in DynamicLayout()
107 if (ellipsize != null) { in DynamicLayout()
110 mEllipsizeAt = ellipsize; in DynamicLayout()
129 if (ellipsize != null) { in DynamicLayout()
134 e.mMethod = ellipsize; in DynamicLayout()
144 if (ellipsize != null) { in DynamicLayout()
DTextUtils.java1022 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1025 return ellipsize(text, p, avail, where, false, null); in ellipsize()
1040 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1045 return ellipsize(text, paint, avail, where, preserveLength, callback, in ellipsize()
1063 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
DLayout.java1668 private void ellipsize(int start, int end, int line, in ellipsize() method
1757 mLayout.ellipsize(start, end, i, dest, destoff); 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/docs/html/resources/articles/
Dlayout-tricks-efficiency.jd75 android:ellipsize="marquee"
117 android:ellipsize="marquee"
/frameworks/base/core/java/android/webkit/
DWebTextView.java445 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, in WebTextViewLayout() argument
448 includepad, ellipsize, ellipsizedWidth); in WebTextViewLayout()
/frameworks/base/core/java/android/widget/
DTextView.java546 int ellipsize = -1; in TextView() local
707 ellipsize = a.getInt(attr, ellipsize); in TextView()
1021 if (singleLine && mInput == null && ellipsize < 0) { in TextView()
1022 ellipsize = 3; // END in TextView()
1025 switch (ellipsize) { in TextView()
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java397 return TextUtils.ellipsize(text, paint, maxWidth, in ellipsizeText()
/frameworks/base/api/
Dcurrent.txt411 field public static final int ellipsize = 16842923; // 0x10100ab
20280 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
20281 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
D14.txt411 field public static final int ellipsize = 16842923; // 0x10100ab
20280 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
20281 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…