Home
last modified time | relevance | path

Searched refs:isType (Results 1 – 10 of 10) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java690 return !isType(UIProvider.FolderType.DEFAULT); in isProviderFolder()
725 public boolean isType(final int folderType) { in isType() method in Folder
726 return isType(type, folderType); in isType()
735 public static boolean isType(final int typeMask, final int folderType) { in isType() method in Folder
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()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAddableFolderSelectorAdapter.java70 if (Folder.isType(type, excludedType)) { in filterFolders()
92 if (Folder.isType(type, UIProvider.FolderType.INBOX) in filterFolders()
93 || Folder.isType(type, UIProvider.FolderType.DEFAULT)) { in filterFolders()
DActionBarController.java240 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0 in validateVolatileMenuOptionVisibility()
398 final boolean isOutbox = mFolder.isType(FolderType.OUTBOX); in setConversationModeOptions()
DEmptyFolderDialogFragment.java89 final int dialogTitleId = Folder.isType(mFolderType, UIProvider.FolderType.SPAM) ? in onCreateDialog()
DRecentFolderList.java204 if (folder.isProviderFolder() || folder.isType(FolderType.SEARCH)) { in touchFolder()
DFolderDisplayer.java93 if (ignoreFolderType >= 0 && folder.isType(ignoreFolderType)) { in loadConversationFolders()
DFolderListFragment.java1081 if (!currentFolderFound && !Folder.isType(FolderType.SEARCH, mSelectedFolderType) in recalculateDividedListFolders()
1555 if (folder.isType(excludedType)) { in isFolderTypeExcluded()
DConversationListFragment.java1076 if (mFolder.isType(UIProvider.FolderType.OUTBOX)) { in setSwipeAction()
DAbstractActivityController.java902 if (folder != null && folder.isType(FolderType.SEARCH)) { in onFolderChanged()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java172 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()