/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | InstantAppButtonsPreferenceControllerTest.java | 132 final Menu menu = mock(Menu.class); in onCreateOptionsMenu_noLaunchUri_shouldNotAddInstallInstantAppMenu() local 144 final Menu menu = mock(Menu.class); in onCreateOptionsMenu_hasLaunchUri_shouldAddForceStop() local 156 final Menu menu = mock(Menu.class); in onPrepareOptionsMenu_noAppStoreLink_shoulDisableInstallInstantAppMenu() local 174 final Menu menu = mock(Menu.class); in onPrepareOptionsMenu_hasAppStoreLink_shoulNotDisableInstallInstantAppMenu() local 185 final Menu menu = mock(Menu.class); in onPrepareOptionsMenu_installMenuNotFound_shoulNotCrash() local 203 final MenuItem menu = mock(MenuItem.class); in onOptionsItemSelected_shouldOpenAppStore() local
|
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/ |
D | OptionsMenuManager.java | 51 public void onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 62 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
D | MenuItemController.java | 35 void onCreateOptionsItem(Menu menu); in onCreateOptionsItem()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | MenuRowFactory.java | 64 public MenuRow createMenuRow(Menu menu, Class<?> key) { in createMenuRow() 95 Menu menu, in TvOptionsRow() 110 Context context, Menu menu, String title, List<CustomAction> customActions) { in PartnerRow()
|
D | ItemListRow.java | 33 Menu menu, in ItemListRow() 42 Menu menu, in ItemListRow()
|
D | MenuRow.java | 37 public MenuRow(Context context, Menu menu, int titleResId, int heightResId) { in MenuRow() 41 public MenuRow(Context context, Menu menu, String title, int heightResId) { in MenuRow()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalActivity.java | 171 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 177 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PrivateVolumeOptionMenuController.java | 54 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 59 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeOptionMenuController.java | 54 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 59 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Help.java | 38 public void addHelpMenuItem(Menu menu, String activityName) { in addHelpMenuItem() 42 public void addHelpMenuItem(Menu menu, String activityName, boolean showAsAction) { in addHelpMenuItem()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | MenuManager.java | 58 public void updateActionMenu(Menu menu, SelectionDetails selection) { in updateActionMenu() 77 public void updateOptionMenu(Menu menu) { in updateOptionMenu() 99 public void updateSubMenu(Menu menu) { in updateSubMenu() 117 public void inflateContextMenuForContainer(Menu menu, MenuInflater inflater) { in inflateContextMenuForContainer() 122 Menu menu, MenuInflater inflater, SelectionDetails selectionDetails) { in inflateContextMenuForDocs() 137 public void updateContextMenuForFiles(Menu menu, SelectionDetails selectionDetails) { in updateContextMenuForFiles() 166 public void updateContextMenuForDirs(Menu menu, SelectionDetails selectionDetails) { in updateContextMenuForDirs() 186 public void updateContextMenu(Menu menu, SelectionDetails selectionDetails) { in updateContextMenu() 210 public void updateContextMenuForContainer(Menu menu) { in updateContextMenuForContainer() 225 public void updateRootContextMenu(Menu menu, RootInfo root, DocumentInfo docInfo) { in updateRootContextMenu()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkInputActivity.java | 126 Menu menu = mPopupMenu.getMenu(); in onClick() local 308 public boolean onCreateOptionsMenu(android.view.Menu menu) { in onCreateOptionsMenu() 314 private void createOptionsMenuInternal(Menu menu) { in createOptionsMenuInternal() 320 public boolean onPrepareOptionsMenu(android.view.Menu menu) { in onPrepareOptionsMenu() 326 private void prepareOptionsMenuInternal(Menu menu) { in prepareOptionsMenuInternal()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | RunningServices.java | 62 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 101 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | SettingsPreferenceFragment.java | 132 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 139 public void onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningServices.java | 62 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 101 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/Calendar/extensions_src/com/android/calendar/extensions/ |
D | AllInOneMenuExtensions.java | 31 public Integer getExtensionMenuResource(Menu menu) { in getExtensionMenuResource()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | HeaderTextSelector.java | 45 public boolean onCreateActionMode(ActionMode actionMode, Menu menu) { in onCreateActionMode() 54 public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) { in onPrepareActionMode()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestMenuInflater.java | 35 public void inflate(@MenuRes int menuId, Menu menu) { in inflate()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/handheld/ |
D | SettingsFragment.java | 96 public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { in onCreateOptionsMenu() 102 HelpUtils.prepareHelpMenuItem(requireActivity(), menu, helpUriResource, in onCreateOptionsMenu() local
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 257 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 266 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 271 setVisible(getContext(), menu, R.id.menu_multi_send_email, !mIsEditMode && !isGroupEmpty()); in onPrepareOptionsMenu() local 272 setVisible(getContext(), menu, R.id.menu_multi_send_message, in onPrepareOptionsMenu() local 274 setVisible(getContext(), menu, R.id.menu_add, isGroupEditable && !isSelectionMode); in onPrepareOptionsMenu() local 275 setVisible(getContext(), menu, R.id.menu_rename_group, in onPrepareOptionsMenu() local 277 setVisible(getContext(), menu, R.id.menu_delete_group, in onPrepareOptionsMenu() local 279 setVisible(getContext(), menu, R.id.menu_edit_group, in onPrepareOptionsMenu() local 281 setVisible(getContext(), menu, R.id.menu_remove_from_group, in onPrepareOptionsMenu() local 289 private static void setVisible(Context context, Menu menu, int id, boolean visible) { in setVisible()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferHistory.java | 151 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 160 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 209 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | AndroidBeam.java | 66 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 68 HelpUtils.prepareHelpMenuItem(getActivity(), menu, R.string.help_uri_beam, in onCreateOptionsMenu() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/ |
D | AndroidBeam.java | 66 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 68 HelpUtils.prepareHelpMenuItem(getActivity(), menu, R.string.help_uri_beam, in onCreateOptionsMenu() local
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | Menus.java | 29 public static void disableHiddenItems(Menu menu, MenuItem... exclusions) { in disableHiddenItems()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | MultiSelectPhoneNumbersListFragment.java | 56 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 62 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|