Searched refs:normalizeBigText (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | NotificationBigTextNormalizerTest.java | 45 assertEquals("", NotificationBigTextNormalizer.normalizeBigText("")); in testEmptyInput() 50 assertEquals("", NotificationBigTextNormalizer.normalizeBigText("\n")); in testSingleNewline() 55 assertEquals("", NotificationBigTextNormalizer.normalizeBigText("\n\n\n\n\n")); in testMultipleConsecutiveNewlines() 63 assertEquals(expected, NotificationBigTextNormalizer.normalizeBigText(input)); in testNewlinesWithSpacesAndTabs() 70 assertEquals(expected, NotificationBigTextNormalizer.normalizeBigText(input)); in testMixedNewlineCharacters() 76 assertEquals("This is a test.", NotificationBigTextNormalizer.normalizeBigText("This" in testConsecutiveSpaces() 79 assertEquals("This is a test.", NotificationBigTextNormalizer.normalizeBigText("This" in testConsecutiveSpaces() 84 assertEquals("This is a test.", NotificationBigTextNormalizer.normalizeBigText("This" in testConsecutiveSpaces() 88 assertEquals("This is a test.", NotificationBigTextNormalizer.normalizeBigText("This" in testConsecutiveSpaces() 101 assertEquals(expected, NotificationBigTextNormalizer.normalizeBigText(input)); in testZeroWidthCharRemoval() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationBigTextNormalizer.java | 43 public static String normalizeBigText(@NonNull String text) { in normalizeBigText() method in NotificationBigTextNormalizer
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 3234 private static CharSequence normalizeBigText(@Nullable CharSequence charSequence) { in normalizeBigText() method in Notification 3239 return NotificationBigTextNormalizer.normalizeBigText(charSequence.toString()); in normalizeBigText() 8538 bigTextText = normalizeBigText(stripStyling(bigTextText)); in makeBigContentView()
|