Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java493 final SpannableStringBuilder spanBuilder = new SpannableStringBuilder(); in MultiMessageNotificationState() local
495 spanBuilder.append(mContent).append(System.getProperty("line.separator")); in MultiMessageNotificationState()
497 final int start = spanBuilder.length(); in MultiMessageNotificationState()
498 spanBuilder.append(attachment); in MultiMessageNotificationState()
499 spanBuilder.setSpan(new StyleSpan(Typeface.ITALIC), start, spanBuilder.length(), in MultiMessageNotificationState()
501 mContent = spanBuilder; in MultiMessageNotificationState()
933 final SpannableStringBuilder spanBuilder = in createConversationInfoList() local
936 spanBuilder.append(context.getString(R.string.notification_subject, in createConversationInfoList()
938 spanBuilder.setSpan(new TextAppearanceSpan( in createConversationInfoList()
944 spanBuilder.append(System.getProperty("line.separator") + text); in createConversationInfoList()
[all …]
DBugleNotifications.java1041 final SpannableStringBuilder spanBuilder = new SpannableStringBuilder(); in buildBoldedMessage() local
1045 spanBuilder.append(title); in buildBoldedMessage()
1046 spanBuilder.setSpan(new StyleSpan(Typeface.BOLD), 0, title.length(), in buildBoldedMessage()
1050 if (spanBuilder.length() > 0) { in buildBoldedMessage()
1051 spanBuilder.append(context.getString(separatorId)); in buildBoldedMessage()
1053 spanBuilder.append(message); in buildBoldedMessage()
1056 if (spanBuilder.length() > 0) { in buildBoldedMessage()
1058 spanBuilder.append(separator); in buildBoldedMessage()
1060 spanBuilder.append(formatAttachmentTag(null, attachmentType)); in buildBoldedMessage()
1062 return spanBuilder; in buildBoldedMessage()