Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java132 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()
[all …]