Searched refs:currentTimeline (Results 1 – 4 of 4) sorted by relevance
106 private CastTimeline currentTimeline; field in CastPlayer145 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 …]
55 private Timeline currentTimeline; field in DefaultPlaybackSessionManager76 currentTimeline = Timeline.EMPTY; in DefaultPlaybackSessionManager()136 Timeline previousTimeline = currentTimeline;137 currentTimeline = eventTime.timeline;141 if (!session.tryResolvingToNewTimeline(previousTimeline, currentTimeline)) {
459 Timeline currentTimeline = castPlayer.getCurrentTimeline(); in addMediaItems_fillsTimeline() local461 assertThat(currentTimeline.getWindow(/* windowIndex= */ i, window).uid) in addMediaItems_fillsTimeline()
787 Timeline currentTimeline = new NoUidTimeline(player.getCurrentTimeline()); in doActionAndScheduleNextImpl() local788 if (currentTimeline.equals(expectedTimeline)) { in doActionAndScheduleNextImpl()