Home
last modified time | relevance | path

Searched refs:seekPositionMs (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java1530 private void doTrickplayBySeek(int seekPositionMs) { in doTrickplayBySeek() argument
1535 if (seekPositionMs < mBufferStartTimeMs - mRecordStartTimeMs) { in doTrickplayBySeek()
1539 seekPositionMs = (int) (mBufferStartTimeMs - mRecordStartTimeMs); in doTrickplayBySeek()
1546 } else if (seekPositionMs > System.currentTimeMillis() - mRecordStartTimeMs) { in doTrickplayBySeek()
1560 mPlayer.seekTo(seekPositionMs); in doTrickplayBySeek()
1564 seekPositionMs += mPlaybackParams.getSpeed() * delayForNextSeek; in doTrickplayBySeek()
1566 MSG_TRICKPLAY_BY_SEEK, seekPositionMs, 0), delayForNextSeek); in doTrickplayBySeek()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackMediaSessionHelper.java125 public void setupPlayback(RecordedProgram program, long seekPositionMs) { in setupPlayback() argument
127 mDvrPlayer.setProgram(program, seekPositionMs); in setupPlayback()
DDvrPlayer.java447 private long getRealSeekPosition(long seekPositionMs, long endMarginMs) { in getRealSeekPosition() argument
448 return Math.max(0, Math.min(seekPositionMs, mProgram.getDurationMillis() - endMarginMs)); in getRealSeekPosition()