Home
last modified time | relevance | path

Searched refs:track (Results 1 – 7 of 7) sorted by relevance

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java300 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()
[all …]
DPlayback.java161 MediaMetadata track = mMusicProvider.getMusic( in play() local
164 String source = track.getString(MusicProvider.CUSTOM_METADATA_TRACK_SOURCE); in play()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java122 for (MutableMediaMetadata track : mMusicListById.values()) { in searchMusic()
123 if (track.metadata.getString(MediaMetadata.METADATA_KEY_TITLE).toLowerCase() in searchMusic()
125 result.add(track.metadata); in searchMusic()
141 MutableMediaMetadata track = mMusicListById.get(musicId); in updateMusic() local
142 if (track == null) { in updateMusic()
146 String oldGenre = track.metadata.getString(MediaMetadata.METADATA_KEY_GENRE); in updateMusic()
149 track.metadata = metadata; in updateMusic()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java107 for (MediaMetadata track : tracks) { in convertToQueue()
112 track.getDescription().getMediaId(), categories); in convertToQueue()
114 MediaMetadata trackCopy = new MediaMetadata.Builder(track) in convertToQueue()
/development/samples/browseable/BasicMultitouch/
D_index.jd8 This sample demonstrates the use of MotionEvent properties to keep track of individual touches
/development/samples/JetBoy/src/com/example/android/jetboy/
DJetBoyView.java105 public JetGameEvent(JetPlayer player, short segment, byte track, byte channel, in JetGameEvent() argument
109 this.track = track; in JetGameEvent()
117 public byte track; field in JetBoyView.JetGameEvent
733 processJetEvent(jetEvent.player, jetEvent.segment, jetEvent.track, in updateGameState()
901 protected void processJetEvent(JetPlayer player, short segment, byte track, byte channel, in processJetEvent() argument
1265 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent() argument
1272 mEventQueue.add(new JetGameEvent(player, segment, track, channel, controller, value)); in onJetEvent()
/development/samples/browseable/SpeedTracker/
D_index.jd15 component of the app and user can see a track made of those