HomeSort by relevance Sort by last modified time
    Searched refs:messagingStyle (Results 1 - 19 of 19) sorted by null

  /developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
MessagingIntentService.java 27 import androidx.core.app.NotificationCompat.MessagingStyle;
35 * user in a conversation. Notification for social app use MessagingStyle.
99 // Since we are adding to the MessagingStyle, we need to first retrieve the
100 // current MessagingStyle from the Notification itself.
102 MessagingStyle messagingStyle =
103 NotificationCompat.MessagingStyle.extractMessagingStyleFromNotification(
106 // Add new message to the MessagingStyle. Set last parameter to null for responses
108 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), (Person) null);
111 notification = notificationCompatBuilder.setStyle(messagingStyle).build()
    [all...]
NotificationsActivity.java 35 import androidx.core.app.NotificationCompat.MessagingStyle;
171 MessagingStyle messagingStyle =
172 new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getMe())
191 for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) {
192 messagingStyle.addMessage(message);
195 messagingStyle.setGroupConversation(messagingStyleCommsAppData.isGroupConversation());
265 .setStyle(messagingStyle)
  /developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
MessagingIntentService.java 25 import android.support.v4.app.NotificationCompat.MessagingStyle;
32 * user in a conversation. Notification for social app use MessagingStyle.
96 // Since we are adding to the MessagingStyle, we need to first retrieve the
97 // current MessagingStyle from the Notification itself.
99 MessagingStyle messagingStyle =
100 NotificationCompat.MessagingStyle.extractMessagingStyleFromNotification(
103 // Add new message to the MessagingStyle
104 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null);
107 notification = notificationCompatBuilder.setStyle(messagingStyle).build()
    [all...]
NotificationsActivity.java 34 import android.support.v4.app.NotificationCompat.MessagingStyle;
164 MessagingStyle messagingStyle =
165 new NotificationCompat.MessagingStyle(
175 for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) {
176 messagingStyle.addMessage(message);
235 .setStyle(messagingStyle)
  /developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
MessagingIntentService.java 29 import androidx.core.app.NotificationCompat.MessagingStyle;
44 * user in a conversation. Notification for social app use MessagingStyle.
108 // Since we are adding to the MessagingStyle, we need to first retrieve the
109 // current MessagingStyle from the Notification itself.
111 MessagingStyle messagingStyle =
112 NotificationCompat.MessagingStyle.extractMessagingStyleFromNotification(
115 // Add new message to the MessagingStyle. Set last parameter to null for responses
117 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), (Person) null);
120 notification = notificationCompatBuilder.setStyle(messagingStyle).build()
    [all...]
  /developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
MessagingIntentService.java 28 import androidx.core.app.NotificationCompat.MessagingStyle;
41 * user in a conversation. Notification for social app use MessagingStyle.
105 // Since we are adding to the MessagingStyle, we need to first retrieve the
106 // current MessagingStyle from the Notification itself.
108 MessagingStyle messagingStyle =
109 NotificationCompat.MessagingStyle.extractMessagingStyleFromNotification(
112 // Add new message to the MessagingStyle. Set last parameter to null for responses
114 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), (Person) null);
117 notification = notificationCompatBuilder.setStyle(messagingStyle).build()
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
MessagingIntentService.java 26 import android.support.v4.app.NotificationCompat.MessagingStyle;
40 * user in a conversation. Notification for social app use MessagingStyle.
108 // Since we are adding to the MessagingStyle, we need to first retrieve the
109 // current MessagingStyle from the Notification itself.
111 MessagingStyle messagingStyle =
112 NotificationCompat.MessagingStyle
115 // Add new message to the MessagingStyle
116 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null);
120 .setStyle(messagingStyle)
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/handlers/
MessagingIntentService.java 25 import android.support.v4.app.NotificationCompat.MessagingStyle;
38 * user in a conversation. Notification for social app use MessagingStyle.
106 // Since we are adding to the MessagingStyle, we need to first retrieve the
107 // current MessagingStyle from the Notification itself.
109 MessagingStyle messagingStyle =
110 NotificationCompat.MessagingStyle
113 // Add new message to the MessagingStyle
114 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null);
118 .setStyle(messagingStyle)
    [all...]
  /development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/handlers/
MessagingIntentService.java 25 import android.support.v4.app.NotificationCompat.MessagingStyle;
39 * user in a conversation. Notification for social app use MessagingStyle.
107 // Since we are adding to the MessagingStyle, we need to first retrieve the
108 // current MessagingStyle from the Notification itself.
110 MessagingStyle messagingStyle =
111 NotificationCompat.MessagingStyle
114 // Add new message to the MessagingStyle
115 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null);
119 .setStyle(messagingStyle)
    [all...]
  /development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/handlers/
MessagingIntentService.java 24 import android.support.v4.app.NotificationCompat.MessagingStyle;
37 * user in a conversation. Notification for social app use MessagingStyle.
105 // Since we are adding to the MessagingStyle, we need to first retrieve the
106 // current MessagingStyle from the Notification itself.
108 MessagingStyle messagingStyle =
109 NotificationCompat.MessagingStyle
112 // Add new message to the MessagingStyle
113 messagingStyle.addMessage(replyCharSequence, System.currentTimeMillis(), null);
117 .setStyle(messagingStyle)
    [all...]
  /cts/tests/app/src/android/app/cts/
NotificationTest.java 25 import android.app.Notification.MessagingStyle;
26 import android.app.Notification.MessagingStyle.Message;
280 MessagingStyle ms = new MessagingStyle(new Person.Builder().setName("Test name").build());
336 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle(user)
341 .setStyle(messagingStyle)
357 Notification.MessagingStyle messagingStyle = new Notification.MessagingStyle("self name"
    [all...]
  /developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/
MockIncomingMessageReceiver.java 107 NotificationCompat.MessagingStyle messagingStyle =
108 new android.support.v7.app.NotificationCompat.MessagingStyle("Me")
113 messagingStyle.addMessage(message.getText(), message.getSentTime(), senderId);
155 .setStyle(messagingStyle)
  /developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/
MockIncomingMessageReceiver.java 107 NotificationCompat.MessagingStyle messagingStyle =
108 new android.support.v7.app.NotificationCompat.MessagingStyle("Me")
113 messagingStyle.addMessage(message.getText(), message.getSentTime(), senderId);
155 .setStyle(messagingStyle)
  /development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/
StandaloneMainActivity.java 28 import android.support.v4.app.NotificationCompat.MessagingStyle;
586 MessagingStyle messagingStyle =
587 new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getReplayName())
595 for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) {
596 messagingStyle.addMessage(message);
681 .setStyle(messagingStyle)
    [all...]
  /developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/
MainActivity.java 40 import androidx.core.app.NotificationCompat.MessagingStyle;
682 MessagingStyle messagingStyle
    [all...]
  /developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
StandaloneMainActivity.java 36 import androidx.core.app.NotificationCompat.MessagingStyle;
647 MessagingStyle messagingStyle =
648 new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getMe())
666 for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) {
667 messagingStyle.addMessage(message);
670 messagingStyle.setGroupConversation(messagingStyleCommsAppData.isGroupConversation());
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/
MainActivity.java 29 import android.support.v4.app.NotificationCompat.MessagingStyle;
679 MessagingStyle messagingStyle
    [all...]
  /developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/
StandaloneMainActivity.java 30 import android.support.v4.app.NotificationCompat.MessagingStyle;
644 MessagingStyle messagingStyle =
645 new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getReplayName())
653 for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) {
654 messagingStyle.addMessage(message);
    [all...]
  /development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/
MainActivity.java 28 import android.support.v4.app.NotificationCompat.MessagingStyle;
641 MessagingStyle messagingStyle =
642 new NotificationCompat.MessagingStyle(messagingStyleCommsAppData.getReplayName())
650 for (MessagingStyle.Message message : messagingStyleCommsAppData.getMessages()) {
651 messagingStyle.addMessage(message);
    [all...]

Completed in 279 milliseconds