Home
last modified time | relevance | path

Searched refs:isPlayingAd (Results 1 – 15 of 15) sorted by relevance

/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakePlayer.java37 private boolean isPlayingAd; field in FakePlayer
61 boolean notify = isPlayingAd; in setPlayingContentPosition()
62 isPlayingAd = false; in setPlayingContentPosition()
81 boolean notify = !isPlayingAd || this.adIndexInAdGroup != adIndexInAdGroup; in setPlayingAdPosition()
82 isPlayingAd = true; in setPlayingAdPosition()
178 if (isPlayingAd()) { in getDuration()
193 public boolean isPlayingAd() { in isPlayingAd() method in FakePlayer
194 return isPlayingAd; in isPlayingAd()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DDefaultControlDispatcher.java67 if (timeline.isEmpty() || player.isPlayingAd()) { in dispatchPrevious()
86 if (timeline.isEmpty() || player.isPlayingAd()) { in dispatchNext()
DExoPlayerImpl.java566 if (isPlayingAd()) { in seekTo()
728 if (isPlayingAd()) { in getDuration()
750 if (isPlayingAd()) { in getBufferedPosition()
764 public boolean isPlayingAd() { in isPlayingAd() method in ExoPlayerImpl
770 return isPlayingAd() ? playbackInfo.periodId.adGroupIndex : C.INDEX_UNSET; in getCurrentAdGroupIndex()
775 return isPlayingAd() ? playbackInfo.periodId.adIndexInAdGroup : C.INDEX_UNSET; in getCurrentAdIndexInAdGroup()
780 if (isPlayingAd()) { in getContentPosition()
DPlayer.java1305 boolean isPlayingAd(); in isPlayingAd() method
DSimpleExoPlayer.java1688 public boolean isPlayingAd() { in isPlayingAd() method in SimpleExoPlayer
1690 return player.isPlayingAd(); in isPlayingAd()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollector.java879 player.isPlayingAd() || playerTimeline.isEmpty()
892 player.isPlayingAd(),
905 player.isPlayingAd(),
925 player.isPlayingAd() || playerTimeline.isEmpty()
936 player.isPlayingAd(),
947 boolean isPlayingAd,
958 return (isPlayingAd
961 || (!isPlayingAd
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DTimelineQueueNavigator.java96 if (!timeline.isEmpty() && !player.isPlayingAd()) { in getSupportedQueueNavigatorActions()
144 if (timeline.isEmpty() || player.isPlayingAd()) { in onSkipToQueueItem()
DMediaSessionConnector.java859 if (!timeline.isEmpty() && !player.isPlayingAd()) { in buildPlaybackActions()
988 if (player.isPlayingAd()) { in getMetadata()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerView.java828 if (player != null && player.isPlayingAd()) { in dispatchKeyEvent()
1261 if (isPlayingAd() && controllerHideDuringAds) { in maybeShowController()
1292 private boolean isPlayingAd() { in isPlayingAd() method in PlayerView
1293 return player != null && player.isPlayingAd() && player.getPlayWhenReady(); in isPlayingAd()
1447 if (isPlayingAd() && controllerHideDuringAds) { in updateControllerVisibility()
1583 if (isPlayingAd() && controllerHideDuringAds) { in onPositionDiscontinuity()
DPlayerNotificationManager.java1083 && !player.isPlayingAd() in createNotification()
1134 if (!timeline.isEmpty() && !player.isPlayingAd()) { in getActions()
DPlayerControlView.java824 if (!timeline.isEmpty() && !player.isPlayingAd()) { in updateNavigation()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DStubExoPlayer.java423 public boolean isPlayingAd() { in isPlayingAd() method in StubExoPlayer
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java1174 if (!playingAd && !player.isPlayingAd()) { in checkForContentCompleteOrNewAdGroup()
1202 playingAd = player.isPlayingAd(); in updateImaStateForPlayerState()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java613 public boolean isPlayingAd() { in isPlayingAd() method in CastPlayer
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/analytics/
DAnalyticsCollectorTest.java802 if (!player.isPlayingAd() in adPlayback()