Searched refs:currentWindowIndex (Results 1 – 5 of 5) sorted by relevance
183 int currentWindowIndex = player.getCurrentWindowIndex(); in publishFloatingQueueWindow() local186 getMediaDescription(player, currentWindowIndex), currentWindowIndex)); in publishFloatingQueueWindow()189 int firstWindowIndex = currentWindowIndex; in publishFloatingQueueWindow()190 int lastWindowIndex = currentWindowIndex; in publishFloatingQueueWindow()217 activeQueueItemId = currentWindowIndex; in publishFloatingQueueWindow()
1068 private int currentWindowIndex; field in MediaSessionConnector.ComponentListener1081 } 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()
405 int currentWindowIndex = getCurrentWindowIndex(); in addMediaSources() local411 maskTimelineAndWindowIndex(currentWindowIndex, currentPositionMs, oldTimeline); in addMediaSources()435 int currentWindowIndex = getCurrentWindowIndex(); in moveMediaItems() local442 maskTimelineAndWindowIndex(currentWindowIndex, currentPositionMs, oldTimeline); in moveMediaItems()722 int currentWindowIndex = getCurrentWindowIndexInternal(); in getCurrentWindowIndex() local723 return currentWindowIndex == C.INDEX_UNSET ? 0 : currentWindowIndex; in getCurrentWindowIndex()979 int currentWindowIndex = getCurrentWindowIndexInternal(); in setMediaSourcesInternal() local998 startWindowIndex = currentWindowIndex; in setMediaSourcesInternal()1044 int currentWindowIndex = getCurrentWindowIndex(); in removeMediaItemsInternal() local1051 maskTimelineAndWindowIndex(currentWindowIndex, currentPositionMs, oldTimeline); in removeMediaItemsInternal()[all …]
110 private int currentWindowIndex; field in CastPlayer579 return pendingSeekWindowIndex != C.INDEX_UNSET ? pendingSeekWindowIndex : currentWindowIndex; in getCurrentWindowIndex()659 int currentWindowIndex = C.INDEX_UNSET; in updateInternalStateAndNotifyIfChanged() local662 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()
917 int currentWindowIndex = player.getCurrentWindowIndex(); in updateTimeline() local918 int firstWindowIndex = multiWindowTimeBar ? 0 : currentWindowIndex; in updateTimeline()919 int lastWindowIndex = multiWindowTimeBar ? timeline.getWindowCount() - 1 : currentWindowIndex; in updateTimeline()921 if (i == currentWindowIndex) { in updateTimeline()