Home
last modified time | relevance | path

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

/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPlayback.java200 if (mState == PlaybackState.STATE_PLAYING) { in pause()
278 if (mState == PlaybackState.STATE_PLAYING) { in configMediaPlayerState()
296 mState = PlaybackState.STATE_PLAYING; in configMediaPlayerState()
331 if (mState == PlaybackState.STATE_PLAYING && !canDuck) { in onAudioFocusChange()
353 mState = PlaybackState.STATE_PLAYING; in onSeekComplete()
DMediaNotificationManager.java300 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING) { in addPlayPauseAction()
319 if (mPlaybackState.getState() == PlaybackState.STATE_PLAYING in setNotificationPlaybackState()
336 builder.setOngoing(mPlaybackState.getState() == PlaybackState.STATE_PLAYING); in setNotificationPlaybackState()
DQueueFragment.java199 case PlaybackState.STATE_PLAYING: in onPlaybackStateChanged()
257 } else if (state == PlaybackState.STATE_PLAYING) {
DMusicService.java634 if (state == PlaybackState.STATE_PLAYING || state == PlaybackState.STATE_PAUSED) { in updatePlaybackState()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DLocalPlayer.java59 private static final int STATE_PLAYING = 3; field in LocalPlayer
142 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in seek()
154 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in getStatus()
172 if (mState == STATE_PLAYING) { in pause()
185 mState = STATE_PLAYING; in resume()
196 if (mState == STATE_PLAYING || mState == STATE_PAUSED) { in stop()
225 mState = STATE_PLAYING; in onPrepared()