/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
Conversations.java | 25 * A simple class that denotes unread conversations and messages. In a real world application, 29 public class Conversations { 99 private Conversations() { 104 Conversation[] conversations = new Conversation[howManyConversations]; local 106 conversations[i] = new Conversation( 110 return conversations;
|
MessagingService.java | 81 Conversations.Conversation[] conversations = Conversations.getUnreadConversations( local 83 for (Conversations.Conversation conv : conversations) { 88 private void sendNotificationForConversation(Conversations.Conversation conversation) {
|
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
Conversations.java | 25 * A simple class that denotes unread conversations and messages. In a real world application, 29 public class Conversations { 99 private Conversations() { 104 Conversation[] conversations = new Conversation[howManyConversations]; local 106 conversations[i] = new Conversation( 110 return conversations;
|
MessagingService.java | 81 Conversations.Conversation[] conversations = Conversations.getUnreadConversations( local 83 for (Conversations.Conversation conv : conversations) { 88 private void sendNotificationForConversation(Conversations.Conversation conversation) {
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
Conversations.java | 25 * A simple class that denotes unread conversations and messages. In a real world application, 29 public class Conversations { 99 private Conversations() { 104 Conversation[] conversations = new Conversation[howManyConversations]; local 106 conversations[i] = new Conversation( 110 return conversations;
|
MessagingService.java | 81 Conversations.Conversation[] conversations = Conversations.getUnreadConversations( local 83 for (Conversations.Conversation conv : conversations) { 88 private void sendNotificationForConversation(Conversations.Conversation conversation) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationCursor.java | 463 // conversations in pieces. 734 * Returns the conversation uris for the Conversations that the ConversationCursor is treating 760 * cache. Notably, conversations which are marked as deleted in the cache but which haven't yet [all...] |
SelectedConversationsActionMenu.java | 61 * ContextMode} specific to operating on a set of conversations. 69 * The set of conversations to display the menu for. 263 final Collection<Conversation> conversations = mCheckedSet.values(); local 285 final CharSequence message = Utils.formatPlural(mContext, resId, conversations.size()); 292 destroy(action, conversations, mUpdater.getDeferredBatchAction(action, undoCallback)); 297 * Destroy these conversations through the conversation updater 299 * @param target conversations to destroy 309 * Marks the read state of currently selected conversations (<b>and</b> the backing storage) 311 * @param read is true if the conversations are to be marked as read, false if they are to be 316 // The conversations are marked read but not viewed 367 final Collection<Conversation> conversations = mCheckedSet.values(); local [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
AbstractConversationListActivity.java | 113 public void onActionBarDelete(final Collection<SelectedConversation> conversations) { 138 conversations.size())) 144 for (final SelectedConversation conversation : conversations) { 157 public void onActionBarArchive(final Iterable<SelectedConversation> conversations, 160 for (final SelectedConversation conversation : conversations) { 193 public void onActionBarNotification(final Iterable<SelectedConversation> conversations, 195 for (final SelectedConversation conversation : conversations) {
|
MultiSelectActionModeCallback.java | 37 void onActionBarDelete(Collection<SelectedConversation> conversations); 38 void onActionBarArchive(Iterable<SelectedConversation> conversations, 40 void onActionBarNotification(Iterable<SelectedConversation> conversations, 178 // ParticipantNormalizedDestination is always null for group conversations. 191 final Iterable<SelectedConversation> conversations = mSelectedConversations.values(); local 192 for (final SelectedConversation conversation : conversations) { 211 // If we have notification off conversations we show on button, if we have notification on
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationUpdater.java | 37 * Classes that can update conversations implement this interface. 83 * @param target the conversations to act upon. 84 * @param action to perform after the UI has been updated to remove the conversations 92 * Mark a number of conversations as read or unread. 93 * @param targets the conversations to act upon 94 * @param read true if the conversations are marked read, false if they are marked unread. 95 * @param viewed whether the conversations are marked viewed as well. This indicates that the 96 * conversations are shown on the UI. 130 * Get a destructive action for selected conversations. The action corresponds to Menu item 138 * Get a destructive action for selected conversations. The action corresponds to Menu ite [all...] |
ConversationCheckedSet.java | 39 * A simple thread-safe wrapper over a set of conversations representing a 83 Parcelable[] conversations = source.readParcelableArray(loader); local 84 for (Parcelable parceled : conversations) { 234 * Returns the number of conversations that are currently selected 235 * @return the number of selected conversations. 274 * Puts all conversations given in the input argument into the selection set. If there are 275 * any listeners they are notified once after adding <em>all</em> conversations to the selection 310 * Iterates through a cursor of conversations and ensures that the current set is present 311 * within the result set denoted by the cursor. Any conversations not foun in the result set 325 // First ask the ConversationCursor for the list of conversations that have been delete [all...] |
AnimatedAdapter.java | 194 * A list of all views that are not conversations. These include temporary views from 202 * Temporary views insert at specific positions relative to conversations. These can be 427 * Deletes the selected conversations from the conversation list view with a 428 * translation and then a shrink. These conversations <b>must</b> have their 429 * {@link Conversation#position} set to the position of these conversations 434 * @param conversations 437 public void swipeDelete(Collection<Conversation> conversations, 439 delete(conversations, listener, mSwipeDeletingItems); 444 * Deletes the selected conversations from the conversation list view by 445 * shrinking them away. These conversations <b>must</b> have thei [all...] |
ConversationListFragment.java | 132 * A simple method to update the timestamps of conversations periodically. 792 // There are no checked conversations when in conversation list mode. [all...] |
SwipeableListView.java | 320 LogUtils.e(LOG_TAG, "SwipeableListView.destroyItems: null conversations."); 386 public void onListItemSwiped(Collection<Conversation> conversations);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
ReadWriteDraftMessageActionTest.java | 227 final Cursor conversations = db.query(DatabaseHelper.CONVERSATIONS_TABLE, local 231 if (conversations.moveToFirst()) { 232 final String conversationId = conversations.getString(0); 271 assertEquals("Draft self differs", conversations.getString(1), 276 fail("No conversations in database");
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
MockUiProvider.java | 90 final ArrayList<Map<String, Object>> conversations = new ArrayList<Map<String, Object>>(); local 93 conversations.add(createConversationDetailsMap(accountId, name.hashCode(), 97 conversations); local 102 resultMap.put(conversations.get(0).get(ConversationColumns.MESSAGE_LIST_URI).toString(), 112 resultMap.put(conversations.get(1).get(ConversationColumns.MESSAGE_LIST_URI).toString(),
|