Home
last modified time | relevance | path

Searched refs:currentWindowIndex (Results 1 – 5 of 5) sorted by relevance

/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DTimelineQueueNavigator.java183 int currentWindowIndex = player.getCurrentWindowIndex(); in publishFloatingQueueWindow() local
186 getMediaDescription(player, currentWindowIndex), currentWindowIndex)); in publishFloatingQueueWindow()
189 int firstWindowIndex = currentWindowIndex; in publishFloatingQueueWindow()
190 int lastWindowIndex = currentWindowIndex; in publishFloatingQueueWindow()
217 activeQueueItemId = currentWindowIndex; in publishFloatingQueueWindow()
DMediaSessionConnector.java1068 private int currentWindowIndex; field in MediaSessionConnector.ComponentListener
1081 } else if (currentWindowCount != windowCount || currentWindowIndex != windowIndex) { in onTimelineChanged()
1086 currentWindowIndex = windowIndex; in onTimelineChanged()
1120 if (currentWindowIndex != player.getCurrentWindowIndex()) { in onPositionDiscontinuity()
1124 currentWindowIndex = player.getCurrentWindowIndex(); in onPositionDiscontinuity()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImpl.java405 int currentWindowIndex = getCurrentWindowIndex(); in addMediaSources() local
411 maskTimelineAndWindowIndex(currentWindowIndex, currentPositionMs, oldTimeline); in addMediaSources()
435 int currentWindowIndex = getCurrentWindowIndex(); in moveMediaItems() local
442 maskTimelineAndWindowIndex(currentWindowIndex, currentPositionMs, oldTimeline); in moveMediaItems()
722 int currentWindowIndex = getCurrentWindowIndexInternal(); in getCurrentWindowIndex() local
723 return currentWindowIndex == C.INDEX_UNSET ? 0 : currentWindowIndex; in getCurrentWindowIndex()
979 int currentWindowIndex = getCurrentWindowIndexInternal(); in setMediaSourcesInternal() local
998 startWindowIndex = currentWindowIndex; in setMediaSourcesInternal()
1044 int currentWindowIndex = getCurrentWindowIndex(); in removeMediaItemsInternal() local
1051 maskTimelineAndWindowIndex(currentWindowIndex, currentPositionMs, oldTimeline); in removeMediaItemsInternal()
[all …]
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java110 private int currentWindowIndex; field in CastPlayer
579 return pendingSeekWindowIndex != C.INDEX_UNSET ? pendingSeekWindowIndex : currentWindowIndex; in getCurrentWindowIndex()
659 int currentWindowIndex = C.INDEX_UNSET; in updateInternalStateAndNotifyIfChanged() local
662 currentWindowIndex = currentTimeline.getIndexOfPeriod(currentItem.getItemId()); in updateInternalStateAndNotifyIfChanged()
664 if (currentWindowIndex == C.INDEX_UNSET) { in updateInternalStateAndNotifyIfChanged()
666 currentWindowIndex = 0; in updateInternalStateAndNotifyIfChanged()
668 if (this.currentWindowIndex != currentWindowIndex && pendingSeekCount == 0) { in updateInternalStateAndNotifyIfChanged()
669 this.currentWindowIndex = currentWindowIndex; in updateInternalStateAndNotifyIfChanged()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerControlView.java917 int currentWindowIndex = player.getCurrentWindowIndex(); in updateTimeline() local
918 int firstWindowIndex = multiWindowTimeBar ? 0 : currentWindowIndex; in updateTimeline()
919 int lastWindowIndex = multiWindowTimeBar ? timeline.getWindowCount() - 1 : currentWindowIndex; in updateTimeline()
921 if (i == currentWindowIndex) { in updateTimeline()