Home | History | Annotate | Download | only in music

Lines Matching defs:Intent

30 import android.content.Intent;
115 Intent intent = getIntent();
116 if (intent != null) {
117 if (intent.getBooleanExtra("withtabs", false)) {
130 mAlbumId = intent.getStringExtra("album");
133 mArtistId = intent.getStringExtra("artist");
134 mPlaylist = intent.getStringExtra("playlist");
135 mGenre = intent.getStringExtra("genre");
136 mEditMode = intent.getAction().equals(Intent.ACTION_EDIT);
194 f.addAction(Intent.ACTION_MEDIA_SCANNER_STARTED);
195 f.addAction(Intent.ACTION_MEDIA_SCANNER_FINISHED);
196 f.addAction(Intent.ACTION_MEDIA_UNMOUNTED);
326 public void onReceive(Context context, Intent intent) {
327 String action = intent.getAction();
328 if (Intent.ACTION_MEDIA_SCANNER_STARTED.equals(action) ||
329 Intent.ACTION_MEDIA_SCANNER_FINISHED.equals(action)) {
401 mNowPlayingListener.onReceive(this, new Intent(MediaPlaybackService.META_CHANGED));
419 mTrackListListener.onReceive(this, new Intent(MediaPlaybackService.META_CHANGED));
581 public void onReceive(Context context, Intent intent) {
591 public void onReceive(Context context, Intent intent) {
592 if (intent.getAction().equals(MediaPlaybackService.META_CHANGED)) {
594 } else if (intent.getAction().equals(MediaPlaybackService.QUEUE_CHANGED)) {
697 Intent intent = new Intent();
698 intent.setClass(this, CreatePlaylist.class);
699 startActivityForResult(intent, NEW_PLAYLIST);
728 Intent intent = new Intent();
729 intent.setClass(this, DeleteItems.class);
730 intent.putExtras(b);
731 startActivityForResult(intent, -1);
750 Intent i = new Intent();
752 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
768 startActivity(Intent.createChooser(i, title));
935 Intent intent;
960 intent = new Intent();
961 intent.setClass(this, CreatePlaylist.class);
962 startActivityForResult(intent, SAVE_AS_PLAYLIST);
974 protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
986 Uri uri = intent.getData();
996 Uri uri = intent.getData();