Home | History | Annotate | Download | only in music

Lines Matching refs:Media

37 import android.media.AudioManager;
134 mCursorCols = new String[] {MediaStore.Audio.Media._ID, MediaStore.Audio.Media.TITLE,
135 MediaStore.Audio.Media.DATA, MediaStore.Audio.Media.ALBUM,
136 MediaStore.Audio.Media.ARTIST, MediaStore.Audio.Media.ARTIST_ID,
137 MediaStore.Audio.Media.DURATION};
139 MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.DATA,
140 MediaStore.Audio.Media.ALBUM, MediaStore.Audio.Media.ARTIST,
141 MediaStore.Audio.Media.ARTIST_ID, MediaStore.Audio.Media.DURATION,
143 MediaStore.Audio.Playlists.Members.AUDIO_ID, MediaStore.Audio.Media.IS_MUSIC};
301 * This listener gets called when the media scanner starts up or finishes, and
386 int keyidx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST_ID);
425 int idx = mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM);
433 String where = MediaStore.Audio.Media.ALBUM_ID + "='" + mAlbumId + "' AND "
434 + MediaStore.Audio.Media.ARTIST_ID + "="
436 MediaStore.Audio.Media.ARTIST_ID));
437 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
438 new String[] {MediaStore.Audio.Media.ALBUM}, where, null, null);
596 int titleidx = c.getColumnIndex(MediaStore.Audio.Media.TITLE);
597 int albumidx = c.getColumnIndex(MediaStore.Audio.Media.ALBUM);
598 int artistidx = c.getColumnIndex(MediaStore.Audio.Media.ARTIST);
609 int ismusic_idx = c.getColumnIndex(MediaStore.Audio.Media.IS_MUSIC);
642 mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ALBUM));
644 mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST));
646 mTrackCursor.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE));
919 cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI,
920 new String[] {MediaStore.Audio.Media._ID},
921 MediaStore.Audio.Media.IS_MUSIC + "=1", null,
922 MediaStore.Audio.Media.DEFAULT_SORT_ORDER);
985 mSortOrder = MediaStore.Audio.Media.TITLE_KEY;
987 where.append(MediaStore.Audio.Media.TITLE + " != ''");
1008 where.append(" AND " + MediaStore.Audio.Media.IS_PODCAST + "=1");
1009 Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
1016 MediaStore.Audio.Media.DEFAULT_SORT_ORDER, async);
1019 Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
1029 MediaStore.Audio.Media.DEFAULT_SORT_ORDER, async);
1044 where.append(" AND " + MediaStore.Audio.Media.ALBUM_ID + "=" + mAlbumId);
1045 mSortOrder = MediaStore.Audio.Media.TRACK + ", " + mSortOrder;
1048 where.append(" AND " + MediaStore.Audio.Media.ARTIST_ID + "=" + mArtistId);
1050 where.append(" AND " + MediaStore.Audio.Media.IS_MUSIC + "=1");
1051 Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
1086 where.append(MediaStore.Audio.Media._ID + " IN (");
1096 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, mCols, where.toString(), null,
1097 MediaStore.Audio.Media._ID);
1107 int colidx = mCurrentPlaylistCursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID);
1384 mTitleIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.TITLE);
1385 mArtistIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.ARTIST);
1386 mDurationIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media.DURATION);
1391 mAudioIdIdx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID);