Home
last modified time | relevance | path

Searched defs:menu (Results 1 – 25 of 193) sorted by relevance

12345678

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DInstantAppButtonsPreferenceControllerTest.java137 final Menu menu = mock(Menu.class); in onCreateOptionsMenu_noLaunchUri_shouldNotAddInstallInstantAppMenu() local
149 final Menu menu = mock(Menu.class); in onCreateOptionsMenu_hasLaunchUri_shouldAddForceStop() local
161 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
198 final MenuItem menu = mock(MenuItem.class); in onOptionsItemSelected_shouldOpenAppStore() local
DAppInfoDashboardFragmentTest.java148 Menu menu = onPrepareOptionsMenuTestsSetup(); in onPrepareOptionsMenu_setUpdateMenuVisible_byDefaultForSystemApps_shouldBeTrue() local
157 Menu menu = onPrepareOptionsMenuTestsSetup(); in onPrepareOptionsMenu_setUpdateMenuVisible_ifDisabledByDevice_shouldBeFalse() local
165 Menu menu = mock(Menu.class); in onPrepareOptionsMenuTestsSetup() local
/packages/apps/TV/src/com/android/tv/menu/
DMenuRowFactory.java64 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()
DItemListRow.java33 Menu menu, in ItemListRow()
42 Menu menu, in ItemListRow()
DMenuRow.java37 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()
DChannelsRow.java37 public ChannelsRow(Context context, Menu menu, ProgramDataManager programDataManager) { in ChannelsRow()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DHelp.java38 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/
DMenuManager.java62 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/Stk/src/com/android/stk/
DStkInputActivity.java126 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()
DStkMenuActivity.java245 public boolean onCreateOptionsMenu(android.view.Menu menu) { in onCreateOptionsMenu()
252 public boolean onPrepareOptionsMenu(android.view.Menu menu) { in onPrepareOptionsMenu()
283 public void onCreateContextMenu(ContextMenu menu, View v, in onCreateContextMenu()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServices.java62 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
105 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DHeaderTextSelector.java45 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/group/
DGroupMembersFragment.java257 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/
DBluetoothOppTransferHistory.java151 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/Calendar/extensions_src/com/android/calendar/extensions/
DAllInOneMenuExtensions.java31 public Integer getExtensionMenuResource(Menu menu) { in getExtensionMenuResource()
/packages/apps/Settings/src/com/android/settings/nfc/
DAndroidBeam.java67 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
69 HelpUtils.prepareHelpMenuItem(getActivity(), menu, R.string.help_uri_beam, in onCreateOptionsMenu() local
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectPhoneNumbersListFragment.java56 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
62 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
DMultiSelectEmailAddressesListFragment.java56 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
62 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DSettingsFragment.java109 public void onCreateOptionsMenu(@NonNull Menu menu, @NonNull MenuInflater inflater) { in onCreateOptionsMenu()
116 HelpUtils.prepareHelpMenuItem(requireActivity(), menu, helpUriResource, in onCreateOptionsMenu() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenuInflater.java35 public void inflate(@MenuRes int menuId, Menu menu) { in inflate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DVolumeOptionMenuController.java90 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { in onCreateOptionsMenu()
95 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/
DBuglePhotoViewController.java131 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/
DInstantAppButtonsPreferenceController.java85 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { in onCreateOptionsMenu()
105 public void onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPickerActivity.java64 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DMenus.java29 public static void disableHiddenItems(Menu menu, MenuItem... exclusions) { in disableHiddenItems()

12345678