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

1 2 3

  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationUpdater.java 28 import com.android.mail.providers.Conversation;
41 * Modify the given conversation by changing the column provided here to contain the value
48 void updateConversation(Collection <Conversation> target, String columnName, String value);
51 * Modify the given conversation by changing the column provided here to contain the value
58 void updateConversation(Collection <Conversation> target, String columnName, int value);
61 * Modify the given conversation by changing the column provided here to contain the value
68 void updateConversation(Collection <Conversation> target, String columnName, boolean value);
71 * Modify the given conversation by changing the columns provided here to
78 void updateConversation(Collection <Conversation> target, ContentValues values);
81 * Requests the removal of the current conversation with the specified destructive action
    [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...]
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...]
LeaveBehindData.java 22 import com.android.mail.providers.Conversation;
25 final Conversation data;
29 public LeaveBehindData(Conversation conv, ToastBarOperation undoOp, int height) {
FolderSelectionDialog.java 30 import com.android.mail.providers.Conversation;
47 protected Collection<Conversation> mTarget;
55 final Collection<Conversation> target, final boolean isBatch,
72 args.putParcelableArray(ARG_TARGET_TAG, target.toArray(new Conversation[target.size()]));
89 mTarget = Arrays.asList((Conversation[])args.getParcelableArray(ARG_TARGET_TAG));
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...]
SwipeableListView.java 39 import com.android.mail.providers.Conversation;
236 Conversation conv = target.getConversation();
244 Collection<Conversation> convList = Conversation.listOf(conv);
264 cc.mostlyDestructiveUpdate(Conversation.listOf(conv), values);
317 public boolean destroyItems(Collection<Conversation> convs,
332 public int findConversation(ConversationItemView view, Conversation conv) {
343 Conversation foundConv;
371 // conversation to view.
386 public void onListItemSwiped(Collection<Conversation> conversations)
    [all...]
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...]
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() {
AnimatedAdapter.java 49 import com.android.mail.providers.Conversation;
331 * Add a conversation to the undo set, but only if its deletion is still cached. If the
334 * @param item id for the conversation that is being undeleted.
335 * @return true if the conversation is still cached and therefore we will handle the undo.
383 Conversation conv) {
427 * Deletes the selected conversations from the conversation list view with a
429 * {@link Conversation#position} set to the position of these conversations
433 * the conversation.
437 public void swipeDelete(Collection<Conversation> conversations,
444 * Deletes the selected conversations from the conversation list view b
    [all...]
NestedFolderTeaserView.java 43 import com.android.mail.providers.Conversation;
63 * The teaser list item in the conversation list that shows nested folders.
565 private final LoaderCallbacks<ObjectCursor<Conversation>> mFolderLoaderCallbacks =
566 new LoaderCallbacks<ObjectCursor<Conversation>>() {
568 public void onLoaderReset(final Loader<ObjectCursor<Conversation>> loader) {
573 public void onLoadFinished(final Loader<ObjectCursor<Conversation>> loader,
574 final ObjectCursor<Conversation> data) {
592 final Conversation conversation = data.getModel();
594 if (!conversation.read)
    [all...]
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
Conversations.java 53 static class Conversation {
60 * A given conversation can have a single or multiple messages.
67 public Conversation(int conversationId, String participantName,
92 return "[Conversation: conversationId=" + conversationId +
102 public static Conversation[] getUnreadConversations(int howManyConversations,
104 Conversation[] conversations = new Conversation[howManyConversations];
106 conversations[i] = new Conversation(
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
Conversations.java 53 static class Conversation {
60 * A given conversation can have a single or multiple messages.
67 public Conversation(int conversationId, String participantName,
92 return "[Conversation: conversationId=" + conversationId +
102 public static Conversation[] getUnreadConversations(int howManyConversations,
104 Conversation[] conversations = new Conversation[howManyConversations];
106 conversations[i] = new Conversation(
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
Conversations.java 53 static class Conversation {
60 * A given conversation can have a single or multiple messages.
67 public Conversation(int conversationId, String participantName,
92 return "[Conversation: conversationId=" + conversationId +
102 public static Conversation[] getUnreadConversations(int howManyConversations,
104 Conversation[] conversations = new Conversation[howManyConversations];
106 conversations[i] = new Conversation(
  /external/replicaisland/src/com/replica/replicaisland/
ConversationUtils.java 37 public static class Conversation {
42 public final static ArrayList<Conversation> loadDialog(int resource, Context context) {
45 ArrayList<Conversation> dialog = null;
46 Conversation currentConversation = null;
52 if (parser.getName().equals("conversation")) {
54 dialog = new ArrayList<Conversation>();
56 currentConversation = new Conversation();
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Conversation.java 43 public class Conversation implements Parcelable {
144 * Used within the UI to indicate the adapter position of this conversation
152 // Used within the UI to indicate that a Conversation should be removed from
154 // Conversation is no longer in the ConversationList for the current folder,
168 /** An immutable, empty conversation list */
169 public static final Collection<Conversation> EMPTY = Collections.emptyList();
203 private Conversation(Parcel in, ClassLoader loader) {
234 final StringBuilder sb = new StringBuilder("[conversation id=");
244 public static final ClassLoaderCreator<Conversation> CREATOR =
245 new ClassLoaderCreator<Conversation>() {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
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...]
ConversationPagerAdapter.java 33 import com.android.mail.providers.Conversation;
58 private final Conversation mInitialConversation;
105 * <li>Destructive changes during pager destruction (e.g. mode transition from conversation mode
107 * conversation and <b>mark it read</b>.
136 Folder folder, Conversation initialConversation) {
173 * @param cursor the current conversation cursor (obtained through {@link #getCursor()}.
188 // ConversationPagerController.stopListening() to indicate that the Conversation View
190 LogUtils.i(LOG_TAG, "Pager adapter has a null controller. If the conversation view"
200 final Conversation c;
227 private AbstractConversationViewFragment getConversationViewFragment(Conversation c)
    [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,
ConversationViewHeader.java 37 import com.android.mail.providers.Conversation;
45 * A view for the subject and folders in the conversation view. This container
76 private Conversation mConversation;
113 public void setFolders(Conversation conv) {
136 LogUtils.e(LOG_TAG, "Unable to measure height of conversation header");
144 * Update the conversation view header to reflect the updated conversation.
146 public void onConversationUpdated(Conversation conv) {
147 // The only things we have to worry about when the conversation changes
148 // in the conversation header are the folders, priority indicators, and starred state
    [all...]
MessageCursor.java 27 import com.android.mail.providers.Conversation;
37 * MessageCursor contains the messages within a conversation; the public methods within should
42 * The current controller that this cursor can use to reference the owning {@link Conversation},
52 Conversation getConversation();
76 public Conversation getConversation() {
80 // Is the conversation starred?
129 * with respect to the way the messages are displayed in conversation view. This is not a
131 * existing cursor's hash code, the conversation view will re-render from scratch.
ConversationMessage.java 30 import com.android.mail.providers.Conversation;
36 * A message created as part of a conversation view. Sometimes, like during star/unstar, it's
37 * handy to have the owning {@link com.android.mail.providers.Conversation} for context.
65 public Conversation getConversation() {
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/print/
HtmlPrintTemplates.java 24 import com.android.mail.providers.Conversation;
53 * Start building the html for a printed conversation. Can only be called once
69 Conversation.getSubjectForDisplay(mContext, null /* badgeText */, subject);
78 * Add a message to the html for this printed conversation.
86 * Adds the end of the printed conversation to the html. NOTE: this method
92 * @return a {@link String} containing the html for the conversation.
103 LogUtils.d(TAG, "rendered conversation of %d bytes, buffer capacity=%d",
110 * Adds the end of the printed conversation to the html. NOTE: this method
113 * @return a {@link String} containing the html for the conversation.
124 LogUtils.d(TAG, "rendered conversation of %d bytes, buffer capacity=%d"
    [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...]

Completed in 731 milliseconds

1 2 3