/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | InstantAppButtonsPreferenceControllerTest.java | 141 final Menu menu = mock(Menu.class); in onCreateOptionsMenu_noLaunchUri_shouldNotAddInstallInstantAppMenu() local 153 final Menu menu = mock(Menu.class); in onCreateOptionsMenu_hasLaunchUri_shouldAddForceStop() local 165 final Menu menu = mock(Menu.class); in onPrepareOptionsMenu_noAppStoreLink_shoulDisableInstallInstantAppMenu() local 178 final Menu menu = mock(Menu.class); in onPrepareOptionsMenu_hasAppStoreLink_shoulNotDisableInstallInstantAppMenu() local 189 final Menu menu = mock(Menu.class); in onPrepareOptionsMenu_installMenuNotFound_shoulNotCrash() local 202 final MenuItem menu = mock(MenuItem.class); in onOptionsItemSelected_shouldOpenAppStore() local
|
D | AppInfoDashboardFragmentTest.java | 155 Menu menu = onPrepareOptionsMenuTestsSetup(); in onPrepareOptionsMenu_setUpdateMenuVisible_byDefaultForSystemApps_shouldBeTrue() local 164 Menu menu = onPrepareOptionsMenuTestsSetup(); in onPrepareOptionsMenu_setUpdateMenuVisible_ifDisabledByDevice_shouldBeFalse() local 172 Menu menu = mock(Menu.class); in onPrepareOptionsMenuTestsSetup() local
|
/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/DocumentsUI/src/com/android/documentsui/ |
D | MenuManager.java | 62 public void updateActionMenu(Menu menu, SelectionDetails selection) { in updateActionMenu() 82 public void updateOptionMenu(Menu menu) { in updateOptionMenu() 105 public void updateSubMenu(Menu menu) { in updateSubMenu() 131 Menu menu, MenuInflater inflater, SelectionDetails selectionDetails) { in inflateContextMenuForContainer() 136 Menu menu, MenuInflater inflater, SelectionDetails selectionDetails) { in inflateContextMenuForDocs() 151 public void updateContextMenuForFiles(Menu menu, SelectionDetails selectionDetails) { in updateContextMenuForFiles() 180 public void updateContextMenuForDirs(Menu menu, SelectionDetails selectionDetails) { in updateContextMenuForDirs() 200 public void updateContextMenu(Menu menu, SelectionDetails selectionDetails) { in updateContextMenu() 224 public void updateContextMenuForContainer(Menu menu, SelectionDetails selectionDetails) { in updateContextMenuForContainer() 242 public void updateRootContextMenu(Menu menu, RootInfo root, DocumentInfo docInfo) { in updateRootContextMenu()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/appiconmenu/ |
D | TaplAppIconMenuTest.java | 59 final AppIconMenu menu = allApps.getAppIcon(TEST_APP_NAME).openDeepShortcutMenu(); in testLaunchMenuItem() local 85 final AppIconMenu menu = mLauncher.getWorkspace().getWorkspaceAppIcon( in testLaunchHomeScreenMenuItem() local
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkInputActivity.java | 125 Menu menu = mPopupMenu.getMenu(); in onClick() local 312 public boolean onCreateOptionsMenu(android.view.Menu menu) { in onCreateOptionsMenu() 318 private void createOptionsMenuInternal(Menu menu) { in createOptionsMenuInternal() 324 public boolean onPrepareOptionsMenu(android.view.Menu menu) { in onPrepareOptionsMenu() 330 private void prepareOptionsMenuInternal(Menu menu) { in prepareOptionsMenuInternal()
|
D | StkMenuActivity.java | 246 public boolean onCreateOptionsMenu(android.view.Menu menu) { in onCreateOptionsMenu() 253 public boolean onPrepareOptionsMenu(android.view.Menu menu) { in onPrepareOptionsMenu() 284 public void onCreateContextMenu(ContextMenu menu, View v, in onCreateContextMenu()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 256 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 265 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 270 setVisible(getContext(), menu, R.id.menu_multi_send_email, !mIsEditMode && !isGroupEmpty()); in onPrepareOptionsMenu() local 271 setVisible(getContext(), menu, R.id.menu_multi_send_message, in onPrepareOptionsMenu() local 273 setVisible(getContext(), menu, R.id.menu_add, isGroupEditable && !isSelectionMode); in onPrepareOptionsMenu() local 274 setVisible(getContext(), menu, R.id.menu_rename_group, in onPrepareOptionsMenu() local 276 setVisible(getContext(), menu, R.id.menu_delete_group, in onPrepareOptionsMenu() local 278 setVisible(getContext(), menu, R.id.menu_edit_group, in onPrepareOptionsMenu() local 280 setVisible(getContext(), menu, R.id.menu_remove_from_group, in onPrepareOptionsMenu() local 288 private static void setVisible(Context context, Menu menu, int id, boolean visible) { in setVisible()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransferHistory.java | 180 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 189 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 236 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { in onCreateContextMenu()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningServices.java | 64 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 107 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/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/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()
|
D | MultiSelectEmailAddressesListFragment.java | 56 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 62 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
D | GroupMemberPickerFragment.java | 274 public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) { in onCreateOptionsMenu() 280 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 299 private static void setVisible(Menu menu, int id, boolean visible) { in setVisible()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/ |
D | SettingsFragment.java | 109 public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { in onCreateOptionsMenu() 116 HelpUtils.prepareHelpMenuItem(requireActivity(), menu, helpUriResource, in onCreateOptionsMenu() local
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | VolumeOptionMenuController.java | 90 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu() 95 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/lifecycle/events/ |
D | OnPrepareOptionsMenu.java | 22 void onPrepareOptionsMenu(Menu menu); in onPrepareOptionsMenu()
|
D | OnCreateOptionsMenu.java | 23 void onCreateOptionsMenu(Menu menu, MenuInflater inflater); in onCreateOptionsMenu()
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
D | BuglePhotoViewController.java | 131 public boolean onCreateOptionsMenu(final Menu menu) { in onCreateOptionsMenu() 144 public boolean onPrepareOptionsMenu(final Menu menu) { in onPrepareOptionsMenu()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | InstantAppButtonsPreferenceController.java | 85 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu() 105 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/services/Telephony/src/com/android/phone/ |
D | SimContacts.java | 278 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() 285 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() 342 public void onCreateContextMenu(ContextMenu menu, View v, in onCreateContextMenu()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestMenuInflater.java | 35 public void inflate(@MenuRes int menuId, Menu menu) { in inflate()
|