Searched refs:trimToLengthWithEllipsis (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextUtilsTest.java | 870 assertEquals("ABC...", TextUtils.trimToLengthWithEllipsis("ABCDEF", 3)); in testTrimToLengthWithEllipsis() 871 assertEquals("ABC", TextUtils.trimToLengthWithEllipsis("ABC", 3)); in testTrimToLengthWithEllipsis() 872 assertEquals("", TextUtils.trimToLengthWithEllipsis("", 3)); in testTrimToLengthWithEllipsis() 873 assertNull(TextUtils.trimToLengthWithEllipsis(null, 3)); in testTrimToLengthWithEllipsis()
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreConfig.java | 393 return TextUtils.trimToLengthWithEllipsis(description, in getTruncatedLeaseDescription()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 1571 String redactedName = redacted ? TextUtils.trimToLengthWithEllipsis(mName, 3) : mName; in dump()
|
/frameworks/base/core/java/android/text/ |
D | TextUtils.java | 2378 public static <T extends CharSequence> T trimToLengthWithEllipsis(@Nullable T text, in trimToLengthWithEllipsis() method in TextUtils
|