/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
D | Conversations.java | 63 private final List<String> messages; field in Conversations.Conversation 68 List<String> messages) { in Conversation() argument 71 this.messages = messages == null ? Collections.<String>emptyList() : messages; in Conversation() 84 return messages; in getMessages() 94 ", messages=" + messages + in toString() 115 List<String> messages = new ArrayList<>(messagesPerConversation); in makeMessages() local 117 messages.add(MESSAGES[ThreadLocalRandom.current().nextInt(0, maxLen)]); in makeMessages() 119 return messages; in makeMessages()
|
D | MessagingService.java | 123 for (Iterator<String> messages = conversation.getMessages().iterator(); in sendNotificationForConversation() 124 messages.hasNext(); ) { in sendNotificationForConversation() 125 String message = messages.next(); in sendNotificationForConversation() 128 if (messages.hasNext()) { in sendNotificationForConversation()
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
D | Conversations.java | 63 private final List<String> messages; field in Conversations.Conversation 68 List<String> messages) { in Conversation() argument 71 this.messages = messages == null ? Collections.<String>emptyList() : messages; in Conversation() 84 return messages; in getMessages() 94 ", messages=" + messages + in toString() 115 List<String> messages = new ArrayList<>(messagesPerConversation); in makeMessages() local 117 messages.add(MESSAGES[ThreadLocalRandom.current().nextInt(0, maxLen)]); in makeMessages() 119 return messages; in makeMessages()
|
D | MessagingService.java | 123 for (Iterator<String> messages = conversation.getMessages().iterator(); in sendNotificationForConversation() 124 messages.hasNext(); ) { in sendNotificationForConversation() 125 String message = messages.next(); in sendNotificationForConversation() 128 if (messages.hasNext()) { in sendNotificationForConversation()
|
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/ui/chat/ |
D | ChatViewModelTest.kt | 60 assertThat(viewModel.messages.observedValue()).hasSize(2) in <lambda>() 68 val messages = viewModel.messages.observedValue() in <lambda>() constant 69 assertThat(messages).hasSize(4) in <lambda>() 70 assertThat(messages[2].text).isEqualTo("a") in <lambda>() 71 assertThat(messages[3].text).isEqualTo("Meow") in <lambda>()
|
/developers/samples/android/notification/Bubbles/app/src/test/java/com/example/android/bubbles/data/ |
D | TestChatRepository.kt | 48 private val listener = { messages: List<Message> -> in <lambda>() method 49 postValue(messages) in <lambda>() 53 value = chat.messages in <lambda>()
|
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/data/ |
D | ChatRepository.kt | 85 private val listener = { messages: List<Message> -> in findMessages() method 86 postValue(messages) in findMessages() 90 value = chat.messages in findMessages()
|
D | Chat.kt | 28 val messages: List<Message> in <lambda>() constant in com.example.android.bubbles.data.Chat
|
D | NotificationHelper.kt | 138 val lastOutgoingId = chat.messages.last { !it.isIncoming }.id in <lambda>() 139 val newMessages = chat.messages.filter { message -> in <lambda>()
|
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/chat/ |
D | ChatFragment.kt | 111 val messages: RecyclerView = view.findViewById(R.id.messages) in <lambda>() constant 122 messages.run { in <lambda>() 144 viewModel.messages.observe(viewLifecycleOwner, Observer { in <lambda>()
|
D | ChatViewModel.kt | 65 val messages: LiveData<List<Message>> = Transformations.switchMap(chatId) { id -> in <lambda>() constant
|
/developers/build/prebuilts/gradle/MidiSynth/ |
D | README.md | 5 Sample demonstrating how to use the MIDI API to receive and play MIDI messages coming from an 12 an Android device and process MIDI messages coming from it. 18 - Receiving and processing MIDI messages
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
D | MockDatabase.java | 190 Collection<Message> messages = getAllMessagesForChat(context, chat.getId()); in saveMessage() local 191 messages.add(message); in saveMessage() 194 context, chat, new ArrayList<>(messages)); in saveMessage()
|
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/mock/ |
D | MockDatabase.java | 190 Collection<Message> messages = getAllMessagesForChat(context, chat.getId()); in saveMessage() local 191 messages.add(message); in saveMessage() 194 context, chat, new ArrayList<>(messages)); in saveMessage()
|
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
D | SharedPreferencesHelper.java | 157 Context context, Chat chat, List<Message> messages) { in writeMessagesForChatToJsonPref() argument 158 setList(context, messages, Constants.PREFS_MESSAGE_PREFIX + chat.getId()); in writeMessagesForChatToJsonPref()
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/util/ |
D | SharedPreferencesHelper.java | 157 Context context, Chat chat, List<Message> messages) { in writeMessagesForChatToJsonPref() argument 158 setList(context, messages, Constants.PREFS_MESSAGE_PREFIX + chat.getId()); in writeMessagesForChatToJsonPref()
|
/developers/build/prebuilts/gradle/WearMessagingApp/ |
D | README.md | 6 chat list, send messages, message style notification, and sign-in with Google. 40 - Handles incoming messages from a mocked back end server. 41 - Replies to messages from a notification
|
/developers/samples/android/deprecated/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
D | ChatAdapter.java | 151 public void addMessages(Collection<Message> messages) { in addMessages() argument 157 for (Message message : messages) { in addMessages()
|
/developers/build/prebuilts/gradle/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
D | ChatAdapter.java | 151 public void addMessages(Collection<Message> messages) { in addMessages() argument 157 for (Message message : messages) { in addMessages()
|
/developers/build/templates/create/_MODULE_/src/androidTest/java/_PACKAGE_/test/ |
D | SampleTests.java.ftl | 51 //Try to add a message to add context to your assertions. These messages will be shown if
|
/developers/build/prebuilts/gradle/JobScheduler/kotlinApp/ |
D | README.md | 13 launched again in 10 seconds (logcat will show debug messages).
|
/developers/samples/android/background/JobScheduler/kotlinApp/ |
D | README.md | 13 launched again in 10 seconds (logcat will show debug messages).
|