Home
last modified time | relevance | path

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

/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/players/
DMediaPlayerAdapter.java193 final PlaybackStateCompat.Builder stateBuilder = new PlaybackStateCompat.Builder(); in setNewState() local
194 stateBuilder.setActions(getAvailableActions()); in setNewState()
195 stateBuilder.setState(mState, in setNewState()
199 mPlaybackInfoListener.onPlaybackStateChange(stateBuilder.build()); in setNewState()
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediasession/service/players/
DMediaPlayerAdapter.java193 final PlaybackStateCompat.Builder stateBuilder = new PlaybackStateCompat.Builder(); in setNewState() local
194 stateBuilder.setActions(getAvailableActions()); in setNewState()
195 stateBuilder.setState(mState, in setNewState()
199 mPlaybackInfoListener.onPlaybackStateChange(stateBuilder.build()); in setNewState()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
DPlaybackOverlayActivity.java120 PlaybackState.Builder stateBuilder = new PlaybackState.Builder() in updatePlaybackState() local
126 stateBuilder.setState(state, position, 1.0f); in updatePlaybackState()
127 mSession.setPlaybackState(stateBuilder.build()); in updatePlaybackState()