Home | History | Annotate | Download | only in music

Lines Matching refs:MediaStore

43 import android.provider.MediaStore;
259 mAlbumCursor.getColumnIndex(MediaStore.Audio.Albums.ARTIST));
260 if (fancyName == null || fancyName.equals(MediaStore.UNKNOWN_STRING))
279 mCurrentAlbumId = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums._ID));
280 mCurrentAlbumName = mAlbumCursor.getString(mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM));
282 mAlbumCursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST));
284 mCurrentArtistNameForAlbum.equals(MediaStore.UNKNOWN_STRING);
286 mCurrentAlbumName.equals(MediaStore.UNKNOWN_STRING);
352 i.setAction(MediaStore.INTENT_ACTION_MEDIA_SEARCH);
358 i.putExtra(MediaStore.EXTRA_MEDIA_ALBUM, mCurrentAlbumName);
363 i.putExtra(MediaStore.EXTRA_MEDIA_ARTIST, mCurrentArtistNameForAlbum);
368 i.putExtra(MediaStore.EXTRA_MEDIA_FOCUS, MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE);
432 cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
433 new String [] { MediaStore.Audio.Media._ID},
434 MediaStore.Audio.Media.IS_MUSIC + "=1", null,
435 MediaStore.Audio.Media.DEFAULT_SORT_ORDER);
447 where.append(MediaStore.Audio.Albums.ALBUM + " != ''");
457 String key = MediaStore.Audio.keyFor(searchWords[i]);
465 where.append(MediaStore.Audio.Media.ARTIST_KEY + "||");
466 where.append(MediaStore.Audio.Media.ALBUM_KEY + " LIKE ? ESCAPE '\\'");
473 MediaStore.Audio.Albums._ID,
474 MediaStore.Audio.Albums.ARTIST,
475 MediaStore.Audio.Albums.ALBUM,
476 MediaStore.Audio.Albums.ALBUM_ART
482 MediaStore.Audio.Artists.Albums.getContentUri("external",
484 cols, whereclause, keywords, MediaStore.Audio.Albums.DEFAULT_SORT_ORDER);
487 MediaStore.Audio.Artists.Albums.getContentUri("external",
489 cols, whereclause, keywords, MediaStore.Audio.Albums.DEFAULT_SORT_ORDER);
494 MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,
495 cols, whereclause, keywords, MediaStore.Audio.Albums.DEFAULT_SORT_ORDER);
497 ret = MusicUtils.query(this, MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI,
498 cols, whereclause, keywords, MediaStore.Audio.Albums.DEFAULT_SORT_ORDER);
567 mAlbumIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM);
568 mArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ARTIST);
569 mAlbumArtIndex = cursor.getColumnIndexOrThrow(MediaStore.Audio.Albums.ALBUM_ART);
609 boolean unknown = name == null || name.equals(MediaStore.UNKNOWN_STRING);
617 if (name == null || name.equals(MediaStore.UNKNOWN_STRING)) {