Home
last modified time | relevance | path

Searched refs:currentTimeline (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java106 private CastTimeline currentTimeline; field in CastPlayer
145 currentTimeline = CastTimeline.EMPTY_CAST_TIMELINE; in CastPlayer()
191 || currentTimeline.getIndexOfPeriod(periodId) != C.INDEX_UNSET) { in addItems()
201 if (currentTimeline.getIndexOfPeriod(periodId) != C.INDEX_UNSET) { in removeItem()
211 Assertions.checkArgument(newIndex >= 0 && newIndex < currentTimeline.getWindowCount()); in moveItem()
212 int fromIndex = currentTimeline.getIndexOfPeriod(periodId); in moveItem()
231 return mediaStatus != null && currentTimeline.getIndexOfPeriod(periodId) != C.INDEX_UNSET in getItem()
322 if (index < currentTimeline.getWindowCount()) { in addMediaItems()
323 uid = (int) currentTimeline.getWindow(/* windowIndex= */ index, window).uid; in addMediaItems()
333 && toIndex <= currentTimeline.getWindowCount() in moveMediaItems()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DDefaultPlaybackSessionManager.java55 private Timeline currentTimeline; field in DefaultPlaybackSessionManager
76 currentTimeline = Timeline.EMPTY; in DefaultPlaybackSessionManager()
136 Timeline previousTimeline = currentTimeline;
137 currentTimeline = eventTime.timeline;
141 if (!session.tryResolvingToNewTimeline(previousTimeline, currentTimeline)) {
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java459 Timeline currentTimeline = castPlayer.getCurrentTimeline(); in addMediaItems_fillsTimeline() local
461 assertThat(currentTimeline.getWindow(/* windowIndex= */ i, window).uid) in addMediaItems_fillsTimeline()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DAction.java787 Timeline currentTimeline = new NoUidTimeline(player.getCurrentTimeline()); in doActionAndScheduleNextImpl() local
788 if (currentTimeline.equals(expectedTimeline)) { in doActionAndScheduleNextImpl()