Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java40 import com.example.android.mediabrowserservice.utils.QueueHelper;
328 mPlayingQueue = QueueHelper.getRandomQueue(mMusicProvider); in onPlay()
346 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, queueId); in onSkipToQueueItem()
367 mPlayingQueue = QueueHelper.getPlayingQueue(mediaId, mMusicProvider); in onPlayFromMediaId()
375 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, mediaId); in onPlayFromMediaId()
408 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in onSkipToNext()
427 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in onSkipToPrevious()
462 mPlayingQueue = QueueHelper.getRandomQueue(mMusicProvider); in onPlayFromSearch()
464 mPlayingQueue = QueueHelper.getPlayingQueueFromSearch(query, mMusicProvider); in onPlayFromSearch()
502 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in handlePlayRequest()
[all …]
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DQueueHelper.java35 public class QueueHelper { class
37 private static final String TAG = LogHelper.makeLogTag(QueueHelper.class);