Searched refs:seekPositionMs (Results 1 – 3 of 3) sorted by relevance
1530 private void doTrickplayBySeek(int seekPositionMs) { in doTrickplayBySeek() argument1535 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()
125 public void setupPlayback(RecordedProgram program, long seekPositionMs) { in setupPlayback() argument127 mDvrPlayer.setProgram(program, seekPositionMs); in setupPlayback()
447 private long getRealSeekPosition(long seekPositionMs, long endMarginMs) { in getRealSeekPosition() argument448 return Math.max(0, Math.min(seekPositionMs, mProgram.getDurationMillis() - endMarginMs)); in getRealSeekPosition()