Home
last modified time | relevance | path

Searched refs:trimToLengthWithEllipsis (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DTextUtilsTest.java870 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/
DBlobStoreConfig.java393 return TextUtils.trimToLengthWithEllipsis(description, in getTruncatedLeaseDescription()
/frameworks/base/core/java/android/app/
DNotificationChannel.java1571 String redactedName = redacted ? TextUtils.trimToLengthWithEllipsis(mName, 3) : mName; in dump()
/frameworks/base/core/java/android/text/
DTextUtils.java2378 public static <T extends CharSequence> T trimToLengthWithEllipsis(@Nullable T text, in trimToLengthWithEllipsis() method in TextUtils