Home
last modified time | relevance | path

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

/external/exoplayer/tree/extensions/leanback/src/main/java/com/google/android/exoplayer2/ext/leanback/
DLeanbackPlayerAdapter.java154 int playbackState = player.getPlaybackState(); in isPlaying()
167 return player.getPlaybackState() == Player.STATE_IDLE ? -1 : player.getCurrentPosition(); in getCurrentPosition()
172 if (player.getPlaybackState() == Player.STATE_IDLE) { in play()
176 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in play()
203 return player.getPlaybackState() != Player.STATE_IDLE in isPrepared()
229 int playbackState = player.getPlaybackState(); in notifyStateChanged()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerNotificationManager.java1027 if (player.getPlaybackState() == Player.STATE_IDLE in createNotification()
1208 int playbackState = player.getPlaybackState(); in getOngoing()
1214 return player.getPlaybackState() != Player.STATE_ENDED in shouldShowPauseButton()
1215 && player.getPlaybackState() != Player.STATE_IDLE in shouldShowPauseButton()
1367 if (player.getPlaybackState() == Player.STATE_IDLE) { in onReceive()
1371 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in onReceive()
DPlayerControlView.java1001 int playbackState = player == null ? Player.STATE_IDLE : player.getPlaybackState(); in updateProgress()
1159 && player.getPlaybackState() != Player.STATE_ENDED in shouldShowPauseButton()
1160 && player.getPlaybackState() != Player.STATE_IDLE in shouldShowPauseButton()
1278 if (player.getPlaybackState() == Player.STATE_IDLE) { in onClick()
1282 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in onClick()
DDebugTextViewHelper.java121 switch (player.getPlaybackState()) { in getPlayerStateString()
DPlayerView.java1277 int playbackState = player.getPlaybackState(); in shouldShowControllerIndefinitely()
1407 && player.getPlaybackState() == Player.STATE_BUFFERING in updateBuffering()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java3914 maskingPlaybackState[0] = player.getPlaybackState(); in modifyPlaylistUnprepared_remainsInIdle_needsPrepareForBuffering()
4839 maskingPlaybackStates[0] = player.getPlaybackState(); in setMediaSources_whenIdle_correctMaskingPlaybackState()
4848 maskingPlaybackStates[1] = player.getPlaybackState(); in setMediaSources_whenIdle_correctMaskingPlaybackState()
4857 maskingPlaybackStates[2] = player.getPlaybackState(); in setMediaSources_whenIdle_correctMaskingPlaybackState()
4867 maskingPlaybackStates[3] = player.getPlaybackState(); in setMediaSources_whenIdle_correctMaskingPlaybackState()
4908 maskingPlaybackStates[0] = player.getPlaybackState(); in setMediaSources_whenIdle_invalidSeek_correctMaskingPlaybackState()
4945 maskingPlaybackStates[0] = player.getPlaybackState(); in setMediaSources_whenIdle_noSeek_correctMaskingPlaybackState()
4980 maskingPlaybackStates[0] = player.getPlaybackState(); in setMediaSources_whenIdle_noSeekEmpty_correctMaskingPlaybackState()
5021 maskingPlaybackStates[0] = player.getPlaybackState(); in setMediaSources_whenEnded_correctMaskingPlaybackState()
5032 maskingPlaybackStates[1] = player.getPlaybackState(); in setMediaSources_whenEnded_correctMaskingPlaybackState()
[all …]
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DPlayerManager.java279 int playbackState = currentPlayer.getPlaybackState(); in updateCurrentItemIndex()
308 int playbackState = previousPlayer.getPlaybackState(); in setCurrentPlayer()
/external/exoplayer/tree/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakePlayer.java139 public int getPlaybackState() { in getPlaybackState() method in FakePlayer
/external/exoplayer/tree/extensions/mediasession/src/main/java/com/google/android/exoplayer2/ext/mediasession/
DMediaSessionConnector.java754 : getMediaSessionPlaybackState(player.getPlaybackState(), player.getPlayWhenReady()); in invalidateMediaSessionPlaybackState()
996 long activeQueueItemId = mediaController.getPlaybackState().getActiveQueueItemId(); in getMetadata()
1144 if (player.getPlaybackState() == Player.STATE_IDLE) { in onPlay()
1148 } else if (player.getPlaybackState() == Player.STATE_ENDED) { in onPlay()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DBasePlayer.java92 return getPlaybackState() == Player.STATE_READY in isPlaying()
DSimpleExoPlayer.java721 int playerCommand = audioFocusManager.updateAudioFocus(playWhenReady, getPlaybackState()); in setAudioAttributes()
1226 public int getPlaybackState() { in getPlaybackState() method in SimpleExoPlayer
1228 return player.getPlaybackState(); in getPlaybackState()
1471 int playerCommand = audioFocusManager.updateAudioFocus(playWhenReady, getPlaybackState()); in setPlayWhenReady()
1952 @State int playbackState = getPlaybackState(); in updateWakeAndWifiLock()
DPlayer.java946 int getPlaybackState(); in getPlaybackState() method
DExoPlayerImpl.java255 public int getPlaybackState() { in getPlaybackState() method in ExoPlayerImpl
583 getPlaybackState() == Player.STATE_IDLE ? Player.STATE_IDLE : Player.STATE_BUFFERING; in seekTo()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DStubExoPlayer.java88 public int getPlaybackState() { in getPlaybackState() method in StubExoPlayer
DTestExoPlayer.java313 if (player.getPlaybackState() == expectedState) { in runUntilPlaybackState()
DAction.java914 if (targetPlaybackState == player.getPlaybackState()) { in doActionAndScheduleNextImpl()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothMediaFacade.java382 PlaybackState playbackState = mMediaController.getPlaybackState(); in bluetoothMediaGetCurrentPlaybackState()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastPlayer.java375 public int getPlaybackState() { in getPlaybackState() method in CastPlayer
/external/exoplayer/tree/extensions/ima/src/main/java/com/google/android/exoplayer2/ext/ima/
DImaAdsLoader.java1007 handlePlayerStateChanged(playWhenReady, player.getPlaybackState()); in onPlayWhenReadyChanged()