Lines Matching refs:track
300 for (MediaMetadata track : mMusicProvider.getMusicsByGenre(genre)) { in loadChildrenImpl()
306 track.getDescription().getMediaId(), MEDIA_ID_MUSICS_BY_GENRE, genre); in loadChildrenImpl()
307 MediaMetadata trackCopy = new MediaMetadata.Builder(track) in loadChildrenImpl()
441 MediaMetadata track = getCurrentPlayingMusic(); in onCustomAction() local
442 if (track != null) { in onCustomAction()
443 String musicId = track.getString(MediaMetadata.METADATA_KEY_MEDIA_ID); in onCustomAction()
545 MediaMetadata track = mMusicProvider.getMusic(musicId); in updateMetadata() local
546 final String trackId = track.getString(MediaMetadata.METADATA_KEY_MEDIA_ID); in updateMetadata()
553 " mediaId from track=", track.getDescription().getMediaId(), in updateMetadata()
554 " title from track=", track.getDescription().getTitle(), in updateMetadata()
555 " source.hashcode from track=", track.getString( in updateMetadata()
561 mSession.setMetadata(track); in updateMetadata()
565 if (track.getDescription().getIconBitmap() == null && in updateMetadata()
566 track.getDescription().getIconUri() != null) { in updateMetadata()
567 String albumUri = track.getDescription().getIconUri().toString(); in updateMetadata()
572 MediaMetadata track = mMusicProvider.getMusic(trackId); in updateMetadata()
573 track = new MediaMetadata.Builder(track) in updateMetadata()
586 mMusicProvider.updateMusic(trackId, track); in updateMetadata()
592 mSession.setMetadata(track); in updateMetadata()