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

  /packages/apps/UnifiedEmail/src/com/android/emailcommon/mail/
Folder.java 30 public enum FolderType {
97 public abstract boolean canCreate(FolderType type);
103 public abstract boolean create(FolderType type) throws MessagingException;
  /packages/apps/Email/tests/src/com/android/emailcommon/mail/
MockFolder.java 40 public boolean canCreate(FolderType type) {
45 public boolean create(FolderType type) {
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
Folder.java 37 import com.android.mail.providers.UIProvider.FolderType;
153 * @see FolderType
626 !TextUtils.isEmpty(folder.bgColor) && (folder.type & FolderType.INBOX_SECTION) == 0;
690 return !isType(UIProvider.FolderType.DEFAULT);
725 public boolean isType(final int folderType) {
726 return isType(type, folderType);
730 * Checks if <code>typeMask</code> is of the specified {@link FolderType}
733 * {@link FolderType}, <code>false</code> otherwise
735 public static boolean isType(final int typeMask, final int folderType) {
736 return (typeMask & folderType) != 0
    [all...]
UIProvider.java     [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AddableFolderSelectorAdapter.java 92 if (Folder.isType(type, UIProvider.FolderType.INBOX)
93 || Folder.isType(type, UIProvider.FolderType.DEFAULT)) {
ConversationsInOutboxTipView.java 79 if ((folder.type & UIProvider.FolderType.SENT) > 0) {
99 if ((folder.type & UIProvider.FolderType.OUTBOX) > 0) {
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) ?
MultiFoldersSelectionDialog.java 34 import com.android.mail.providers.UIProvider.FolderType;
143 ImmutableSet.of(FolderType.INBOX_SECTION), originalChecked,
151 ImmutableSet.of(FolderType.INBOX_SECTION), originalChecked,
RecentFolderList.java 30 import com.android.mail.providers.UIProvider.FolderType;
204 if (folder.isProviderFolder() || folder.isType(FolderType.SEARCH)) {
ActionBarController.java 39 import com.android.mail.providers.UIProvider.FolderType;
240 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0
398 final boolean isOutbox = mFolder.isType(FolderType.OUTBOX);
FolderDisplayer.java 32 import com.android.mail.providers.UIProvider.FolderType;
86 * @param ignoreFolderType -1, or the {@link FolderType} to omit from the displayed set
FolderListFragment.java 61 import com.android.mail.providers.UIProvider.FolderType;
129 /** An {@link ArrayList} of {@link FolderType}s to exclude from displaying. */
197 /** The FolderType of the selected folder {@link FolderType} */
198 private int mSelectedFolderType = FolderType.INBOX;
267 * @param excludedFolderTypes A list of {@link FolderType}s to exclude from displaying
591 mSelectedFolderType = FolderType.INBOX;
    [all...]
ConversationListFragment.java     [all...]
AbstractActivityController.java 96 import com.android.mail.providers.UIProvider.FolderType;
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/
Pop3StoreUnitTests.java 33 import com.android.emailcommon.mail.Folder.FolderType;
288 assertFalse(mFolder.canCreate(FolderType.HOLDS_FOLDERS));
289 assertFalse(mFolder.canCreate(FolderType.HOLDS_MESSAGES));
290 assertFalse(mFolder.create(FolderType.HOLDS_FOLDERS));
291 assertFalse(mFolder.create(FolderType.HOLDS_MESSAGES));
    [all...]
ImapStoreUnitTests.java 49 import com.android.emailcommon.mail.Folder.FolderType;
517 assertTrue(mFolder.canCreate(FolderType.HOLDS_FOLDERS));
518 assertTrue(mFolder.canCreate(FolderType.HOLDS_MESSAGES));
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
SelectedConversationsActionMenu.java 41 import com.android.mail.providers.UIProvider.FolderType;
172 if (mFolder.isType(UIProvider.FolderType.STARRED)) {
414 final boolean showRemoveFolder = mFolder != null && mFolder.isType(FolderType.DEFAULT)
465 boolean shouldShowDiscardOutbox = mFolder != null && mFolder.isType(FolderType.OUTBOX);
470 final boolean showDelete = mFolder != null && !mFolder.isType(FolderType.OUTBOX)
ConversationItemView.java 74 import com.android.mail.providers.UIProvider.FolderType;
561 ignoreFolderType = FolderType.INBOX;
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
BaseWidgetProvider.java 39 import com.android.mail.providers.UIProvider.FolderType;
132 final int folderType = intent.getIntExtra(EXTRA_FOLDER_TYPE, FolderType.DEFAULT);
140 updateWidgetInternal(context, widgetId, account, folderType, folderCapabilities,
260 folder == null ? FolderType.DEFAULT : folder.type,
296 final int folderType, final int folderCapabilities, final Uri folderUri,
308 updateWidgetIntent.putExtra(EXTRA_FOLDER_TYPE, folderType);
324 final int folderType, final int folderCapabilities, final Uri folderUri,
349 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType,
387 int appWidgetId, Account account, final int folderType, final int folderCapabilities
    [all...]
WidgetService.java 49 import com.android.mail.providers.UIProvider.FolderType;
74 int appWidgetId, Account account, final int folderType, final int folderCapabilities,
76 configureValidAccountWidget(context, remoteViews, appWidgetId, account, folderType,
85 int appWidgetId, Account account, final int folderType, final int folderCapabilities,
111 folderType, folderCapabilities, folderUri, folderConversationListUri,
116 int appWidgetId, Account account, final int folderType, final int folderCapabilities,
126 intent.putExtra(BaseWidgetProvider.EXTRA_FOLDER_TYPE, folderType);
235 mFolderType = intent.getIntExtra(WidgetProvider.EXTRA_FOLDER_TYPE, FolderType.DEFAULT);
424 if ((mFolderType & FolderType.INBOX) != 0) {
425 ignoreFolderType = FolderType.INBOX
    [all...]
  /packages/apps/Email/provider_src/com/android/email/provider/
EmailProvider.java     [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/store/
Pop3Store.java 297 public boolean canCreate(FolderType type) {
302 public boolean create(FolderType type) {
ImapFolder.java 224 public boolean canCreate(FolderType type) {
229 public boolean create(FolderType type) throws MessagingException {
    [all...]
  /packages/apps/Email/provider_src/com/android/email/service/
ImapService.java 47 import com.android.emailcommon.mail.Folder.FolderType;
448 if (!remoteFolder.create(FolderType.HOLDS_MESSAGES)) {
    [all...]

Completed in 733 milliseconds