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

12345678

/packages/apps/Settings/src/com/android/settings/print/
H A DPrintSettingsFragment.java162 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
163 super.onCreateOptionsMenu(menu, inflater);
167 MenuItem menuItem = menu.add(R.string.print_menu_item_add_service);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
H A DCustomInputStyleSettingsFragment.java622 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { argument
623 inflater.inflate(R.menu.add_style, menu);
/packages/apps/Settings/src/com/android/settings/
H A DSettingsPreferenceFragment.java93 // Prepare help url and enable menu if necessary
272 * Override this if you want to show a help item in the menu, by returning the resource id.
280 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
282 MenuItem helpItem = menu.add(0, MENU_HELP, 0, R.string.help_label);
H A DDataUsageSummary.java476 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
477 inflater.inflate(R.menu.data_usage, menu);
481 public void onPrepareOptionsMenu(Menu menu) { argument
486 mMenuShowWifi = menu.findItem(R.id.data_usage_menu_show_wifi);
493 mMenuShowEthernet = menu.findItem(R.id.data_usage_menu_show_ethernet);
500 mMenuRestrictBackground = menu.findItem(R.id.data_usage_menu_restrict_background);
504 final MenuItem metered = menu.findItem(R.id.data_usage_menu_metered);
512 mMenuSimCards = menu.findItem(R.id.data_usage_menu_sim_cards);
515 mMenuCellularNetworks = menu
[all...]
H A DSettingsActivity.java432 public boolean onCreateOptionsMenu(Menu menu) { argument
438 inflater.inflate(R.menu.options_menu, menu);
443 mSearchMenuItem = menu.findItem(R.id.search);
721 // menu item and search view are null.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionarySettingsFragment.java107 public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) { argument
114 menu.add(Menu.NONE, MENU_UPDATE_NOW, 0, R.string.check_for_updates_now);
394 // We come here when the menu element is pressed so presumably it can't be null. But
412 // The menu is created by the framework asynchronously after the activity,
413 // which means it's possible to have the activity running but the menu not
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventFragment.java634 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
635 super.onCreateOptionsMenu(menu, inflater);
638 inflater.inflate(R.menu.edit_event_title_bar, menu);
648 * Handles menu item selections, whether they come from our custom action bar buttons or from
649 * the standard menu items. Depends on the menu item ids matching the custom action bar button
652 * @param itemId the button or menu item id
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSettingsFragment.java411 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
412 menu.clear();
413 inflater.inflate(R.menu.settings_fragment_menu, menu);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DActivityState.java251 protected boolean onCreateActionBar(Menu menu) { argument
252 // TODO: we should return false if there is no menu to show
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DEditorColorBorder.java130 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_color_border,
H A DEditorCrop.java53 // Mapping from menu id to aspect ratio
135 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_crop, popupMenu.getMenu());
H A DEditorChanSat.java105 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_chan_sat,
H A DEditorGrad.java264 .inflate(R.menu.filtershow_menu_grad, mPopupMenu.getMenu());
H A DEditorVignette.java163 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_vignette,
/packages/apps/Nfc/src/com/android/nfc/
H A DSendUi.java814 public boolean onCreatePanelMenu(int featureId, Menu menu) { argument
819 public boolean onPreparePanel(int featureId, View view, Menu menu) { argument
824 public boolean onMenuOpened(int featureId, Menu menu) { argument
855 public void onPanelClosed(int featureId, Menu menu) { argument
/packages/apps/Settings/src/com/android/settings/users/
H A DUserSettings.java271 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
276 MenuItem removeThisUser = menu.add(0, MENU_REMOVE_USER, pos++,
281 MenuItem allowAddOnLockscreen = menu.add(0, MENU_ADD_ON_LOCKSCREEN, pos++,
287 super.onCreateOptionsMenu(menu, inflater);
/packages/apps/Camera2/src/com/android/camera/
H A DCameraActivity.java1965 public boolean onCreateOptionsMenu(Menu menu) { argument
1967 inflater.inflate(R.menu.filmstrip_menu, menu);
1968 mActionBarMenu = menu;
1974 MenuItem menuItem = menu.add(appName);
1985 return super.onCreateOptionsMenu(menu);
2245 public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) { argument
2246 super.onCreateContextMenu(menu, v, menuInfo);
2249 inflater.inflate(R.menu.filmstrip_context_menu, menu);
[all...]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDialpadFragment.java656 // Populate the overflow menu in onResume instead of onCreate, so that if the SMS activity
850 * menu for display by the container when appropriate.
852 * @param invoker the View that invoked the options menu, to act as an anchor location.
858 final Menu menu = getMenu();
859 final MenuItem sendMessage = menu.findItem(R.id.menu_send_message);
863 for (int i = 0; i < menu.size(); i++) {
864 menu.getItem(i).setEnabled(enable);
870 popupMenu.inflate(R.menu.dialpad_options);
1150 // leaving the current activity (via the ENDCALL-longpress menu.)
1492 * Handle transitions for the menu butto
[all...]
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DRawContactEditorView.java463 // option to add this type of field in the popup menu
490 final Menu menu = popupMenu.getMenu();
492 menu.add(Menu.NONE, i, Menu.NONE, fields.get(i).getTitle());
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperPickerActivity.java569 public boolean onCreateActionMode(ActionMode mode, Menu menu) {
570 // Inflate a menu resource providing context menu items
572 inflater.inflate(R.menu.cab_delete_wallpapers, menu);
591 public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
603 // Called when the user selects a contextual menu item
/packages/apps/Contacts/src/com/android/contacts/group/
H A DGroupEditorFragment.java513 public void onCreateOptionsMenu(Menu menu, final MenuInflater inflater) { argument
514 inflater.inflate(R.menu.edit_group, menu);
/packages/apps/Settings/src/com/android/settings/wfd/
H A DWifiDisplaySettings.java186 public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { argument
189 MenuItem item = menu.add(Menu.NONE, MENU_ID_ENABLE_WIFI_DISPLAY, 0,
194 super.onCreateOptionsMenu(menu, inflater);
275 // Add the certification menu if enabled in developer options.
281 // Invalidate menu options if needed.
/packages/apps/LegacyCamera/src/com/android/camera/
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/Calendar/src/com/android/calendar/
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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DImageCurves.java109 popupMenu.getMenuInflater().inflate(R.menu.filtershow_menu_curves, popupMenu.getMenu());

Completed in 396 milliseconds

12345678