Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java169 private PlaybackParams mPlaybackParams = new PlaybackParams(); field in TunerSessionWorker
213 mPlaybackParams.setSpeed(1.0f); in TunerSessionWorker()
777 if ((position > systemCurrentTime && mPlaybackParams.getSpeed() > 0L) in handleMessage()
778 || (position < mBufferStartTimeMs && mPlaybackParams.getSpeed() < 0L)) { in handleMessage()
892 && (!mPlayer.isPlaying() || mPlaybackParams.getSpeed() < 1.0f)) { in handleMessage()
895 mPlaybackParams.setSpeed(1.0f); in handleMessage()
1236 mPlaybackParams.setSpeed(1.0f); in stopPlayback()
1371 return Math.max(EXPECTED_KEY_FRAME_INTERVAL_MS / (int) Math.abs(mPlaybackParams.getSpeed()), in getTrickPlaySeekIntervalMs()
1377 if (mPlaybackParams.getSpeed() == 1.0f || !mPlayer.isPrepared()) { in doTrickplayBySeek()
1381 if (mPlaybackParams.getSpeed() > 1.0f) { in doTrickplayBySeek()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/
DDvrPlayer.java56 private final PlaybackParams mPlaybackParams = new PlaybackParams(); field in DvrPlayer
94 mPlaybackParams.setSpeed(1.0f); in DvrPlayer()
237 mPlaybackParams.setSpeed(1.0f); in reset()
298 return (int) mPlaybackParams.getSpeed(); in getPlaybackSpeed()
317 mPlaybackParams.setSpeed(speed); in setPlaybackSpeed()
318 mTvView.timeShiftSetPlaybackParams(mPlaybackParams); in setPlaybackSpeed()