/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AbstractActivityController.java | 83 import com.android.mail.providers.Conversation; 145 private static final String SAVED_CONVERSATION = "saved-conversation"; 164 "saved-conversation-list-scroll-positions"; 168 /** Tag used when loading a conversation list fragment. */ 169 public static final String TAG_CONVERSATION_LIST = "tag-conversation-list"; 183 "ignore-initial-conversation-limit"; 196 protected Conversation mCurrentConversation; 203 /** A map of {@link Folder} {@link Uri} to scroll position in the conversation list. */ 292 /** The compose button floating over the conversation/search lists */ 343 /** The conversation cursor over the current conversation list. This loader provide [all...] |
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) {
|
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...] |
ConversationViewState.java | 25 import com.android.mail.providers.Conversation; 34 * A small class to keep state for conversation view when restoring. 64 * Copy constructor that will copy overall conversation state, but NOT individual message state. 99 * Returns the expansion state of a message in a conversation view. 101 * @param m a Message in the conversation 123 public void setInfoForConversation(Conversation conv) { 128 * Returns URIs of all unread messages in the conversation per
|
FolderDisplayer.java | 30 import com.android.mail.providers.Conversation; 43 * (The raw folders string can be obtained from {@link Conversation#getRawFolders()}.) 84 * @param conv {@link Conversation} containing the folders to display. 88 public void loadConversationFolders(Conversation conv, final FolderUri ignoreFolderUri,
|
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
|
AbstractConversationViewFragment.java | 46 import com.android.mail.providers.Conversation; 66 public static final String ARG_CONVERSATION = "conversation"; 75 protected Conversation mConversation; 101 /** True if we want to avoid marking the conversation as viewed and read. */ 104 * Parcelable state of the conversation view. Can safely be used without null checking any time 159 * shown in the conversation view. 162 // Do not automatically mark this conversation viewed and read. 167 * Marks a conversation either 'seen' (force=false), as in when the conversation is made visible 169 * mark this conversation read is selected [all...] |
ActionBarController.java | 33 import com.android.mail.providers.Conversation; 73 private Conversation mCurrentConversation; 120 case ViewMode.CONVERSATION: 188 // Check if we are either on a phone, or in Conversation mode on tablet. For these, the 200 case ViewMode.CONVERSATION: 264 case ViewMode.CONVERSATION: 266 // We update the ActionBar options when we are entering conversation view because 268 // to show up during the time between the conversation is selected and the fragment 384 public void setCurrentConversation(Conversation conversation) { [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...] |
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,
|
/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...] |
/developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessagingService.java | 81 Conversations.Conversation[] conversations = Conversations.getUnreadConversations( 83 for (Conversations.Conversation conv : conversations) { 88 private void sendNotificationForConversation(Conversations.Conversation conversation) { 91 conversation.getConversationId(), 92 getMessageReadIntent(conversation.getConversationId()), 103 conversation.getConversationId(), 104 getMessageReplyIntent(conversation.getConversationId()), 116 new UnreadConversation.Builder(conversation.getParticipantName()) 117 .setLatestTimestamp(conversation.getTimestamp() [all...] |
/developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/ |
MessagingService.java | 81 Conversations.Conversation[] conversations = Conversations.getUnreadConversations( 83 for (Conversations.Conversation conv : conversations) { 88 private void sendNotificationForConversation(Conversations.Conversation conversation) { 91 conversation.getConversationId(), 92 getMessageReadIntent(conversation.getConversationId()), 103 conversation.getConversationId(), 104 getMessageReplyIntent(conversation.getConversationId()), 116 new UnreadConversation.Builder(conversation.getParticipantName()) 117 .setLatestTimestamp(conversation.getTimestamp() [all...] |
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
MessagingService.java | 81 Conversations.Conversation[] conversations = Conversations.getUnreadConversations( 83 for (Conversations.Conversation conv : conversations) { 88 private void sendNotificationForConversation(Conversations.Conversation conversation) { 91 conversation.getConversationId(), 92 getMessageReadIntent(conversation.getConversationId()), 103 conversation.getConversationId(), 104 getMessageReplyIntent(conversation.getConversationId()), 116 new UnreadConversation.Builder(conversation.getParticipantName()) 117 .setLatestTimestamp(conversation.getTimestamp() [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SubjectAndFolderView.java | 37 import com.android.mail.providers.Conversation; 45 * A TextView that displays the conversation subject and list of folders for the message. 99 mSubject = Conversation.getSubjectForDisplay(getContext(), null /* badgeText */, subject); 107 Conversation conv) {
|
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...] |
ConversationPagerController.java | 34 import com.android.mail.providers.Conversation; 47 * This allows the ViewPager to safely instantiate inner conversation fragments since it is not 51 * pros: FragmentManager manages restoring conversation fragments, each conversation gets its own 53 * cons: the activity's Controller has to specially handle show/hide conversation view, 54 * conversation fragment transitions must be done manually 68 * True when the initial conversation passed to show() is busy loading. We assume that the 70 * conversation, and unset this flag when first signaled. Side-to-side paging will not re-enable 71 * this flag, since it's only needed for initial conversation load. 80 * target conversation, then when the conversation view signals that the conversation is loade [all...] |
ConversationViewAdapter.java | 41 import com.android.mail.providers.Conversation; 59 * A specialized adapter that contains overlay views to draw on top of the underlying conversation 119 public final Conversation mConversation; 121 private ConversationHeaderItem(Conversation conv) { 641 public int addConversationHeader(Conversation conv) { 727 LogUtils.e(LOG_TAG, "Last item is not a conversation footer. type: %s", item.getType());
|
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...] |
SendersView.java | 36 import com.android.mail.providers.Conversation; 50 /** The maximum number of senders to display for a given conversation */ 144 public static SpannableStringBuilder createMessageInfo(Context context, Conversation conv,
|
/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);
|
LevelTree.java | 61 public ArrayList<ConversationUtils.Conversation> character1Conversations; 62 public ArrayList<ConversationUtils.Conversation> character2Conversations;
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
PrintUtils.java | 35 import com.android.mail.providers.Conversation; 46 * either a conversation or message. 54 * Prints an entire conversation. 116 throw new IllegalStateException("trying to print without a conversation"); 119 final Conversation conversation = cursor.getConversation(); local 120 templates.startPrintConversation(conversation.subject, conversation.getNumMessages()); 122 // for each message in the conversation, add message html
|