Home
last modified time | relevance | path

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

/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java185 int pbState; in onStateChanged() local
191 pbState = PlaybackState.STATE_STOPPED; in onStateChanged()
195 pbState = PlaybackState.STATE_BUFFERING; in onStateChanged()
198 pbState = PlaybackState.STATE_ERROR; in onStateChanged()
201 pbState = PlaybackState.STATE_PAUSED; in onStateChanged()
204 pbState = PlaybackState.STATE_PLAYING; in onStateChanged()
208 pbState = PlaybackState.STATE_ERROR; in onStateChanged()
213 bob.setState(pbState, position, rate, SystemClock.elapsedRealtime()); in onStateChanged()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DPlayer.java153 PlaybackStateCompat pbState = bob.build(); in publishState() local
154 Log.d(TAG, "Setting state to " + pbState); in publishState()
155 mMediaSession.setPlaybackState(pbState); in publishState()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java684 int pbState = PlaybackState.getStateFromRccState(state); in setPlaybackStateInt() local
689 bob.setState(pbState, position, playbackSpeed, SystemClock.elapsedRealtime()); in setPlaybackStateInt()