/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
H A D | ReadDraftDataAction.java | 42 final ConversationListItemData conversation); 74 public final ConversationListItemData conversation; field in class:ReadDraftDataAction.DraftData 76 DraftData(final MessageData message, final ConversationListItemData conversation) { argument 78 this.conversation = conversation; 87 final ConversationListItemData conversation = 90 if (conversation != null) { 93 conversation.getSelfId()); 96 message = MessageData.createDraftMessage(conversationId, conversation.getSelfId(), 100 + " selfId=" + conversation 40 onReadDraftDataSucceeded(final ReadDraftDataAction action, final Object data, final MessageData message, final ConversationListItemData conversation) argument [all...] |
H A D | WriteDraftMessageAction.java | 56 // In this case, we just use the conversation's current self id as draft's 58 final ConversationListItemData conversation = 60 if (conversation != null) { 61 final String senderAndSelf = conversation.getSelfId();
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemViewModel.java | 43 * This is the view model for the conversation header. It includes all the 44 * information needed to layout a conversation header view. Each view model is 45 * associated with a conversation and is cached to improve the relayout time. 59 // The hashcode used to detect if the conversation has changed. 104 public Conversation conversation; field in class:ConversationItemViewModel 121 * The email address and name of the sender whose avatar will be drawn as a conversation icon. 137 * Returns the view model for a conversation. If the model doesn't exist for this conversation 140 * @param account the account contains this conversation 141 * @param conversationId the Id of this conversation [all...] |
H A D | SwipeableConversationItemView.java | 55 public void bind(final Conversation conversation, final ControllableActivity activity, argument 60 mConversationItemView.bind(conversation, activity, set, folder, checkboxOrSenderImage,
|
H A D | ConversationItemView.java | 173 /** When in conversation mode, true if the list is hidden */ 217 * A listener for clicks on the various areas of a conversation item. 238 * Handles displaying folders in a conversation header view. 469 public void bind(final Conversation conversation, final ControllableActivity activity, argument 475 bind(ConversationItemViewModel.forConversation(mAccount.getEmailAddress(), conversation), 512 final boolean newlyBound = header.conversation.id != mHeader.conversation.id; 513 // If this was previously bound to a different conversation, remove any contact photo 567 mHeader.folderDisplayer.loadConversationFolders(mHeader.conversation, 574 mHeader.conversation [all...] |
H A D | ConversationCursor.java | 72 * ConversationCursor is a wrapper around a conversation list cursor that provides update/delete 260 public Conversation conversation; field in class:ConversationCursor.UnderlyingRowData 262 public UnderlyingRowData(String innerUri, Conversation conversation) { argument 264 this.conversation = conversation; 310 if (rowData.conversation == null) { 314 rowData.conversation = new Conversation( 343 // the Conversation objects are being pre-cached, and the conversation maps are 370 // conversationId -> position, but the cached values uses the conversation 415 LogUtils.e(LOG_TAG, "Inserting duplicate conversation ur 525 cacheConversation(Conversation conversation) argument 2028 updateBoolean(Conversation conversation, String columnName, boolean value) argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | TwoPaneController.java | 70 * 2-pane, in wider configurations, allows peeking at a conversation view without having the 71 * conversation marked-as-read as far as read/unread state goes.<br> 74 * that the current conversation, if set, is in a 'peeking' state. If there is no current 75 * conversation, peeking is implied (in certain view configurations) and this value is 81 * When rotating from land->port->back to land while peeking at a conversation, typically we 82 * would lose the pointer to the conversation being seen in portrait (because in port, we're in 84 * expectation is that the original peek conversation should appear. 86 * <p>So save the previous peeking conversation (if any) when restoring in portrait so that a 92 * The conversation to show (and any extra information about its presentation, like how it was 128 sb.append(mToShow.conversation); 271 restoreConversation(Conversation conversation) argument 545 showConversationWithPeek(Conversation conversation, boolean peek) argument 554 showConversation(Conversation conversation, boolean peek, boolean fromKeyboard) argument 617 onConversationSelected(Conversation conversation, boolean inLoaderCallbacks) argument 630 onConversationFocused(Conversation conversation) argument 637 setCurrentConversation(Conversation conversation) argument 664 onConversationViewSwitched(Conversation conversation) argument 992 public final Conversation conversation; field in class:TwoPaneController.ToShow [all...] |
H A D | ConversationCheckedSet.java | 40 * selection set (e.g. in a conversation list). This class dispatches changes 67 /** Map of conversation ID to conversation objects. Every selected conversation is here. */ 85 Conversation conversation = (Conversation) parceled; 86 put(conversation.id, conversation); 119 * Returns true if the given key exists in the conversation selection set. This assumes 120 * the internal representation holds conversation.id values. 121 * @param key the id of the conversation 135 contains(Conversation conversation) argument 249 toggle(Conversation conversation) argument [all...] |
H A D | ConversationListCallbacks.java | 34 * Show the conversation provided here. If the conversation is null, this is a request to pop 35 * <em>out</em> of conversation view mode and head back to conversation list mode, or whatever 37 * @param conversation conversation to display, possibly null. 41 void onConversationSelected(Conversation conversation, boolean inLoaderCallbacks); argument 44 * Possibly show the conversation provided here depending on implementation. 47 void onConversationFocused(Conversation conversation); argument 66 * Returns whether the initial conversation ha [all...] |
H A D | ConversationPositionTracker.java | 29 * An iterator over a conversation list that keeps track of the position of a conversation, and 30 * updates the position accordingly when the underlying list data changes and the conversation 44 /** The currently selected conversation */ 50 * Constructs a position tracker that doesn't point to any specific conversation. 56 /** Move cursor to a specific position and return the conversation there */ 78 * @return the {@link Conversation} of the newer conversation by one position. If no such 79 * conversation exists, this method returns null. 86 // Walk backward from the existing position, trying to find a conversation that is not a 100 * @return the {@link Conversation} of the older conversation b 128 initialize(Conversation conversation) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
H A D | AbstractConversationListActivity.java | 144 for (final SelectedConversation conversation : conversations) { 146 conversation.conversationId, 147 conversation.timestamp); 160 for (final SelectedConversation conversation : conversations) { 161 final String conversationId = conversation.conversationId; 195 for (final SelectedConversation conversation : conversations) { 197 conversation.conversationId, isNotificationOn); 210 public void onActionBarAddContact(final SelectedConversation conversation) { argument 212 if (conversation.icon != null) { 213 avatarUri = Uri.parse(conversation 224 onActionBarBlock(final SelectedConversation conversation) argument [all...] |
H A D | MultiSelectActionModeCallback.java | 42 void onActionBarAddContact(final SelectedConversation conversation); argument 43 void onActionBarBlock(final SelectedConversation conversation); argument 173 final SelectedConversation conversation = mSelectedConversations.valueAt(0); 176 final boolean isInContacts = !TextUtils.isEmpty(conversation.participantLookupKey); 177 mAddContactMenuItem.setVisible(!conversation.isGroup && !isInContacts); 179 final String otherParticipant = conversation.otherParticipantNormalizedDestination; 192 for (final SelectedConversation conversation : conversations) { 193 if (conversation.notificationEnabled) { 199 if (conversation.isArchived) { 212 // conversation w [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | NotificationActionUtils.java | 89 final Conversation conversation, final Message message) { 118 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message); argument 168 public int getActionIconResId(final Folder folder, final Conversation conversation, argument 170 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation, 178 public int getDisplayStringResId(final Folder folder, final Conversation conversation, argument 180 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation, 201 final Conversation conversation, final Message message, 209 context, account, conversation, message, 211 final int actionIconResId = notificationAction.getActionIconResId(folder, conversation, 214 folder, conversation, messag 198 addNotificationActions(final Context context, final Intent notificationIntent, final NotificationCompat.Builder notification, NotificationCompat.WearableExtender wearExtender, final Account account, final Conversation conversation, final Message message, final Folder folder, final int notificationId, final long when, final Set<String> notificationActions) argument 349 getNotificationActionPendingIntent(final Context context, final Account account, final Conversation conversation, final Message message, final Folder folder, final Intent notificationIntent, final NotificationActionType action, final int notificationId, final long when) argument 418 getWearNotificationActionPendingIntent(final Context context, final Account account, final Conversation conversation, final Message message, final Folder folder, final Intent notificationIntent, final NotificationActionType action, final int notificationId, final long when) argument 497 NotificationAction(final NotificationActionType notificationActionType, final Account account, final Conversation conversation, final Message message, final Folder folder, final long conversationId, final String messageId, final long localMessageId, final long when, final int source, final int notificationId) argument [all...] |
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
H A D | ConversationActivityUiStateTest.java | 17 package com.android.messaging.ui.conversation; 24 import com.android.messaging.ui.conversation.ConversationActivityUiState; 25 import com.android.messaging.ui.conversation.ConversationActivityUiState.ConversationActivityUiStateHost; 58 * Test the Ui state where we have both the chips view and the conversation view and we 79 * Test the Ui state where we have both the chips view and the conversation view and we 112 // After adding more contacts, the terminal state is always conversation only (i.e. we
|
H A D | ConversationMessageViewTest.java | 17 package com.android.messaging.ui.conversation; 29 import com.android.messaging.ui.conversation.ConversationMessageView; 30 import com.android.messaging.ui.conversation.ConversationMessageView.ConversationMessageViewHost;
|
H A D | ConversationFragmentTest.java | 17 package com.android.messaging.ui.conversation; 37 import com.android.messaging.ui.conversation.ConversationFragment.ConversationFragmentHost;
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | MessageBubbleBackground.java | 17 package com.android.messaging.ui.conversation;
|
H A D | SimIconView.java | 16 package com.android.messaging.ui.conversation;
|
H A D | ConversationActivity.java | 17 package com.android.messaging.ui.conversation; 36 import com.android.messaging.ui.conversation.ConversationActivityUiState.ConversationActivityUiStateHost; 37 import com.android.messaging.ui.conversation.ConversationFragment.ConversationFragmentHost; 181 final ConversationFragment conversation = getConversationFragment(); 185 } else if (conversation != null && mUiState.shouldShowConversationFragment()) { 186 conversation.updateActionBar(actionBar); 203 // Let the conversation fragment handle the navigation up press. 219 // Let the conversation fragment handle the back press. 304 // Set up the conversation fragment. 322 // Don't save draft to DB when removing conversation fragmen [all...] |
H A D | ConversationMessageAdapter.java | 16 package com.android.messaging.ui.conversation; 29 import com.android.messaging.ui.conversation.ConversationMessageView.ConversationMessageViewHost;
|
H A D | ConversationSimSelector.java | 16 package com.android.messaging.ui.conversation; 26 import com.android.messaging.ui.conversation.SimSelectorView.SimSelectorViewListener; 33 * Manages showing/hiding the SIM selector in conversation.
|
H A D | ConversationInput.java | 16 package com.android.messaging.ui.conversation; 27 * conversation fragment but may be mocked in test code.
|
H A D | EnterSelfPhoneNumberDialog.java | 16 package com.android.messaging.ui.conversation;
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
H A D | WidgetConversationListItemViewBuilder.java | 146 final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType, 149 final boolean isUnread = !conversation.read; 150 final String snippet = conversation.getSnippet(); 151 final boolean hasAttachments = conversation.hasAttachments; 209 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType); 145 getStyledView(final Context context, final CharSequence date, final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType, final SpannableStringBuilder senders, String subject) argument
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | BugleActivityUtil.java | 30 import com.android.messaging.ui.conversation.ConversationActivity;
|