/frameworks/base/core/java/android/text/ |
D | BoringLayout.java | 82 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in make() argument 84 includePad, ellipsize, ellipsizedWidth); in make() 139 boolean includePad, TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in replaceOrMake() argument 142 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in replaceOrMake() 150 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, ellipsize, true, this), in replaceOrMake() 204 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in BoringLayout() argument 214 if (ellipsize == null || ellipsize == TextUtils.TruncateAt.MARQUEE) { in BoringLayout() 220 replaceWith(TextUtils.ellipsize(source, paint, ellipsizedWidth, ellipsize, true, this), in BoringLayout()
|
D | StaticLayout.java | 296 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() argument 297 mEllipsize = ellipsize; in setEllipsize() 481 TextUtils.TruncateAt ellipsize, int ellipsizedWidth) { in StaticLayout() argument 484 spacingmult, spacingadd, includepad, ellipsize, ellipsizedWidth, Integer.MAX_VALUE); in StaticLayout() 498 TextUtils.TruncateAt ellipsize, int ellipsizedWidth, int maxLines) { in StaticLayout() argument 499 super((ellipsize == null) in StaticLayout() 512 .setEllipsize(ellipsize) in StaticLayout() 527 if (ellipsize != null) { in StaticLayout() 532 e.mMethod = ellipsize; in StaticLayout() 605 TextUtils.TruncateAt ellipsize = b.mEllipsize; in generate() local [all …]
|
D | DynamicLayout.java | 220 public Builder setEllipsize(@Nullable TextUtils.TruncateAt ellipsize) { in setEllipsize() argument 221 mEllipsize = ellipsize; in setEllipsize() 341 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout() argument 346 Layout.JUSTIFICATION_MODE_NONE, ellipsize, ellipsizedWidth); in DynamicLayout() 367 @Nullable TextUtils.TruncateAt ellipsize, in DynamicLayout() argument 369 super(createEllipsizer(ellipsize, display), in DynamicLayout() 377 .setEllipsize(ellipsize); in DynamicLayout() 403 private static CharSequence createEllipsizer(@Nullable TextUtils.TruncateAt ellipsize, in createEllipsizer() argument 405 if (ellipsize == null) { in createEllipsizer()
|
D | TextUtils.java | 1272 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils 1275 return ellipsize(text, p, avail, where, false, null); in ellipsize() 1290 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils 1295 return ellipsize(text, paint, avail, where, preserveLength, callback, in ellipsize() 1313 public static CharSequence ellipsize(CharSequence text, in ellipsize() method in TextUtils 2309 return TextUtils.ellipsize(gettingCleaned.toString(), paint, ellipsizeDip, in makeSafeForPresentation()
|
D | Layout.java | 2340 private void ellipsize(int start, int end, int line, 2480 mLayout.ellipsize(start, end, i, dest, destoff, mMethod); in getChars()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 313 String out1 = TextUtils.ellipsize(s1, p, i, kind).toString(); in testEllipsize() 314 String out2 = TextUtils.ellipsize(s2, p, i, kind).toString(); in testEllipsize() 315 String out3 = TextUtils.ellipsize(s3, p, i, kind).toString(); in testEllipsize() 317 String keep1 = TextUtils.ellipsize(s1, p, i, kind, true, null).toString(); in testEllipsize() 318 String keep2 = TextUtils.ellipsize(s2, p, i, kind, true, null).toString(); in testEllipsize() 319 String keep3 = TextUtils.ellipsize(s3, p, i, kind, true, null).toString(); in testEllipsize() 355 TextUtils.ellipsize("MMMM", paint, 0.7f * wordWidth, in testEllipsize_multiCodepoint() 361 TextUtils.ellipsize("MMMM", paint, 0.7f * wordWidth, in testEllipsize_multiCodepoint() 367 TextUtils.ellipsize("MM", paint, 0.45f * wordWidth, in testEllipsize_multiCodepoint() 373 TextUtils.ellipsize("MM", paint, 0.45f * wordWidth, in testEllipsize_multiCodepoint() [all …]
|
D | StaticLayoutTest.java | 519 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument 524 ellipsize, in createEllipsizeStaticLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 128 String unsanitizedAppName = TextUtils.ellipsize(label, in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 1051 int ellipsize = ELLIPSIZE_NOT_SET; 1233 ellipsize = a.getInt(attr, ellipsize); 1573 if (singleLine && getKeyListener() == null && ellipsize == ELLIPSIZE_NOT_SET) { 1574 ellipsize = ELLIPSIZE_END; 1577 switch (ellipsize) { 13065 TruncateAt ellipsize = getEllipsize(); in encodeProperties() local 13066 stream.addProperty("text:ellipsize", ellipsize == null ? null : ellipsize.name()); in encodeProperties()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 807 return TextUtils.ellipsize(text, paint, maxWidth, in ellipsizeText()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 14869 HSPLandroid/text/Layout;->ellipsize(III[CILandroid/text/TextUtils$TruncateAt;)V 15138 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te… 15139 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te… 42613 HSPLandroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/te…
|
D | hiddenapi-greylist-max-o.txt | 70185 Landroid/text/Layout;->ellipsize(III[CILandroid/text/TextUtils$TruncateAt;)V 70993 Landroid/text/TextUtils;->ellipsize(Ljava/lang/CharSequence;Landroid/text/TextPaint;FLandroid/text/… 90183 Lcom/android/internal/R$attr;->ellipsize:I
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 526 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/non-updatable-api/ |
D | current.txt | 562 field public static final int ellipsize = 16842923; // 0x10100ab 47521 …method public static CharSequence ellipsize(CharSequence, android.text.TextPaint, float, android.t… 47522 …method public static CharSequence ellipsize(CharSequence, android.text.TextPaint, float, android.t…
|
/frameworks/base/api/ |
D | current.txt | 562 field public static final int ellipsize = 16842923; // 0x10100ab 47665 …method public static CharSequence ellipsize(CharSequence, android.text.TextPaint, float, android.t… 47666 …method public static CharSequence ellipsize(CharSequence, android.text.TextPaint, float, android.t…
|