Home
last modified time | relevance | path

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

123

/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.java554 int getPlaybackState() { in getPlaybackState() method in PipManager
555 if (mPipMediaController == null || mPipMediaController.getPlaybackState() == null) { in getPlaybackState()
558 int state = mPipMediaController.getPlaybackState().getState(); in getPlaybackState()
566 long actions = mPipMediaController.getPlaybackState().getActions(); in getPlaybackState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DMediaControllerGlue.java114 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
119 int speed = (int) mMediaController.getPlaybackState().getPlaybackSpeed(); in getCurrentSpeedId()
161 return (int) mMediaController.getPlaybackState().getPosition(); in getCurrentPosition()
173 long actions = mMediaController.getPlaybackState().getActions(); in getSupportedActions()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DMediaControllerGlue.java129 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
134 int speed = (int) mMediaController.getPlaybackState().getPlaybackSpeed(); in getCurrentSpeedId()
176 return (int) mMediaController.getPlaybackState().getPosition(); in getCurrentPosition()
188 long actions = mMediaController.getPlaybackState().getActions(); in getSupportedActions()
/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.java148 if (mMediaController == null || mMediaController.getPlaybackState() == null) { in getMediaActions()
153 int state = mMediaController.getPlaybackState().getState(); in getMediaActions()
155 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.java271 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaControllerCompat
272 return mImpl.getPlaybackState(); in getPlaybackState()
1248 PlaybackStateCompat getPlaybackState(); in getPlaybackState() method
1336 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaControllerCompat.MediaControllerImplBase
1338 return mBinder.getPlaybackState(); in getPlaybackState()
1850 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaControllerCompat.MediaControllerImplApi21
1853 return mExtraBinder.getPlaybackState(); in getPlaybackState()
1858 Object stateObj = MediaControllerCompatApi21.getPlaybackState(mControllerObj); in getPlaybackState()
DIMediaSession.aidl51 PlaybackStateCompat getPlaybackState() = 27; in getPlaybackState() method
DMediaSessionCompat.java936 PlaybackStateCompat state = impl.getPlaybackState(); in onMediaButtonEvent()
963 PlaybackStateCompat state = impl.getPlaybackState(); in handleMediaPlayPauseKeySingleTapIfUnhandled()
1778 PlaybackStateCompat getPlaybackState(); in getPlaybackState() method
2022 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplBase
2704 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplBase.MediaSessionStub
3278 state == null ? null : state.getPlaybackState()); in setPlaybackState()
3282 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplApi21
3625 public PlaybackStateCompat getPlaybackState() { in getPlaybackState() method in MediaSessionCompat.MediaSessionImplApi21.ExtraSession
DPlaybackStateCompat.java803 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
1337 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/
DMediaControllerCompatTest.java434 PlaybackStateCompat stateOut = mSession.getController().getPlaybackState(); in testGetPlaybackStateWithPositionUpdate()
442 PlaybackState state = controller.getPlaybackState(); in testGetPlaybackStateWithPositionUpdate()
DMediaSessionCompatTest.java319 stateOut = controller.getPlaybackState(); in testSetPlaybackState()
758 assertNull("New session has unexpected configuration", controller.getPlaybackState()); in verifyNewSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DMediaSessions.java210 final PlaybackState playbackState = c.getPlaybackState(); in dump()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java313 mState = mMediaController == null ? null : mMediaController.getPlaybackState(); in setMediaSession()

123