Searched refs:menu (Results 176 - 188 of 188) sorted by relevance

12345678

/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java1472 // Close the menu
1702 public boolean onCreateOptionsMenu(Menu menu) { argument
1707 super.onCreateOptionsMenu(menu);
1720 menu.add(MENU_GROUP_WALLPAPER, MENU_WALLPAPER_SETTINGS, 0, R.string.menu_wallpaper)
1723 menu.add(0, MENU_MANAGE_APPS, 0, R.string.menu_manage_apps)
1727 menu.add(0, MENU_SYSTEM_SETTINGS, 0, R.string.menu_settings)
1732 menu.add(0, MENU_HELP, 0, R.string.menu_help)
1741 public boolean onPrepareOptionsMenu(Menu menu) { argument
1742 super.onPrepareOptionsMenu(menu);
1748 menu
[all...]
H A DFolder.java182 public boolean onCreateActionMode(ActionMode mode, Menu menu) {
189 public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
/packages/apps/Settings/src/com/android/settings/applications/
H A DInstalledAppDetails.java361 // When we have multiple users, there is a separate menu
512 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
513 menu.add(0, UNINSTALL_ALL_USERS_MENU, 1, R.string.uninstall_all_users_text)
518 public void onPrepareOptionsMenu(Menu menu) { argument
533 menu.findItem(UNINSTALL_ALL_USERS_MENU).setVisible(showIt);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java1896 // Its possible there is a menu item OR a button.
2270 public boolean onCreateOptionsMenu(Menu menu) { argument
2271 final boolean superCreated = super.onCreateOptionsMenu(menu);
2272 // Don't render any menu items when there are no accounts.
2277 inflater.inflate(R.menu.compose_menu, menu);
2294 mSave = menu.findItem(R.id.save);
2303 final MenuItem helpItem = menu.findItem(R.id.help_info_menu_item);
2304 final MenuItem sendFeedbackItem = menu.findItem(R.id.feedback_menu_item);
2305 final MenuItem attachFromServiceItem = menu
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DUtils.java784 public static void setMenuItemVisibility(Menu menu, int itemId, boolean shouldShow) { argument
785 final MenuItem item = menu.findItem(itemId);
/packages/apps/Calendar/src/com/android/calendar/
H A DEventInfoFragment.java802 // Ensure that mIsTabletConfig is set before creating the menu.
1209 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
1210 super.onCreateOptionsMenu(menu, inflater);
1213 inflater.inflate(R.menu.event_info_title_bar, menu);
1214 mMenu = menu;
1222 // If we're a dialog we don't want to handle menu buttons
1226 // Handles option menu selections:
/packages/apps/Launcher3/src/com/android/launcher3/
H A DFolder.java221 public boolean onCreateActionMode(ActionMode mode, Menu menu) {
228 public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
H A DLauncher.java1874 // Close the menu
2142 public boolean onPrepareOptionsMenu(Menu menu) { argument
2143 super.onPrepareOptionsMenu(menu);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAbstractActivityController.java125 * knows how to respond to menu items, state changes, layout changes, etc. It
289 * Action menu associated with the selected set.
1423 public final boolean onCreateOptionsMenu(Menu menu) { argument
1428 inflater.inflate(mActionBarController.getOptionsMenuId(), menu);
1429 mActionBarController.onCreateOptionsMenu(menu);
1442 * the current menu action item
1981 * @param actionId the ID of the menu item that caused the delete: R.id.delete, R.id.archive...
2045 * @param action the action to be performed, specified as a menu id: R.id.archive, ...
2058 public boolean onPrepareOptionsMenu(Menu menu) { argument
2059 return mActionBarController.onPrepareOptionsMenu(menu);
[all...]
/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java279 public static void setPartyShuffleMenuIcon(Menu menu) { argument
280 MenuItem item = menu.findItem(Defs.PARTY_SHUFFLE);
410 * @param context The context to use for creating the menu items
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DMessageHeaderView.java488 * Update context menu's address field for when the user long presses
678 * If an overflow menu is present in this header's layout, set the
918 * Handles clicks on either views or menu items. View parameter can be null
919 * for menu item clicks.
950 mPopup.getMenuInflater().inflate(R.menu.message_header_overflow_menu,
/packages/apps/Camera/src/com/android/camera/
H A DPhotoModule.java1529 // Dismiss open menu if exists.
1615 mMenu = mRootView.findViewById(R.id.menu);
H A DVideoModule.java855 // Dismiss open menu if exists.
2107 mMenu = mRootView.findViewById(R.id.menu);

Completed in 5309 milliseconds

12345678