Searched refs:menuId (Results 1 – 3 of 3) sorted by relevance
41 public DropDownMenu(Context context, Button button, int menuId, in DropDownMenu() argument46 mPopupMenu.getMenuInflater().inflate(menuId, mMenu); in DropDownMenu()75 public DropDownMenu addDropDownMenu(Button button, int menuId) { in addDropDownMenu() argument76 DropDownMenu menu = new DropDownMenu(mContext, button, menuId, this); in addDropDownMenu()
105 int menuId = -1; in onCreateOptionsMenu() local111 menuId = R.menu.message_search_list_fragment_option; in onCreateOptionsMenu()113 menuId = R.menu.message_list_fragment_option; in onCreateOptionsMenu()119 menuId = R.menu.message_view_fragment_option; in onCreateOptionsMenu()123 if (menuId != -1) { in onCreateOptionsMenu()124 inflater.inflate(menuId, menu); in onCreateOptionsMenu()
1152 int menuId = item.getItemId(); in onOptionsItemSelected() local1153 if ((menuId == SORT_ORDER_ALPHA) || (menuId == SORT_ORDER_SIZE)) { in onOptionsItemSelected()1154 mSortOrder = menuId; in onOptionsItemSelected()1158 } else if (menuId == SHOW_RUNNING_SERVICES) { in onOptionsItemSelected()1163 } else if (menuId == SHOW_BACKGROUND_PROCESSES) { in onOptionsItemSelected()1168 } else if (menuId == RESET_APP_PREFERENCES) { in onOptionsItemSelected()