Home
last modified time | relevance | path

Searched refs:FolderOperation (Results 1 – 7 of 7) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderOperation.java32 public class FolderOperation implements Parcelable { class
34 public static final Collection<FolderOperation> EMPTY = Collections.emptyList();
38 public FolderOperation(Folder folder, Boolean operation) { in FolderOperation() method in FolderOperation
48 public static ArrayList<Folder> getFolders(Collection<FolderOperation> ops) { in getFolders()
50 for (FolderOperation op : ops) { in getFolders()
63 public static Collection<FolderOperation> listOf(FolderOperation in) { in listOf()
64 final Collection<FolderOperation> target = (in == null) ? EMPTY : ImmutableList.of(in); in listOf()
72 public static boolean isDestructive(Collection<FolderOperation> folderOps, Folder folder) { in isDestructive()
73 for (FolderOperation op : folderOps) { in isDestructive()
86 FolderOperation(Parcel in) { in FolderOperation() method in FolderOperation
[all …]
DMultiFoldersSelectionDialog.java52 private final HashMap<Uri, FolderOperation> mOperations;
55 mOperations = new HashMap<Uri, FolderOperation>(); in MultiFoldersSelectionDialog()
72 final FolderOperation[] savedOps = (FolderOperation[]) in onCreate()
74 for (final FolderOperation op : savedOps) { in onCreate()
122 for (final Map.Entry<Uri, FolderOperation> entry : mOperations.entrySet()) { in onCreate()
172 mOperations.values().toArray(new FolderOperation[mOperations.size()])); in onSaveInstanceState()
204 new FolderOperation(folder, false)); in update()
211 mOperations.put(folder.folderUri.fullUri, new FolderOperation(folder, add)); in update()
DSingleFolderSelectionDialog.java123 ArrayList<FolderOperation> ops = new ArrayList<FolderOperation>(); in onListItemClick()
125 ops.add(new FolderOperation(mCurrentFolder, false)); in onListItemClick()
126 ops.add(new FolderOperation(folder, true)); in onListItemClick()
DAbstractActivityController.java1623 final List<FolderOperation> ops = Lists.newArrayListWithCapacity(1);
1625 ops.add(new FolderOperation(moveToInbox, true));
3090 public final void assignFolder(Collection<FolderOperation> folderOps,
3097 && FolderOperation.isDestructive(folderOps, mFolder);
3125 for (final FolderOperation folderOperation : folderOps) {
3820 private final ArrayList<FolderOperation> mFolderOps = new ArrayList<FolderOperation>();
3837 final Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch,
3876 for (FolderOperation op : mFolderOps) {
3911 Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch,
3921 Collection<FolderOperation> folders, boolean isDestructive, boolean isBatch,
[all …]
DSwipeableListView.java251 FolderOperation folderOp = new FolderOperation(mFolder, false); in dismissChild()
DConversationUpdater.java170 public void assignFolder(Collection<FolderOperation> folders, Collection<Conversation> target, in assignFolder()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java48 import com.android.mail.ui.FolderOperation;
220 final List<FolderOperation> ops = Lists.newArrayListWithCapacity(1); in onActionItemClicked()
222 ops.add(new FolderOperation(moveToInbox, true)); in onActionItemClicked()