Searched refs:spannableStringBuilder (Results 1 – 2 of 2) sorted by relevance
993 final SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); in formatInboxMessage() local995 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 …]
59 SpannableStringBuilder spannableStringBuilder = new SpannableStringBuilder(); in format() local71 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()