/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() 2028 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()
|
/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 | 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 | 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 | 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 | ConversationListCallbacks.java | 41 void onConversationSelected(Conversation conversation, boolean inLoaderCallbacks); in onConversationSelected() argument 47 void onConversationFocused(Conversation conversation); in onConversationFocused() argument
|
D | SecureConversationViewController.java | 238 final Conversation conversation = mMessage.getConversation(); in printMessage() local 240 conversation != null ? conversation.subject : mMessage.subject, in printMessage()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ReadDraftDataAction.java | 42 final ConversationListItemData conversation); in onReadDraftDataSucceeded() argument 74 public final ConversationListItemData conversation; field in ReadDraftDataAction.DraftData 76 DraftData(final MessageData message, final ConversationListItemData conversation) { in DraftData() argument 78 this.conversation = conversation; in DraftData() 87 final ConversationListItemData conversation = in executeAction() local 90 if (conversation != null) { in executeAction() 93 conversation.getSelfId()); in executeAction() 96 message = MessageData.createDraftMessage(conversationId, conversation.getSelfId(), in executeAction() 100 + " selfId=" + conversation.getSelfId()); in executeAction() 104 + " selfId=" + conversation.getSelfId()); in executeAction() [all …]
|
D | WriteDraftMessageAction.java | 58 final ConversationListItemData conversation = in executeAction() local 60 if (conversation != null) { in executeAction() 61 final String senderAndSelf = conversation.getSelfId(); in executeAction()
|
/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/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | AbstractConversationListActivity.java | 144 for (final SelectedConversation conversation : conversations) { in onActionBarDelete() 146 conversation.conversationId, in onActionBarDelete() 147 conversation.timestamp); in onActionBarDelete() 160 for (final SelectedConversation conversation : conversations) { in onActionBarArchive() 161 final String conversationId = conversation.conversationId; in onActionBarArchive() 195 for (final SelectedConversation conversation : conversations) { in onActionBarNotification() 197 conversation.conversationId, isNotificationOn); in onActionBarNotification() 210 public void onActionBarAddContact(final SelectedConversation conversation) { in onActionBarAddContact() argument 212 if (conversation.icon != null) { in onActionBarAddContact() 213 avatarUri = Uri.parse(conversation.icon); in onActionBarAddContact() [all …]
|
D | MultiSelectActionModeCallback.java | 42 void onActionBarAddContact(final SelectedConversation conversation); in onActionBarAddContact() argument 43 void onActionBarBlock(final SelectedConversation conversation); in onActionBarBlock() argument 173 final SelectedConversation conversation = mSelectedConversations.valueAt(0); in updateActionIconsVisiblity() local 176 final boolean isInContacts = !TextUtils.isEmpty(conversation.participantLookupKey); in updateActionIconsVisiblity() 177 mAddContactMenuItem.setVisible(!conversation.isGroup && !isInContacts); in updateActionIconsVisiblity() 179 final String otherParticipant = conversation.otherParticipantNormalizedDestination; in updateActionIconsVisiblity() 192 for (final SelectedConversation conversation : conversations) { in updateActionIconsVisiblity() 193 if (conversation.notificationEnabled) { in updateActionIconsVisiblity() 199 if (conversation.isArchived) { in updateActionIconsVisiblity()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationActivity.java | 17 package com.android.messaging.ui.conversation; 36 import com.android.messaging.ui.conversation.ConversationActivityUiState.ConversationActivityUiStat… 37 import com.android.messaging.ui.conversation.ConversationFragment.ConversationFragmentHost; 181 final ConversationFragment conversation = getConversationFragment(); in updateActionBar() local 185 } else if (conversation != null && mUiState.shouldShowConversationFragment()) { in updateActionBar() 186 conversation.updateActionBar(actionBar); in updateActionBar()
|
/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 | 430 Conversation conversation = new Conversation(mConversationCursor); 434 SendersView.format(mContext, conversation.conversationInfo, "", 441 conversation.dateMs); 452 mContext, date, conversation, new FolderUri(mFolderUri), ignoreFolderType, 454 ConversationItemView.filterTag(mContext, conversation.subject)); 458 Utils.createViewConversationIntent(mContext, conversation, mFolderUri,
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationActivityUiStateTest.java | 17 package com.android.messaging.ui.conversation; 24 import com.android.messaging.ui.conversation.ConversationActivityUiState; 25 import com.android.messaging.ui.conversation.ConversationActivityUiState.ConversationActivityUiStat…
|
D | ConversationMessageViewTest.java | 17 package com.android.messaging.ui.conversation; 29 import com.android.messaging.ui.conversation.ConversationMessageView; 30 import com.android.messaging.ui.conversation.ConversationMessageView.ConversationMessageViewHost;
|
D | ConversationInputManagerTest.java | 16 package com.android.messaging.ui.conversation; 32 import com.android.messaging.ui.conversation.ConversationInputManager.ConversationInputHost; 33 import com.android.messaging.ui.conversation.ConversationInputManager.ConversationInputSink;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationListItemData.java | 498 ConversationListItemData conversation = null; in getExistingConversation() local 511 conversation = new ConversationListItemData(); in getExistingConversation() 512 conversation.bind(cursor); in getExistingConversation() 520 return conversation; in getExistingConversation()
|