Home
last modified time | relevance | path

Searched refs:shuffleModeEnabled (Results 1 – 24 of 24) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DAbstractConcatenatedTimeline.java78 int windowIndex, @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in getNextWindowIndex() argument
82 shuffleModeEnabled = false; in getNextWindowIndex()
92 shuffleModeEnabled); in getNextWindowIndex()
97 int nextChildIndex = getNextChildIndex(childIndex, shuffleModeEnabled); in getNextWindowIndex()
99 nextChildIndex = getNextChildIndex(nextChildIndex, shuffleModeEnabled); in getNextWindowIndex()
103 + getTimelineByChildIndex(nextChildIndex).getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex()
107 return getFirstWindowIndex(shuffleModeEnabled); in getNextWindowIndex()
114 int windowIndex, @Player.RepeatMode int repeatMode, boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument
118 shuffleModeEnabled = false; in getPreviousWindowIndex()
128 shuffleModeEnabled); in getPreviousWindowIndex()
[all …]
DTimeline.java703 boolean shuffleModeEnabled) { in getNextWindowIndex() argument
706 return windowIndex == getLastWindowIndex(shuffleModeEnabled) ? C.INDEX_UNSET in getNextWindowIndex()
711 return windowIndex == getLastWindowIndex(shuffleModeEnabled) in getNextWindowIndex()
712 ? getFirstWindowIndex(shuffleModeEnabled) : windowIndex + 1; in getNextWindowIndex()
728 boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument
731 return windowIndex == getFirstWindowIndex(shuffleModeEnabled) ? C.INDEX_UNSET in getPreviousWindowIndex()
736 return windowIndex == getFirstWindowIndex(shuffleModeEnabled) in getPreviousWindowIndex()
737 ? getLastWindowIndex(shuffleModeEnabled) : windowIndex - 1; in getPreviousWindowIndex()
751 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() argument
763 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() argument
[all …]
DExoPlayerImplInternal.java128 private boolean shuffleModeEnabled; field in ExoPlayerImplInternal
147 boolean shuffleModeEnabled, in ExoPlayerImplInternal() argument
157 this.shuffleModeEnabled = shuffleModeEnabled; in ExoPlayerImplInternal()
220 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
221 handler.obtainMessage(MSG_SET_SHUFFLE_ENABLED, shuffleModeEnabled ? 1 : 0, 0).sendToTarget(); in setShuffleModeEnabled()
690 private void setShuffleModeEnabledInternal(boolean shuffleModeEnabled) in setShuffleModeEnabledInternal() argument
692 this.shuffleModeEnabled = shuffleModeEnabled; in setShuffleModeEnabledInternal()
693 if (!queue.updateShuffleModeEnabled(playbackInfo.timeline, shuffleModeEnabled)) { in setShuffleModeEnabledInternal()
914 shuffleModeEnabled, in seekToInternal()
1243 int firstWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in getDummyFirstMediaPeriodPosition()
[all …]
DExoPlayerImpl.java79 private boolean shuffleModeEnabled; field in ExoPlayerImpl
167 shuffleModeEnabled, in ExoPlayerImpl()
541 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
542 if (this.shuffleModeEnabled != shuffleModeEnabled) { in setShuffleModeEnabled()
543 this.shuffleModeEnabled = shuffleModeEnabled; in setShuffleModeEnabled()
544 internalPlayer.setShuffleModeEnabled(shuffleModeEnabled); in setShuffleModeEnabled()
545 notifyListeners(listener -> listener.onShuffleModeEnabledChanged(shuffleModeEnabled)); in setShuffleModeEnabled()
551 return shuffleModeEnabled; in getShuffleModeEnabled()
995 startWindowIndex = timeline.getFirstWindowIndex(shuffleModeEnabled); in setMediaSourcesInternal()
1157 shuffleModeEnabled, in maskTimelineAndWindowIndex()
[all …]
DMediaPeriodQueue.java47 private boolean shuffleModeEnabled; field in MediaPeriodQueue
82 public boolean updateShuffleModeEnabled(Timeline timeline, boolean shuffleModeEnabled) { in updateShuffleModeEnabled() argument
83 this.shuffleModeEnabled = shuffleModeEnabled; in updateShuffleModeEnabled()
507 currentPeriodIndex, period, window, repeatMode, shuffleModeEnabled); in updateForPlaybackModeChange()
573 currentPeriodIndex, period, window, repeatMode, shuffleModeEnabled); in getFollowingMediaPeriodInfo()
801 && timeline.isLastPeriod(periodIndex, period, window, repeatMode, shuffleModeEnabled) in isLastInTimeline()
DDefaultControlDispatcher.java122 public boolean dispatchSetShuffleModeEnabled(Player player, boolean shuffleModeEnabled) { in dispatchSetShuffleModeEnabled() argument
123 player.setShuffleModeEnabled(shuffleModeEnabled); in dispatchSetShuffleModeEnabled()
DControlDispatcher.java97 boolean dispatchSetShuffleModeEnabled(Player player, boolean shuffleModeEnabled); in dispatchSetShuffleModeEnabled() argument
DPlayer.java543 default void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) {} in onShuffleModeEnabledChanged() argument
1035 void setShuffleModeEnabled(boolean shuffleModeEnabled); in setShuffleModeEnabled() argument
DSimpleExoPlayer.java1507 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
1509 player.setShuffleModeEnabled(shuffleModeEnabled); in setShuffleModeEnabled()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DForwardingTimeline.java39 boolean shuffleModeEnabled) { in getNextWindowIndex() argument
40 return timeline.getNextWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getNextWindowIndex()
45 boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument
46 return timeline.getPreviousWindowIndex(windowIndex, repeatMode, shuffleModeEnabled); in getPreviousWindowIndex()
50 public int getLastWindowIndex(boolean shuffleModeEnabled) { in getLastWindowIndex() argument
51 return timeline.getLastWindowIndex(shuffleModeEnabled); in getLastWindowIndex()
55 public int getFirstWindowIndex(boolean shuffleModeEnabled) { in getFirstWindowIndex() argument
56 return timeline.getFirstWindowIndex(shuffleModeEnabled); in getFirstWindowIndex()
DLoopingMediaSource.java212 boolean shuffleModeEnabled) { in getNextWindowIndex() argument
214 shuffleModeEnabled); in getNextWindowIndex()
215 return childNextWindowIndex == C.INDEX_UNSET ? getFirstWindowIndex(shuffleModeEnabled) in getNextWindowIndex()
221 boolean shuffleModeEnabled) { in getPreviousWindowIndex() argument
223 shuffleModeEnabled); in getPreviousWindowIndex()
224 return childPreviousWindowIndex == C.INDEX_UNSET ? getLastWindowIndex(shuffleModeEnabled) in getPreviousWindowIndex()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTimelineAsserts.java81 boolean shuffleModeEnabled, in assertPreviousWindowIndices() argument
84 assertThat(timeline.getPreviousWindowIndex(i, repeatMode, shuffleModeEnabled)) in assertPreviousWindowIndices()
96 boolean shuffleModeEnabled, in assertNextWindowIndices() argument
99 assertThat(timeline.getNextWindowIndex(i, repeatMode, shuffleModeEnabled)) in assertNextWindowIndices()
DAction.java534 private final boolean shuffleModeEnabled; field in Action.SetShuffleModeEnabled
540 public SetShuffleModeEnabled(String tag, boolean shuffleModeEnabled) { in SetShuffleModeEnabled() argument
541 super(tag, "SetShuffleModeEnabled:" + shuffleModeEnabled); in SetShuffleModeEnabled()
542 this.shuffleModeEnabled = shuffleModeEnabled; in SetShuffleModeEnabled()
548 player.setShuffleModeEnabled(shuffleModeEnabled); in doActionImpl()
DActionSchedule.java452 public Builder setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
453 return apply(new SetShuffleModeEnabled(tag, shuffleModeEnabled)); in setShuffleModeEnabled()
DStubExoPlayer.java297 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DTimelineQueueNavigator.java191 boolean shuffleModeEnabled = player.getShuffleModeEnabled(); in publishFloatingQueueWindow()
198 lastWindowIndex, Player.REPEAT_MODE_OFF, shuffleModeEnabled); in publishFloatingQueueWindow()
208 firstWindowIndex, Player.REPEAT_MODE_OFF, shuffleModeEnabled); in publishFloatingQueueWindow()
DMediaSessionConnector.java1112 public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument
1194 boolean shuffleModeEnabled; in onSetShuffleMode()
1198 shuffleModeEnabled = true; in onSetShuffleMode()
1203 shuffleModeEnabled = false; in onSetShuffleMode()
1206 controlDispatcher.dispatchSetShuffleModeEnabled(player, shuffleModeEnabled); in onSetShuffleMode()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsListener.java231 default void onShuffleModeChanged(EventTime eventTime, boolean shuffleModeEnabled) {} in onShuffleModeChanged() argument
DAnalyticsCollector.java508 public final void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument
511 listener.onShuffleModeChanged(eventTime, shuffleModeEnabled); in onShuffleModeEnabledChanged()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java133 public void onShuffleModeChanged(EventTime eventTime, boolean shuffleModeEnabled) { in onShuffleModeChanged() argument
134 logd(eventTime, "shuffleModeEnabled", Boolean.toString(shuffleModeEnabled)); in onShuffleModeChanged()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerNotificationManager.java1350 public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument
DPlayerControlView.java1246 public void onShuffleModeEnabledChanged(boolean shuffleModeEnabled) { in onShuffleModeEnabledChanged() argument
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java547 public void setShuffleModeEnabled(boolean shuffleModeEnabled) { in setShuffleModeEnabled() argument
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java1345 public void onShuffleModeChanged(EventTime eventTime, boolean shuffleModeEnabled) { in onShuffleModeChanged() argument