Home
last modified time | relevance | path

Searched refs:messagingStyle (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Car/libs/car-assist-lib/src/com/android/car/assist/payloadhandlers/
DConversationPayloadHandler.java68 MessagingStyle messagingStyle = getMessagingStyle(conversation); in createNotificationFromConversation() local
77 .setStyle(messagingStyle) in createNotificationFromConversation()
131 MessagingStyle messagingStyle = in getMessagingStyle() local
133 messagingStyle.setGroupConversation(isGroupConversation(conversation)); in getMessagingStyle()
134 messagingStyle.setConversationTitle(conversation.getConversationTitle()); in getMessagingStyle()
136 messagingStyle.addMessage( in getMessagingStyle()
140 return messagingStyle; in getMessagingStyle()
DNotificationPayloadHandler.java83 MessagingStyle messagingStyle = NotificationCompat.MessagingStyle in getMessages() local
86 return messagingStyle == null ? new ArrayList<>() : messagingStyle.getMessages(); in getMessages()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DUtils.java83 MessagingStyle messagingStyle = notification.getMessagingStyle(); in getLatestMessage() local
87 for (MessagingStyleMessage message : messagingStyle.getMessagingStyleMsgList()) { in getLatestMessage()
135 private static boolean isValidMessagingStyle(MessagingStyle messagingStyle, in isValidMessagingStyle() argument
137 if (messagingStyle == null) { in isValidMessagingStyle()
140 } else if (messagingStyle.getConvoTitle() == null) { in isValidMessagingStyle()
143 } else if (messagingStyle.getUserDisplayName() == null) { in isValidMessagingStyle()
146 } else if (messagingStyle.getMessagingStyleMsgCount() == 0) { in isValidMessagingStyle()
151 for (MessagingStyleMessage message : messagingStyle.getMessagingStyleMsgList()) { in isValidMessagingStyle()
DConversationNotificationInfo.java77 MessagingStyle messagingStyle = conversation.getMessagingStyle(); in createConversationNotificationInfo() local
96 messagingStyle.getConvoTitle(), in createConversationNotificationInfo()
97 messagingStyle.getIsGroupConvo(), notificationKey, in createConversationNotificationInfo()
100 messagingStyle.getUserDisplayName(), in createConversationNotificationInfo()
DBaseNotificationDelegate.java223 NotificationCompat.MessagingStyle messagingStyle = new NotificationCompat.MessagingStyle( in postNotification() local
231 messagingStyle.addMessage( in postNotification()
241 messagingStyle.setConversationTitle(Utils.constructGroupConversationHeader( in postNotification()
257 messagingStyle.setGroupConversation(notificationInfo.isGroupConvo()); in postNotification()
277 builder.setStyle(messagingStyle); in postNotification()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/
DNotificationFragment.java266 MessagingStyle messagingStyle = in initMessagingStyleButtonForDiffPerson()
297 .setStyle(messagingStyle) in initMessagingStyleButtonForDiffPerson()
324 MessagingStyle messagingStyle = in initMessagingStyleButtonForSamePerson()
348 builder.setStyle(messagingStyle.addMessage( in initMessagingStyleButtonForSamePerson()
367 MessagingStyle messagingStyle = in initMessagingStyleButtonWithMuteAction()
396 builder.setStyle(messagingStyle.addMessage( in initMessagingStyleButtonWithMuteAction()
413 MessagingStyle messagingStyle = in initTestMessagesButton()
442 builder.setStyle(messagingStyle.addMessage( in initTestMessagesButton()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DMessageNotificationViewHolder.java113 final MessagingStyle messagingStyle = in bindBody() local
115 if (messagingStyle != null) conversationTitle = messagingStyle.getConversationTitle(); in bindBody()