Home
last modified time | relevance | path

Searched refs:tracks (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java54 Iterable<MediaMetadata> tracks = null; in getPlayingQueue() local
57 tracks = musicProvider.getMusicsByGenre(categoryValue); in getPlayingQueue()
59 tracks = musicProvider.searchMusic(categoryValue); in getPlayingQueue()
62 if (tracks == null) { in getPlayingQueue()
67 return convertToQueue(tracks, hierarchy[0], hierarchy[1]); in getPlayingQueue()
104 Iterable<MediaMetadata> tracks, String... categories) { in convertToQueue() argument
107 for (MediaMetadata track : tracks) { in convertToQueue()
141 Iterable<MediaMetadata> tracks = musicProvider.getMusicsByGenre(genre); in getRandomQueue() local
143 return convertToQueue(tracks, MEDIA_ID_MUSICS_BY_GENRE, genre); in getRandomQueue()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java228 JSONArray tracks = jsonObj.getJSONArray(JSON_MUSIC); in retrieveMedia() local
229 if (tracks != null) { in retrieveMedia()
230 for (int j = 0; j < tracks.length(); j++) { in retrieveMedia()
231 MediaMetadata item = buildFromJSON(tracks.getJSONObject(j), path); in retrieveMedia()