Home | History | Annotate | Download | only in music

Lines Matching refs:Media

26 import android.media.AudioManager;
27 import android.media.MediaPlayer;
28 import android.media.RingtoneManager;
89 static final String[] CURSOR_COLS = new String[] {MediaStore.Audio.Media._ID,
90 MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.TITLE_KEY,
91 MediaStore.Audio.Media.DATA, MediaStore.Audio.Media.ALBUM,
92 MediaStore.Audio.Media.ARTIST, MediaStore.Audio.Media.ARTIST_ID,
93 MediaStore.Audio.Media.DURATION, MediaStore.Audio.Media.TRACK};
294 mIdIdx = cursor.getColumnIndex(MediaStore.Audio.Media._ID);
295 mTitleIdx = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE);
296 mArtistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST);
297 mAlbumIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ALBUM);
298 mDurationIdx = cursor.getColumnIndex(MediaStore.Audio.Media.DURATION);
416 mBaseUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
428 mSortOrder = MediaStore.Audio.Media.TITLE_KEY;
538 mSortOrder = MediaStore.Audio.Media.TITLE_KEY;
543 mSortOrder = MediaStore.Audio.Media.ALBUM_KEY + " ASC, "
544 + MediaStore.Audio.Media.TRACK + " ASC, "
545 + MediaStore.Audio.Media.TITLE_KEY + " ASC";
550 mSortOrder = MediaStore.Audio.Media.ARTIST_KEY + " ASC, "
551 + MediaStore.Audio.Media.ALBUM_KEY + " ASC, "
552 + MediaStore.Audio.Media.TRACK + " ASC, "
553 + MediaStore.Audio.Media.TITLE_KEY + " ASC";
591 where.append(MediaStore.Audio.Media.TITLE + " != ''");
595 // where.append(" AND " + MediaStore.Audio.Media.IS_MUSIC + "=1");
622 + mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID))
628 Uri uri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
629 long newId = mCursor.getLong(mCursor.getColumnIndex(MediaStore.Audio.Media._ID));