Home
last modified time | relevance | path

Searched refs:mOptionsMenu (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningServices.java37 private Menu mOptionsMenu; field in RunningServices
63 mOptionsMenu = menu; in onCreateOptionsMenu()
107 mOptionsMenu.findItem(SHOW_RUNNING_SERVICES).setVisible(showingBackground); in updateOptionsMenu()
108 mOptionsMenu.findItem(SHOW_BACKGROUND_PROCESSES).setVisible(!showingBackground); in updateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServices.java37 private Menu mOptionsMenu; field in RunningServices
63 mOptionsMenu = menu; in onCreateOptionsMenu()
107 mOptionsMenu.findItem(SHOW_RUNNING_SERVICES).setVisible(showingBackground); in updateOptionsMenu()
108 mOptionsMenu.findItem(SHOW_BACKGROUND_PROCESSES).setVisible(!showingBackground); in updateOptionsMenu()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java198 private Menu mOptionsMenu; field in ManageApplications
610 mOptionsMenu = menu; in onCreateOptionsMenu()
633 mOptionsMenu = null; in onDestroyOptionsMenu()
668 if (mOptionsMenu == null) { in updateOptionsMenu()
671 mOptionsMenu.findItem(R.id.advanced).setVisible(false); in updateOptionsMenu()
673 mOptionsMenu.findItem(R.id.sort_order_alpha).setVisible(mListType == LIST_TYPE_STORAGE in updateOptionsMenu()
675 mOptionsMenu.findItem(R.id.sort_order_size).setVisible(mListType == LIST_TYPE_STORAGE in updateOptionsMenu()
678 mOptionsMenu.findItem(R.id.show_system).setVisible(!mShowSystem in updateOptionsMenu()
680 mOptionsMenu.findItem(R.id.hide_system).setVisible(mShowSystem in updateOptionsMenu()
683 mOptionsMenu.findItem(R.id.reset_app_preferences).setVisible(mListType == LIST_TYPE_MAIN); in updateOptionsMenu()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/
DManageApplications.java195 private Menu mOptionsMenu; field in ManageApplications
600 mOptionsMenu = menu; in onCreateOptionsMenu()
620 mOptionsMenu = null; in onDestroyOptionsMenu()
655 if (mOptionsMenu == null) { in updateOptionsMenu()
658 mOptionsMenu.findItem(R.id.advanced).setVisible(false); in updateOptionsMenu()
660 mOptionsMenu.findItem(R.id.sort_order_alpha).setVisible(mListType == LIST_TYPE_STORAGE in updateOptionsMenu()
662 mOptionsMenu.findItem(R.id.sort_order_size).setVisible(mListType == LIST_TYPE_STORAGE in updateOptionsMenu()
665 mOptionsMenu.findItem(R.id.show_system).setVisible(!mShowSystem in updateOptionsMenu()
667 mOptionsMenu.findItem(R.id.hide_system).setVisible(mShowSystem in updateOptionsMenu()
670 mOptionsMenu.findItem(R.id.reset_app_preferences).setVisible(mListType == LIST_TYPE_MAIN); in updateOptionsMenu()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java142 private Menu mOptionsMenu; field in AllInOneActivity
455 if (mOptionsMenu == null) { in clearOptionsMenu()
458 MenuItem cancelItem = mOptionsMenu.findItem(R.id.action_cancel); in clearOptionsMenu()
643 mOptionsMenu = menu; in onCreateOptionsMenu()