/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 37 import com.android.mail.providers.UIProvider.FolderType; 626 !TextUtils.isEmpty(folder.bgColor) && (folder.type & FolderType.INBOX_SECTION) == 0; in setFolderBlockColor() 690 return !isType(UIProvider.FolderType.DEFAULT); in isProviderFolder() 743 return isType(FolderType.INBOX); in isInbox() 750 return isType(FolderType.SEARCH); in isSearch() 757 return isType(FolderType.SPAM); in isSpam() 764 return isType(FolderType.TRASH); in isTrash() 771 return isType(FolderType.DRAFT); in isDraft() 786 return isType(FolderType.SENT); in isSent() 793 return isType(FolderType.OUTBOX); in isOutbox() [all …]
|
D | UIProvider.java | 823 public static final class FolderType { class in UIProvider
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/ |
D | Folder.java | 30 public enum FolderType { enum in Folder 97 public abstract boolean canCreate(FolderType type); in canCreate() 103 public abstract boolean create(FolderType type) throws MessagingException; in create()
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
D | MockFolder.java | 40 public boolean canCreate(FolderType type) { in canCreate() 45 public boolean create(FolderType type) { in create()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MultiFoldersSelectionDialog.java | 34 import com.android.mail.providers.UIProvider.FolderType; 143 ImmutableSet.of(FolderType.INBOX_SECTION), originalChecked, in onCreate() 151 ImmutableSet.of(FolderType.INBOX_SECTION), originalChecked, in onCreate()
|
D | ConversationsInOutboxTipView.java | 79 if ((folder.type & UIProvider.FolderType.SENT) > 0) { 99 if ((folder.type & UIProvider.FolderType.OUTBOX) > 0) {
|
D | AddableFolderSelectorAdapter.java | 92 if (Folder.isType(type, UIProvider.FolderType.INBOX) in filterFolders() 93 || Folder.isType(type, UIProvider.FolderType.DEFAULT)) { in filterFolders()
|
D | ActionBarController.java | 39 import com.android.mail.providers.UIProvider.FolderType; 240 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0 in validateVolatileMenuOptionVisibility() 398 final boolean isOutbox = mFolder.isType(FolderType.OUTBOX); in setConversationModeOptions()
|
D | RecentFolderList.java | 30 import com.android.mail.providers.UIProvider.FolderType; 204 if (folder.isProviderFolder() || folder.isType(FolderType.SEARCH)) { in touchFolder()
|
D | EmptyFolderDialogFragment.java | 89 final int dialogTitleId = Folder.isType(mFolderType, UIProvider.FolderType.SPAM) ? in onCreateDialog()
|
D | FolderListFragment.java | 61 import com.android.mail.providers.UIProvider.FolderType; 198 private int mSelectedFolderType = FolderType.INBOX; 591 mSelectedFolderType = FolderType.INBOX; in changeAccount() 1081 if (!currentFolderFound && !Folder.isType(FolderType.SEARCH, mSelectedFolderType) in recalculateDividedListFolders()
|
D | FolderDisplayer.java | 32 import com.android.mail.providers.UIProvider.FolderType;
|
D | ConversationListFragment.java | 1076 if (mFolder.isType(UIProvider.FolderType.OUTBOX)) { in setSwipeAction()
|
D | AbstractActivityController.java | 96 import com.android.mail.providers.UIProvider.FolderType; 902 if (folder != null && folder.isType(FolderType.SEARCH)) { in onFolderChanged()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 33 import com.android.emailcommon.mail.Folder.FolderType; 288 assertFalse(mFolder.canCreate(FolderType.HOLDS_FOLDERS)); in testSmallFolderFunctions() 289 assertFalse(mFolder.canCreate(FolderType.HOLDS_MESSAGES)); in testSmallFolderFunctions() 290 assertFalse(mFolder.create(FolderType.HOLDS_FOLDERS)); in testSmallFolderFunctions() 291 assertFalse(mFolder.create(FolderType.HOLDS_MESSAGES)); in testSmallFolderFunctions()
|
D | ImapStoreUnitTests.java | 49 import com.android.emailcommon.mail.Folder.FolderType; 517 assertTrue(mFolder.canCreate(FolderType.HOLDS_FOLDERS)); in testSmallFolderFunctions() 518 assertTrue(mFolder.canCreate(FolderType.HOLDS_MESSAGES)); in testSmallFolderFunctions() 1541 assertTrue(folder.canCreate(FolderType.HOLDS_MESSAGES)); in testCreate() 1548 assertTrue(folder.create(FolderType.HOLDS_MESSAGES)); in testCreate() 1559 assertFalse(folder.create(FolderType.HOLDS_MESSAGES)); in testCreate()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SelectedConversationsActionMenu.java | 41 import com.android.mail.providers.UIProvider.FolderType; 172 if (mFolder.isType(UIProvider.FolderType.STARRED)) { in onActionItemClicked() 414 final boolean showRemoveFolder = mFolder != null && mFolder.isType(FolderType.DEFAULT) in onPrepareActionMode() 465 boolean shouldShowDiscardOutbox = mFolder != null && mFolder.isType(FolderType.OUTBOX); in onPrepareActionMode() 470 final boolean showDelete = mFolder != null && !mFolder.isType(FolderType.OUTBOX) in onPrepareActionMode()
|
D | ConversationItemView.java | 74 import com.android.mail.providers.UIProvider.FolderType; 561 ignoreFolderType = FolderType.INBOX; in bind()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | EmailProvider.java | 2774 + " WHEN " + Mailbox.TYPE_INBOX + " THEN " + UIProvider.FolderType.INBOX 2775 + " WHEN " + Mailbox.TYPE_DRAFTS + " THEN " + UIProvider.FolderType.DRAFT 2776 + " WHEN " + Mailbox.TYPE_OUTBOX + " THEN " + UIProvider.FolderType.OUTBOX 2777 + " WHEN " + Mailbox.TYPE_SENT + " THEN " + UIProvider.FolderType.SENT 2778 + " WHEN " + Mailbox.TYPE_TRASH + " THEN " + UIProvider.FolderType.TRASH 2779 + " WHEN " + Mailbox.TYPE_JUNK + " THEN " + UIProvider.FolderType.SPAM 2780 + " WHEN " + Mailbox.TYPE_STARRED + " THEN " + UIProvider.FolderType.STARRED 2781 + " WHEN " + Mailbox.TYPE_UNREAD + " THEN " + UIProvider.FolderType.UNREAD 2784 + " ELSE " + UIProvider.FolderType.DEFAULT + " END"; 4500 case UIProvider.FolderType.INBOX: in getFolderDisplayName() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
D | BaseWidgetProvider.java | 39 import com.android.mail.providers.UIProvider.FolderType; 132 final int folderType = intent.getIntExtra(EXTRA_FOLDER_TYPE, FolderType.DEFAULT); in onReceive() 260 folder == null ? FolderType.DEFAULT : folder.type, in doInBackground() 434 updateWidgetInternal(context, widgetId, null, FolderType.DEFAULT, 0, null, null, in validateAllWidgetInformation()
|
D | WidgetService.java | 49 import com.android.mail.providers.UIProvider.FolderType; 235 mFolderType = intent.getIntExtra(WidgetProvider.EXTRA_FOLDER_TYPE, FolderType.DEFAULT); in MailFactory() 424 if ((mFolderType & FolderType.INBOX) != 0) { 425 ignoreFolderType = FolderType.INBOX;
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | Pop3Store.java | 297 public boolean canCreate(FolderType type) { in canCreate() 302 public boolean create(FolderType type) { in create()
|
D | ImapFolder.java | 224 public boolean canCreate(FolderType type) { in canCreate() 229 public boolean create(FolderType type) throws MessagingException { in create()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 47 import com.android.emailcommon.mail.Folder.FolderType; 448 if (!remoteFolder.create(FolderType.HOLDS_MESSAGES)) { in synchronizeMailboxGeneric() 1225 remoteTrashFolder.create(FolderType.HOLDS_MESSAGES); in processPendingMoveToTrash() 1333 if (!remoteFolder.create(FolderType.HOLDS_MESSAGES)) { in processPendingAppend()
|