Searched refs:stateBuilder (Results 1 – 2 of 2) sorted by relevance
649 PlaybackStateCompat.Builder stateBuilder = new PlaybackStateCompat.Builder() in updatePlaybackState() local652 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() argument689 stateBuilder.addCustomAction(CUSTOM_ACTION_THUMBS_UP, getString(R.string.favorite), in setCustomAction()
239 StringBuilder stateBuilder = new StringBuilder(); in printStates() local241 stateBuilder.append(" ").append(mStateDepository.get(i).toString()).append("->"); in printStates()243 return stateBuilder.toString(); in printStates()