/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlaybackInfo.java | 63 public final boolean playWhenReady; field in PlaybackInfo 134 boolean playWhenReady, in PlaybackInfo() argument 148 this.playWhenReady = playWhenReady; in PlaybackInfo() 191 playWhenReady, in copyWithNewPosition() 216 playWhenReady, in copyWithTimeline() 241 playWhenReady, in copyWithPlaybackState() 266 playWhenReady, in copyWithPlaybackError() 291 playWhenReady, in copyWithIsLoading() 316 playWhenReady, in copyWithLoadingMediaPeriodId() 334 boolean playWhenReady, @PlaybackSuppressionReason int playbackSuppressionReason) { in copyWithPlayWhenReady() argument [all …]
|
D | SimpleExoPlayer.java | 719 boolean playWhenReady = getPlayWhenReady(); in setAudioAttributes() 721 int playerCommand = audioFocusManager.updateAudioFocus(playWhenReady, getPlaybackState()); in setAudioAttributes() 723 playWhenReady, playerCommand, getPlayWhenReadyChangeReason(playWhenReady, playerCommand)); in setAudioAttributes() 1264 boolean playWhenReady = getPlayWhenReady(); in prepare() 1266 int playerCommand = audioFocusManager.updateAudioFocus(playWhenReady, Player.STATE_BUFFERING); in prepare() 1268 playWhenReady, playerCommand, getPlayWhenReadyChangeReason(playWhenReady, playerCommand)); in prepare() 1468 public void setPlayWhenReady(boolean playWhenReady) { in setPlayWhenReady() argument 1471 int playerCommand = audioFocusManager.updateAudioFocus(playWhenReady, getPlaybackState()); in setPlayWhenReady() 1473 playWhenReady, playerCommand, getPlayWhenReadyChangeReason(playWhenReady, playerCommand)); in setPlayWhenReady() 1939 boolean playWhenReady, in updatePlayWhenReady() argument [all …]
|
D | ExoPlayerImpl.java | 478 public void setPlayWhenReady(boolean playWhenReady) { in setPlayWhenReady() argument 480 playWhenReady, in setPlayWhenReady() 500 boolean playWhenReady, in setPlayWhenReady() argument 503 if (playbackInfo.playWhenReady == playWhenReady in setPlayWhenReady() 510 this.playbackInfo.copyWithPlayWhenReady(playWhenReady, playbackSuppressionReason); in setPlayWhenReady() 511 internalPlayer.setPlayWhenReady(playWhenReady, playbackSuppressionReason); in setPlayWhenReady() 523 return playbackInfo.playWhenReady; in getPlayWhenReady() 943 playbackInfo.playWhenReady, in getResetPlaybackInfo() 1291 playWhenReadyChanged = previousPlaybackInfo.playWhenReady != playbackInfo.playWhenReady; in PlaybackInfoUpdate() 1330 playbackInfo.playWhenReady, playbackInfo.playbackState)); in run() [all …]
|
D | DefaultControlDispatcher.java | 53 public boolean dispatchSetPlayWhenReady(Player player, boolean playWhenReady) { in dispatchSetPlayWhenReady() argument 54 player.setPlayWhenReady(playWhenReady); in dispatchSetPlayWhenReady()
|
D | AudioFocusManager.java | 157 public int updateAudioFocus(boolean playWhenReady, @Player.State int playbackState) { in updateAudioFocus() argument 160 return playWhenReady ? PLAYER_COMMAND_PLAY_WHEN_READY : PLAYER_COMMAND_DO_NOT_PLAY; in updateAudioFocus() 162 return playWhenReady ? requestAudioFocus() : PLAYER_COMMAND_DO_NOT_PLAY; in updateAudioFocus()
|
D | Player.java | 498 default void onPlayerStateChanged(boolean playWhenReady, @State int playbackState) {} in onPlayerStateChanged() argument 514 boolean playWhenReady, @PlayWhenReadyChangeReason int reason) {} in onPlayWhenReadyChanged() argument 1007 void setPlayWhenReady(boolean playWhenReady); in setPlayWhenReady() argument
|
D | ControlDispatcher.java | 36 boolean dispatchSetPlayWhenReady(Player player, boolean playWhenReady); in dispatchSetPlayWhenReady() argument
|
D | ExoPlayerImplInternal.java | 204 boolean playWhenReady, @PlaybackSuppressionReason int playbackSuppressionReason) { in setPlayWhenReady() argument 206 .obtainMessage(MSG_SET_PLAY_WHEN_READY, playWhenReady ? 1 : 0, playbackSuppressionReason) in setPlayWhenReady() 649 boolean playWhenReady, in setPlayWhenReadyInternal() argument 656 playbackInfo = playbackInfo.copyWithPlayWhenReady(playWhenReady, playbackSuppressionReason); in setPlayWhenReadyInternal() 1229 playbackInfo.playWhenReady, in resetInternal() 2124 return playbackInfo.playWhenReady
|
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/ |
D | FakePlayer.java | 34 private boolean playWhenReady; field in FakePlayer 45 playWhenReady = true; in FakePlayer() 96 public void setState(@Player.State int state, boolean playWhenReady) { in setState() argument 97 boolean playWhenReadyChanged = this.playWhenReady != playWhenReady; in setState() 100 this.playWhenReady = playWhenReady; in setState() 103 listener.onPlayerStateChanged(playWhenReady, state); in setState() 109 playWhenReady, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST); in setState() 145 return playWhenReady; in getPlayWhenReady()
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 103 private final StateHolder<Boolean> playWhenReady; field in CastPlayer 142 playWhenReady = new StateHolder<>(false); in CastPlayer() 399 public void setPlayWhenReady(boolean playWhenReady) { in setPlayWhenReady() argument 407 playWhenReady, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, playbackState); in setPlayWhenReady() 410 playWhenReady ? remoteMediaClient.play() : remoteMediaClient.pause(); in setPlayWhenReady() 411 this.playWhenReady.pendingResultCallback = in setPlayWhenReady() 421 pendingResult.setResultCallback(this.playWhenReady.pendingResultCallback); in setPlayWhenReady() 426 return playWhenReady.value; in getPlayWhenReady() 649 boolean wasPlaying = playbackState == Player.STATE_READY && playWhenReady.value; in updateInternalStateAndNotifyIfChanged() 651 boolean isPlaying = playbackState == Player.STATE_READY && playWhenReady.value; in updateInternalStateAndNotifyIfChanged() [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | PlaybackStatsListener.java | 82 private boolean playWhenReady; field in PlaybackStatsListener 102 playWhenReady = false; in PlaybackStatsListener() 174 tracker.onPlayWhenReadyChanged(eventTime, playWhenReady, /* belongsToPlayback= */ true); in onSessionCreated() 256 EventTime eventTime, boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument 257 this.playWhenReady = playWhenReady; in onPlayWhenReadyChanged() 263 .onPlayWhenReadyChanged(eventTime, playWhenReady, belongsToPlayback); in onPlayWhenReadyChanged() 494 private boolean playWhenReady; field in PlaybackStatsListener.PlaybackStatsTracker 565 EventTime eventTime, boolean playWhenReady, boolean belongsToPlayback) { in onPlayWhenReadyChanged() argument 566 this.playWhenReady = playWhenReady; in onPlayWhenReadyChanged() 925 if (!playWhenReady) { in resolveNewPlaybackState() [all …]
|
D | AnalyticsListener.java | 132 EventTime eventTime, boolean playWhenReady, @Player.State int playbackState) {} in onPlayerStateChanged() argument 150 EventTime eventTime, boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) {} in onPlayWhenReadyChanged() argument
|
D | AnalyticsCollector.java | 458 public final void onPlayerStateChanged(boolean playWhenReady, @Player.State int playbackState) { in onPlayerStateChanged() argument 461 listener.onPlayerStateChanged(eventTime, playWhenReady, playbackState); in onPlayerStateChanged() 475 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument 478 listener.onPlayWhenReadyChanged(eventTime, playWhenReady, reason); in onPlayWhenReadyChanged()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | Action.java | 374 private final boolean playWhenReady; field in Action.SetPlayWhenReady 380 public SetPlayWhenReady(String tag, boolean playWhenReady) { in SetPlayWhenReady() argument 381 super(tag, playWhenReady ? "Play" : "Pause"); in SetPlayWhenReady() 382 this.playWhenReady = playWhenReady; in SetPlayWhenReady() 388 player.setPlayWhenReady(playWhenReady); in doActionImpl() 848 public WaitForPlayWhenReady(String tag, boolean playWhenReady) { in WaitForPlayWhenReady() argument 850 targetPlayWhenReady = playWhenReady; in WaitForPlayWhenReady() 870 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in doActionAndScheduleNextImpl() 871 if (targetPlayWhenReady == playWhenReady) { in doActionAndScheduleNextImpl()
|
D | ExoHostedTest.java | 189 EventTime eventTime, boolean playWhenReady, @Player.State int playbackState) { in onPlayerStateChanged() argument 190 Log.d(tag, "state [" + playWhenReady + ", " + playbackState + "]"); in onPlayerStateChanged() 196 boolean playing = playWhenReady && playbackState == Player.STATE_READY; in onPlayerStateChanged()
|
D | TestExoPlayer.java | 347 public void onPlayWhenReadyChanged(boolean playWhenReady, int reason) { in runUntilPlayWhenReady() 348 if (playWhenReady == expectedPlayWhenReady) { in runUntilPlayWhenReady()
|
D | StubExoPlayer.java | 272 public void setPlayWhenReady(boolean playWhenReady) { in setPlayWhenReady() argument
|
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/ |
D | PlayerManager.java | 303 boolean playWhenReady = false; in setCurrentPlayer() 311 playWhenReady = previousPlayer.getPlayWhenReady(); in setCurrentPlayer() 325 currentPlayer.setPlayWhenReady(playWhenReady); in setCurrentPlayer()
|
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/ |
D | MediaSessionConnector.java | 204 void onPrepare(boolean playWhenReady); in onPrepare() argument 212 void onPrepareFromMediaId(String mediaId, boolean playWhenReady, @Nullable Bundle extras); in onPrepareFromMediaId() argument 220 void onPrepareFromSearch(String query, boolean playWhenReady, @Nullable Bundle extras); in onPrepareFromSearch() argument 228 void onPrepareFromUri(Uri uri, boolean playWhenReady, @Nullable Bundle extras); in onPrepareFromUri() argument 946 @Player.State int exoPlayerPlaybackState, boolean playWhenReady) { in getMediaSessionPlaybackState() argument 951 return playWhenReady ? PlaybackStateCompat.STATE_PLAYING : PlaybackStateCompat.STATE_PAUSED; in getMediaSessionPlaybackState() 1097 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument
|
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ |
D | ImaAdsLoader.java | 993 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument 998 if (imaAdState == IMA_AD_STATE_PLAYING && !playWhenReady) { in onPlayWhenReadyChanged() 1003 if (imaAdState == IMA_AD_STATE_PAUSED && playWhenReady) { in onPlayWhenReadyChanged() 1007 handlePlayerStateChanged(playWhenReady, player.getPlaybackState()); in onPlayWhenReadyChanged() 1155 private void handlePlayerStateChanged(boolean playWhenReady, @Player.State int playbackState) { in handlePlayerStateChanged() argument 1158 && playWhenReady) { in handlePlayerStateChanged()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | DebugTextViewHelper.java | 88 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int playbackState) { in onPlayWhenReadyChanged() argument
|
D | PlayerNotificationManager.java | 1320 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument
|
D | PlayerControlView.java | 1229 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | EventLogger.java | 106 EventTime eventTime, boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in onPlayWhenReadyChanged() argument 110 playWhenReady + ", " + getPlayWhenReadyChangeReasonString(reason)); in onPlayWhenReadyChanged()
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/ |
D | ExoPlayerTest.java | 1709 EventTime eventTime, boolean playWhenReady, int playbackState) { in playbackErrorAndReprepareWithPositionResetKeepsWindowSequenceNumber() 2593 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int reason) { in recursivePlayerChangesAreReportedInCorrectOrder() 2594 eventListenerPlayWhenReady.add(playWhenReady); in recursivePlayerChangesAreReportedInCorrectOrder() 3278 assertThat(playerStateGrabber.playWhenReady).isFalse(); in audioFocusDenied() 3477 assertThat(playerStateGrabber.playWhenReady).isTrue(); in becomingNoisyIgnoredIfBecomingNoisyHandlingIsDisabled() 6441 public void onPlayWhenReadyChanged(boolean playWhenReady, int reason) { in multipleListenersAndMultipleCallbacks_callbacksAreOrderedByType() 6453 public void onPlayWhenReadyChanged(boolean playWhenReady, int reason) { in multipleListenersAndMultipleCallbacks_callbacksAreOrderedByType() 6555 public boolean playWhenReady; 6561 playWhenReady = player.getPlayWhenReady();
|