Lines Matching defs:MusicUtils
19 import com.android.music.MusicUtils.ServiceToken;
69 implements View.OnCreateContextMenuListener, MusicUtils.Defs, ServiceConnection
162 mUseLastListPos = MusicUtils.updateButtonBar(this, R.id.songtab);
180 mToken = MusicUtils.bindToService(this, this);
231 MusicUtils.updateNowPlaying(this);
265 MusicUtils.unbindFromService(mToken);
312 MusicUtils.setSpinnerState(this);
330 MusicUtils.setSpinnerState(TrackBrowserActivity.this);
369 MusicUtils.displayDatabaseError(this);
375 MusicUtils.hideDatabaseError(this);
376 mUseLastListPos = MusicUtils.updateButtonBar(this, R.id.songtab);
398 int cur = MusicUtils.sService.getQueuePosition();
427 Bitmap bm = MusicUtils.getArtwork(TrackBrowserActivity.this, -1, albumid, false);
429 MusicUtils.setBackground(mTrackList, bm);
459 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
474 if (MusicUtils.getCurrentShuffleMode() == MediaPlaybackService.SHUFFLE_AUTO) {
487 Cursor cursor = MusicUtils.query(this,
502 Cursor cursor = MusicUtils.query(this,
553 if (MusicUtils.sService != null
554 && which != MusicUtils.sService.getQueuePosition()) {
584 MusicUtils.updateNowPlaying(TrackBrowserActivity.this);
604 if (MusicUtils.sService == null) {
609 Cursor c = new NowPlayingCursor(MusicUtils.sService, mCursorCols);
651 MusicUtils.makePlaylistMenu(this, sub);
686 MusicUtils.playAll(this, mTrackCursor, position);
692 MusicUtils.addToCurrentPlaylist(this, list);
706 MusicUtils.addToPlaylist(this, list, playlist);
712 MusicUtils.setRingtone(this, mSelectedId);
808 if (curpos != MusicUtils.sService.getQueuePosition()) {
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();
989 MusicUtils.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();