Searched refs:conversation (Results 1 - 25 of 29) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationItemViewModel.java44 * This is the view model for the conversation header. It includes all the
45 * information needed to layout a conversation header view. Each view model is
46 * associated with a conversation and is cached to improve the relayout time.
60 // The hashcode used to detect if the conversation has changed.
105 public Conversation conversation; field in class:ConversationItemViewModel
123 * line; used to generate the conversation icon.
139 * Returns the view model for a conversation. If the model doesn't exist for this conversation
142 * @param account the account contains this conversation
143 * @param conversationId the Id of this conversation
[all...]
H A DSwipeableConversationItemView.java55 public void bind(final Conversation conversation, final ControllableActivity activity, argument
65 conversation.sendingState != UIProvider.ConversationSendingState.SENDING &&
66 conversation.sendingState != UIProvider.ConversationSendingState.RETRYING;
68 mConversationItemView.bind(conversation, activity, set, folder, checkboxOrSenderImage,
H A DConversationCursor.java72 * 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
2021 updateBoolean(Conversation conversation, String columnName, boolean value) argument
[all...]
H A DConversationItemView.java180 /** When in conversation mode, true if the list is hidden */
228 * A listener for clicks on the various areas of a conversation item.
249 * Handles displaying folders in a conversation header view.
553 public void bind(final Conversation conversation, final ControllableActivity activity, argument
559 bind(ConversationItemViewModel.forConversation(mAccount, conversation), activity,
594 final boolean newlyBound = header.conversation.id != mHeader.conversation.id;
595 // If this was previously bound to a different conversation, remove any contact photo
649 mHeader.folderDisplayer.loadConversationFolders(mHeader.conversation,
656 mHeader.conversation
[all...]
H A DSelectedConversationsActionMenu.java86 /** Object that can update conversation state on our behalf. */
289 * Destroy these conversations through the conversation updater
357 // Update the actionbar to select operations available on the current conversation.
368 for (Conversation conversation : conversations) {
369 if (!conversation.starred) {
372 if (conversation.read) {
375 if (!conversation.isImportant()) {
378 if (conversation.spam) {
381 if (!conversation.phishing) {
466 // drafts for a conversation
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationListCallbacks.java33 * Show the conversation provided here. If the conversation is null, this is a request to pop
34 * <em>out</em> of conversation view mode and head back to conversation list mode, or whatever
36 * @param conversation conversation to display, possibly null.
40 void onConversationSelected(Conversation conversation, boolean inLoaderCallbacks); argument
43 * Possibly show the conversation provided here depending on implementation.
46 void onConversationFocused(Conversation conversation); argument
64 * Returns whether the initial conversation ha
[all...]
H A DConversationSelectionSet.java40 * 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 DTwoPaneController.java59 * 2-pane, in wider configurations, allows peeking at a conversation view without having the
60 * conversation marked-as-read as far as read/unread state goes.<br>
63 * that the current conversation, if set, is in a 'peeking' state. If there is no current
64 * conversation, peeking is implied (in certain view configurations) and this value is
92 * Display the conversation list fragment.
106 * Render the conversation list in the correct pane.
193 // The conversation list is visible.
218 // It's possible that we are not in conversation list mode
276 // In conversation mode, if the conversation lis
357 showConversation(Conversation conversation, boolean markAsRead) argument
402 onConversationSelected(Conversation conversation, boolean inLoaderCallbacks) argument
409 onConversationFocused(Conversation conversation) argument
416 setCurrentConversation(Conversation conversation) argument
[all...]
H A DConversationPositionTracker.java29 * 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...]
H A DOnePaneController.java50 private static final String CONVERSATION_LIST_TRANSACTION_KEY = "conversation-list-transaction";
52 private static final String CONVERSATION_TRANSACTION_KEY = "conversation-transaction";
54 private static final String CONVERSATION_LIST_VISIBLE_KEY = "conversation-list-visible";
56 private static final String CONVERSATION_LIST_NEVER_SHOWN_KEY = "conversation-list-never-shown";
62 /** Whether a conversation list for this account has ever been shown.*/
110 * Returns true if the user is currently in the conversation list view, viewing the default
112 * @return true if user is in conversation list mode, viewing the default inbox.
172 // When entering conversation list mode, hide and clean up any currently visible
173 // conversation.
177 // When we step away from the conversation mod
233 showConversation(Conversation conversation) argument
270 onConversationFocused(Conversation conversation) argument
[all...]
H A DSecureConversationViewController.java187 * blocks, a conversation header), and return an HTML document with spacer
238 final Conversation conversation = mMessage.getConversation();
240 conversation != null ? conversation.subject : mMessage.subject,
H A DLeaveBehindItem.java167 * @param item the conversation to animate
270 public void setData(Conversation conversation) { argument
271 mData = conversation;
H A DMultiFoldersSelectionDialog.java47 * Displays a folder selection dialog for the conversation provided. It allows
48 * the user to mark folders to assign that conversation to.
109 for (final Conversation conversation : mTarget) {
110 final List<Folder> rawFolders = conversation.getRawFolders();
115 // There are no folders for this conversation, so it must
H A DSecureConversationViewFragment.java106 * to display a conversation with other parameters inherited/copied from an
110 Conversation conversation) {
113 args.putParcelable(ARG_CONVERSATION, conversation);
109 newInstance(Bundle existingArgs, Conversation conversation) argument
H A DAnimatedAdapter.java315 * Add a conversation to the undo set, but only if its deletion is still cached. If the
318 * @param item id for the conversation that is being undeleted.
319 * @return true if the conversation is still cached and therefore we will handle the undo.
411 * Deletes the selected conversations from the conversation list view with a
417 * the conversation.
428 * Deletes the selected conversations from the conversation list view by
434 * the conversation.
714 // advance the cursor to the right position and read the cached conversation, if present
732 private View getDeletingView(int position, Conversation conversation, ViewGroup parent, argument
734 conversation
771 newConversationItemView(int position, ViewGroup parent, Conversation conversation) argument
[all...]
H A DAbstractConversationViewFragment.java65 public static final String ARG_CONVERSATION = "conversation";
100 /** True if we want to avoid marking the conversation as viewed and read. */
103 * Parcelable state of the conversation view. Can safely be used without null checking any time
158 * shown in the conversation view.
161 // Do not automatically mark this conversation viewed and read.
167 * many messages related to this conversation.
175 * many messages related to this conversation.
224 * (such as one that does not rely on account and/or conversation.
230 public static String buildBaseUri(Context context, Account account, Conversation conversation) { argument
231 // Since the uri specified in the conversation bas
647 onConversationUpdated(Conversation conversation) argument
[all...]
H A DNestedFolderTeaserView.java64 * The teaser list item in the conversation list that shows nested folders.
100 /** When in conversation mode, true if the list is hidden */
614 final Conversation conversation = data.getModel();
616 if (!conversation.read) {
623 conversation.conversationInfo.participantInfos) {
H A DAbstractActivityController.java147 private static final String SAVED_CONVERSATION = "saved-conversation";
166 "saved-conversation-list-scroll-positions";
170 /** Tag used when loading a conversation list fragment. */
171 public static final String TAG_CONVERSATION_LIST = "tag-conversation-list";
185 "ignore-initial-conversation-limit";
204 /** A map of {@link Folder} {@link Uri} to scroll position in the conversation list. */
293 /** The compose button floating over the conversation/search lists */
344 /** The conversation cursor over the current conversation list. This loader provides
345 * a cursor over conversation entrie
2463 showConversation(Conversation conversation) argument
2467 showConversation(Conversation conversation, boolean markAsRead) argument
2543 onConversationSelected(Conversation conversation, boolean inLoaderCallbacks) argument
2583 setCurrentConversation(Conversation conversation) argument
[all...]
H A DActionBarController.java320 // We update the ActionBar options when we are entering conversation view because
322 // to show up during the time between the conversation is selected and the fragment
531 public void setCurrentConversation(Conversation conversation) { argument
532 mCurrentConversation = conversation;
554 // drafts for a conversation
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationActionUtils.java89 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...]
H A DNotificationUtils.java122 // Maps summary notification to conversation notification ids.
579 // Do not allow this quick check to disrupt any active network-enabled conversation
699 // Launch directly to the conversation, if there is only 1 unseen conversation
710 launchConversationMode ? "conversation" : "conversation_list",
746 // Check if any current conversation notifications exist previously. Only notify if
812 LogUtils.d(LOG_TAG, "canceling conversation notification %s",
822 LogUtils.d(LOG_TAG, "notifying conversation notification %s", entry.getKey());
921 * @return an {@link Intent} which, if launched, will display the corresponding conversation
936 // A conversation curso
[all...]
/packages/apps/Mms/src/com/android/mms/ui/
H A DConversationListItem.java44 * This class manages the view for given conversation.
175 public final void bind(Context context, final Conversation conversation) { argument
178 mConversation = conversation;
183 boolean hasError = conversation.hasError();
193 boolean hasAttachment = conversation.hasAttachment();
197 mDateView.setText(MessageUtils.formatTimeStampString(context, conversation.getDate()));
202 // Register for updates in changes of any of the contacts in this conversation.
203 ContactList contacts = conversation.getRecipients();
211 mSubjectView.setText(conversation.getSnippet());
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetConversationListItemViewBuilder.java145 final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType,
148 final boolean isUnread = !conversation.read;
149 final String snippet = conversation.getSnippet();
150 final boolean hasAttachments = conversation.hasAttachments;
204 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType);
144 getStyledView(final Context context, final CharSequence date, final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType, final SpannableStringBuilder senders, String subject) argument
H A DWidgetService.java150 // Build a task stack that forces the conversation list on the stack before the compose
407 Conversation conversation = new Conversation(mConversationCursor);
411 SendersView.format(mContext, conversation.conversationInfo, "",
418 conversation.dateMs);
429 mContext, date, conversation, new FolderUri(mFolderUri), ignoreFolderType,
431 ConversationItemView.filterTag(mContext, conversation.subject));
435 Utils.createViewConversationIntent(mContext, conversation, mFolderUri,
/packages/apps/UnifiedEmail/src/com/android/mail/print/
H A DPrintUtils.java46 * either a conversation or message.
54 * Prints an entire conversation.
115 throw new IllegalStateException("trying to print without a conversation");
118 final Conversation conversation = cursor.getConversation();
119 templates.startPrintConversation(conversation.subject, conversation.getNumMessages());
121 // for each message in the conversation, add message html

Completed in 864 milliseconds

12