Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DBoringLayout.java53 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in make() argument
56 includepad, ellipsize, ellipsizedWidth); in make()
91 TextUtils.TruncateAt ellipsize, in replaceOrMake() argument
95 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in replaceOrMake()
104 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, in replaceOrMake()
105 ellipsize, true, this), in replaceOrMake()
138 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in BoringLayout() argument
148 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in BoringLayout()
154 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, in BoringLayout()
155 ellipsize, true, this), in BoringLayout()
DStaticLayout.java255 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() argument
256 mEllipsize = ellipsize; in setEllipsize()
478 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) {
481 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth, Integer.MAX_VALUE);
492 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) {
493 super((ellipsize == null)
506 .setEllipsize(ellipsize)
516 if (ellipsize != null) {
521 e.mMethod = ellipsize;
590 TextUtils.TruncateAt ellipsize = b.mEllipsize;
[all …]
DDynamicLayout.java84 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in DynamicLayout() argument
88 Layout.JUSTIFICATION_MODE_NONE, ellipsize, ellipsizedWidth); in DynamicLayout()
105 int justificationMode, TextUtils.TruncateAt ellipsize, in DynamicLayout() argument
107 super((ellipsize == null) in DynamicLayout()
117 if (ellipsize != null) { in DynamicLayout()
120 mEllipsizeAt = ellipsize; in DynamicLayout()
142 if (ellipsize != null) { in DynamicLayout()
147 e.mMethod = ellipsize; in DynamicLayout()
157 if (ellipsize != null) { in DynamicLayout()
DTextUtils.java1100 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1103 return ellipsize(text, p, avail, where, false, null); in ellipsize()
1118 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
1123 return ellipsize(text, paint, avail, where, preserveLength, callback, in ellipsize()
1141 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils
DLayout.java2045 private void ellipsize(int start, int end, int line,
2143 mLayout.ellipsize(start, end, i, dest, destoff, mMethod);
/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java308 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize()
309 String out2 = TextUtils.ellipsize(s2, p, i, kind).toString(); in testEllipsize()
310 String out3 = TextUtils.ellipsize(s3, p, i, kind).toString(); in testEllipsize()
312 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize()
313 String keep2 = TextUtils.ellipsize(s2, p, i, kind, true, null).toString(); in testEllipsize()
314 String keep3 = TextUtils.ellipsize(s3, p, i, kind, true, null).toString(); in testEllipsize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaProjectionPermissionActivity.java123 String unsanitizedAppName = TextUtils.ellipsize(label, in onCreate()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java198 return TextUtils.ellipsize(labelStr, paint, MAX_LABEL_SIZE_PX, in loadSafeLabel()
/frameworks/support/design/src/android/support/design/widget/
DCollapsingTextHelper.java610 final CharSequence title = TextUtils.ellipsize(mText, mTextPaint, in calculateUsingTextSize()
/frameworks/base/core/java/android/widget/
DTextView.java984 int ellipsize = -1;
1156 ellipsize = a.getInt(attr, ellipsize);
1558 if (singleLine && getKeyListener() == null && ellipsize < 0) {
1559 ellipsize = 3; // END
1562 switch (ellipsize) {
11551 TruncateAt ellipsize = getEllipsize(); in encodeProperties() local
11552 stream.addProperty("text:ellipsize", ellipsize == null ? null : ellipsize.name()); in encodeProperties()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java804 return TextUtils.ellipsize(text, paint, maxWidth, in ellipsizeText()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt526 field public static final int ellipsize = 16842923; // 0x10100ab
29951 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
29952 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
/frameworks/base/api/
Dcurrent.txt538 field public static final int ellipsize = 16842923; // 0x10100ab
41431 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
41432 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
Dsystem-current.txt659 field public static final int ellipsize = 16842923; // 0x10100ab
44968 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…
44969 …method public static java.lang.CharSequence ellipsize(java.lang.CharSequence, android.text.TextPai…