/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewModel.java | 32 import com.android.mail.providers.Conversation; 45 * 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 [all...] |
ConversationItemView.java | 81 import com.android.mail.providers.Conversation; 179 /** 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. 285 public void loadConversationFolders(Conversation conv, final FolderUri ignoreFolderUri, 513 public void bind(final Conversation conversation, final ControllableActivity activity, 521 bind(ConversationItemViewModel.forConversation(mAccount, conversation), activity [all...] |
SwipeableConversationItemView.java | 28 import com.android.mail.providers.Conversation; 58 public void bind(final Conversation conversation, final ControllableActivity activity, 65 mConversationItemView.bind(conversation, activity, conversationListListener, set, folder,
|
ConversationCursor.java | 42 import com.android.mail.providers.Conversation; 72 * ConversationCursor is a wrapper around a conversation list cursor that provides update/delete 135 private final List<Conversation> mMostlyDead = Lists.newArrayList(); 138 private final Set<Conversation> mNotificationTempDeleted = Sets.newHashSet(); 255 public Conversation conversation; field in class:ConversationCursor.UnderlyingRowData 257 public UnderlyingRowData(String innerUri, Conversation conversation) { 259 this.conversation = conversation; [all...] |
SelectedConversationsActionMenu.java | 33 import com.android.mail.providers.Conversation; 89 /** Object that can update conversation state on our behalf. */ 171 for (Conversation conv: mSelectionSet.values()) { 249 final Collection<Conversation> conversations = mSelectionSet.values(); 283 * Destroy these conversations through the conversation updater 288 private void destroy(int actionId, final Collection<Conversation> target, 301 final Collection<Conversation> targets = mSelectionSet.values(); 314 final Collection<Conversation> target = mSelectionSet.values(); 319 for (final Conversation c : target) { 331 final Collection<Conversation> target = mSelectionSet.values() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
Conversation.java | 44 public class Conversation implements Parcelable { 179 * Used within the UI to indicate the adapter position of this conversation 187 // Used within the UI to indicate that a Conversation should be removed from 189 // Conversation is no longer in the ConversationList for the current folder, 203 /** An immutable, empty conversation list */ 204 public static final Collection<Conversation> EMPTY = Collections.emptyList(); 245 private Conversation(Parcel in, ClassLoader loader) { 284 final StringBuilder sb = new StringBuilder("[conversation id="); 294 public static final ClassLoaderCreator<Conversation> CREATOR = 295 new ClassLoaderCreator<Conversation>() { 427 final Conversation conversation = new Conversation(); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
mucroomdiscoverytask.cc | 58 // Get the conversation id 59 const XmlElement* conversation = local 62 if (conversation != NULL) { 63 conversation_id = conversation->BodyText();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ConversationSelectionSet.java | 24 import com.android.mail.providers.Conversation; 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. */ 68 private final HashMap<Long, Conversation> mInternalMap = new HashMap<Long, Conversation>(); 69 /** Map of Conversation URI to Conversation ID. */ 85 Conversation conversation = (Conversation) parceled local [all...] |
ConversationListCallbacks.java | 26 import com.android.mail.providers.Conversation; 33 * 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); 54 Conversation getCurrentConversation() [all...] |
TwoPaneController.java | 33 import com.android.mail.providers.Conversation; 50 private Conversation mConversationToShow; 63 * 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 196 if (newMode == ViewMode.CONVERSATION || newMode == ViewMode.CONVERSATION_LIS [all...] |
ConversationPositionTracker.java | 21 import com.android.mail.providers.Conversation; 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 */ 45 private Conversation mConversation; 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 */ 57 private Conversation conversationAtPosition(int position){ 60 final Conversation conv = cursor.getConversation() [all...] |
MultiFoldersSelectionDialog.java | 27 import com.android.mail.providers.Conversation; 42 * Displays a folder selection dialog for the conversation provided. It allows 43 * the user to mark folders to assign that conversation to. 62 final ConversationUpdater updater, final Collection<Conversation> target, 83 for (final Conversation conversation : mTarget) { 84 final List<Folder> rawFolders = conversation.getRawFolders(); 89 // There are no folders for this conversation, so it must
|
OnePaneController.java | 31 import com.android.mail.providers.Conversation; 44 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 [all...] |
LeaveBehindItem.java | 36 import com.android.mail.providers.Conversation; 49 private Conversation mData; 113 ToastBarOperation undoOp, Conversation target, Folder folder, int height) { 167 * @param item the conversation to animate 270 public void setData(Conversation conversation) { 271 mData = conversation; 274 public Conversation getData() {
|
SecureConversationViewFragment.java | 37 import com.android.mail.providers.Conversation; 92 * to display a conversation with other parameters inherited/copied from an 96 Conversation conversation) { 99 args.putParcelable(ARG_CONVERSATION, conversation); 255 public void onConversationUpdated(Conversation conv) {
|
AnimatedAdapter.java | 50 import com.android.mail.providers.Conversation; 323 * 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. 375 Conversation conv) { 419 * Deletes the selected conversations from the conversation list view with a 421 * {@link Conversation#position} set to the position of these conversations 425 * the conversation. 429 public void swipeDelete(Collection<Conversation> conversations, 436 * Deletes the selected conversations from the conversation list view b [all...] |
NestedFolderTeaserView.java | 43 import com.android.mail.providers.Conversation; 65 * The teaser list item in the conversation list that shows nested folders. 101 /** When in conversation mode, true if the list is hidden */ 582 private final LoaderCallbacks<ObjectCursor<Conversation>> mFolderLoaderCallbacks = 583 new LoaderCallbacks<ObjectCursor<Conversation>>() { 585 public void onLoaderReset(final Loader<ObjectCursor<Conversation>> loader) { 590 public void onLoadFinished(final Loader<ObjectCursor<Conversation>> loader, 591 final ObjectCursor<Conversation> data) { 609 final Conversation conversation = data.getModel() [all...] |
AbstractActivityController.java | 82 import com.android.mail.providers.Conversation; 147 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"; 191 protected Conversation mCurrentConversation; 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 i 2241 final Conversation conversation = savedState.getParcelable(SAVED_CONVERSATION); local [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationListItem.java | 41 import com.android.mms.data.Conversation; 44 * This class manages the view for given conversation. 63 private Conversation mConversation; 92 public Conversation getConversation() { 175 public final void bind(Context context, final Conversation conversation) { 178 mConversation = conversation; 183 boolean hasError = conversation.hasError(); 193 boolean hasAttachment = conversation.hasAttachment(); 197 mDateView.setText(MessageUtils.formatTimeStampString(context, conversation.getDate())) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetConversationListItemViewBuilder.java | 20 import com.android.mail.providers.Conversation; 66 * Load Conversation Labels 69 public void loadConversationFolders(Conversation conv, final FolderUri ignoreFolderUri, 149 public RemoteViews getStyledView(final CharSequence date, final Conversation conversation, 153 final boolean isUnread = !conversation.read; 154 final String snippet = conversation.getSnippet(); 155 final boolean hasAttachments = conversation.hasAttachments; 163 Conversation.getSubjectAndSnippetForDisplay(mContext, filteredSubject, snippet)); 199 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType) [all...] |
WidgetService.java | 45 import com.android.mail.providers.Conversation; 151 // Build a task stack that forces the conversation list on the stack before the compose 159 // On click intent for Conversation 406 Conversation conversation = new Conversation(mConversationCursor); 410 if (conversation.conversationInfo != null) { 412 SendersView.format(mContext, conversation.conversationInfo, "", 416 senderBuilder.append(conversation.senders); 417 senderBuilder.setSpan(conversation.read ? getReadStyle() : getUnreadStyle(), 0 [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 40 import com.android.mail.providers.Conversation; 67 * If a {@link Conversation} exists in this set, then the undo notification for this 68 * {@link Conversation} was tapped by the user in the notification drawer. 71 public static final Set<Conversation> sUndoneConversations = Sets.newHashSet(); 86 final Conversation conversation, final Message message) { 115 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message); 165 public int getActionIconResId(final Folder folder, final Conversation conversation, 631 final Conversation conversation = notificationAction.getConversation(); local 702 final Conversation conversation = notificationAction.getConversation(); local [all...] |
NotificationUtils.java | 57 import com.android.mail.providers.Conversation; 474 // Do not allow this quick check to disrupt any active network-enabled conversation 578 // Launch directly to the conversation, if there is only 1 unseen conversation 589 launchConversationMode ? "conversation" : "conversation_list", 674 * @return an {@link Intent} which, if launched, will display the corresponding conversation 689 // A conversation cursor has been specified, so this intent is intended to be go 690 // directly to the one new conversation 692 // Get the Conversation object 693 final Conversation conversation = new Conversation(cursor) local 781 final Conversation conversation = new Conversation(conversationCursor); local 854 final Conversation conversation = new Conversation(conversationCursor); local 1010 final Conversation conversation = new Conversation(conversationCursor); local 1076 final Conversation conversation = new Conversation(cursor); local [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ConversationDialogActivity.java | 37 import com.replica.replicaisland.ConversationUtils.Conversation; 44 private ConversationUtils.Conversation mConversation; 85 private void formatPages(Conversation conversation, TextView textView) { 92 for (int page = conversation.pages.size() - 1; page >= 0 ; page--) { 93 ConversationUtils.ConversationPage currentPage = conversation.pages.get(page); 136 conversation.pages.add(page + addedPages, newPage);
|
/external/chromium/net/tools/spdyshark/ |
packet-spdy.c | 40 #include <epan/conversation.h> 285 conversation_t *conversation; local 289 conversation = find_conversation(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo->destport, 0); 292 printf("Conversation for frame #%d is %p\n", pinfo->fd->num, conversation); 293 if (conversation) 294 printf(" conv_data=%p\n", conversation_get_proto_data(conversation, proto_spdy)); 297 if(!conversation) /* Conversation does not exist yet - create it */ 298 conversation = conversation_new(pinfo->fd->num, &pinfo->src, &pinfo->dst, pinfo->ptype, pinfo->srcport, pinfo-> (…) [all...] |