Searched refs:QueueHelper (Results 1 – 2 of 2) sorted by relevance
40 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 …]
35 public class QueueHelper { class37 private static final String TAG = LogHelper.makeLogTag(QueueHelper.class);