Searched refs:getLastWindowIndex (Results 1 – 6 of 6) sorted by relevance
50 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() method in ForwardingTimeline51 return timeline.getLastWindowIndex(shuffleModeEnabled); in getLastWindowIndex()
224 return childPreviousWindowIndex == C.INDEX_UNSET ? getLastWindowIndex(shuffleModeEnabled) in getPreviousWindowIndex()
140 + getTimelineByChildIndex(previousChildIndex).getLastWindowIndex(shuffleModeEnabled); in getPreviousWindowIndex()144 return getLastWindowIndex(shuffleModeEnabled); in getPreviousWindowIndex()150 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() method in AbstractConcatenatedTimeline167 + getTimelineByChildIndex(lastChildIndex).getLastWindowIndex(shuffleModeEnabled); in getLastWindowIndex()
706 return windowIndex == getLastWindowIndex(shuffleModeEnabled) ? C.INDEX_UNSET in getNextWindowIndex()711 return windowIndex == getLastWindowIndex(shuffleModeEnabled) in getNextWindowIndex()737 ? getLastWindowIndex(shuffleModeEnabled) : windowIndex - 1; in getPreviousWindowIndex()751 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() method in Timeline
152 assertThat(timeline.getLastWindowIndex(false)).isEqualTo(timeline.getWindowCount() - 1); in playlistChangesAfterPreparation()162 assertThat(timeline.getLastWindowIndex(true)).isEqualTo(0); in playlistChangesAfterPreparation()351 assertThat(timeline.getLastWindowIndex(false)).isEqualTo(2); in emptyTimelineMediaSource()353 assertThat(timeline.getLastWindowIndex(true)).isEqualTo(0); in emptyTimelineMediaSource()747 assertThat(timeline.getLastWindowIndex(/* shuffleModeEnabled= */ false)).isEqualTo(2); in atomicTimelineWindowOrder()748 assertThat(timeline.getLastWindowIndex(/* shuffleModeEnabled= */ true)).isEqualTo(2); in atomicTimelineWindowOrder()
43 assertThat(timeline.getLastWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty()