HomeSort by relevance Sort by last modified time
    Searched refs:conversation (Results 1 - 25 of 37) sorted by null

1 2

  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingService.java 111 Conversations.Conversation[] conversations = Conversations.getUnreadConversations(
113 for (Conversations.Conversation conv : conversations) {
118 private void sendNotificationForConversation(Conversations.Conversation conversation) {
121 conversation.getConversationId(),
122 getMessageReadIntent(conversation.getConversationId()),
132 conversation.getConversationId(),
133 getMessageReplyIntent(conversation.getConversationId()),
139 new UnreadConversation.Builder(conversation.getParticipantName())
140 .setLatestTimestamp(conversation.getTimestamp()
    [all...]
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessagingService.java 111 Conversations.Conversation[] conversations = Conversations.getUnreadConversations(
113 for (Conversations.Conversation conv : conversations) {
118 private void sendNotificationForConversation(Conversations.Conversation conversation) {
121 conversation.getConversationId(),
122 getMessageReadIntent(conversation.getConversationId()),
132 conversation.getConversationId(),
133 getMessageReplyIntent(conversation.getConversationId()),
139 new UnreadConversation.Builder(conversation.getParticipantName())
140 .setLatestTimestamp(conversation.getTimestamp()
    [all...]
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessagingService.java 111 Conversations.Conversation[] conversations = Conversations.getUnreadConversations(
113 for (Conversations.Conversation conv : conversations) {
118 private void sendNotificationForConversation(Conversations.Conversation conversation) {
121 conversation.getConversationId(),
122 getMessageReadIntent(conversation.getConversationId()),
132 conversation.getConversationId(),
133 getMessageReplyIntent(conversation.getConversationId()),
139 new UnreadConversation.Builder(conversation.getParticipantName())
140 .setLatestTimestamp(conversation.getTimestamp()
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemViewModel.java 31 import com.android.mail.providers.Conversation;
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
    [all...]
SwipeableConversationItemView.java 27 import com.android.mail.providers.Conversation;
55 public void bind(final Conversation conversation, final ControllableActivity activity,
60 mConversationItemView.bind(conversation, activity, set, folder, checkboxOrSenderImage,
ConversationItemView.java 69 import com.android.mail.providers.Conversation;
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.
262 public void loadConversationFolders(Conversation conv, final FolderUri ignoreFolderUri,
469 public void bind(final Conversation conversation, final ControllableActivity activity,
475 bind(ConversationItemViewModel.forConversation(mAccount.getEmailAddress(), conversation), local
512 final boolean newlyBound = header.conversation.id != mHeader.conversation.id
    [all...]
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();
260 public Conversation conversation; field in class:ConversationCursor.UnderlyingRowData
262 public UnderlyingRowData(String innerUri, Conversation conversation) {
264 this.conversation = conversation;
    [all...]
SelectedConversationsActionMenu.java 33 import com.android.mail.providers.Conversation;
86 /** Object that can update conversation state on our behalf. */
185 for (Conversation conv: mCheckedSet.values()) {
263 final Collection<Conversation> conversations = mCheckedSet.values();
297 * Destroy these conversations through the conversation updater
302 private void destroy(int actionId, final Collection<Conversation> target,
315 final Collection<Conversation> targets = mCheckedSet.values();
328 final Collection<Conversation> target = mCheckedSet.values();
333 for (final Conversation c : target) {
345 final Collection<Conversation> target = mCheckedSet.values()
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
TwoPaneController.java 38 import com.android.mail.providers.Conversation;
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
89 private Conversation mSavedPeekingConversation
992 public final Conversation conversation; field in class:TwoPaneController.ToShow
    [all...]
ConversationCheckedSet.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;
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);
44 * Possibly show the conversation provided here depending on implementation
    [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...]
OnePaneController.java 38 import com.android.mail.providers.Conversation;
51 private static final String CONVERSATION_LIST_TRANSACTION_KEY = "conversation-list-transaction";
53 private static final String CONVERSATION_TRANSACTION_KEY = "conversation-transaction";
55 private static final String CONVERSATION_LIST_VISIBLE_KEY = "conversation-list-visible";
57 private static final String CONVERSATION_LIST_NEVER_SHOWN_KEY = "conversation-list-never-shown";
63 /** Whether a conversation list for this account has ever been shown.*/
69 * still get feedback on conversation item tap in the transition from TL to CV.
76 // If it's still in conversation view mode, remove the TL fragment from behind
79 // conversation list fragment. Since we track the fragment by either what's
81 // since it's already covered by the conversation view and its white bg
    [all...]
ConversationListFragment.java 54 import com.android.mail.providers.Conversation;
80 * The conversation list UI component.
87 private static final String CONVERSATION_LIST_KEY = "conversation-list";
159 /** Hash of the Conversation Cursor we last obtained from the controller. */
254 * from when we were last on this conversation list.
286 * to display conversation list context.
297 * Show the header if the current conversation list is showing search
418 // On a phone we never highlight a conversation, so the default is to select none.
419 // On a tablet, we highlight a SINGLE conversation in landscape conversation view
    [all...]
SecureConversationViewController.java 45 import com.android.mail.providers.Conversation;
187 * blocks, a conversation header), and return an HTML document with spacer
238 final Conversation conversation = mMessage.getConversation(); local
240 conversation != null ? conversation.subject : mMessage.subject,
LeaveBehindItem.java 36 import com.android.mail.providers.Conversation;
49 private Conversation mData;
110 ToastBarOperation undoOp, Conversation target, Folder folder, int height) {
264 public void setData(Conversation conversation) {
265 mData = conversation;
268 public Conversation getData() {
MultiFoldersSelectionDialog.java 31 import com.android.mail.providers.Conversation;
47 * Displays a folder selection dialog for the conversation provided. It allows
48 * the user to mark folders to assign that conversation to.
110 for (final Conversation conversation : mTarget) {
111 final List<Folder> rawFolders = conversation.getRawFolders();
116 // There are no folders for this conversation, so it must
SecureConversationViewFragment.java 39 import com.android.mail.providers.Conversation;
107 * to display a conversation with other parameters inherited/copied from an
111 Conversation conversation) {
114 args.putParcelable(ARG_CONVERSATION, conversation);
266 public void onConversationUpdated(Conversation conv) {
  /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/utils/
NotificationActionUtils.java 41 import com.android.mail.providers.Conversation;
70 * If a {@link Conversation} exists in this set, then the undo notification for this
71 * {@link Conversation} was tapped by the user in the notification drawer.
74 public static final Set<Conversation> sUndoneConversations = Sets.newHashSet();
89 final Conversation conversation, final Message message) {
118 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message);
168 public int getActionIconResId(final Folder folder, final Conversation conversation,
745 final Conversation conversation = notificationAction.getConversation(); local
816 final Conversation conversation = notificationAction.getConversation(); local
    [all...]
NotificationUtils.java 60 import com.android.mail.providers.Conversation;
115 // Maps summary notification to conversation notification ids.
575 // 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
936 final Conversation conversation = new Conversation(cursor); local
1020 final Conversation conversation = new Conversation(conversationCursor); local
1200 final Conversation conversation = new Conversation(conversationCursor); local
1361 final Conversation conversation = new Conversation(conversationCursor); local
1428 final Conversation conversation = new Conversation(cursor); 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 34 import com.android.mail.providers.Conversation;
64 * Load Conversation Labels
67 public void loadConversationFolders(Conversation conv, final FolderUri ignoreFolderUri,
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;
164 subject = Conversation.getSubjectForDisplay(context, null /* badgeText */, subject);
209 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType)
    [all...]
WidgetService.java 45 import com.android.mail.providers.Conversation;
152 // Build a task stack that forces the conversation list on the stack before the compose
160 // On click intent for Conversation
410 Conversation conversation = new Conversation(mConversationCursor);
414 SendersView.format(mContext, conversation.conversationInfo, "",
421 conversation.dateMs);
432 mContext, date, conversation, new FolderUri(mFolderUri), ignoreFolderType,
434 ConversationItemView.filterTag(mContext, conversation.subject))
    [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);

Completed in 772 milliseconds

1 2