Home
last modified time | relevance | path

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

123

/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DMediaControllerAdapter.java189 if (mController.getPlaybackState() == null) { in isPlaying()
192 return mController.getPlaybackState().getState() in isPlaying()
194 || mController.getPlaybackState().getState() in isPlaying()
196 || mController.getPlaybackState().getState() == PlaybackStateCompat.STATE_REWINDING; in isPlaying()
201 if (mController.getPlaybackState() == null) { in getCurrentPosition()
204 return mController.getPlaybackState().getPosition(); in getCurrentPosition()
209 if (mController.getPlaybackState() == null) { in getBufferedPosition()
212 return mController.getPlaybackState().getBufferedPosition(); in getBufferedPosition()
283 if (mController.getPlaybackState() == null) { in getSupportedActions()
286 long actionsFromController = mController.getPlaybackState().getActions(); in getSupportedActions()
DMediaControllerGlue.java117 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
122 int speed = (int) mMediaController.getPlaybackState().getPlaybackSpeed(); in getCurrentSpeedId()
164 return (int) mMediaController.getPlaybackState().getPosition(); in getCurrentPosition()
176 long actions = mMediaController.getPlaybackState().getActions(); in getSupportedActions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipControlsView.java157 if (mMediaController == null || mMediaController.getPlaybackState() == null) { in onFinishInflate()
160 long actions = mMediaController.getPlaybackState().getActions(); in onFinishInflate()
161 int state = mMediaController.getPlaybackState().getState(); in onFinishInflate()
162 if (mPipManager.getPlaybackState() == PipManager.PLAYBACK_STATE_PAUSED) { in onFinishInflate()
164 } else if (mPipManager.getPlaybackState() == PipManager.PLAYBACK_STATE_PLAYING) { in onFinishInflate()
251 int state = mPipManager.getPlaybackState(); in updateUserActions()
DPipManager.java573 int getPlaybackState() { in getPlaybackState() method in PipManager
574 if (mPipMediaController == null || mPipMediaController.getPlaybackState() == null) { in getPlaybackState()
577 int state = mPipMediaController.getPlaybackState().getState(); in getPlaybackState()
585 long actions = mPipMediaController.getPlaybackState().getActions(); in getPlaybackState()
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DMediaItemStatus.java221 public int getPlaybackState() { in getPlaybackState() method in MediaItemStatus
261 result.append(", playbackState=").append(playbackStateToString(getPlaybackState())); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java163 if (mMediaController == null || mMediaController.getPlaybackState() == null) { in getMediaActions()
168 int state = mMediaController.getPlaybackState().getState(); in getMediaActions()
170 long actions = mMediaController.getPlaybackState().getActions(); in getMediaActions()
/frameworks/base/media/java/android/media/session/
DISessionController.aidl72 PlaybackState getPlaybackState(); in getPlaybackState() method
DMediaController.java148 public @Nullable PlaybackState getPlaybackState() { in getPlaybackState() method in MediaController
150 return mSessionBinder.getPlaybackState(); in getPlaybackState()
/frameworks/support/media-compat/java/android/support/v4/media/session/
DMediaControllerCompat.java280 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaControllerCompat
281 return mImpl.getPlaybackState(); in getPlaybackState()
1405 PlaybackStateCompat getPlaybackState(); in getPlaybackState() method
1491 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaControllerCompat.MediaControllerImplBase
1493 return mBinder.getPlaybackState(); in getPlaybackState()
2017 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaControllerCompat.MediaControllerImplApi21
2020 return mExtraBinder.getPlaybackState(); in getPlaybackState()
2025 Object stateObj = MediaControllerCompatApi21.getPlaybackState(mControllerObj); in getPlaybackState()
DIMediaSession.aidl51 PlaybackStateCompat getPlaybackState() = 27; in getPlaybackState() method
DMediaSessionCompat.java933 PlaybackStateCompat state = impl.getPlaybackState(); in onMediaButtonEvent()
966 PlaybackStateCompat state = impl.getPlaybackState(); in handleMediaPlayPauseKeySingleTapIfPending()
1788 PlaybackStateCompat getPlaybackState(); in getPlaybackState() method
2032 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplBase
2719 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplBase.MediaSessionStub
3299 state == null ? null : state.getPlaybackState()); in setPlaybackState()
3303 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplApi21
3652 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplApi21.ExtraSession
DPlaybackStateCompat.java824 public Object getPlaybackState() { in getPlaybackState() method in PlaybackStateCompat
/frameworks/support/media-compat/api21/android/support/v4/media/session/
DMediaControllerCompatApi21.java74 public static Object getPlaybackState(Object controllerObj) { in getPlaybackState() method in MediaControllerCompatApi21
75 return ((MediaController)controllerObj).getPlaybackState(); in getPlaybackState()
/frameworks/base/media/java/android/media/
DRemoteController.java213 PlaybackState state = mCurrentSession.getPlaybackState(); in getEstimatedMediaPosition()
616 PlaybackState state = controller.getPlaybackState(); in updateController()
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
DRemotePlayer.java61 int state = itemStatus.getPlaybackState();
176 int state = itemStatus.getPlaybackState(); in getStatus()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java198 mListener.onPlaybackStateChange(mController.getPlaybackState());
DNotificationHelper.java90 mPlaybackState = mController.getPlaybackState(); in onStart()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionStack.java218 if (session.getPlaybackState() != null && session.isPlaybackActive() == in findMediaButtonSession()
DMediaSessionRecord.java327 public PlaybackState getPlaybackState() { in getPlaybackState() method in MediaSessionRecord
1352 public PlaybackState getPlaybackState() { in getPlaybackState() method in MediaSessionRecord.ControllerStub
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
DQueueFragment.java78 mPlaybackState = mMediaController.getPlaybackState();
DMediaNotificationManager.java108 mPlaybackState = mController.getPlaybackState(); in startNotification()
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/
DMediaSessionCompatTest.java329 stateOut = controller.getPlaybackState(); in testSetPlaybackState()
721 mSession.getController().getPlaybackState().getState()); in testCallbackOnMediaButtonEvent()
791 assertNull("New session has unexpected configuration", controller.getPlaybackState()); in verifyNewSession()
DMediaControllerCompatTest.java450 PlaybackStateCompat stateOut = mSession.getController().getPlaybackState(); in testGetPlaybackStateWithPositionUpdate()
458 PlaybackState state = controller.getPlaybackState(); in testGetPlaybackStateWithPositionUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaSessions.java210 final PlaybackState playbackState = c.getPlaybackState(); in dump()
/frameworks/support/media-compat/api/
Dcurrent.txt349 method public android.support.v4.media.session.PlaybackStateCompat getPlaybackState();
555 method public java.lang.Object getPlaybackState();

123