Lines Matching refs:mState
65 private int mState; field in Playback
109 mState = PlaybackState.STATE_STOPPED; in stop()
111 mCallback.onPlaybackStatusChanged(mState); in stop()
125 this.mState = state; in setState()
129 return mState; in getState()
156 if (mState == PlaybackState.STATE_PAUSED && !mediaHasChanged && mMediaPlayer != null) { in play()
159 mState = PlaybackState.STATE_STOPPED; in play()
169 mState = PlaybackState.STATE_BUFFERING; in play()
187 mCallback.onPlaybackStatusChanged(mState); in play()
200 if (mState == PlaybackState.STATE_PLAYING) { in pause()
210 mState = PlaybackState.STATE_PAUSED; in pause()
212 mCallback.onPlaybackStatusChanged(mState); in pause()
225 mState = PlaybackState.STATE_BUFFERING; in seekTo()
229 mCallback.onPlaybackStatusChanged(mState); in seekTo()
278 if (mState == PlaybackState.STATE_PLAYING) { in configMediaPlayerState()
296 mState = PlaybackState.STATE_PLAYING; in configMediaPlayerState()
299 mState = PlaybackState.STATE_BUFFERING; in configMediaPlayerState()
306 mCallback.onPlaybackStatusChanged(mState); in configMediaPlayerState()
331 if (mState == PlaybackState.STATE_PLAYING && !canDuck) { in onAudioFocusChange()
351 if (mState == PlaybackState.STATE_BUFFERING) { in onSeekComplete()
353 mState = PlaybackState.STATE_PLAYING; in onSeekComplete()
356 mCallback.onPlaybackStatusChanged(mState); in onSeekComplete()