Home
last modified time | relevance | path

Searched refs:supportsCapability (Results 1 – 22 of 22) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionBarController.java234 && mAccount.supportsCapability(AccountCapabilities.EMPTY_TRASH) in validateVolatileMenuOptionVisibility()
239 && mAccount.supportsCapability(AccountCapabilities.EMPTY_SPAM) in validateVolatileMenuOptionVisibility()
395 && mAccount.supportsCapability(UIProvider.AccountCapabilities.MARK_IMPORTANT)); in setConversationModeOptions()
397 && mAccount.supportsCapability(UIProvider.AccountCapabilities.MARK_IMPORTANT)); in setConversationModeOptions()
402 mFolder.supportsCapability(UIProvider.FolderCapabilities.DELETE); in setConversationModeOptions()
408 mAccount.supportsCapability(AccountCapabilities.DISCARD_CONVERSATION_DRAFTS); in setConversationModeOptions()
410 final boolean archiveVisible = mAccount.supportsCapability(AccountCapabilities.ARCHIVE) in setConversationModeOptions()
411 && mFolder != null && mFolder.supportsCapability(FolderCapabilities.ARCHIVE) in setConversationModeOptions()
415 && mFolder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) in setConversationModeOptions()
417 && mAccount.supportsCapability(AccountCapabilities.ARCHIVE)); in setConversationModeOptions()
[all …]
DConversationListFragment.java518 mListView.enableSwipe(mAccount.supportsCapability(AccountCapabilities.UNDO)); in onCreateView()
1063 || !mAccount.supportsCapability(AccountCapabilities.UNDO) in setSwipeAction()
1084 if (mAccount.supportsCapability(AccountCapabilities.ARCHIVE) in setSwipeAction()
1086 if (mFolder.supportsCapability(FolderCapabilities.ARCHIVE)) { in setSwipeAction()
1089 } else if (mFolder.supportsCapability in setSwipeAction()
DConversationCursorLoader.java52 account.supportsCapability(AccountCapabilities.INITIAL_CONVERSATION_LIMIT); in ConversationCursorLoader()
DAccountFeedbackActivity.java103 && mAccount.supportsCapability(UIProvider.AccountCapabilities.HELP_CONTENT)); in onPrepareOptionsMenu()
DFolderSelectionDialog.java62 if (isMoveTo || !account.supportsCapability( in getInstance()
DAnimatedAdapter.java219 && mAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO) == in setAccount()
220 newAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO) in setAccount()
230 mSwipeEnabled = mAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO); in setAccount()
DMultiFoldersSelectionDialog.java68 .supportsCapability(UIProvider.AccountCapabilities.MULTIPLE_FOLDERS_PER_CONV); in onCreate()
DFolderSelectorAdapter.java281 return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) && in meetsRequirements()
DOnePaneController.java470 if (op != null && mAccount.supportsCapability(UIProvider.AccountCapabilities.UNDO)) { in onUndoAvailable()
DNestedFolderTeaserView.java258 if (!mAccount.supportsCapability(AccountCapabilities.NESTED_FOLDERS)) { in onUpdate()
DAbstractActivityController.java2985 boolean undoEnabled = mAccount.supportsCapability(AccountCapabilities.UNDO);
3007 if (mFolder.supportsCapability(FolderCapabilities.DELETE_ACTION_FINAL)) {
3012 if (mFolder.supportsCapability(FolderCapabilities.DESTRUCTIVE_MUTE)) {
3096 .supportsCapability(FolderCapabilities.ALLOWS_REMOVE_CONVERSATION)
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java183 if (mFolder.supportsCapability(FolderCapabilities.IS_VIRTUAL)) { in onActionItemClicked()
230 if (mFolder.supportsCapability(UIProvider.FolderCapabilities.ONLY_IMPORTANT)) { in onActionItemClicked()
415 && mFolder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) in onPrepareActionMode()
417 && mAccount.supportsCapability(AccountCapabilities.ARCHIVE); in onPrepareActionMode()
419 && mFolder.supportsCapability(FolderCapabilities.ALLOWS_REMOVE_CONVERSATION); in onPrepareActionMode()
421 && mFolder.supportsCapability(FolderCapabilities.ALLOWS_MOVE_TO_INBOX); in onPrepareActionMode()
427 changeFolders.setVisible(mAccount.supportsCapability( in onPrepareActionMode()
437 mAccount.supportsCapability(UIProvider.AccountCapabilities.ARCHIVE) && in onPrepareActionMode()
438 mFolder.supportsCapability(FolderCapabilities.ARCHIVE)); in onPrepareActionMode()
442 && mAccount.supportsCapability(UIProvider.AccountCapabilities.REPORT_SPAM) in onPrepareActionMode()
[all …]
DConversationPagerAdapter.java145 mAccount.supportsCapability(UIProvider.AccountCapabilities.SERVER_SANITIZED_HTML); in ConversationPagerAdapter()
147 mAccount.supportsCapability(UIProvider.AccountCapabilities.CLIENT_SANITIZED_HTML); in ConversationPagerAdapter()
DConversationViewAdapter.java137 if (mAccountController.getAccount().supportsCapability( in createView()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DFolderPreferences.java251 mFolder.supportsCapability(FolderCapabilities.ARCHIVE) in getNotificationActions()
252 || mFolder.supportsCapability(FolderCapabilities.ALLOWS_REMOVE_CONVERSATION); in getNotificationActions()
255 account.supportsCapability(AccountCapabilities.ARCHIVE))); in getNotificationActions()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerSelectorAdapter.java43 return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) in meetsRequirements()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java615 public boolean supportsCapability(int capability) { in supportsCapability() method in Folder
659 if (folder.supportsCapability(UIProvider.FolderCapabilities.TINT_ICON)) { in setIcon()
778 return supportsCapability( in isImportantOnly()
807 return supportsCapability(UIProvider.FolderCapabilities.SHOW_RECIPIENTS); in shouldShowRecipients()
DAccount.java558 public boolean supportsCapability(int capability) { in supportsCapability() method in Account
567 return supportsCapability(AccountCapabilities.LOCAL_SEARCH) in supportsSearch()
568 || supportsCapability(AccountCapabilities.SERVER_SEARCH) in supportsSearch()
569 || supportsCapability(AccountCapabilities.FOLDER_SERVER_SEARCH); in supportsSearch()
818 if (supportsCapability(AccountCapabilities.VIRTUAL_ACCOUNT)) { in getReplyFroms()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/
DMailPreferenceActivity.java112 if (!account.supportsCapability(AccountCapabilities.VIRTUAL_ACCOUNT)) { in onBuildHeaders()
/packages/apps/Email/src/com/android/email/activity/setup/
DMailboxSettings.java211 if (!folder.supportsCapability(UIProvider.FolderCapabilities.IS_VIRTUAL) && in onLoadFinished()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java940 if (folder.supportsCapability(UIProvider.FolderCapabilities.UNSEEN_COUNT_ONLY)) { in getFolderUnreadDisplayCount()
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java2395 && mAccount.supportsCapability(AccountCapabilities.HELP_CONTENT)); in onCreateOptionsMenu()
2399 && mAccount.supportsCapability(AccountCapabilities.SEND_FEEDBACK)); in onCreateOptionsMenu()