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

12345678

/packages/apps/Stk/src/com/android/stk/
H A DStkAppService.java180 static final String MENU_SELECTION = "menu selection";
188 static final String STK_MENU_URI = "stk://com.android.stk/menu/";
772 // update the current menu member.
777 // In mutiple instance architecture, the main menu for slotId will be finished when user
778 // goes to the Stk menu of the other SIM. So, we should launch a new instance for the
779 // main menu if the main menu instance has been finished.
780 // If the current menu is secondary menu, we should launch main menu
1233 launchMenuActivity(Menu menu, int slotId) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DUtils.java783 * Note that this function sets both the visibility and enabled flags for the menu item so that
784 * if shouldShow is false then the menu item is also no longer valid for keyboard shortcuts.
786 public static void setMenuItemPresent(Menu menu, int itemId, boolean shouldShow) { argument
787 setMenuItemPresent(menu.findItem(itemId), shouldShow);
791 * Note that this function sets both the visibility and enabled flags for the menu item so that
792 * if shouldShow is false then the menu item is also no longer valid for keyboard shortcuts.
/packages/apps/Browser/src/com/android/browser/
H A DController.java200 * after a configuration change is simply a reopening of the same menu
206 * Keeps track of whether the options menu is open. This is important in
212 * Whether or not the options menu is in its bigger, popup menu form. When
616 // update the menu in case of a locale change
917 // update the menu items.
1134 // Save the menu state and set it to empty while the custom
1146 // Reset the old menu state.
1255 // menu handling and state
1259 public boolean onCreateOptionsMenu(Menu menu) { argument
1269 onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) argument
1459 updateInLoadMenuItems(Menu menu, Tab tab) argument
1474 onPrepareOptionsMenu(Menu menu) argument
1504 updateMenuState(Tab tab, Menu menu) argument
1794 onMenuOpened(int featureId, Menu menu) argument
1823 onOptionsMenuClosed(Menu menu) argument
1829 onContextMenuClosed(Menu menu) argument
[all...]
/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:
H A DDayView.java4337 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfo) { argument
4340 // If the trackball is held down, then the context menu pops up and
4353 menu.setHeaderTitle(title);
4362 item = menu.add(0, MENU_EVENT_VIEW, 0, R.string.event_view);
4368 item = menu.add(0, MENU_EVENT_EDIT, 0, R.string.event_edit);
4375 item = menu.add(0, MENU_EVENT_DELETE, 0, R.string.event_delete);
4380 item = menu.add(0, MENU_EVENT_CREATE, 0, R.string.event_create);
4387 item = menu.add(0, MENU_EVENT_CREATE, 0, R.string.event_create);
4398 item = menu.add(0, MENU_EVENT_VIEW, 0, R.string.event_view);
4404 item = menu
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java2277 public boolean onCreateOptionsMenu(Menu menu) { argument
2279 inflater.inflate(R.menu.filmstrip_menu, menu);
2280 mActionBarMenu = menu;
2286 MenuItem menuItem = menu.add(appName);
2297 return super.onCreateOptionsMenu(menu);
2301 public boolean onPrepareOptionsMenu(Menu menu) { argument
2305 menu.removeItem(R.id.action_help_and_feedback);
2308 return super.onPrepareOptionsMenu(menu);
2572 public void onCreateContextMenu(ContextMenu menu, Vie argument
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCamera.java1571 // Dismiss open menu if exists.
2138 public boolean onPrepareOptionsMenu(Menu menu) { argument
2139 super.onPrepareOptionsMenu(menu);
2140 // Only show the menu when camera is idle.
2141 for (int i = 0; i < menu.size(); i++) {
2142 menu.getItem(i).setVisible(isCameraIdle());
2149 public boolean onCreateOptionsMenu(Menu menu) { argument
2150 super.onCreateOptionsMenu(menu);
2153 // No options menu for attach mode.
2156 addBaseMenuItems(menu);
2161 addBaseMenuItems(Menu menu) argument
[all...]
H A DVideoCamera.java890 // Dismiss open menu if exists.
1124 public boolean onCreateOptionsMenu(Menu menu) { argument
1125 super.onCreateOptionsMenu(menu);
1128 // No options menu for attach mode.
1131 addBaseMenuItems(menu);
1467 private void addBaseMenuItems(Menu menu) { argument
1468 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() {
1473 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() {
1480 menu.add(R.string.switch_camera_id)
/packages/apps/Settings/src/com/android/settings/
H A DDataUsageSummary.java545 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
546 inflater.inflate(R.menu.data_usage, menu);
550 public void onPrepareOptionsMenu(Menu menu) { argument
555 mMenuShowWifi = menu.findItem(R.id.data_usage_menu_show_wifi);
562 mMenuShowEthernet = menu.findItem(R.id.data_usage_menu_show_ethernet);
569 mMenuRestrictBackground = menu.findItem(R.id.data_usage_menu_restrict_background);
573 final MenuItem metered = menu.findItem(R.id.data_usage_menu_metered);
581 mMenuSimCards = menu.findItem(R.id.data_usage_menu_sim_cards);
584 mMenuCellularNetworks = menu
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java1498 // Close the menu
1728 public boolean onCreateOptionsMenu(Menu menu) { argument
1733 super.onCreateOptionsMenu(menu);
1746 menu.add(MENU_GROUP_WALLPAPER, MENU_WALLPAPER_SETTINGS, 0, R.string.menu_wallpaper)
1749 menu.add(0, MENU_MANAGE_APPS, 0, R.string.menu_manage_apps)
1753 menu.add(0, MENU_SYSTEM_SETTINGS, 0, R.string.menu_settings)
1758 menu.add(0, MENU_HELP, 0, R.string.menu_help)
1767 public boolean onPrepareOptionsMenu(Menu menu) { argument
1768 super.onPrepareOptionsMenu(menu);
1774 menu
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
H A DComposeActivity.java1986 // Its possible there is a menu item OR a button.
2359 public boolean onCreateOptionsMenu(Menu menu) { argument
2360 final boolean superCreated = super.onCreateOptionsMenu(menu);
2361 // Don't render any menu items when there are no accounts.
2366 inflater.inflate(R.menu.compose_menu, menu);
2383 mSave = menu.findItem(R.id.save);
2392 final MenuItem helpItem = menu.findItem(R.id.help_info_menu_item);
2393 final MenuItem sendFeedbackItem = menu.findItem(R.id.feedback_menu_item);
2394 final MenuItem attachFromServiceItem = menu
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DAbstractActivityController.java123 * knows how to respond to menu items, state changes, layout changes, etc. It
288 * Action menu associated with the selected set.
1459 public final boolean onCreateOptionsMenu(Menu menu) { argument
1464 inflater.inflate(mActionBarController.getOptionsMenuId(), menu);
1465 mActionBarController.onCreateOptionsMenu(menu);
1478 * the current menu action item
1634 // Not handled by the targetted menu items, check the general ones.
1661 // If the controller didn't handle this event, check the CAB menu if it's active.
2088 * @param actionId the ID of the menu item that caused the delete: R.id.delete, R.id.archive...
2150 * @param action the action to be performed, specified as a menu i
2163 onPrepareOptionsMenu(Menu menu) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncher.java1863 // Close the menu
2158 public boolean onPrepareOptionsMenu(Menu menu) { argument
2159 super.onPrepareOptionsMenu(menu);
2173 return mLauncherCallbacks.onPrepareOptionsMenu(menu);

Completed in 457 milliseconds

12345678