Home
last modified time | relevance | path

Searched refs:seekParameters (Results 1 – 21 of 21) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DClippingMediaPeriod.java190 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
195 SeekParameters clippedSeekParameters = clipSeekParameters(positionUs, seekParameters); in getAdjustedSeekPositionUs()
235 private SeekParameters clipSeekParameters(long positionUs, SeekParameters seekParameters) { in clipSeekParameters() argument
238 seekParameters.toleranceBeforeUs, /* min= */ 0, /* max= */ positionUs - startUs); in clipSeekParameters()
241 seekParameters.toleranceAfterUs, in clipSeekParameters()
244 if (toleranceBeforeUs == seekParameters.toleranceBeforeUs in clipSeekParameters()
245 && toleranceAfterUs == seekParameters.toleranceAfterUs) { in clipSeekParameters()
246 return seekParameters; in clipSeekParameters()
DMaskingMediaPeriod.java200 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
201 return castNonNull(mediaPeriod).getAdjustedSeekPositionUs(positionUs, seekParameters); in getAdjustedSeekPositionUs()
DMergingMediaPeriod.java251 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
253 return queryPeriod.getAdjustedSeekPositionUs(positionUs, seekParameters); in getAdjustedSeekPositionUs()
369 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
370 return mediaPeriod.getAdjustedSeekPositionUs(positionUs - timeOffsetUs, seekParameters) in getAdjustedSeekPositionUs()
DMediaPeriod.java191 long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters); in getAdjustedSeekPositionUs() argument
DSilenceMediaSource.java196 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
DSingleSampleMediaPeriod.java207 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
DProgressiveMediaPeriod.java443 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
450 return seekParameters.resolveSeekPositionUs( in getAdjustedSeekPositionUs()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImpl.java87 private SeekParameters seekParameters; field in ExoPlayerImpl
145 seekParameters = SeekParameters.DEFAULT; in ExoPlayerImpl()
636 public void setSeekParameters(@Nullable SeekParameters seekParameters) { in setSeekParameters() argument
637 if (seekParameters == null) { in setSeekParameters()
638 seekParameters = SeekParameters.DEFAULT; in setSeekParameters()
640 if (!this.seekParameters.equals(seekParameters)) { in setSeekParameters()
641 this.seekParameters = seekParameters; in setSeekParameters()
642 internalPlayer.setSeekParameters(seekParameters); in setSeekParameters()
648 return seekParameters; in getSeekParameters()
DExoPlayerImplInternal.java118 private SeekParameters seekParameters; field in ExoPlayerImplInternal
165 seekParameters = SeekParameters.DEFAULT; in ExoPlayerImplInternal()
234 public void setSeekParameters(SeekParameters seekParameters) { in setSeekParameters() argument
235 handler.obtainMessage(MSG_SET_SEEK_PARAMETERS, seekParameters).sendToTarget(); in setSeekParameters()
973 newPeriodPositionUs, seekParameters); in seekToInternal()
1104 private void setSeekParametersInternal(SeekParameters seekParameters) { in setSeekParametersInternal() argument
1105 this.seekParameters = seekParameters; in setSeekParametersInternal()
DExoPlayer.java523 void setSeekParameters(@Nullable SeekParameters seekParameters); in setSeekParameters() argument
DSimpleExoPlayer.java1565 public void setSeekParameters(@Nullable SeekParameters seekParameters) { in setSeekParameters() argument
1567 player.setSeekParameters(seekParameters); in setSeekParameters()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/
DChunkSource.java36 long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters); in getAdjustedSeekPositionUs() argument
DChunkSampleStream.java247 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
248 return chunkSource.getAdjustedSeekPositionUs(positionUs, seekParameters); in getAdjustedSeekPositionUs()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeChunkSource.java85 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
92 return seekParameters.resolveSeekPositionUs(positionUs, firstSyncUs, secondSyncUs); in getAdjustedSeekPositionUs()
DFakeMediaPeriod.java221 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
DStubExoPlayer.java343 public void setSeekParameters(@Nullable SeekParameters seekParameters) { in setSeekParameters() argument
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaPeriod.java220 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
223 return sampleStream.getAdjustedSeekPositionUs(positionUs, seekParameters); in getAdjustedSeekPositionUs()
DDefaultSsChunkSource.java130 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
138 return seekParameters.resolveSeekPositionUs(positionUs, firstSyncUs, secondSyncUs); in getAdjustedSeekPositionUs()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDefaultDashChunkSource.java191 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
201 return seekParameters.resolveSeekPositionUs(positionUs, firstSyncUs, secondSyncUs); in getAdjustedSeekPositionUs()
DDashMediaPeriod.java337 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) { in getAdjustedSeekPositionUs() argument
340 return sampleStream.getAdjustedSeekPositionUs(positionUs, seekParameters); in getAdjustedSeekPositionUs()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaPeriod.java408 public long getAdjustedSeekPositionUs(long positionUs, SeekParameters seekParameters) {