Home
last modified time | relevance | path

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

/development/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java42 protected static final int STATE_PAUSED = 4; field in Player
124 case STATE_PAUSED: in publishState()
125 bob.setState(PlaybackStateCompat.STATE_PAUSED, -1, 0); in publishState()
DLocalPlayer.java145 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in seek()
157 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in getStatus()
177 mState = STATE_PAUSED; in pause()
186 if (mState == STATE_READY || mState == STATE_PAUSED) { in resume()
199 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in stop()
DRemotePlayer.java143 publishState(STATE_PAUSED); in play()
220 publishState(STATE_PAUSED); in pause()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java60 private static final int STATE_PAUSED = 4; field in LocalPlayer
142 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in seek()
154 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in getStatus()
174 mState = STATE_PAUSED; in pause()
183 if (mState == STATE_READY || mState == STATE_PAUSED) { in resume()
196 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in stop()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicService.java382 if (mState == PlaybackState.STATE_PAUSED) { in onSkipToQueueItem()
400 if (mState == PlaybackState.STATE_PAUSED) { in onPlayFromMediaId()
497 if (mState == PlaybackState.STATE_PAUSED) { in onPlayFromSearch()
625 if (mState == PlaybackState.STATE_PAUSED) { in handlePlayRequest()
645 mState = PlaybackState.STATE_PAUSED; in handlePauseRequest()
871 if (mState == PlaybackState.STATE_PLAYING || mState == PlaybackState.STATE_PAUSED) { in updatePlaybackState()
DQueueFragment.java203 case PlaybackState.STATE_PAUSED: in onPlaybackStateChanged()
253 if (state == PlaybackState.STATE_PAUSED ||