Home
last modified time | relevance | path

Searched refs:startPositionUs (Results 1 – 25 of 26) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodInfo.java29 public final long startPositionUs; field in MediaPeriodInfo
66 long startPositionUs, in MediaPeriodInfo() argument
74 this.startPositionUs = startPositionUs; in MediaPeriodInfo()
87 public MediaPeriodInfo copyWithStartPositionUs(long startPositionUs) { in copyWithStartPositionUs() argument
88 return startPositionUs == this.startPositionUs in copyWithStartPositionUs()
92 startPositionUs, in copyWithStartPositionUs()
110 startPositionUs, in copyWithRequestedContentPositionUs()
128 return startPositionUs == that.startPositionUs in equals()
142 result = 31 * result + (int) startPositionUs; in hashCode()
DMediaPeriodQueue.java152 : (loading.getRendererOffset() + loading.info.durationUs - info.startPositionUs); in enqueueNextMediaPeriodHolder()
367 info.startPositionUs, in getUpdatedMediaPeriodInfo()
481 return oldInfo.startPositionUs == newInfo.startPositionUs && oldInfo.id.equals(newInfo.id); in canKeepMediaPeriodHolder()
579 long startPositionUs; in getFollowingMediaPeriodInfo() local
602 startPositionUs = defaultPosition.second; in getFollowingMediaPeriodInfo()
611 startPositionUs = 0; in getFollowingMediaPeriodInfo()
616 timeline, nextPeriodUid, startPositionUs, windowSequenceNumber, period); in getFollowingMediaPeriodInfo()
617 return getMediaPeriodInfo(timeline, periodId, contentPositionUs, startPositionUs); in getFollowingMediaPeriodInfo()
643 long startPositionUs = mediaPeriodInfo.requestedContentPositionUs; in getFollowingMediaPeriodInfo() local
644 if (startPositionUs == C.TIME_UNSET) { in getFollowingMediaPeriodInfo()
[all …]
DMediaPeriodHolder.java104 info.id, mediaSourceList, allocator, info.startPositionUs, info.endPositionUs); in MediaPeriodHolder()
139 return info.startPositionUs + rendererPositionOffsetUs; in getStartPositionRendererTime()
156 return info.startPositionUs; in getBufferedPositionUs()
182 long requestedStartPositionUs = info.startPositionUs; in handlePrepared()
190 rendererPositionOffsetUs += info.startPositionUs - newStartPositionUs; in handlePrepared()
418 long startPositionUs, in createMediaPeriod() argument
420 MediaPeriod mediaPeriod = mediaSourceList.createPeriod(id, allocator, startPositionUs); in createMediaPeriod()
DExoPlayerImplInternal.java1198 long startPositionUs = playbackInfo.positionUs; in resetInternal() local
1208 startPositionUs = firstPeriodAndPosition.second; in resetInternal()
1231 startPositionUs, in resetInternal()
1233 startPositionUs); in resetInternal()
1495 periodHolder.info.startPositionUs, periodHolder.toPeriodTime(rendererPositionUs));
1694 mediaPeriodHolder.mediaPeriod.prepare(this, info.startPositionUs);
1833 newPlayingPeriodHolder.info.startPositionUs,
1905 resetRendererPosition(loadingPeriodHolder.info.startPositionUs);
1910 loadingPeriodHolder.info.startPositionUs,
1957 - loadingPeriodHolder.info.startPositionUs;
DMediaSourceList.java293 MediaSource.MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
301 holder.mediaSource.createPeriod(childMediaPeriodId, allocator, startPositionUs); in createPeriod()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DClippingMediaSource.java107 public ClippingMediaSource(MediaSource mediaSource, long startPositionUs, long endPositionUs) { in ClippingMediaSource() argument
110 startPositionUs, in ClippingMediaSource()
171 long startPositionUs, in ClippingMediaSource() argument
176 Assertions.checkArgument(startPositionUs >= 0); in ClippingMediaSource()
178 startUs = startPositionUs; in ClippingMediaSource()
208 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
211 mediaSource.createPeriod(id, allocator, startPositionUs), in createPeriod()
DLoopingMediaSource.java94 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
96 return maskingMediaSource.createPeriod(id, allocator, startPositionUs); in createPeriod()
102 maskingMediaSource.createPeriod(childMediaPeriodId, allocator, startPositionUs); in createPeriod()
DMergingMediaSource.java147 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
155 childMediaPeriodId, allocator, startPositionUs - periodTimeOffsetsUs[periodIndex][i]); in createPeriod()
DExtractorMediaSource.java353 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
354 return progressiveMediaSource.createPeriod(id, allocator, startPositionUs); in createPeriod()
DMaskingMediaSource.java102 MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
104 new MaskingMediaPeriod(mediaSource, id, allocator, startPositionUs); in createPeriod()
DMediaSource.java334 MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs); in createPeriod() argument
DMergingMediaPeriod.java331 long startPositionUs = in selectTracks() local
347 return startPositionUs + timeOffsetUs; in selectTracks()
DConcatenatingMediaSource.java467 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
480 holder.mediaSource.createPeriod(childMediaPeriodId, allocator, startPositionUs); in createPeriod()
1010 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
DSingleSampleMediaSource.java321 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
DProgressiveMediaSource.java263 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
DSilenceMediaSource.java119 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ads/
DAdsMediaSource.java200 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
221 return adMediaSourceHolder.createMediaPeriod(adUri, id, allocator, startPositionUs); in createPeriod()
224 new MaskingMediaPeriod(contentMediaSource, id, allocator, startPositionUs); in createPeriod()
404 Uri adUri, MediaPeriodId id, Allocator allocator, long startPositionUs) { in createMediaPeriod() argument
406 new MaskingMediaPeriod(adMediaSource, id, allocator, startPositionUs); in createMediaPeriod()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DMediaSourceTestRunner.java158 public MediaPeriod createPeriod(final MediaPeriodId periodId, long startPositionUs) { in createPeriod() argument
161 () -> holder[0] = mediaSource.createPeriod(periodId, allocator, startPositionUs)); in createPeriod()
DFakeMediaSource.java153 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DMediaPeriodQueueTest.java504 long startPositionUs, in assertGetNextMediaPeriodInfoReturnsContentMediaPeriod() argument
515 startPositionUs, in assertGetNextMediaPeriodInfoReturnsContentMediaPeriod()
DExoPlayerTest.java2678 long startPositionUs = 300_000; in clippedLoopedPeriodsArePlayedFully() local
2683 startPositionUs, in clippedLoopedPeriodsArePlayedFully()
2684 startPositionUs + expectedDurationUs); in clippedLoopedPeriodsArePlayedFully()
3303 MediaPeriodId id, Allocator allocator, long startPositionUs) { in delegatingMediaSourceApproach()
3304 return underlyingSource.createPeriod(id, allocator, startPositionUs); in delegatingMediaSourceApproach()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaSource.java437 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java580 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/
DDownloadHelperTest.java504 public MediaPeriod createPeriod(MediaPeriodId id, Allocator allocator, long startPositionUs) { in createPeriod() argument
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaSource.java684 MediaPeriodId periodId, Allocator allocator, long startPositionUs) { in createPeriod() argument

12