Home
last modified time | relevance | path

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

/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaBrowserServiceSupport.java649 PlaybackStateCompat.Builder stateBuilder = new PlaybackStateCompat.Builder() in updatePlaybackState() local
652 setCustomAction(stateBuilder); in updatePlaybackState()
659 stateBuilder.setErrorMessage(error); in updatePlaybackState()
662 stateBuilder.setState(state, position, 1.0f, SystemClock.elapsedRealtime()); in updatePlaybackState()
667 stateBuilder.setActiveQueueItemId(item.getQueueId()); in updatePlaybackState()
670 mSession.setPlaybackState(stateBuilder.build()); in updatePlaybackState()
678 private void setCustomAction(PlaybackStateCompat.Builder stateBuilder) { in setCustomAction() argument
689 stateBuilder.addCustomAction(CUSTOM_ACTION_THUMBS_UP, getString(R.string.favorite), in setCustomAction()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java239 StringBuilder stateBuilder = new StringBuilder(); in printStates() local
241 stateBuilder.append(" ").append(mStateDepository.get(i).toString()).append("->"); in printStates()
243 return stateBuilder.toString(); in printStates()