Searched refs:getFirstWindowIndex (Results 1 – 8 of 8) sorted by relevance
55 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() method in ForwardingTimeline56 return timeline.getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex()
215 return childNextWindowIndex == C.INDEX_UNSET ? getFirstWindowIndex(shuffleModeEnabled) in getNextWindowIndex()
103 + getTimelineByChildIndex(nextChildIndex).getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex()107 return getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex()171 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() method in AbstractConcatenatedTimeline188 + getTimelineByChildIndex(firstChildIndex).getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex()
712 ? getFirstWindowIndex(shuffleModeEnabled) : windowIndex + 1; in getNextWindowIndex()731 return windowIndex == getFirstWindowIndex(shuffleModeEnabled) ? C.INDEX_UNSET in getPreviousWindowIndex()736 return windowIndex == getFirstWindowIndex(shuffleModeEnabled) in getPreviousWindowIndex()763 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() method in Timeline
1243 int firstWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in getDummyFirstMediaPeriodPosition()2172 startAtDefaultPositionWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled);2186 startAtDefaultPositionWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled);2203 startAtDefaultPositionWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled);
995 startWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in setMediaSourcesInternal()1206 maskingWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in maskWithDefaultPosition()
151 assertThat(timeline.getFirstWindowIndex(false)).isEqualTo(0); in playlistChangesAfterPreparation()161 assertThat(timeline.getFirstWindowIndex(true)).isEqualTo(timeline.getWindowCount() - 1); in playlistChangesAfterPreparation()350 assertThat(timeline.getFirstWindowIndex(false)).isEqualTo(0); in emptyTimelineMediaSource()352 assertThat(timeline.getFirstWindowIndex(true)).isEqualTo(2); in emptyTimelineMediaSource()745 assertThat(timeline.getFirstWindowIndex(/* shuffleModeEnabled= */ false)).isEqualTo(0); in atomicTimelineWindowOrder()746 assertThat(timeline.getFirstWindowIndex(/* shuffleModeEnabled= */ true)).isEqualTo(0); in atomicTimelineWindowOrder()1022 assertThat(timeline.getFirstWindowIndex(/* shuffleModeEnabled= */ true)).isEqualTo(0); in setShuffleOrderBeforePreparation()1033 assertThat(timeline.getFirstWindowIndex(/* shuffleModeEnabled= */ true)).isEqualTo(0); in setShuffleOrderAfterPreparation()1068 assertThat(timeline.getFirstWindowIndex(/* shuffleModeEnabled= */ true)).isEqualTo(0); in customCallbackAfterPreparationSetShuffleOrder()
42 assertThat(timeline.getFirstWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty()