Home
last modified time | relevance | path

Searched refs:REPEAT_MODE_ALL (Results 1 – 18 of 18) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DLoopingMediaSourceTest.java60 timeline, Player.REPEAT_MODE_ALL, shuffled, 2, 0, 1); in singleLoopTimeline()
64 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, shuffled, 1, 2, 0); in singleLoopTimeline()
79 timeline, Player.REPEAT_MODE_ALL, shuffled, 8, 0, 1, 2, 3, 4, 5, 6, 7); in multiLoopTimeline()
85 timeline, Player.REPEAT_MODE_ALL, shuffled, 1, 2, 3, 4, 5, 6, 7, 8, 0); in multiLoopTimeline()
100 timeline, Player.REPEAT_MODE_ALL, shuffled, 2, 0, 1); in infiniteLoopTimeline()
103 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, shuffled, 1, 2, 0); in infiniteLoopTimeline()
DConcatenatingMediaSourceTest.java146 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 1, 2, 0); in playlistChangesAfterPreparation()
150 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 2, 0, 1); in playlistChangesAfterPreparation()
156 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, true, 2, 0, 1); in playlistChangesAfterPreparation()
160 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, true, 1, 2, 0); in playlistChangesAfterPreparation()
337 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 2, 0, 1); in emptyTimelineMediaSource()
341 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 1, 2, 0); in emptyTimelineMediaSource()
345 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, true, 1, 2, 0); in emptyTimelineMediaSource()
349 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, true, 2, 0, 1); in emptyTimelineMediaSource()
730 timeline, Player.REPEAT_MODE_ALL, /* shuffleModeEnabled= */ false, 2, 0, 1); in atomicTimelineWindowOrder()
732 timeline, Player.REPEAT_MODE_ALL, /* shuffleModeEnabled= */ true, 2, 0, 1); in atomicTimelineWindowOrder()
[all …]
DClippingMediaSourceTest.java466 TimelineAsserts.assertPreviousWindowIndices(clippedTimeline, Player.REPEAT_MODE_ALL, false, 0); in windowAndPeriodIndices()
470 TimelineAsserts.assertNextWindowIndices(clippedTimeline, Player.REPEAT_MODE_ALL, false, 0); in windowAndPeriodIndices()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAbstractConcatenatedTimeline.java81 repeatMode = repeatMode == Player.REPEAT_MODE_ONE ? Player.REPEAT_MODE_ALL : repeatMode; in getNextWindowIndex()
91 repeatMode == Player.REPEAT_MODE_ALL ? Player.REPEAT_MODE_OFF : repeatMode, in getNextWindowIndex()
106 if (repeatMode == Player.REPEAT_MODE_ALL) { in getNextWindowIndex()
117 repeatMode = repeatMode == Player.REPEAT_MODE_ONE ? Player.REPEAT_MODE_ALL : repeatMode; in getPreviousWindowIndex()
127 repeatMode == Player.REPEAT_MODE_ALL ? Player.REPEAT_MODE_OFF : repeatMode, in getPreviousWindowIndex()
143 if (repeatMode == Player.REPEAT_MODE_ALL) { in getPreviousWindowIndex()
DPlayer.java705 @IntDef({REPEAT_MODE_OFF, REPEAT_MODE_ONE, REPEAT_MODE_ALL})
718 int REPEAT_MODE_ALL = 2; field
DTimeline.java710 case Player.REPEAT_MODE_ALL: in getNextWindowIndex()
735 case Player.REPEAT_MODE_ALL: in getPreviousWindowIndex()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DTimelineTest.java44 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 0); in singlePeriodTimeline()
47 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 0); in singlePeriodTimeline()
58 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 0); in multiPeriodTimeline()
61 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ALL, false, 0); in multiPeriodTimeline()
DExoPlayerTest.java403 .setRepeatMode(Player.REPEAT_MODE_ALL) in repeatModeChanges()
452 .setRepeatMode(Player.REPEAT_MODE_ALL) in shuffleModeEnabledChanges()
531 .setRepeatMode(Player.REPEAT_MODE_ALL) in periodHoldersReleasedAfterSeekWithRepeatModeAll()
2057 .setRepeatMode(Player.REPEAT_MODE_ALL) in sendMessagesRepeatDoesNotRepost()
2085 .setRepeatMode(Player.REPEAT_MODE_ALL) in sendMessagesRepeatWithoutDeletingDoesRepost()
2718 .setRepeatMode(Player.REPEAT_MODE_ALL) in clippedLoopedPeriodsArePlayedFully()
2887 .setRepeatMode(Player.REPEAT_MODE_ALL) in removingLoopingLastPeriodFromPlaylistDoesNotThrow()
6315 .setRepeatMode(Player.REPEAT_MODE_ALL) in infiniteLoading_withSmallAllocations_oomIsPreventedByLoadControl_andThrowsStuckBufferingIllegalStateException()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DRepeatModeUtil.java88 case Player.REPEAT_MODE_ALL: in isRepeatModeEnabled()
DEventLogger.java616 case Player.REPEAT_MODE_ALL: in getRepeatModeString()
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DRepeatModeActionProvider.java86 case Player.REPEAT_MODE_ALL: in getCustomAction()
DMediaSessionConnector.java786 : repeatMode == Player.REPEAT_MODE_ALL in invalidateMediaSessionPlaybackState()
787 ? PlaybackStateCompat.REPEAT_MODE_ALL in invalidateMediaSessionPlaybackState()
1215 case PlaybackStateCompat.REPEAT_MODE_ALL: in onSetRepeatMode()
1217 repeatMode = Player.REPEAT_MODE_ALL; in onSetRepeatMode()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java32 Player.REPEAT_MODE_OFF, Player.REPEAT_MODE_ONE, Player.REPEAT_MODE_ALL
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java669 && currentMode == Player.REPEAT_MODE_ALL) { in setRepeatToggleModes()
673 controlDispatcher.dispatchSetRepeatMode(player, Player.REPEAT_MODE_ALL); in setRepeatToggleModes()
872 case Player.REPEAT_MODE_ALL: in updateRepeatModeButton()
/external/exoplayer/tree/demos/gl/src/main/java/com/google/android/exoplayer2/gldemo/
DMainActivity.java178 player.setRepeatMode(Player.REPEAT_MODE_ALL); in initializePlayer()
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java219 verify(mockListener).onRepeatModeChanged(Player.REPEAT_MODE_ALL); in setRepeatMode_updatesUponResultChange()
220 assertThat(castPlayer.getRepeatMode()).isEqualTo(Player.REPEAT_MODE_ALL); in setRepeatMode_updatesUponResultChange()
/external/exoplayer/tree/demos/surface/src/main/java/com/google/android/exoplayer2/surfacedemo/
DMainActivity.java225 player.setRepeatMode(Player.REPEAT_MODE_ALL); in initializePlayer()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java937 return REPEAT_MODE_ALL; in fetchRepeatMode()
966 case REPEAT_MODE_ALL: in getCastRepeatMode()