/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() {
|
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
Conversations.java | 54 static class Conversation { 61 * A given conversation can have a single or multiple messages. 68 public Conversation(int conversationId, String participantName, 93 return "[Conversation: conversationId=" + conversationId + 103 public static Conversation[] getUnreadConversations(int howManyConversations, 105 Conversation[] conversations = new Conversation[howManyConversations]; 107 conversations[i] = new Conversation(
|
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/ |
Conversations.java | 54 static class Conversation { 61 * A given conversation can have a single or multiple messages. 68 public Conversation(int conversationId, String participantName, 93 return "[Conversation: conversationId=" + conversationId + 103 public static Conversation[] getUnreadConversations(int howManyConversations, 105 Conversation[] conversations = new Conversation[howManyConversations]; 107 conversations[i] = new Conversation(
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
Conversations.java | 54 static class Conversation { 61 * A given conversation can have a single or multiple messages. 68 public Conversation(int conversationId, String participantName, 93 return "[Conversation: conversationId=" + conversationId + 103 public static Conversation[] getUnreadConversations(int howManyConversations, 105 Conversation[] conversations = new Conversation[howManyConversations]; 107 conversations[i] = new Conversation(
|
/packages/apps/Mms/tests/src/com/android/mms/util/ |
VerifyRecipientUnitTests.java | 24 import com.android.mms.data.Conversation; 27 * This is a series of unit tests for Conversation's verifyRecipients function. 53 Conversation.verifySingleRecipient(getContext(), mThreadId1, "(415) 232-4567"), 57 Conversation.verifySingleRecipient(getContext(), mThreadId1, " 232-4567"),
|
/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/Mms/src/com/android/mms/ui/ |
ConversationListAdapter.java | 31 import com.android.mms.data.Conversation; 36 //TODO: This should be public class ConversationListAdapter extends ArrayAdapter<Conversation> 57 Conversation conv = Conversation.from(context, cursor); 93 Conversation conv = Conversation.from(mContext, cursor);
|
NoConfirmationSendService.java | 29 import com.android.mms.data.Conversation; 70 String recipients = Conversation.getRecipients(intentUri);
|
ConversationList.java | 77 import com.android.mms.data.Conversation; 78 import com.android.mms.data.Conversation.ConversationQueryHandler; 327 // this activity until a couple of seconds after the conversation list appears. 398 // If we're in the middle of the app initialization where we're loading the conversation 402 if (!Conversation.loadingThreads()) { 462 Conversation.startQueryForAll(mQueryHandler, THREAD_LIST_QUERY_TOKEN); 463 Conversation.startQuery(mQueryHandler, UNREAD_THREADS_QUERY_TOKEN, Threads.READ + "=0"); 616 Conversation conv = Conversation.from(this, cursor); 659 Conversation conv = Conversation.from(ConversationList.this, cursor) [all...] |
/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...] |
/packages/apps/Mms/src/com/android/mms/data/ |
Conversation.java | 45 public class Conversation { 83 // The thread ID of this conversation. Can be zero in the case of a 84 // new conversation where the recipient set is changing as the user 95 private boolean mIsChecked; // True if user has selected the conversation for a 105 private Conversation(Context context) { 111 private Conversation(Context context, long threadId, boolean allowQuery) { 113 Log.v(TAG, "Conversation constructor threadId: " + threadId); 122 private Conversation(Context context, Cursor cursor, boolean allowQuery) { 124 Log.v(TAG, "Conversation constructor cursor, allowQuery: " + allowQuery); 131 * Create a new conversation with no recipients. {@link #setRecipients} ca [all...] |
/packages/apps/Mms/src/com/android/mms/ |
LogTag.java | 27 import com.android.mms.data.Conversation; 101 Conversation.dumpThreadsTable(context); 102 Conversation.dump(); 103 Conversation.dumpSmsTable(context);
|