Home
last modified time | relevance | path

Searched refs:getCurrentWindowIndex (Results 1 – 19 of 19) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DBasePlayer.java99 seekToDefaultPosition(getCurrentWindowIndex()); in seekToDefaultPosition()
109 seekTo(getCurrentWindowIndex(), positionMs); in seekTo()
149 getCurrentWindowIndex(), getRepeatModeForNavigation(), getShuffleModeEnabled()); in getNextWindowIndex()
158 getCurrentWindowIndex(), getRepeatModeForNavigation(), getShuffleModeEnabled()); in getPreviousWindowIndex()
165 return timeline.isEmpty() ? null : timeline.getWindow(getCurrentWindowIndex(), window).tag; in getCurrentTag()
172 return timeline.isEmpty() ? null : timeline.getWindow(getCurrentWindowIndex(), window).manifest; in getCurrentManifest()
187 return !timeline.isEmpty() && timeline.getWindow(getCurrentWindowIndex(), window).isDynamic; in isCurrentWindowDynamic()
193 return !timeline.isEmpty() && timeline.getWindow(getCurrentWindowIndex(), window).isLive; in isCurrentWindowLive()
202 long windowStartTimeMs = timeline.getWindow(getCurrentWindowIndex(), window).windowStartTimeMs; in getCurrentLiveOffset()
212 return !timeline.isEmpty() && timeline.getWindow(getCurrentWindowIndex(), window).isSeekable; in isCurrentWindowSeekable()
[all …]
DDefaultControlDispatcher.java70 int windowIndex = player.getCurrentWindowIndex(); in dispatchPrevious()
89 int windowIndex = player.getCurrentWindowIndex(); in dispatchNext()
180 player.seekTo(player.getCurrentWindowIndex(), positionMs); in seekToOffset()
DExoPlayerImpl.java405 int currentWindowIndex = getCurrentWindowIndex(); in addMediaSources()
435 int currentWindowIndex = getCurrentWindowIndex(); in moveMediaItems()
707 getCurrentWindowIndex(), in createMessage()
721 public int getCurrentWindowIndex() { in getCurrentWindowIndex() method in ExoPlayerImpl
783 ? playbackInfo.timeline.getWindow(getCurrentWindowIndex(), window).getDefaultPositionMs() in getContentPosition()
797 return playbackInfo.timeline.getWindow(getCurrentWindowIndex(), window).getDurationMs(); in getContentBufferedPosition()
1044 int currentWindowIndex = getCurrentWindowIndex(); in removeMediaItemsInternal()
DPlayer.java1217 int getCurrentWindowIndex(); in getCurrentWindowIndex() method
DSimpleExoPlayer.java1658 public int getCurrentWindowIndex() { in getCurrentWindowIndex() method in SimpleExoPlayer
1660 return player.getCurrentWindowIndex(); in getCurrentWindowIndex()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java1165 windowIndexAfterStop.set(player.getCurrentWindowIndex()); in settingNewStartPositionPossibleAfterStopWithReset()
1507 windowIndexAfterUpdate.set(player.getCurrentWindowIndex()); in testInvalidSeekPositionAfterSourceInfoRefreshWithShuffleModeEnabledUsesCorrectFirstPeriod()
1546 windowIndexAfterAddingSources.set(player.getCurrentWindowIndex()); in restartAfterEmptyTimelineWithShuffleModeEnabledUsesCorrectFirstPeriod()
1579 windowIndexHolder[0] = player.getCurrentWindowIndex(); in playbackErrorAndReprepareDoesNotResetPosition()
1589 windowIndexHolder[1] = player.getCurrentWindowIndex(); in playbackErrorAndReprepareDoesNotResetPosition()
1599 windowIndexHolder[2] = player.getCurrentWindowIndex(); in playbackErrorAndReprepareDoesNotResetPosition()
1642 windowIndexHolder[0] = player.getCurrentWindowIndex(); in seekAfterPlaybackError()
1653 windowIndexHolder[1] = player.getCurrentWindowIndex(); in seekAfterPlaybackError()
1663 windowIndexHolder[2] = player.getCurrentWindowIndex(); in seekAfterPlaybackError()
3342 currentWindowIndices[0] = player.getCurrentWindowIndex(); in delegatingMediaSourceApproach()
[all …]
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DTimelineQueueNavigator.java97 timeline.getWindow(player.getCurrentWindowIndex(), window); in getSupportedQueueNavigatorActions()
127 activeQueueItemId = player.getCurrentWindowIndex(); in onCurrentWindowIndexChanged()
183 int currentWindowIndex = player.getCurrentWindowIndex(); in publishFloatingQueueWindow()
DMediaSessionConnector.java1077 int windowIndex = player.getCurrentWindowIndex(); in onTimelineChanged()
1120 if (currentWindowIndex != player.getCurrentWindowIndex()) { in onPositionDiscontinuity()
1124 currentWindowIndex = player.getCurrentWindowIndex(); in onPositionDiscontinuity()
1149 seekTo(player, player.getCurrentWindowIndex(), C.TIME_UNSET); in onPlay()
1166 seekTo(player, player.getCurrentWindowIndex(), positionMs); in onSeekTo()
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakePlayer.java169 public int getCurrentWindowIndex() { in getCurrentWindowIndex() method in FakePlayer
183 return timeline.getWindow(getCurrentWindowIndex(), window).getDurationMs(); in getDuration()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java282 ? currentPlayer.getCurrentWindowIndex() in updateCurrentItemIndex()
312 windowIndex = previousPlayer.getCurrentWindowIndex(); in setCurrentPlayer()
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java177 controlDispatcher.dispatchSeekTo(player, player.getCurrentWindowIndex(), C.TIME_UNSET); in play()
193 controlDispatcher.dispatchSeekTo(player, player.getCurrentWindowIndex(), positionMs); in seekTo()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollector.java645 && windowIndex == player.getCurrentWindowIndex(); in generateEventTime()
674 int windowIndex = player.getCurrentWindowIndex(); in generateEventTime()
890 player.getCurrentWindowIndex(),
903 player.getCurrentWindowIndex(),
934 player.getCurrentWindowIndex(),
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DDebugTextViewHelper.java140 player.getPlayWhenReady(), playbackStateString, player.getCurrentWindowIndex()); in getPlayerStateString()
DPlayerControlView.java825 timeline.getWindow(player.getCurrentWindowIndex(), window); in updateNavigation()
917 int currentWindowIndex = player.getCurrentWindowIndex(); in updateTimeline()
1060 windowIndex = player.getCurrentWindowIndex(); in seekToTimeBarPosition()
1283 seekTo(player, player.getCurrentWindowIndex(), C.TIME_UNSET); in onClick()
DPlayerNotificationManager.java1135 timeline.getWindow(player.getCurrentWindowIndex(), window); in getActions()
1372 controlDispatcher.dispatchSeekTo(player, player.getCurrentWindowIndex(), C.TIME_UNSET); in onReceive()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java436 if (getCurrentWindowIndex() != windowIndex) { in seekTo()
574 return getCurrentWindowIndex(); in getCurrentPeriodIndex()
578 public int getCurrentWindowIndex() { in getCurrentWindowIndex() method in CastPlayer
798 startWindowIndex = getCurrentWindowIndex(); in setMediaItemsInternal()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DStubExoPlayer.java398 public int getCurrentWindowIndex() { in getCurrentWindowIndex() method in StubExoPlayer
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/
DPlayerActivity.java430 startWindow = player.getCurrentWindowIndex(); in updateStartPosition()
/external/exoplayer/tree/
DRELEASENOTES.md684 * Fix bug in `CastPlayer.getCurrentWindowIndex()`