Searched refs:QueueHelper (Results 1 – 2 of 2) sorted by relevance
48 import com.example.android.supportv4.media.utils.QueueHelper;370 mPlayingQueue = QueueHelper.getRandomQueue(mMusicProvider); in onPlay()388 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, queueId); in onSkipToQueueItem()409 mPlayingQueue = QueueHelper.getPlayingQueue(mediaId, mMusicProvider); in onPlayFromMediaId()417 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, mediaId); in onPlayFromMediaId()450 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in onSkipToNext()469 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in onSkipToPrevious()504 mPlayingQueue = QueueHelper.getRandomQueue(mMusicProvider); in onPlayFromSearch()506 mPlayingQueue = QueueHelper.getPlayingQueueFromSearch(query, mMusicProvider); in onPlayFromSearch()544 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in handlePlayRequest()[all …]
36 public class QueueHelper { class