• Home
  • Raw
  • Download

Lines Matching refs:MusicUtils

19 import com.android.music.MusicUtils.ServiceToken;
69 implements View.OnCreateContextMenuListener, MusicUtils.Defs, ServiceConnection
162 mUseLastListPos = MusicUtils.updateButtonBar(this, R.id.songtab); in onCreate()
180 mToken = MusicUtils.bindToService(this, this); in onCreate()
231 MusicUtils.updateNowPlaying(this); in onServiceConnected()
265 MusicUtils.unbindFromService(mToken); in onDestroy()
312 MusicUtils.setSpinnerState(this); in onResume()
330 MusicUtils.setSpinnerState(TrackBrowserActivity.this);
369 MusicUtils.displayDatabaseError(this); in init()
375 MusicUtils.hideDatabaseError(this); in init()
376 mUseLastListPos = MusicUtils.updateButtonBar(this, R.id.songtab); in init()
398 int cur = MusicUtils.sService.getQueuePosition(); in init()
427 Bitmap bm = MusicUtils.getArtwork(TrackBrowserActivity.this, -1, albumid, false); in setAlbumArtBackground()
429 MusicUtils.setBackground(mTrackList, bm); in setAlbumArtBackground()
459 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in setTitle()
474 if (MusicUtils.getCurrentShuffleMode() == MediaPlaybackService.SHUFFLE_AUTO) { in setTitle()
487 Cursor cursor = MusicUtils.query(this, in setTitle()
502 Cursor cursor = MusicUtils.query(this, in setTitle()
553 if (MusicUtils.sService != null in removePlaylistItem()
554 && which != MusicUtils.sService.getQueuePosition()) { in removePlaylistItem()
584 MusicUtils.updateNowPlaying(TrackBrowserActivity.this);
604 if (MusicUtils.sService == null) {
609 Cursor c = new NowPlayingCursor(MusicUtils.sService, mCursorCols);
651 MusicUtils.makePlaylistMenu(this, sub); in onCreateContextMenu()
686 MusicUtils.playAll(this, mTrackCursor, position); in onContextItemSelected()
692 MusicUtils.addToCurrentPlaylist(this, list); in onContextItemSelected()
706 MusicUtils.addToPlaylist(this, list, playlist); in onContextItemSelected()
712 MusicUtils.setRingtone(this, mSelectedId); in onContextItemSelected()
808 if (curpos != MusicUtils.sService.getQueuePosition()) { in removeItem()
894 if (MusicUtils.sService != null) {
896 MusicUtils.sService.setQueuePosition(position);
902 MusicUtils.playAll(this, mTrackCursor, position);
929 MusicUtils.setPartyShuffleMenuIcon(menu);
939 MusicUtils.playAll(this, mTrackCursor);
944 MusicUtils.togglePartyShuffle();
949 cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
954 MusicUtils.shuffleAll(this, cursor);
967 MusicUtils.clearQueue();
989MusicUtils.addToPlaylist(this, list, Integer.valueOf(uri.getLastPathSegment()));
998 long [] list = MusicUtils.getSongListForCursor(mTrackCursor);
1000 MusicUtils.addToPlaylist(this, list, plid);
1030 if (MusicUtils.sService != null) {
1031 ret = new NowPlayingCursor(MusicUtils.sService, mCursorCols);
1053 int X = MusicUtils.getIntPref(this, "numweeks", 2) * (3600 * 24 * 7);
1125 mCurrentPlaylistCursor = MusicUtils.query(TrackBrowserActivity.this,
1390 return MusicUtils.query(mActivity,
1480 vh.duration.setText(MusicUtils.makeTimeString(context, secs));
1501 if (MusicUtils.sService != null) {
1505 id = MusicUtils.sService.getQueuePosition();
1507 id = MusicUtils.sService.getAudioId();