HomeSort by relevance Sort by last modified time
    Searched refs:FolderType (Results 1 - 25 of 25) sorted by null

  /packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Folder.java 28 public enum FolderType {
95 public abstract boolean canCreate(FolderType type);
101 public abstract boolean create(FolderType type) throws MessagingException;
  /packages/apps/Email/tests/src/com/android/emailcommon/mail/
MockFolder.java 38 public boolean canCreate(FolderType type) {
43 public boolean create(FolderType type) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
FolderDisplayer.java 29 import com.android.mail.providers.UIProvider.FolderType;
58 * @param ignoreFolderType -1, or the {@link FolderType} to omit from the displayed set
AddableFolderSelectorAdapter.java 62 if (Folder.isType(type, UIProvider.FolderType.INBOX)
63 || Folder.isType(type, UIProvider.FolderType.DEFAULT)) {
MultiFoldersSelectionDialog.java 30 import com.android.mail.providers.UIProvider.FolderType;
107 ImmutableSet.of(FolderType.INBOX_SECTION)), checked,
EmptyFolderDialogFragment.java 49 private static final String ARG_FOLDER_TYPE = "folderType";
62 * @param folderType The type of dialog to show. The current available options are
63 * {@link com.android.mail.providers.UIProvider.FolderType#TRASH} and
64 * {@link com.android.mail.providers.UIProvider.FolderType#SPAM}.
68 final int numConversations, final int folderType) {
74 args.putInt(ARG_FOLDER_TYPE, folderType);
89 final int dialogTitleId = Folder.isType(mFolderType, UIProvider.FolderType.SPAM) ?
RecentFolderList.java 29 import com.android.mail.providers.UIProvider.FolderType;
204 if (folder.isProviderFolder() || folder.isType(FolderType.SEARCH)) {
ConversationsInOutboxTipView.java 145 if ((folder.type & UIProvider.FolderType.SENT) > 0) {
165 if ((folder.type & UIProvider.FolderType.OUTBOX) > 0) {
ConversationListView.java 31 import com.android.mail.providers.UIProvider.FolderType;
ConversationListFragment.java 57 import com.android.mail.providers.UIProvider.FolderType;
846 || (mFolder != null && mFolder.isType(FolderType.SPAM))) {
    [all...]
MailActionBarView.java 57 import com.android.mail.providers.UIProvider.FolderType;
413 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0);
    [all...]
AbstractActivityController.java 97 import com.android.mail.providers.UIProvider.FolderType;
    [all...]
FolderListFragment.java 50 import com.android.mail.providers.UIProvider.FolderType;
108 /** An {@link ArrayList} of {@link FolderType}s to exclude from displaying. */
199 * @param excludedFolderTypes A list of {@link FolderType}s to exclude from displaying
453 int folderType = DrawerItem.UNSET;
479 mSelectedFolderType = folderType = drawerItem.mFolderType;
503 final String label = (folderType == DrawerItem.FOLDER_RECENT) ? "recent" : "normal";
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Folder.java 33 import com.android.mail.providers.UIProvider.FolderType;
149 * @see FolderType
621 !TextUtils.isEmpty(folder.bgColor) && (folder.type & FolderType.INBOX_SECTION) == 0;
654 return !isType(UIProvider.FolderType.DEFAULT);
689 public boolean isType(final int folderType) {
690 return isType(type, folderType);
694 * Checks if <code>typeMask</code> is of the specified {@link FolderType}
697 * {@link FolderType}, <code>false</code> otherwise
699 public static boolean isType(final int typeMask, final int folderType) {
700 return (typeMask & folderType) != 0
    [all...]
UIProvider.java     [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/
Pop3StoreUnitTests.java 34 import com.android.emailcommon.mail.Folder.FolderType;
289 assertFalse(mFolder.canCreate(FolderType.HOLDS_FOLDERS));
290 assertFalse(mFolder.canCreate(FolderType.HOLDS_MESSAGES));
291 assertFalse(mFolder.create(FolderType.HOLDS_FOLDERS));
292 assertFalse(mFolder.create(FolderType.HOLDS_MESSAGES));
    [all...]
ImapStoreUnitTests.java 49 import com.android.emailcommon.mail.Folder.FolderType;
515 assertTrue(mFolder.canCreate(FolderType.HOLDS_FOLDERS));
516 assertTrue(mFolder.canCreate(FolderType.HOLDS_MESSAGES));
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
BaseWidgetProvider.java 39 import com.android.mail.providers.UIProvider.FolderType;
131 final int folderType = intent.getIntExtra(EXTRA_FOLDER_TYPE, FolderType.DEFAULT);
138 updateWidgetInternal(context, widgetId, account, folderType, folderUri,
256 folder == null ? FolderType.DEFAULT : folder.type, folderUri,
290 final int folderType, final Uri folderUri, final Uri folderConversationListUri,
302 updateWidgetIntent.putExtra(EXTRA_FOLDER_TYPE, folderType);
317 final int folderType, final Uri folderUri, final Uri folderConversationListUri,
345 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType,
383 int appWidgetId, Account account, final int folderType, final Uri folderUri
    [all...]
WidgetService.java 49 import com.android.mail.providers.UIProvider.FolderType;
73 int appWidgetId, Account account, final int folderType, final Uri folderUri,
75 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType,
83 int appWidgetId, Account account, final int folderType, final Uri folderUri,
114 folderType, folderUri, folderConversationListUri, folderDisplayName, widgetService);
118 int appWidgetId, Account account, final int folderType, final Uri folderUri,
128 intent.putExtra(BaseWidgetProvider.EXTRA_FOLDER_TYPE, folderType);
234 mFolderType = intent.getIntExtra(WidgetProvider.EXTRA_FOLDER_TYPE, FolderType.DEFAULT);
425 if ((mFolderType & FolderType.INBOX) != 0) {
426 ignoreFolderType = FolderType.INBOX
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SelectedConversationsActionMenu.java 41 import com.android.mail.providers.UIProvider.FolderType;
158 if (mFolder.isType(UIProvider.FolderType.STARRED)) {
398 final boolean showRemoveFolder = mFolder != null && mFolder.isType(FolderType.DEFAULT)
ConversationItemView.java 87 import com.android.mail.providers.UIProvider.FolderType;
626 ignoreFolderType = FolderType.INBOX;
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
EmailProvider.java     [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
Pop3Store.java 299 public boolean canCreate(FolderType type) {
304 public boolean create(FolderType type) {
ImapFolder.java 219 public boolean canCreate(FolderType type) {
224 public boolean create(FolderType type) throws MessagingException {
    [all...]
  /packages/apps/Email/src/com/android/email/service/
ImapService.java 46 import com.android.emailcommon.mail.Folder.FolderType;
422 if (!remoteFolder.create(FolderType.HOLDS_MESSAGES)) {
    [all...]

Completed in 305 milliseconds