Home
last modified time | relevance | path

Searched refs:getFirstWindowIndex (Results 1 – 8 of 8) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DForwardingTimeline.java55 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() method in ForwardingTimeline
56 return timeline.getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex()
DLoopingMediaSource.java215 return childNextWindowIndex == C.INDEX_UNSET ? getFirstWindowIndex(shuffleModeEnabled) in getNextWindowIndex()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAbstractConcatenatedTimeline.java103 + getTimelineByChildIndex(nextChildIndex).getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex()
107 return getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex()
171 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() method in AbstractConcatenatedTimeline
188 + getTimelineByChildIndex(firstChildIndex).getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex()
DTimeline.java712 ? 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
DExoPlayerImplInternal.java1243 int firstWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in getDummyFirstMediaPeriodPosition()
2172 startAtDefaultPositionWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled);
2186 startAtDefaultPositionWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled);
2203 startAtDefaultPositionWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled);
DExoPlayerImpl.java995 startWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in setMediaSourcesInternal()
1206 maskingWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in maskWithDefaultPosition()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DConcatenatingMediaSourceTest.java151 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()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java42 assertThat(timeline.getFirstWindowIndex(shuffled)).isEqualTo(C.INDEX_UNSET); in assertEmpty()