Home
last modified time | relevance | path

Searched refs:spannableStringBuilder (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java993 final SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); in formatInboxMessage() local
995 spannableStringBuilder.append(sender); in formatInboxMessage()
996 spannableStringBuilder.setSpan(notificationSenderSpan, 0, sender.length(), 0); in formatInboxMessage()
1001 if (spannableStringBuilder.length() > 0) { in formatInboxMessage()
1002 spannableStringBuilder.append(separator); in formatInboxMessage()
1004 final int start = spannableStringBuilder.length(); in formatInboxMessage()
1005 spannableStringBuilder.append(message); in formatInboxMessage()
1006 spannableStringBuilder.setSpan(notificationTertiaryText, start, in formatInboxMessage()
1010 if (spannableStringBuilder.length() > 0) { in formatInboxMessage()
1011 spannableStringBuilder.append(separator); in formatInboxMessage()
[all …]
/packages/apps/Dialer/java/com/android/dialer/i18n/
DDialerBidiFormatter.java59 SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); in format() local
71 spannableStringBuilder.append(text.subSequence(currIndex, start)); in format()
76 spannableStringBuilder.append( in format()
86 spannableStringBuilder.append(text.subSequence(currIndex, text.length())); in format()
89 return new SpannedString(spannableStringBuilder); in format()