Searched defs:conversation (Results 1 - 20 of 20) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
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 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
58 * Returns whether the initial conversation has begun but not finished loading. If this returns
62 * This flag only applies to the first conversation in a set (e.g. when using ViewPager).
64 * @return true if 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 DOnePaneController.java44 private static final String CONVERSATION_LIST_TRANSACTION_KEY = "conversation-list-transaction";
46 private static final String CONVERSATION_TRANSACTION_KEY = "conversation-transaction";
48 private static final String CONVERSATION_LIST_VISIBLE_KEY = "conversation-list-visible";
50 private static final String CONVERSATION_LIST_NEVER_SHOWN_KEY = "conversation-list-never-shown";
56 /** Whether a conversation list for this account has ever been shown.*/
104 * Returns true if the user is currently in the conversation list view, viewing the default
106 * @return true if user is in conversation list mode, viewing the default inbox.
146 // When entering conversation list mode, hide and clean up any currently visible
147 // conversation.
151 // When we step away from the conversation mod
207 showConversation(Conversation conversation, boolean inLoaderCallbacks) argument
[all...]
H A DSecureConversationViewFragment.java92 * to display a conversation with other parameters inherited/copied from an
96 Conversation conversation) {
99 args.putParcelable(ARG_CONVERSATION, conversation);
95 newInstance(Bundle existingArgs, Conversation conversation) argument
H A DTwoPaneController.java63 * Display the conversation list fragment.
77 * Render the conversation list in the correct pane.
156 // The conversation list is visible.
163 // It's possible that we are not in conversation list mode
191 // In conversation mode, if the conversation list is not visible, then the user cannot
194 // When the conversation list is made visible again, try to enable the CAB
225 // On two-pane, the back button is only removed in the conversation list mode for top level
236 * Enable or disable the CAB mode based on the visibility of the conversation list fragment.
269 protected void showConversation(Conversation conversation, boolea argument
308 setCurrentConversation(Conversation conversation) argument
[all...]
H A DLeaveBehindItem.java167 * @param item the conversation to animate
270 public void setData(Conversation conversation) { argument
271 mData = conversation;
H A DAbstractConversationViewFragment.java64 public static final String ARG_CONVERSATION = "conversation";
98 /** True if we want to avoid marking the conversation as viewed and read. */
101 * Parcelable state of the conversation view. Can safely be used without null checking any time
154 * shown in the conversation view.
157 // Do not automatically mark this conversation viewed and read.
163 * many messages related to this conversation.
171 * many messages related to this conversation.
220 * (such as one that does not rely on account and/or conversation.
223 // Since the uri specified in the conversation base uri may not be unique, we specify a
224 // base uri that us guaranteed to be unique for this conversation
589 onConversationUpdated(Conversation conversation) argument
[all...]
H A DMailActionBarView.java419 // We update the ActionBar options when we are entering conversation view because
421 // to show up during the time between the conversation is selected and the fragment
789 public void setCurrentConversation(Conversation conversation) { argument
790 mCurrentConversation = conversation;
808 // drafts for a conversation
H A DAnimatedAdapter.java323 * Add a conversation to the undo set, but only if its deletion is still cached. If the
326 * @param item id for the conversation that is being undeleted.
327 * @return true if the conversation is still cached and therefore we will handle the undo.
419 * Deletes the selected conversations from the conversation list view with a
425 * the conversation.
436 * Deletes the selected conversations from the conversation list view by
442 * the conversation.
705 // advance the cursor to the right position and read the cached conversation, if present
723 private View getDeletingView(int position, Conversation conversation, ViewGroup parent, argument
725 conversation
762 newConversationItemView(int position, ViewGroup parent, Conversation conversation) argument
[all...]
H A DConversationViewFragment.java87 * The conversation view UI component.
109 * conversation to finish loading before beginning our load.
112 * to know when the visible conversation is loaded. When it is unset, it should unregister.
116 * Value for {@link #mLoadWaitReason} used when a conversation is too heavyweight to load at
156 * If this conversation fragment is not visible, and it's inappropriate to load up front,
158 * the conversation.
217 * to display a conversation with other parameters inherited/copied from an existing bundle,
221 Conversation conversation) {
224 args.putParcelable(ARG_CONVERSATION, conversation);
491 LogUtils.d(LOG_TAG, "Fragment is now user-visible, showing conversation
220 newInstance(Bundle existingArgs, Conversation conversation) argument
[all...]
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";
197 /** A map of {@link Folder} {@link Uri} to scroll position in the conversation list. */
378 * An additional complication arises if we have to view a specific conversation within this
379 * folder. This is the case when launching the app from a single conversation notification
380 * or tapping on a specific conversation in the widget. In these cases, the conversation is
386 /** The conversation curso
2394 showConversation(Conversation conversation) argument
2407 showConversation(Conversation conversation, boolean inLoaderCallbacks) argument
2483 onConversationSelected(Conversation conversation, boolean inLoaderCallbacks) argument
2523 setCurrentConversation(Conversation conversation) argument
[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/browse/
H A DSwipeableConversationItemView.java58 public void bind(final Conversation conversation, final ControllableActivity activity, argument
65 mConversationItemView.bind(conversation, activity, conversationListListener, set, folder,
H A DConversationItemViewModel.java45 * This is the view model for the conversation header. It includes all the
46 * information needed to layout a conversation header view. Each view model is
47 * associated with a conversation and is cached to improve the relayout time.
62 // The hashcode used to detect if the conversation has changed.
109 public Conversation conversation; field in class:ConversationItemViewModel
142 * Returns the view model for a conversation. If the model doesn't exist for this conversation
145 * @param account the account contains this conversation
146 * @param conversationId the Id of this conversation
147 * @return the view model for this conversation, o
[all...]
H A DConversationCursor.java72 * ConversationCursor is a wrapper around a conversation list cursor that provides update/delete
255 public Conversation conversation; field in class:ConversationCursor.UnderlyingRowData
257 public UnderlyingRowData(String innerUri, Conversation conversation) { argument
259 this.conversation = conversation;
305 if (rowData.conversation == null) {
309 rowData.conversation = new Conversation(
338 // the Conversation objects are being pre-cached, and the conversation maps are
365 // conversationId -> position, but the cached values uses the conversation
408 LogUtils.e(LOG_TAG, "Inserting duplicate conversation ur
518 cacheConversation(Conversation conversation) argument
1987 updateBoolean(Conversation conversation, String columnName, boolean value) argument
[all...]
H A DConversationItemView.java179 /** When in conversation mode, true if the list is hidden */
228 * The conversation id, if this conversation was selected the last time we were in a selection
240 * A listener for clicks on the various areas of a conversation item.
274 * Handles displaying folders in a conversation header view.
513 public void bind(final Conversation conversation, final ControllableActivity activity, argument
521 bind(ConversationItemViewModel.forConversation(mAccount, conversation), activity,
558 // If this was previously bound to a different conversation, remove any contact photo
560 if (header.conversation.id != mHeader.conversation
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
H A DWidgetConversationListItemViewBuilder.java149 public RemoteViews getStyledView(final CharSequence date, final Conversation conversation, argument
153 final boolean isUnread = !conversation.read;
154 final String snippet = conversation.getSnippet();
155 final boolean hasAttachments = conversation.hasAttachments;
199 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationActionUtils.java86 final Conversation conversation, final Message message) {
115 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message); argument
165 public int getActionIconResId(final Folder folder, final Conversation conversation, argument
167 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation,
175 public int getDisplayStringResId(final Folder folder, final Conversation conversation, argument
177 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation,
197 final Account account, final Conversation conversation, final Message message,
205 folder, conversation, message), context.getString(notificationAction
206 .getDisplayStringResId(folder, conversation, message)),
207 getNotificationActionPendingIntent(context, account, conversation, messag
195 addNotificationActions(final Context context, final Intent notificationIntent, final NotificationCompat.Builder notification, final Account account, final Conversation conversation, final Message message, final Folder folder, final int notificationId, final long when, final Set<String> notificationActions) argument
299 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
402 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) argument
[all...]
H A DUtils.java269 * <li><em>int</em>, the number of non-draft messages in the conversation</li>
271 * <li><em>int</em>, the number of drafts in the conversation</li>
289 * conversation and then describe the most important messages in order,
710 * Create an intent to show a conversation.
711 * @param conversation Conversation to open.
717 Conversation conversation, final Uri folderUri, Account account) {
721 final Uri versionedUri = appendVersionQueryParameter(context, conversation.uri);
728 intent.putExtra(Utils.EXTRA_CONVERSATION, conversation);
1156 * @param cursor a conversation cursor
1170 * @param cursor a conversation curso
716 createViewConversationIntent(final Context context, Conversation conversation, final Uri folderUri, Account account) argument
[all...]

Completed in 278 milliseconds