• Home
  • Raw
  • Download

Lines Matching refs:mCurrentIndexOnQueue

132      private int mCurrentIndexOnQueue;  field in MusicService
332 mCurrentIndexOnQueue = 0; in onPlay()
346 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, queueId); in onSkipToQueueItem()
375 mCurrentIndexOnQueue = QueueHelper.getMusicIndexOnQueue(mPlayingQueue, mediaId); in onPlayFromMediaId()
377 if (mCurrentIndexOnQueue < 0) { in onPlayFromMediaId()
402 mCurrentIndexOnQueue++; in onSkipToNext()
403 if (mPlayingQueue != null && mCurrentIndexOnQueue >= mPlayingQueue.size()) { in onSkipToNext()
406 mCurrentIndexOnQueue = 0; in onSkipToNext()
408 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in onSkipToNext()
412 mCurrentIndexOnQueue + " queue length=" + in onSkipToNext()
421 mCurrentIndexOnQueue--; in onSkipToPrevious()
422 if (mPlayingQueue != null && mCurrentIndexOnQueue < 0) { in onSkipToPrevious()
425 mCurrentIndexOnQueue = 0; in onSkipToPrevious()
427 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in onSkipToPrevious()
431 mCurrentIndexOnQueue + " queue length=" + in onSkipToPrevious()
472 mCurrentIndexOnQueue = 0; in onPlayFromSearch()
502 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in handlePlayRequest()
504 mPlayback.play(mPlayingQueue.get(mCurrentIndexOnQueue)); in handlePlayRequest()
537 if (!QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in updateMetadata()
542 MediaSession.QueueItem queueItem = mPlayingQueue.get(mCurrentIndexOnQueue); in updateMetadata()
571 MediaSession.QueueItem queueItem = mPlayingQueue.get(mCurrentIndexOnQueue); in updateMetadata()
627 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in updatePlaybackState()
628 MediaSession.QueueItem item = mPlayingQueue.get(mCurrentIndexOnQueue); in updatePlaybackState()
664 if (mCurrentIndexOnQueue > 0) { in getAvailableActions()
667 if (mCurrentIndexOnQueue < mPlayingQueue.size() - 1) { in getAvailableActions()
674 if (QueueHelper.isIndexPlayable(mCurrentIndexOnQueue, mPlayingQueue)) { in getCurrentPlayingMusic()
675 MediaSession.QueueItem item = mPlayingQueue.get(mCurrentIndexOnQueue); in getCurrentPlayingMusic()
695 mCurrentIndexOnQueue++; in onCompletion()
696 if (mCurrentIndexOnQueue >= mPlayingQueue.size()) { in onCompletion()
697 mCurrentIndexOnQueue = 0; in onCompletion()