HomeSort by relevance Sort by last modified time
    Searched refs:MusicUtils (Results 1 - 20 of 20) sorted by null

  /packages/apps/Music/src/com/android/music/
MusicBrowserActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
30 implements MusicUtils.Defs {
43 int activeTab = MusicUtils.getIntPref(this, "activetab", R.id.artisttab);
50 MusicUtils.activateTab(this, activeTab);
54 mToken = MusicUtils.bindToService(this, autoshuffle);
61 MusicUtils.unbindFromService(mToken);
PlaylistBrowserActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
61 implements View.OnCreateContextMenuListener, MusicUtils.Defs
98 mToken = MusicUtils.bindToService(this, new ServiceConnection() {
112 long[] list = MusicUtils.getAllSongs(PlaylistBrowserActivity.this);
114 MusicUtils.playAll(PlaylistBrowserActivity.this, list, 0);
117 MusicUtils.playPlaylist(PlaylistBrowserActivity.this, id);
126 MusicUtils.updateNowPlaying(PlaylistBrowserActivity.this);
141 MusicUtils.updateButtonBar(this, R.id.playlisttab);
195 MusicUtils.unbindFromService(mToken);
216 MusicUtils.setSpinnerState(this)
    [all...]
ArtistAlbumBrowserActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
68 implements View.OnCreateContextMenuListener, MusicUtils.Defs, ServiceConnection
97 mToken = MusicUtils.bindToService(this, this);
107 MusicUtils.updateButtonBar(this, R.id.artisttab);
169 MusicUtils.unbindFromService(mToken);
196 MusicUtils.setSpinnerState(this);
203 MusicUtils.updateNowPlaying(ArtistAlbumBrowserActivity.this);
209 MusicUtils.setSpinnerState(ArtistAlbumBrowserActivity.this);
212 MusicUtils.clearAlbumArtCache();
241 MusicUtils.displayDatabaseError(this)
    [all...]
AlbumBrowserActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
69 implements View.OnCreateContextMenuListener, MusicUtils.Defs, ServiceConnection
101 mToken = MusicUtils.bindToService(this, this);
111 MusicUtils.updateButtonBar(this, R.id.albumtab);
167 MusicUtils.unbindFromService(mToken);
193 MusicUtils.setSpinnerState(this);
200 MusicUtils.updateNowPlaying(AlbumBrowserActivity.this);
206 MusicUtils.setSpinnerState(AlbumBrowserActivity.this);
209 MusicUtils.clearAlbumArtCache();
238 MusicUtils.displayDatabaseError(this)
    [all...]
TrackBrowserActivity.java 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)
    [all...]
MediaPickerActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
39 public class MediaPickerActivity extends ListActivity implements MusicUtils.Defs
63 mToken = MusicUtils.bindToService(this);
69 MusicUtils.unbindFromService(mToken);
124 if (MusicUtils.sService != null) {
126 MusicUtils.sService.stop();
183 c = MusicUtils.query(this, MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
189 c = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
198 c = MusicUtils.query(this, MediaStore.Video.Media.EXTERNAL_CONTENT_URI,
WeekSelector.java 46 int def = MusicUtils.getIntPref(this, "numweeks", 2);
73 MusicUtils.setIntPref(WeekSelector.this, "numweeks", numweeks);
QueryBrowserActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
58 implements MusicUtils.Defs, ServiceConnection
84 mToken = MusicUtils.bindToService(this, this);
107 MusicUtils.playAll(this, list, 0);
201 MusicUtils.unbindFromService(mToken);
227 MusicUtils.setSpinnerState(QueryBrowserActivity.this);
265 MusicUtils.displayDatabaseError(this);
270 MusicUtils.hideDatabaseError(this);
299 MusicUtils.playAll(this, list, 0);
310 MusicUtils.setRingtone(this, mTrackList.getSelectedItemId())
    [all...]
VideoBrowserActivity.java 33 public class VideoBrowserActivity extends ListActivity implements MusicUtils.Defs
57 MusicUtils.displayDatabaseError(this);
DeleteItems.java 64 MusicUtils.deleteTracks(DeleteItems.this, mItemList);
MediaPlaybackActivity.java 19 import com.android.music.MusicUtils.ServiceToken;
69 public class MediaPlaybackActivity extends Activity implements MusicUtils.Defs,
297 Cursor c = MusicUtils.query(this,
466 MusicUtils.unbindFromService(mToken);
476 mToken = MusicUtils.bindToService(this, osc);
518 if (MusicUtils.getCurrentAudioId() >= 0) {
545 int shuffle = MusicUtils.getCurrentShuffleMode();
558 MusicUtils.makePlaylistMenu(this, sub);
582 MusicUtils.setRingtone(this, mService.getAudioId());
587 MusicUtils.togglePartyShuffle()
    [all...]
ScanningProgress.java 45 Cursor c = MusicUtils.query(ScanningProgress.this,
CreatePlaylist.java 102 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
180 MusicUtils.clearPlaylist(CreatePlaylist.this, id);
RenamePlaylist.java 122 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
139 Cursor c = MusicUtils.query(this, MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
MusicUtils.java 72 public class MusicUtils {
74 private static final String TAG = "MusicUtils";
185 Log.e("MusicUtils", "Trying to unbind with null token");
191 Log.e("MusicUtils", "Trying to unbind for unknown Context");
235 if (MusicUtils.sService != null) {
245 if (MusicUtils.sService != null) {
282 int shuffle = MusicUtils.getCurrentShuffleMode();
298 if (MusicUtils.sService != null) {
504 Log.e("MusicUtils", "Failed to delete file " + name);
794 Log.d("MusicUtils", "attempt to play empty song list")
    [all...]
MediaPlaybackService.java 169 MusicUtils.debugLog("mMediaplayerHandler.handleMessage " + msg.what);
275 MusicUtils.debugLog("mIntentReceiver.onReceive " + action + " / " + cmd);
339 mCardId = MusicUtils.getCardId(this);
533 Cursor crsr = MusicUtils.query(this,
648 MusicUtils.debugLog("onStartCommand " + action + " / " + cmd);
758 mCardId = MusicUtils.getCardId(MediaPlaybackService.this);
    [all...]
MusicPicker.java 67 MusicUtils.Defs {
241 vh.duration.setText(MusicUtils.makeTimeString(context, secs));
  /packages/apps/Music/tests/src/com/android/music/stress/
MusicPlaybackStress.java 33 import com.android.music.MusicUtils;
61 inst.invokeMenuActionSync(getActivity(), MusicUtils.Defs.CHILD_MENU_BASE + 3, 0);
  /packages/apps/Music/tests/src/com/android/music/functional/
TestPlaylist.java 32 import com.android.music.MusicUtils;
75 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.CHILD_MENU_BASE + 1, 0);
95 inst.invokeContextMenuAction(trackBrowserActivity, MusicUtils.Defs.NEW_PLAYLIST, 0);
116 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.CHILD_MENU_BASE + 3, 0);
TestSongs.java 39 import com.android.music.MusicUtils;
72 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.NEW_PLAYLIST, 0);
155 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.USE_AS_RINGTONE, 0);
192 inst.invokeContextMenuAction(getActivity(), MusicUtils.Defs.DELETE_ITEM, 0);

Completed in 405 milliseconds