Home
last modified time | relevance | path

Searched refs:playbackSpeed (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackControlGlue.java545 private void updatePlaybackState(int playbackSpeed) {
601 if (playbackSpeed >= PLAYBACK_SPEED_FAST_L0) {
602 index = playbackSpeed - PLAYBACK_SPEED_FAST_L0;
603 if (playbackSpeed < getMaxForwardSpeedId()) {
614 if (playbackSpeed <= -PLAYBACK_SPEED_FAST_L0) {
615 index = -playbackSpeed - PLAYBACK_SPEED_FAST_L0;
616 if (-playbackSpeed < getMaxRewindSpeedId()) {
626 if (playbackSpeed == PLAYBACK_SPEED_PAUSED) {
634 mFragment.setFadingEnabled(playbackSpeed == PLAYBACK_SPEED_NORMAL);
638 int index = playbackSpeed == PLAYBACK_SPEED_PAUSED ?
/frameworks/base/media/java/android/media/
DRemoteControlClient.java668 public void setPlaybackState(int state, long timeInMs, float playbackSpeed) { in setPlaybackState() argument
669 setPlaybackStateInt(state, timeInMs, playbackSpeed, true); in setPlaybackState()
672 private void setPlaybackStateInt(int state, long timeInMs, float playbackSpeed, in setPlaybackStateInt() argument
676 || (mPlaybackSpeed != playbackSpeed)) { in setPlaybackStateInt()
691 mPlaybackSpeed = playbackSpeed; in setPlaybackStateInt()
702 bob.setState(pbState, position, playbackSpeed, SystemClock.elapsedRealtime()); in setPlaybackStateInt()
/frameworks/support/v4/java/android/support/v4/media/session/
DPlaybackStateCompat.java639 public Builder setState(int state, long position, float playbackSpeed) { in setState() argument
640 return setState(state, position, playbackSpeed, SystemClock.elapsedRealtime()); in setState()
673 public Builder setState(int state, long position, float playbackSpeed, long updateTime) { in setState() argument
677 mRate = playbackSpeed; in setState()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java819 public Builder setState(int state, long position, float playbackSpeed, long updateTime) {
823 mSpeed = playbackSpeed;
856 public Builder setState(int state, long position, float playbackSpeed) {
857 return setState(state, position, playbackSpeed, SystemClock.elapsedRealtime());