/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | TwoPaneController.java | 128 sb.append(mToShow.conversation); in appendToString() 271 protected void restoreConversation(Conversation conversation) { in restoreConversation() argument 289 mPagerController.show(mAccount, mFolder, conversation, false /* changeVisibility */, in restoreConversation() 296 mSavedPeekingConversation = conversation; in restoreConversation() 300 showConversationWithPeek(conversation, true /* peek */); in restoreConversation() 302 super.restoreConversation(conversation); in restoreConversation() 485 mPagerController.show(mAccount, mFolder, mToShow.conversation, in showCurrentConversationInPager() 545 protected void showConversationWithPeek(Conversation conversation, boolean peek) { in showConversationWithPeek() argument 546 showConversation(conversation, peek, false /* fromKeyboard */); in showConversationWithPeek() 554 private void showConversation(Conversation conversation, boolean peek, boolean fromKeyboard) { in showConversation() argument [all …]
|
D | ConversationCheckedSet.java | 85 Conversation conversation = (Conversation) parceled; in ConversationCheckedSet() local 86 put(conversation.id, conversation); in ConversationCheckedSet() 135 public boolean contains(Conversation conversation) { in contains() argument 137 return containsKey(conversation.id); in contains() 249 public void toggle(Conversation conversation) { in toggle() argument 250 final long conversationId = conversation.id; in toggle() 255 put(conversationId, conversation); in toggle()
|
D | AbstractActivityController.java | 2405 final Conversation conversation = savedState.getParcelable(SAVED_CONVERSATION); 2406 restoreConversation(conversation); 2556 protected void restoreConversation(Conversation conversation) { 2557 if (conversation != null && conversation.position < 0) { 2560 conversation.position = 0; 2562 showConversation(conversation); 2573 protected void showConversation(Conversation conversation) { 2574 showConversation(conversation, false /* shouldAnimate */); 2583 protected void showConversation(Conversation conversation, boolean shouldAnimate) { 2584 showConversationWithPeek(conversation, false /* peek */); [all …]
|
D | ConversationListFragment.java | 877 public void setActivated(final Conversation conversation, boolean different) { in setActivated() argument 878 if (mListView.getChoiceMode() == ListView.CHOICE_MODE_NONE || conversation == null) { in setActivated() 882 final int cursorPosition = conversation.position; in setActivated() 885 setRawSelected(conversation, position); in setActivated() 892 public void setSelected(final Conversation conversation) { in setSelected() argument 893 if (mListView.getChoiceMode() == ListView.CHOICE_MODE_NONE || conversation == null) { in setSelected() 897 final int cursorPosition = conversation.position; in setSelected() 899 setRawSelected(conversation, position); in setSelected() 906 private void setRawSelected(Conversation conversation, final int position) { in setRawSelected() argument 922 mListView.setSelectedConversation(conversation); in setRawSelected()
|
D | OnePaneController.java | 275 protected void showConversation(Conversation conversation, boolean shouldAnimate) { in showConversation() argument 276 super.showConversation(conversation, shouldAnimate); in showConversation() 279 if (conversation == null) { in showConversation() 290 mPagerController.show(mAccount, mFolder, conversation, true /* changeVisibility */, in showConversation() 297 public void onConversationFocused(Conversation conversation) { in onConversationFocused() argument
|
D | AnimatedAdapter.java | 748 private View getDeletingView(int position, Conversation conversation, ViewGroup parent, in getDeletingView() argument 750 conversation.position = position; in getDeletingView() 751 SwipeableConversationItemView deletingView = mAnimatingViews.get(conversation.id); in getDeletingView() 755 deletingView = newConversationItemView(position, parent, conversation); in getDeletingView() 788 Conversation conversation) { in newConversationItemView() argument 792 view.bind(conversation, mActivity, mBatchConversations, mFolder, getCheckboxSetting(), in newConversationItemView() 794 mAnimatingViews.put(conversation.id, view); in newConversationItemView()
|
D | SecureConversationViewController.java | 238 final Conversation conversation = mMessage.getConversation(); in printMessage() local 240 conversation != null ? conversation.subject : mMessage.subject, in printMessage()
|
D | AbstractConversationViewFragment.java | 275 public static String buildBaseUri(Context context, Account account, Conversation conversation) { in buildBaseUri() argument 278 return "x-thread://" + account.getAccountId().hashCode() + "/" + conversation.id; in buildBaseUri() 679 public abstract void onConversationUpdated(Conversation conversation); in onConversationUpdated() argument
|
D | ConversationListCallbacks.java | 41 void onConversationSelected(Conversation conversation, boolean inLoaderCallbacks); in onConversationSelected() argument 47 void onConversationFocused(Conversation conversation); in onConversationFocused() argument
|
D | NestedFolderTeaserView.java | 592 final Conversation conversation = data.getModel(); 594 if (!conversation.read) { 601 conversation.conversationInfo.participantInfos) {
|
D | ConversationPositionTracker.java | 128 public void initialize(Conversation conversation) { in initialize() argument 129 mConversation = conversation; in initialize()
|
D | MultiFoldersSelectionDialog.java | 110 for (final Conversation conversation : mTarget) { in onCreate() 111 final List<Folder> rawFolders = conversation.getRawFolders(); in onCreate()
|
D | SecureConversationViewFragment.java | 111 Conversation conversation) { in newInstance() argument 114 args.putParcelable(ARG_CONVERSATION, conversation); in newInstance()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationItemViewModel.java | 104 public Conversation conversation; field in ConversationItemViewModel 155 header.conversation = conv; in forConversation() 216 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred, in validate() 217 conversation.read, conversation.priority, conversation.sendingState); in validate() 226 conversation.conversationInfo, conversation.getRawFolders(), conversation.starred, in isDataValid() 227 conversation.read, conversation.priority, conversation.sendingState); in isDataValid() 256 int last = conversation.conversationInfo.participantInfos != null ? in getContentDescription() 257 conversation.conversationInfo.participantInfos.size() - 1 : -1; in getContentDescription() 259 lastParticipant = conversation.conversationInfo.participantInfos.get(last).name; in getContentDescription() 261 if (conversation.read) { in getContentDescription() [all …]
|
D | ConversationItemView.java | 469 public void bind(final Conversation conversation, final ControllableActivity activity, in bind() argument 475 bind(ConversationItemViewModel.forConversation(mAccount.getEmailAddress(), conversation), in bind() local 512 final boolean newlyBound = header.conversation.id != mHeader.conversation.id; in bind() 567 mHeader.folderDisplayer.loadConversationFolders(mHeader.conversation, in bind() 574 mHeader.conversation.dateMs); in bind() 590 if (mHeader.conversation.color != 0) { in bind() 596 final int personalLevel = mHeader.conversation.personalLevel; in bind() 598 mHeader.conversation.priority == UIProvider.ConversationPriority.IMPORTANT; in bind() 651 return mHeader.conversation; in getConversation() 767 setChecked(mCheckedConversationSet.contains(mHeader.conversation)); in calculateTextsAndBitmaps() [all …]
|
D | ConversationCursor.java | 260 public Conversation conversation; field in ConversationCursor.UnderlyingRowData 262 public UnderlyingRowData(String innerUri, Conversation conversation) { in UnderlyingRowData() argument 264 this.conversation = conversation; in UnderlyingRowData() 310 if (rowData.conversation == null) { in doInBackground() 314 rowData.conversation = new Conversation( in doInBackground() 522 return mRowCache.get(getPosition()).conversation; in getConversation() 525 public void cacheConversation(Conversation conversation) { in cacheConversation() argument 527 if (rowData.conversation == null) { in cacheConversation() 528 rowData.conversation = conversation; in cacheConversation() 2021 public int updateBoolean(Conversation conversation, String columnName, boolean value) { in updateBoolean() argument [all …]
|
D | SelectedConversationsActionMenu.java | 377 for (Conversation conversation : conversations) { in onPrepareActionMode() 378 if (!conversation.starred) { in onPrepareActionMode() 381 if (conversation.read) { in onPrepareActionMode() 384 if (!conversation.isImportant()) { in onPrepareActionMode() 387 if (conversation.spam) { in onPrepareActionMode() 390 if (!conversation.phishing) { in onPrepareActionMode()
|
D | MessageHeaderView.java | 942 final Conversation conversation = mMessage.getConversation(); in onClick() local 943 if (conversation != null) { in onClick() 944 showStar = !conversation.isInTrash(); in onClick() 980 final Conversation conversation = mMessage.getConversation(); in printMessage() local 982 AbstractConversationViewFragment.buildBaseUri(getContext(), account, conversation); in printMessage() 983 PrintUtils.printMessage(getContext(), mMessage, conversation.subject, in printMessage() 984 mAddressCache, conversation.getBaseUri(baseUri), useJavascript); in printMessage()
|
D | SwipeableConversationItemView.java | 55 public void bind(final Conversation conversation, final ControllableActivity activity, in bind() argument 60 mConversationItemView.bind(conversation, activity, set, folder, checkboxOrSenderImage, in bind()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationActionUtils.java | 89 final Conversation conversation, final Message message) { 118 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message); in shouldDisplayPrimary() argument 168 public int getActionIconResId(final Folder folder, final Conversation conversation, in getActionIconResId() argument 170 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation, in getActionIconResId() 178 public int getDisplayStringResId(final Folder folder, final Conversation conversation, in getDisplayStringResId() argument 180 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation, in getDisplayStringResId() 201 final Conversation conversation, final Message message, in addNotificationActions() argument 209 context, account, conversation, message, in addNotificationActions() 211 final int actionIconResId = notificationAction.getActionIconResId(folder, conversation, in addNotificationActions() 214 folder, conversation, message)); in addNotificationActions() [all …]
|
D | NotificationUtils.java | 936 final Conversation conversation = new Conversation(cursor); in createViewConversationIntent() local 937 intent = Utils.createViewConversationIntent(context, conversation, in createViewConversationIntent() 1020 final Conversation conversation = new Conversation(conversationCursor); in configureLatestEventInfoFromConversation() local 1022 if (!conversation.read) { in configureLatestEventInfoFromConversation() 1029 final Uri.Builder uriBuilder = conversation.messageListUri.buildUpon(); in configureLatestEventInfoFromConversation() 1068 ConversationItemView.filterTag(context, conversation.subject), in configureLatestEventInfoFromConversation() 1069 conversation.getSnippet()); in configureLatestEventInfoFromConversation() 1098 (Long.MAX_VALUE - conversation.orderKey)); in configureLatestEventInfoFromConversation() 1101 conversationNotif.setWhen(conversation.dateMs); in configureLatestEventInfoFromConversation() 1104 summaryNotificationId, conversation.hashCode()); in configureLatestEventInfoFromConversation() [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ConversationListItem.java | 175 public final void bind(Context context, final Conversation conversation) { in bind() argument 178 mConversation = conversation; in bind() 183 boolean hasError = conversation.hasError(); in bind() 193 boolean hasAttachment = conversation.hasAttachment(); in bind() 197 mDateView.setText(MessageUtils.formatTimeStampString(context, conversation.getDate())); in bind() 203 ContactList contacts = conversation.getRecipients(); in bind() 211 mSubjectView.setText(conversation.getSnippet()); in bind()
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetConversationListItemViewBuilder.java | 146 final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType, in getStyledView() argument 149 final boolean isUnread = !conversation.read; in getStyledView() 150 final String snippet = conversation.getSnippet(); in getStyledView() 151 final boolean hasAttachments = conversation.hasAttachments; in getStyledView() 209 mFolderDisplayer.loadConversationFolders(conversation, folderUri, ignoreFolderType); in getStyledView()
|
D | WidgetService.java | 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)); 438 Utils.createViewConversationIntent(mContext, conversation, mFolderUri,
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
D | PrintUtils.java | 119 final Conversation conversation = cursor.getConversation(); in buildConversationHtml() local 120 templates.startPrintConversation(conversation.subject, conversation.getNumMessages()); in buildConversationHtml()
|