Home | History | Annotate | Download | only in music

Lines Matching refs:cur

423             Cursor cur = resolver.query(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI,
429 if (cur != null && cur.getCount() > 0) {
431 cur.moveToFirst();
432 while (! cur.isAfterLast()) {
434 intent.putExtra("playlist", cur.getLong(0));
435 // if (cur.getInt(0) == mLastPlaylistSelected) {
436 // sub.add(0, MusicBaseActivity.PLAYLIST_SELECTED, cur.getString(1)).setIntent(intent);
438 sub.add(1, Defs.PLAYLIST_SELECTED, 0, cur.getString(1)).setIntent(intent);
440 cur.moveToNext();
443 if (cur != null) {
444 cur.close();
578 Cursor cur = resolver.query(uri, cols, null, null, null);
579 cur.moveToFirst();
580 int base = cur.getInt(0);
581 cur.close();