Home
last modified time | relevance | path

Searched refs:REPEAT_MODE_ONE (Results 1 – 17 of 17) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/source/
DLoopingMediaSourceTest.java58 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in singleLoopTimeline()
63 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in singleLoopTimeline()
77 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2, 3, 4, 5, 6, 7, 8); in multiLoopTimeline()
83 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2, 3, 4, 5, 6, 7, 8); in multiLoopTimeline()
98 timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in infiniteLoopTimeline()
102 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, shuffled, 0, 1, 2); in infiniteLoopTimeline()
DConcatenatingMediaSourceTest.java145 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0, 1, 2); in playlistChangesAfterPreparation()
149 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0, 1, 2); in playlistChangesAfterPreparation()
155 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, true, 0, 1, 2); in playlistChangesAfterPreparation()
159 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, true, 0, 1, 2); in playlistChangesAfterPreparation()
336 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0, 1, 2); in emptyTimelineMediaSource()
340 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0, 1, 2); in emptyTimelineMediaSource()
344 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, true, 0, 1, 2); in emptyTimelineMediaSource()
348 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, true, 0, 1, 2); in emptyTimelineMediaSource()
726 timeline, Player.REPEAT_MODE_ONE, /* shuffleModeEnabled= */ false, 2, 0, 1); in atomicTimelineWindowOrder()
728 timeline, Player.REPEAT_MODE_ONE, /* shuffleModeEnabled= */ true, 2, 0, 1); in atomicTimelineWindowOrder()
[all …]
DClippingMediaSourceTest.java465 TimelineAsserts.assertPreviousWindowIndices(clippedTimeline, Player.REPEAT_MODE_ONE, false, 0); in windowAndPeriodIndices()
469 TimelineAsserts.assertNextWindowIndices(clippedTimeline, Player.REPEAT_MODE_ONE, false, 0); in windowAndPeriodIndices()
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DCastPlayerTest.java183 castPlayer.setRepeatMode(Player.REPEAT_MODE_ONE); in setRepeatMode_masksRemoteState()
185 assertThat(castPlayer.getRepeatMode()).isEqualTo(Player.REPEAT_MODE_ONE); in setRepeatMode_masksRemoteState()
186 verify(mockListener).onRepeatModeChanged(Player.REPEAT_MODE_ONE); in setRepeatMode_masksRemoteState()
205 castPlayer.setRepeatMode(Player.REPEAT_MODE_ONE); in setRepeatMode_updatesUponResultChange()
207 assertThat(castPlayer.getRepeatMode()).isEqualTo(Player.REPEAT_MODE_ONE); in setRepeatMode_updatesUponResultChange()
208 verify(mockListener).onRepeatModeChanged(Player.REPEAT_MODE_ONE); in setRepeatMode_updatesUponResultChange()
228 verify(mockListener).onRepeatModeChanged(Player.REPEAT_MODE_ONE); in repeatMode_changesOnStatusUpdates()
229 assertThat(castPlayer.getRepeatMode()).isEqualTo(Player.REPEAT_MODE_ONE); in repeatMode_changesOnStatusUpdates()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DTimelineTest.java43 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0); in singlePeriodTimeline()
46 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0); in singlePeriodTimeline()
57 TimelineAsserts.assertPreviousWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0); in multiPeriodTimeline()
60 TimelineAsserts.assertNextWindowIndices(timeline, Player.REPEAT_MODE_ONE, false, 0); in multiPeriodTimeline()
DExoPlayerTest.java397 .setRepeatMode(Player.REPEAT_MODE_ONE) in repeatModeChanges()
401 .setRepeatMode(Player.REPEAT_MODE_ONE) in repeatModeChanges()
405 .setRepeatMode(Player.REPEAT_MODE_ONE) in repeatModeChanges()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DRepeatModeUtil.java86 case Player.REPEAT_MODE_ONE: in isRepeatModeEnabled()
DEventLogger.java614 case Player.REPEAT_MODE_ONE: in getRepeatModeString()
/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()
117 repeatMode = repeatMode == Player.REPEAT_MODE_ONE ? Player.REPEAT_MODE_ALL : repeatMode; in getPreviousWindowIndex()
DPlayer.java705 @IntDef({REPEAT_MODE_OFF, REPEAT_MODE_ONE, REPEAT_MODE_ALL})
714 int REPEAT_MODE_ONE = 1; field
DTimeline.java708 case Player.REPEAT_MODE_ONE: in getNextWindowIndex()
733 case Player.REPEAT_MODE_ONE: in getPreviousWindowIndex()
DBasePlayer.java226 return repeatMode == REPEAT_MODE_ONE ? REPEAT_MODE_OFF : repeatMode; in getRepeatModeForNavigation()
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DRepeatModeActionProvider.java82 case Player.REPEAT_MODE_ONE: in getCustomAction()
DMediaSessionConnector.java784 repeatMode == Player.REPEAT_MODE_ONE in invalidateMediaSessionPlaybackState()
785 ? PlaybackStateCompat.REPEAT_MODE_ONE in invalidateMediaSessionPlaybackState()
1219 case PlaybackStateCompat.REPEAT_MODE_ONE: in onSetRepeatMode()
1220 repeatMode = Player.REPEAT_MODE_ONE; 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.java670 controlDispatcher.dispatchSetRepeatMode(player, Player.REPEAT_MODE_ONE); in setRepeatToggleModes()
672 && currentMode == Player.REPEAT_MODE_ONE) { in setRepeatToggleModes()
868 case Player.REPEAT_MODE_ONE: in updateRepeatModeButton()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java934 return REPEAT_MODE_ONE; in fetchRepeatMode()
964 case REPEAT_MODE_ONE: in getCastRepeatMode()