/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | PlaybackInfo.java | 51 @Player.State public final int playbackState; field in PlaybackInfo 128 @Player.State int playbackState, in PlaybackInfo() argument 142 this.playbackState = playbackState; in PlaybackInfo() 185 playbackState, in copyWithNewPosition() 210 playbackState, in copyWithTimeline() 230 public PlaybackInfo copyWithPlaybackState(int playbackState) { in copyWithPlaybackState() argument 235 playbackState, in copyWithPlaybackState() 260 playbackState, in copyWithPlaybackError() 285 playbackState, in copyWithIsLoading() 310 playbackState, in copyWithLoadingMediaPeriodId() [all …]
|
D | AudioFocusManager.java | 157 public int updateAudioFocus(boolean playWhenReady, @Player.State int playbackState) { in updateAudioFocus() argument 158 if (shouldAbandonAudioFocus(playbackState)) { in updateAudioFocus() 181 private boolean shouldAbandonAudioFocus(@Player.State int playbackState) { in shouldAbandonAudioFocus() argument 182 return playbackState == Player.STATE_IDLE || focusGain != C.AUDIOFOCUS_GAIN; in shouldAbandonAudioFocus()
|
D | ExoPlayerImpl.java | 256 return playbackInfo.playbackState; in getPlaybackState() 287 if (playbackInfo.playbackState != Player.STATE_IDLE) { in prepare() 914 boolean clearPlaylist, boolean resetError, @Player.State int playbackState) { in getResetPlaybackInfo() argument 937 playbackState, in getResetPlaybackInfo() 1004 int maskingPlaybackState = playbackInfo.playbackState; in setMediaSourcesInternal() 1005 if (startWindowIndex != C.INDEX_UNSET && playbackInfo.playbackState != STATE_IDLE) { in setMediaSourcesInternal() 1054 playbackInfo.playbackState != STATE_IDLE in removeMediaItemsInternal() 1055 && playbackInfo.playbackState != STATE_ENDED in removeMediaItemsInternal() 1283 playbackStateChanged = previousPlaybackInfo.playbackState != playbackInfo.playbackState; in PlaybackInfoUpdate() 1330 playbackInfo.playWhenReady, playbackInfo.playbackState)); in run() [all …]
|
D | ExoPlayerImplInternal.java | 562 if (playbackInfo.playbackState != state) { in setState() 662 if (playbackInfo.playbackState == Player.STATE_READY) { in setPlayWhenReadyInternal() 665 } else if (playbackInfo.playbackState == Player.STATE_BUFFERING) { in setPlayWhenReadyInternal() 780 if (playbackInfo.playbackState == Player.STATE_IDLE in doSomeWork() 781 || playbackInfo.playbackState == Player.STATE_ENDED) { in doSomeWork() 852 } else if (playbackInfo.playbackState == Player.STATE_BUFFERING in doSomeWork() 858 } else if (playbackInfo.playbackState == Player.STATE_READY in doSomeWork() 865 if (playbackInfo.playbackState == Player.STATE_BUFFERING) { in doSomeWork() 883 if ((shouldPlayWhenReady() && playbackInfo.playbackState == Player.STATE_READY) in doSomeWork() 884 || playbackInfo.playbackState == Player.STATE_BUFFERING) { in doSomeWork() [all …]
|
D | Player.java | 498 default void onPlayerStateChanged(boolean playWhenReady, @State int playbackState) {} in onPlayerStateChanged() argument
|
/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/ |
D | LeanbackPlayerAdapter.java | 154 int playbackState = player.getPlaybackState(); in isPlaying() local 155 return playbackState != Player.STATE_IDLE && playbackState != Player.STATE_ENDED in isPlaying() 229 int playbackState = player.getPlaybackState(); in notifyStateChanged() local 233 callback.onBufferingStateChanged(this, playbackState == Player.STATE_BUFFERING); in notifyStateChanged() 234 if (playbackState == Player.STATE_ENDED) { in notifyStateChanged() 275 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | ExoHostedTest.java | 189 EventTime eventTime, boolean playWhenReady, @Player.State int playbackState) { in onPlayerStateChanged() argument 190 Log.d(tag, "state [" + playWhenReady + ", " + playbackState + "]"); in onPlayerStateChanged() 191 playerWasPrepared |= playbackState != Player.STATE_IDLE; in onPlayerStateChanged() 192 if (playbackState == Player.STATE_ENDED in onPlayerStateChanged() 193 || (playbackState == Player.STATE_IDLE && playerWasPrepared)) { in onPlayerStateChanged() 196 boolean playing = playWhenReady && playbackState == Player.STATE_READY; in onPlayerStateChanged()
|
D | ExoPlayerTestRunner.java | 626 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 627 playbackStates.add(playbackState); in onPlaybackStateChanged() 628 playerWasPrepared |= playbackState != Player.STATE_IDLE; in onPlaybackStateChanged() 629 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged() 630 || (playbackState == Player.STATE_IDLE && playerWasPrepared)) { in onPlaybackStateChanged()
|
D | Action.java | 920 public void onPlaybackStateChanged(@Player.State int playbackState) { in doActionAndScheduleNextImpl() 921 if (targetPlaybackState == playbackState) { in doActionAndScheduleNextImpl()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/analytics/ |
D | PlaybackStats.java | 40 public final @PlaybackState int playbackState; field in PlaybackStats.EventTimeAndPlaybackState 48 public EventTimeAndPlaybackState(EventTime eventTime, @PlaybackState int playbackState) { in EventTimeAndPlaybackState() argument 50 this.playbackState = playbackState; in EventTimeAndPlaybackState() 62 if (playbackState != that.playbackState) { in equals() 71 result = 31 * result + playbackState; in hashCode() 626 public long getPlaybackStateDurationMs(@PlaybackState int playbackState) { in getPlaybackStateDurationMs() argument 627 return playbackStateDurationsMs[playbackState]; in getPlaybackStateDurationMs() 643 state = timeAndState.playbackState; in getPlaybackStateAtTime()
|
D | PlaybackStatsListener.java | 83 @Player.State private int playbackState; field in PlaybackStatsListener 103 playbackState = Player.STATE_IDLE; in PlaybackStatsListener() 173 tracker.onPlaybackStateChanged(eventTime, playbackState, /* belongsToPlayback= */ true); in onSessionCreated() 244 playbackState = state; in onPlaybackStateChanged() 250 .onPlaybackStateChanged(eventTime, playbackState, belongsToPlayback); in onPlaybackStateChanged() 442 boolean isCompletelyIdle = eventTime.timeline.isEmpty() && playbackState == Player.STATE_IDLE; in maybeAddSession()
|
D | AnalyticsListener.java | 132 EventTime eventTime, boolean playWhenReady, @Player.State int playbackState) {} in onPlayerStateChanged() argument
|
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/ |
D | PlayerManager.java | 230 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 279 int playbackState = currentPlayer.getPlaybackState(); in updateCurrentItemIndex() local 281 playbackState != Player.STATE_IDLE && playbackState != Player.STATE_ENDED in updateCurrentItemIndex() 308 int playbackState = previousPlayer.getPlaybackState(); in setCurrentPlayer() local 309 if (playbackState != Player.STATE_ENDED) { in setCurrentPlayer()
|
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/ |
D | CastPlayer.java | 109 @Player.State private int playbackState; field in CastPlayer 144 playbackState = STATE_IDLE; in CastPlayer() 376 return playbackState; in getPlaybackState() 407 playWhenReady, PLAY_WHEN_READY_CHANGE_REASON_USER_REQUEST, playbackState); in setPlayWhenReady() 482 playbackState = STATE_IDLE; in stop() 649 boolean wasPlaying = playbackState == Player.STATE_READY && playWhenReady.value; in updateInternalStateAndNotifyIfChanged() 651 boolean isPlaying = playbackState == Player.STATE_READY && playWhenReady.value; in updateInternalStateAndNotifyIfChanged() 851 @Player.State int playbackState) { 853 boolean playbackStateChanged = this.playbackState != playbackState; 855 this.playbackState = playbackState; [all …]
|
/external/exoplayer/tree/extensions/opus/src/androidTest/java/com/google/android/exoplayer2/ext/opus/ |
D | OpusPlaybackTest.java | 108 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 109 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged() 110 || (playbackState == Player.STATE_IDLE && playbackException != null)) { in onPlaybackStateChanged()
|
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/ |
D | FlacPlaybackTest.java | 125 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 126 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged() 127 || (playbackState == Player.STATE_IDLE && playbackException != null)) { in onPlaybackStateChanged()
|
/external/exoplayer/tree/extensions/vp9/src/androidTest/java/com/google/android/exoplayer2/ext/vp9/ |
D | VpxPlaybackTest.java | 141 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 142 if (playbackState == Player.STATE_ENDED in onPlaybackStateChanged() 143 || (playbackState == Player.STATE_IDLE && playbackException != null)) { in onPlaybackStateChanged()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
D | BluetoothMediaFacade.java | 259 public static void dispatchPlaybackStateChanged(int playbackState) { in dispatchPlaybackStateChanged() argument 261 switch (playbackState) { in dispatchPlaybackStateChanged() 382 PlaybackState playbackState = mMediaController.getPlaybackState(); in bluetoothMediaGetCurrentPlaybackState() local 383 if (playbackState == null) { in bluetoothMediaGetCurrentPlaybackState() 387 return playbackState; in bluetoothMediaGetCurrentPlaybackState()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | DebugTextViewHelper.java | 82 public final void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 88 boolean playWhenReady, @Player.PlayWhenReadyChangeReason int playbackState) { in onPlayWhenReadyChanged() argument
|
D | PlayerNotificationManager.java | 1208 int playbackState = player.getPlaybackState(); in getOngoing() local 1209 return (playbackState == Player.STATE_BUFFERING || playbackState == Player.STATE_READY) in getOngoing() 1314 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument
|
D | PlayerControlView.java | 1001 int playbackState = player == null ? Player.STATE_IDLE : player.getPlaybackState(); in updateProgress() local 1018 } else if (playbackState != Player.STATE_ENDED && playbackState != Player.STATE_IDLE) { in updateProgress() 1222 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument
|
D | PlayerView.java | 1277 int playbackState = player.getPlaybackState(); in shouldShowControllerIndefinitely() local 1279 && (playbackState == Player.STATE_IDLE in shouldShowControllerIndefinitely() 1280 || playbackState == Player.STATE_ENDED in shouldShowControllerIndefinitely() 1568 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument
|
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/ |
D | ImaAdsLoader.java | 984 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 988 handlePlayerStateChanged(player.getPlayWhenReady(), playbackState); in onPlaybackStateChanged() local 1155 private void handlePlayerStateChanged(boolean playWhenReady, @Player.State int playbackState) { in handlePlayerStateChanged() argument 1157 && playbackState == Player.STATE_BUFFERING in handlePlayerStateChanged() 1160 } else if (imaAdState != IMA_AD_STATE_NONE && playbackState == Player.STATE_ENDED) { in handlePlayerStateChanged()
|
/external/exoplayer/tree/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | PlayerActivity.java | 507 public void onPlaybackStateChanged(@Player.State int playbackState) { in onPlaybackStateChanged() argument 508 if (playbackState == Player.STATE_ENDED) { in onPlaybackStateChanged()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
D | JsonBuilder.java | 655 private static JSONObject buildJsonPlaybackState(PlaybackState playbackState) in buildJsonPlaybackState() argument 658 result.put("state", playbackState.getState()); in buildJsonPlaybackState() 659 result.put("position", playbackState.getPosition()); in buildJsonPlaybackState() 660 result.put("speed", playbackState.getPlaybackSpeed()); in buildJsonPlaybackState() 661 result.put("actions", playbackState.getActions()); in buildJsonPlaybackState()
|