Searched refs:setMenuItemPresent (Results 1 – 4 of 4) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ActionBarController.java | 233 Utils.setMenuItemPresent(mEmptyTrashItem, mAccount != null && mFolder != null in validateVolatileMenuOptionVisibility() 238 Utils.setMenuItemPresent(mEmptySpamItem, mAccount != null && mFolder != null in validateVolatileMenuOptionVisibility() 275 Utils.setMenuItemPresent(menu, R.id.search, in onPrepareOptionsMenu() 394 Utils.setMenuItemPresent(menu, R.id.mark_important, showMarkImportant in setConversationModeOptions() 396 Utils.setMenuItemPresent(menu, R.id.mark_not_important, !showMarkImportant in setConversationModeOptions() 400 Utils.setMenuItemPresent(menu, R.id.discard_outbox, showDiscardOutbox); in setConversationModeOptions() 403 Utils.setMenuItemPresent(menu, R.id.delete, showDelete); in setConversationModeOptions() 409 Utils.setMenuItemPresent(menu, R.id.discard_drafts, showDiscardDrafts); in setConversationModeOptions() 413 Utils.setMenuItemPresent(menu, R.id.archive, archiveVisible); in setConversationModeOptions() 414 Utils.setMenuItemPresent(menu, R.id.remove_folder, !archiveVisible && mFolder != null in setConversationModeOptions() [all …]
|
D | TwoPaneController.java | 423 Utils.setMenuItemPresent(menu, R.id.read, !mCurrentConversation.read); in onPrepareOptionsMenu() 424 Utils.setMenuItemPresent(menu, R.id.inside_conversation_unread, in onPrepareOptionsMenu() 428 Utils.setMenuItemPresent(menu, R.id.read, false); in onPrepareOptionsMenu()
|
D | AbstractConversationViewFragment.java | 398 Utils.setMenuItemPresent(menu, R.id.show_original, supportsMessageTransforms() && in onPrepareOptionsMenu()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | Utils.java | 786 public static void setMenuItemPresent(Menu menu, int itemId, boolean shouldShow) { in setMenuItemPresent() method in Utils 787 setMenuItemPresent(menu.findItem(itemId), shouldShow); in setMenuItemPresent() 794 public static void setMenuItemPresent(MenuItem item, boolean shouldShow) { in setMenuItemPresent() method in Utils
|