Lines Matching refs:menu
284 public boolean onCreateOptionsMenu(Menu menu) { in onCreateOptionsMenu() argument
285 super.onCreateOptionsMenu(menu); in onCreateOptionsMenu()
286 …menu.add(0, PARTY_SHUFFLE, 0, R.string.party_shuffle); // icon will be set in onPrepareOptionsMenu… in onCreateOptionsMenu()
287 menu.add(0, SHUFFLE_ALL, 0, R.string.shuffle_all).setIcon(R.drawable.ic_menu_shuffle); in onCreateOptionsMenu()
292 public boolean onPrepareOptionsMenu(Menu menu) { in onPrepareOptionsMenu() argument
293 MusicUtils.setPartyShuffleMenuIcon(menu); in onPrepareOptionsMenu()
294 return super.onPrepareOptionsMenu(menu); in onPrepareOptionsMenu()
321 public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo menuInfoIn) { in onCreateContextMenu() argument
322 menu.add(0, PLAY_SELECTION, 0, R.string.play_selection); in onCreateContextMenu()
323 SubMenu sub = menu.addSubMenu(0, ADD_TO_PLAYLIST, 0, R.string.add_to_playlist); in onCreateContextMenu()
325 menu.add(0, DELETE_ITEM, 0, R.string.delete_item); in onCreateContextMenu()
347 menu.setHeaderTitle(getString(R.string.unknown_artist_name)); in onCreateContextMenu()
349 menu.setHeaderTitle(mCurrentArtistName); in onCreateContextMenu()
350 menu.add(0, SEARCH, 0, R.string.search_title); in onCreateContextMenu()
373 menu.setHeaderTitle(getString(R.string.unknown_album_name)); in onCreateContextMenu()
375 menu.setHeaderTitle(mCurrentAlbumName); in onCreateContextMenu()
378 menu.add(0, SEARCH, 0, R.string.search_title); in onCreateContextMenu()