/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationPositionTracker.java | 21 import com.android.mail.providers.Conversation; 45 private Conversation mConversation; 57 private Conversation conversationAtPosition(int position){ in conversationAtPosition() 60 final Conversation conv = cursor.getConversation(); in conversationAtPosition() 81 private Conversation getNewer(Collection<Conversation> victims) { in getNewer() 90 final Conversation candidate = conversationAtPosition(pos); in getNewer() 91 if (!Conversation.contains(victims, candidate)) { in getNewer() 103 private Conversation getOlder(Collection<Conversation> victims) { in getOlder() 112 final Conversation candidate = conversationAtPosition(pos); in getOlder() 113 if (!Conversation.contains(victims, candidate)) { in getOlder() [all …]
|
D | ConversationUpdater.java | 28 import com.android.mail.providers.Conversation; 48 void updateConversation(Collection <Conversation> target, String columnName, String value); in updateConversation() 58 void updateConversation(Collection <Conversation> target, String columnName, int value); in updateConversation() 68 void updateConversation(Collection <Conversation> target, String columnName, boolean value); in updateConversation() 78 void updateConversation(Collection <Conversation> target, ContentValues values); in updateConversation() 88 int actionId, final Collection<Conversation> target, final DestructiveAction action, in delete() 98 void markConversationsRead(Collection<Conversation> targets, boolean read, boolean viewed); in markConversationsRead() 110 void markConversationMessagesUnread(Conversation conv, Set<Uri> unreadMessageUris, in markConversationMessagesUnread() 120 boolean markConversationSeen(Conversation conv); in markConversationSeen() 156 public DestructiveAction getDeferredRemoveFolder(Collection<Conversation> target, in getDeferredRemoveFolder() [all …]
|
D | ConversationCheckedSet.java | 24 import com.android.mail.providers.Conversation; 68 private final HashMap<Long, Conversation> mInternalMap = new HashMap<Long, Conversation>(); 85 Conversation conversation = (Conversation) parceled; in ConversationCheckedSet() 135 public boolean contains(Conversation conversation) { in contains() 182 private void put(Long id, Conversation info) { in put() 249 public void toggle(Conversation conversation) { in toggle() 260 public Collection<Conversation> values() { in values() 296 Conversation[] values = values().toArray(new Conversation[size()]); in writeToParcel()
|
D | ConversationListCallbacks.java | 26 import com.android.mail.providers.Conversation; 41 void onConversationSelected(Conversation conversation, boolean inLoaderCallbacks); in onConversationSelected() 47 void onConversationFocused(Conversation conversation); in onConversationFocused() 61 Conversation getCurrentConversation(); in getCurrentConversation() 62 void setCurrentConversation(Conversation c); in setCurrentConversation() 63 void onConversationViewSwitched(Conversation c); in onConversationViewSwitched()
|
D | SwipeableListView.java | 39 import com.android.mail.providers.Conversation; 236 Conversation conv = target.getConversation(); in dismissChild() 244 Collection<Conversation> convList = Conversation.listOf(conv); in dismissChild() 264 cc.mostlyDestructiveUpdate(Conversation.listOf(conv), values); in dismissChild() 317 public boolean destroyItems(Collection<Conversation> convs, in destroyItems() 332 public int findConversation(ConversationItemView view, Conversation conv) { in findConversation() 343 Conversation foundConv; in findConversation() 386 public void onListItemSwiped(Collection<Conversation> conversations); in onListItemSwiped() 416 public void setSelectedConversation(Conversation conv) { in setSelectedConversation() 424 public boolean isConversationSelected(Conversation conv) { in isConversationSelected() [all …]
|
D | AbstractActivityController.java | 83 import com.android.mail.providers.Conversation; 196 protected Conversation mCurrentConversation; 483 private Conversation mConversationToShow = null; 1483 int actionId, final Conversation conv) { in getUndoCallbackForDestructiveActionsWithAutoAdvance() 1488 final Collection<Conversation> convCol = Conversation.listOf(conv); in getUndoCallbackForDestructiveActionsWithAutoAdvance() 1543 final Collection<Conversation> target = Conversation.listOf(mCurrentConversation); 1577 updateConversation(Conversation.listOf(mCurrentConversation), 1745 public void updateConversation(Collection<Conversation> target, ContentValues values) { 1751 public void updateConversation(Collection <Conversation> target, String columnName, 1758 public void updateConversation(Collection <Conversation> target, String columnName, [all …]
|
D | TwoPaneController.java | 38 import com.android.mail.providers.Conversation; 89 private Conversation mSavedPeekingConversation; 271 protected void restoreConversation(Conversation conversation) { in restoreConversation() 545 protected void showConversationWithPeek(Conversation conversation, boolean peek) { in showConversationWithPeek() 554 private void showConversation(Conversation conversation, boolean peek, boolean fromKeyboard) { in showConversation() 617 public void onConversationSelected(Conversation conversation, boolean inLoaderCallbacks) { in onConversationSelected() 630 public void onConversationFocused(Conversation conversation) { in onConversationFocused() 637 public void setCurrentConversation(Conversation conversation) { in setCurrentConversation() 664 public void onConversationViewSwitched(Conversation conversation) { in onConversationViewSwitched() 680 protected void doShowNextConversation(Collection<Conversation> target, int autoAdvance) { in doShowNextConversation() [all …]
|
D | AnimatedAdapter.java | 49 import com.android.mail.providers.Conversation; 383 Conversation conv) { in createConversationItemView() 437 public void swipeDelete(Collection<Conversation> conversations, in swipeDelete() 454 public void delete(Collection<Conversation> conversations, ListItemsRemovedListener listener) { in delete() 458 private void delete(Collection<Conversation> conversations, ListItemsRemovedListener listener, in delete() 469 for (Conversation c: conversations) { in delete() 506 final Conversation conv = cursor.getConversation(); in getView() 572 public LeaveBehindItem setupLeaveBehind(Conversation target, ToastBarOperation undoOp, in setupLeaveBehind() 612 Conversation conv = item.getData(); in fadeOutLeaveBehindItems() 632 Conversation conv = item.getData(); in startFadeOutLeaveBehindItemsAnimations() [all …]
|
D | FolderSelectionDialog.java | 30 import com.android.mail.providers.Conversation; 47 protected Collection<Conversation> mTarget; 55 final Collection<Conversation> target, final boolean isBatch, in getInstance() 72 args.putParcelableArray(ARG_TARGET_TAG, target.toArray(new Conversation[target.size()])); in getInstance() 89 mTarget = Arrays.asList((Conversation[])args.getParcelableArray(ARG_TARGET_TAG)); in onCreate()
|
D | NestedFolderTeaserView.java | 43 import com.android.mail.providers.Conversation; 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(); 643 public Loader<ObjectCursor<Conversation>> onCreateLoader(final int id, final Bundle args) { 651 return new ObjectCursorLoader<Conversation>(getContext(), uri, 652 UIProvider.CONVERSATION_PROJECTION, Conversation.FACTORY);
|
D | LeaveBehindData.java | 22 import com.android.mail.providers.Conversation; 25 final Conversation data; 29 public LeaveBehindData(Conversation conv, ToastBarOperation undoOp, int height) { in LeaveBehindData()
|
D | LeaveBehindItem.java | 36 import com.android.mail.providers.Conversation; 49 private Conversation mData; 110 ToastBarOperation undoOp, Conversation target, Folder folder, int height) { in bind() 264 public void setData(Conversation conversation) { in setData() 268 public Conversation getData() { in getData()
|
D | ConversationListFragment.java | 54 import com.android.mail.providers.Conversation; 723 final Conversation conv = ((ConversationCursor) item).getConversation(); in onKey() 855 final Conversation conv = cursor.getConversation(); in viewConversation() 877 public void setActivated(final Conversation conversation, boolean different) { in setActivated() 892 public void setSelected(final Conversation conversation) { in setSelected() 906 private void setRawSelected(Conversation conversation, final int position) { in setRawSelected() 969 public void requestDelete(int actionId, final Collection<Conversation> conversations, in requestDelete() 971 for (Conversation conv : conversations) { in requestDelete() 1152 final Conversation conv = mCallbacks.getCurrentConversation(); in onCursorUpdated() 1170 public void onListItemSwiped(Collection<Conversation> conversations) { in onListItemSwiped()
|
D | AbstractConversationViewFragment.java | 46 import com.android.mail.providers.Conversation; 75 protected Conversation mConversation; 275 public static String buildBaseUri(Context context, Account account, Conversation conversation) { in buildBaseUri() 321 public Conversation getConversation() { in getConversation() 679 public abstract void onConversationUpdated(Conversation conversation); in onConversationUpdated()
|
D | SecureConversationViewFragment.java | 39 import com.android.mail.providers.Conversation; 111 Conversation conversation) { in newInstance() 266 public void onConversationUpdated(Conversation conv) { in onConversationUpdated()
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Conversation.java | 43 public class Conversation implements Parcelable { class 169 public static final Collection<Conversation> EMPTY = Collections.emptyList(); 203 private Conversation(Parcel in, ClassLoader loader) { in Conversation() method in Conversation 244 public static final ClassLoaderCreator<Conversation> CREATOR = 245 new ClassLoaderCreator<Conversation>() { 248 public Conversation createFromParcel(Parcel source) { 249 return new Conversation(source, null); 253 public Conversation createFromParcel(Parcel source, ClassLoader loader) { 254 return new Conversation(source, loader); 258 public Conversation[] newArray(int size) { [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationCursor.java | 42 import com.android.mail.providers.Conversation; 135 private final List<Conversation> mMostlyDead = Lists.newArrayList(); 138 private final Set<Conversation> mNotificationTempDeleted = Sets.newHashSet(); 260 public Conversation conversation; 262 public UnderlyingRowData(String innerUri, Conversation conversation) { in UnderlyingRowData() 314 rowData.conversation = new Conversation( in doInBackground() 521 public Conversation getConversation() { in getConversation() 525 public void cacheConversation(Conversation conversation) { in cacheConversation() 1329 public Conversation getConversation() { in getConversation() 1330 Conversation c = getCachedConversation(); in getConversation() [all …]
|
D | ConversationPagerAdapter.java | 33 import com.android.mail.providers.Conversation; 58 private final Conversation mInitialConversation; 136 Folder folder, Conversation initialConversation) { in ConversationPagerAdapter() 200 final Conversation c; in getItem() 227 private AbstractConversationViewFragment getConversationViewFragment(Conversation c) { in getConversationViewFragment() 397 final Conversation currConversation = mController.getCurrentConversation(); in notifyDataSetChanged() 426 final Conversation conv = cursor.getConversation(); in notifyDataSetChanged() 447 private Conversation getDefaultConversation() { in getDefaultConversation() 448 Conversation c = (mController != null) ? mController.getCurrentConversation() : null; in getDefaultConversation() 455 public int getConversationPosition(Conversation conv) { in getConversationPosition() [all …]
|
D | SelectedConversationsActionMenu.java | 33 import com.android.mail.providers.Conversation; 185 for (Conversation conv: mCheckedSet.values()) { in onActionItemClicked() 263 final Collection<Conversation> conversations = mCheckedSet.values(); in performDestructiveAction() 302 private void destroy(int actionId, final Collection<Conversation> target, in destroy() 315 final Collection<Conversation> targets = mCheckedSet.values(); in markConversationsRead() 328 final Collection<Conversation> target = mCheckedSet.values(); in markConversationsImportant() 333 for (final Conversation c : target) { in markConversationsImportant() 345 final Collection<Conversation> target = mCheckedSet.values(); in starConversations() 348 for (final Conversation c : target) { in starConversations() 367 final Collection<Conversation> conversations = mCheckedSet.values(); in onPrepareActionMode() [all …]
|
D | ConversationViewHeader.java | 37 import com.android.mail.providers.Conversation; 76 private Conversation mConversation; 113 public void setFolders(Conversation conv) { in setFolders() 146 public void onConversationUpdated(Conversation conv) { in onConversationUpdated() 168 mConversationUpdater.updateConversation(Conversation.listOf(mConversation), in onClick()
|
D | MessageCursor.java | 27 import com.android.mail.providers.Conversation; 52 Conversation getConversation(); in getConversation() 76 public Conversation getConversation() { in getConversation()
|
D | SubjectAndFolderView.java | 37 import com.android.mail.providers.Conversation; 99 mSubject = Conversation.getSubjectForDisplay(getContext(), null /* badgeText */, subject); in setSubject() 107 Conversation conv) { in setFolders()
|
D | SwipeableConversationItemView.java | 27 import com.android.mail.providers.Conversation; 55 public void bind(final Conversation conversation, final ControllableActivity activity, in bind()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationActionUtils.java | 41 import com.android.mail.providers.Conversation; 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); in shouldDisplayPrimary() 168 public int getActionIconResId(final Folder folder, final Conversation conversation, in getActionIconResId() 178 public int getDisplayStringResId(final Folder folder, final Conversation conversation, in getDisplayStringResId() 201 final Conversation conversation, final Message message, in addNotificationActions() 350 final Account account, final Conversation conversation, final Message message, in getNotificationActionPendingIntent() 419 final Account account, final Conversation conversation, final Message message, in getWearNotificationActionPendingIntent() 487 private final Conversation mConversation; [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | WidgetConversationListItemViewBuilder.java | 34 import com.android.mail.providers.Conversation; 67 public void loadConversationFolders(Conversation conv, final FolderUri ignoreFolderUri, in loadConversationFolders() 146 final Conversation conversation, final FolderUri folderUri, final int ignoreFolderType, in getStyledView() 164 subject = Conversation.getSubjectForDisplay(context, null /* badgeText */, subject); in getStyledView()
|