Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DConversationNotifications.kt58 val messagingStyle = recoveredBuilder.style as? Notification.MessagingStyle ?: return null in <lambda>() constant
59 messagingStyle.conversationType = in <lambda>()
65 messagingStyle.shortcutIcon = launcherApps.getShortcutIcon(shortcutInfo) in <lambda>()
66 shortcutInfo.label?.let { label -> messagingStyle.conversationTitle = label } in <lambda>()
68 messagingStyle.unreadMessageCount = in <lambda>()
70 return messagingStyle in <lambda>()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java489 Notification.MessagingStyle messagingStyle = null; in doNotify() local
584 messagingStyle = new Notification.MessagingStyle( in doNotify()
586 builder.setStyle(messagingStyle); in doNotify()
626 if (messagingStyle == null) { in doNotify()
633 messagingStyle.addMessage(parts[1], System.currentTimeMillis(), in doNotify()
636 messagingStyle.addMessage(parts[0], System.currentTimeMillis(), in doNotify()
638 messagingStyle.getUserDisplayName().toString(), in doNotify()
640 }[messagingStyle.getMessages().size() % 2]); in doNotify()
644 if (messagingStyle == null) { in doNotify()
648 messagingStyle.setConversationTitle(getNextArgRequired()); in doNotify()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflater.kt58 messagingStyle: MessagingStyle?, in inflateSingleLineViewModel()
69 if (messagingStyle == null) { in inflateSingleLineViewModel()
77 val isGroupConversation = messagingStyle.isGroupConversation in inflateSingleLineViewModel()
79 val conversationTextData = messagingStyle.loadConversationTextData(systemUiContext) in inflateSingleLineViewModel()
88 messagingStyle.loadConversationAvatar( in inflateSingleLineViewModel()
DNotificationContentInflater.java201 Notification.MessagingStyle messagingStyle = null; in inflateNotificationViews() local
203 messagingStyle = mConversationProcessor in inflateNotificationViews()
209 messagingStyle, in inflateNotificationViews()
1178 Notification.MessagingStyle messagingStyle = null;
1180 messagingStyle = mConversationProcessor.processNotification(
1210 messagingStyle,
DNotificationRowContentBinderImpl.kt649 val messagingStyle = in <lambda>() constant
675 messagingStyle = messagingStyle, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/
DIconManagerTest.kt236 val messagingStyle = in notificationEntry() constant
248 n.style = messagingStyle in notificationEntry()
251 messagingStyle.addExtras(bundle, false, 0) // Set extras but not EXTRA_TEMPLATE in notificationEntry()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java252 final Notification.MessagingStyle messagingStyle = in testMessaging() local
255 assertEquals("Sonnet 18", messagingStyle.getConversationTitle()); in testMessaging()
256 final List<Notification.MessagingStyle.Message> messages = messagingStyle.getMessages(); in testMessaging()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewBinderTest.kt73 messagingStyle = null, in bindNonConversationSingleLineView()
DSingleLineConversationViewBinderTest.kt89 messagingStyle = style, in bindGroupConversationSingleLineView()
DSingleLineViewInflaterTest.kt376 val messagingStyle = builder.getMessagingStyle() in <lambda>() constant
380 if (isConversation) messagingStyle else null, in <lambda>()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java338 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation() local
344 .setStyle(messagingStyle) in messagingStyle_isGroupConversation()
347 assertTrue(messagingStyle.isGroupConversation()); in messagingStyle_isGroupConversation()
354 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation_noConversationTitle() local
360 .setStyle(messagingStyle) in messagingStyle_isGroupConversation_noConversationTitle()
363 assertTrue(messagingStyle.isGroupConversation()); in messagingStyle_isGroupConversation_noConversationTitle()
371 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation_withConversationTitle_legacy() local
377 .setStyle(messagingStyle) in messagingStyle_isGroupConversation_withConversationTitle_legacy()
380 assertTrue(messagingStyle.isGroupConversation()); in messagingStyle_isGroupConversation_withConversationTitle_legacy()
388 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name") in messagingStyle_isGroupConversation_withoutConversationTitle_legacy() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java154 public void messagingStyle() { in messagingStyle() method in HighPriorityProviderTest