/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/ |
D | SinglePeriodTimelineTest.java | 130 assertThat(timeline.getIndexOfPeriod(uid)).isEqualTo(0); in getIndexOfPeriod_returnsPeriod() 131 assertThat(timeline.getIndexOfPeriod(/* uid= */ null)).isEqualTo(C.INDEX_UNSET); in getIndexOfPeriod_returnsPeriod() 132 assertThat(timeline.getIndexOfPeriod(/* uid= */ new Object())).isEqualTo(C.INDEX_UNSET); in getIndexOfPeriod_returnsPeriod()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ForwardingTimeline.java | 75 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in ForwardingTimeline 76 return timeline.getIndexOfPeriod(uid); in getIndexOfPeriod()
|
D | MaskingMediaSource.java | 237 int maskingPeriodIndex = timeline.getIndexOfPeriod(maskingPeriod.id.periodUid); in setPreparePositionOverrideToUnpreparedMaskingPeriod() 333 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in MaskingMediaSource.MaskingTimeline 334 return timeline.getIndexOfPeriod( in getIndexOfPeriod() 400 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in MaskingMediaSource.DummyTimeline
|
D | SinglePeriodTimeline.java | 227 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in SinglePeriodTimeline
|
D | MergingMediaSource.java | 149 int periodIndex = timelines[0].getIndexOfPeriod(id.periodUid); in createPeriod()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | MediaPeriodQueue.java | 437 int oldFrontPeriodIndex = timeline.getIndexOfPeriod(oldFrontPeriodUid); in resolvePeriodIndexToWindowSequenceNumber() 456 int indexOfHolderInTimeline = timeline.getIndexOfPeriod(mediaPeriodHolder.uid); in resolvePeriodIndexToWindowSequenceNumber() 503 int currentPeriodIndex = timeline.getIndexOfPeriod(lastValidPeriodHolder.uid); in updateForPlaybackModeChange() 517 int nextPeriodHolderPeriodIndex = timeline.getIndexOfPeriod(nextMediaPeriodHolder.uid); in updateForPlaybackModeChange() 570 int currentPeriodIndex = timeline.getIndexOfPeriod(mediaPeriodInfo.id.periodUid); in getFollowingMediaPeriodInfo() 792 int periodIndex = timeline.getIndexOfPeriod(id.periodUid); in isLastInWindow() 798 int periodIndex = timeline.getIndexOfPeriod(id.periodUid); in isLastInTimeline()
|
D | AbstractConcatenatedTimeline.java | 238 public final int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in AbstractConcatenatedTimeline 248 int periodIndexInChild = getTimelineByChildIndex(childIndex).getIndexOfPeriod(periodUid); in getIndexOfPeriod()
|
D | Timeline.java | 671 public int getIndexOfPeriod(Object uid) { 901 return getPeriod(getIndexOfPeriod(periodUid), period, /* setIds= */ true); in getPeriodByUid() 935 public abstract int getIndexOfPeriod(Object uid); in getIndexOfPeriod() method in Timeline
|
D | ExoPlayerImplInternal.java | 1367 playbackInfo.timeline.getIndexOfPeriod(playbackInfo.periodId.periodUid); in maybeTriggerPendingMessages() 2187 } else if (timeline.getIndexOfPeriod(newPeriodUid) == C.INDEX_UNSET) { 2326 /* periodIndex= */ newTimeline.getIndexOfPeriod(periodPosition.first), 2335 int index = newTimeline.getIndexOfPeriod(pendingMessageInfo.resolvedPeriodUid); 2356 /* periodIndex= */ newTimeline.getIndexOfPeriod(periodPosition.first), 2420 int periodIndex = timeline.getIndexOfPeriod(periodPosition.first); 2481 int oldPeriodIndex = oldTimeline.getIndexOfPeriod(oldPeriodUid); 2492 newPeriodIndex = newTimeline.getIndexOfPeriod(oldTimeline.getUidOfPeriod(oldPeriodIndex));
|
D | ExoPlayerImpl.java | 716 return playbackInfo.timeline.getIndexOfPeriod(playbackInfo.periodId.periodUid); in getCurrentPeriodIndex() 1144 if (maskingTimeline.getIndexOfPeriod(periodUid) != C.INDEX_UNSET) { in maskTimelineAndWindowIndex() 1147 maskingPeriodIndex = maskingTimeline.getIndexOfPeriod(periodUid); in maskTimelineAndWindowIndex() 1191 maskingPeriodIndex = timeline.getIndexOfPeriod(periodUidAndPosition.first); in maskWindowIndexAndPositionForSeek()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | DefaultPlaybackSessionManager.java | 297 int newPeriodIndex = newTimeline.getIndexOfPeriod(adMediaPeriodId.periodUid); 347 int eventPeriodIndex = eventTime.timeline.getIndexOfPeriod(eventTime.mediaPeriodId.periodUid); 348 int adPeriodIndex = eventTime.timeline.getIndexOfPeriod(adMediaPeriodId.periodUid); 382 int newPeriodIndex = newTimeline.getIndexOfPeriod(periodUid); in resolveWindowIndexToNewTimeline()
|
D | AnalyticsCollector.java | 817 int periodIndex = timeline.getIndexOfPeriod(mediaPeriodId.periodUid); 968 int newPeriodIndex = newTimeline.getIndexOfPeriod(info.mediaPeriodId.periodUid);
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 191 || currentTimeline.getIndexOfPeriod(periodId) != C.INDEX_UNSET) { in addItems() 201 if (currentTimeline.getIndexOfPeriod(periodId) != C.INDEX_UNSET) { in removeItem() 212 int fromIndex = currentTimeline.getIndexOfPeriod(periodId); in moveItem() 231 return mediaStatus != null && currentTimeline.getIndexOfPeriod(periodId) != C.INDEX_UNSET in getItem() 662 currentWindowIndex = currentTimeline.getIndexOfPeriod(currentItem.getItemId()); in updateInternalStateAndNotifyIfChanged()
|
D | CastTimeline.java | 156 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in CastTimeline
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | TimelineAsserts.java | 147 assertThat(timeline.getIndexOfPeriod(periodUid)).isEqualTo(i); in assertPeriodCounts()
|
D | FakeTimeline.java | 318 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in FakeTimeline
|
D | FakeMediaSource.java | 156 int periodIndex = Util.castNonNull(timeline).getIndexOfPeriod(id.periodUid); in createPeriod()
|
D | MediaSourceTestRunner.java | 332 int periodIndex = timeline.getIndexOfPeriod(mediaPeriodId.periodUid); in assertCompletedMediaPeriodLoads()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 547 ", period=" + eventTime.timeline.getIndexOfPeriod(eventTime.mediaPeriodId.periodUid); in getEventTimeString()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelperTest.java | 505 int periodIndex = TEST_TIMELINE.getIndexOfPeriod(id.periodUid); in createPeriod()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DashMediaSource.java | 1277 public int getIndexOfPeriod(Object uid) { in getIndexOfPeriod() method in DashMediaSource.DashTimeline
|