Searched refs:mPlaybackSpeed (Results 1 – 3 of 3) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/ |
D | AudioClock.java | 41 private float mPlaybackSpeed = 1.0f; field in AudioClock 73 if (mPlaybackSpeed != 1.0f) { in getPositionUs() 77 + (long) ((mPlaybackSpeed - 1.0f) * elapsedTimeFromPlaybackSpeedChanged); in getPositionUs() 88 mPlaybackSpeed = speed; in setPlaybackSpeed()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaPlayer.java | 74 private float mPlaybackSpeed = 1.0f; // TODO: make variable. field in TmaPlayer 99 .setState(event.mState.mValue, mCurrentPositionMs, mPlaybackSpeed) in setPlaybackState() 180 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in prepareMediaItem() 294 long remainingMs = (long) ((trackDurationMs - mCurrentPositionMs) / mPlaybackSpeed); in onProcessMediaEvent() 314 .setState(STATE_ERROR, mCurrentPositionMs, mPlaybackSpeed) in startPlayBack() 329 mCurrentPositionMs += (System.currentTimeMillis() - mPlaybackStartTimeMs) / mPlaybackSpeed; in pausePlayback() 332 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in pausePlayback() 348 .setState(PlaybackStateCompat.STATE_STOPPED, mCurrentPositionMs, mPlaybackSpeed) in sendStopPlaybackState()
|
/packages/apps/TV/src/com/android/tv/ |
D | TimeShiftManager.java | 588 private int mPlaybackSpeed; field in TimeShiftManager.PlayController 686 mPlaybackSpeed = 1; in onAvailabilityChanged() 755 mPlaybackSpeed = 1; in play() 763 mPlaybackSpeed = 1; in pause() 786 mPlaybackSpeed = getPlaybackSpeed(); in rewind() 787 mTvView.timeShiftRewind(mPlaybackSpeed); in rewind() 799 mPlaybackSpeed = getPlaybackSpeed(); in fastForward() 800 mTvView.timeShiftFastForward(mPlaybackSpeed); in fastForward() 822 if (playbackSpeed != mPlaybackSpeed) { in onCurrentProgramChanged() 823 mPlaybackSpeed = playbackSpeed; in onCurrentProgramChanged() [all …]
|