Home
last modified time | relevance | path

Searched refs:PlaybackStateCompat (Results 1 – 8 of 8) sorted by relevance

/frameworks/support/v4/java/android/support/v4/media/session/
DPlaybackStateCompat.java30 public final class PlaybackStateCompat implements Parcelable { class
220 private PlaybackStateCompat(int state, long position, long bufferedPosition, in PlaybackStateCompat() method in PlaybackStateCompat
231 private PlaybackStateCompat(Parcel in) { in PlaybackStateCompat() method in PlaybackStateCompat
360 public static PlaybackStateCompat fromPlaybackState(Object stateObj) { in fromPlaybackState()
365 PlaybackStateCompat state = new PlaybackStateCompat( in fromPlaybackState()
395 public static final Parcelable.Creator<PlaybackStateCompat> CREATOR =
396 new Parcelable.Creator<PlaybackStateCompat>() {
398 public PlaybackStateCompat createFromParcel(Parcel in) {
399 return new PlaybackStateCompat(in);
403 public PlaybackStateCompat[] newArray(int size) {
[all …]
DIMediaControllerCallback.aidl21 import android.support.v4.media.session.PlaybackStateCompat;
34 void onPlaybackStateChanged(in PlaybackStateCompat state); in onPlaybackStateChanged()
DMediaControllerCompat.java34 import android.support.v4.media.session.PlaybackStateCompat.CustomAction;
128 public PlaybackStateCompat getPlaybackState() { in getPlaybackState()
374 public void onPlaybackStateChanged(PlaybackStateCompat state) { in onPlaybackStateChanged()
450 PlaybackStateCompat.fromPlaybackState(stateObj)); in onPlaybackStateChanged()
473 public void onPlaybackStateChanged(PlaybackStateCompat state) throws RemoteException { in onPlaybackStateChanged()
532 onPlaybackStateChanged((PlaybackStateCompat) msg.obj); in handleMessage()
657 public abstract void sendCustomAction(PlaybackStateCompat.CustomAction customAction, in sendCustomAction()
768 PlaybackStateCompat getPlaybackState(); in getPlaybackState()
851 public PlaybackStateCompat getPlaybackState() { in getPlaybackState()
1154 public PlaybackStateCompat getPlaybackState() { in getPlaybackState()
[all …]
DMediaSessionCompat.java312 public void setPlaybackState(PlaybackStateCompat state) { in setPlaybackState()
911 void setPlaybackState(PlaybackStateCompat state); in setPlaybackState()
954 private PlaybackStateCompat mState;
1179 public void setPlaybackState(PlaybackStateCompat state) { in setPlaybackState()
1190 MediaSessionCompatApi14.setState(mRccObj, PlaybackStateCompat.STATE_NONE); in setPlaybackState()
1214 && (mState.getActions() & PlaybackStateCompat.ACTION_SET_RATING) != 0; in setMetadata()
1347 private PlaybackStateCompat getStateWithUpdatedPosition() { in getStateWithUpdatedPosition()
1348 PlaybackStateCompat state; in getStateWithUpdatedPosition()
1358 PlaybackStateCompat result = null; in getStateWithUpdatedPosition()
1360 if (state.getState() == PlaybackStateCompat.STATE_PLAYING in getStateWithUpdatedPosition()
[all …]
DIMediaSession.aidl24 import android.support.v4.media.session.PlaybackStateCompat;
64 PlaybackStateCompat getPlaybackState(); in getPlaybackState()
DPlaybackStateCompat.aidl18 parcelable PlaybackStateCompat;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DMediaControllerGlue.java10 import android.support.v4.media.session.PlaybackStateCompat;
31 public void onPlaybackStateChanged(PlaybackStateCompat state) {
127 return mMediaController.getPlaybackState().getState() == PlaybackStateCompat.STATE_PLAYING; in isMediaPlaying()
187 if ((actions & PlaybackStateCompat.ACTION_PLAY_PAUSE) != 0) { in getSupportedActions()
190 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_NEXT) != 0) { in getSupportedActions()
193 if ((actions & PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS) != 0) { in getSupportedActions()
196 if ((actions & PlaybackStateCompat.ACTION_FAST_FORWARD) != 0) { in getSupportedActions()
199 if ((actions & PlaybackStateCompat.ACTION_REWIND) != 0) { in getSupportedActions()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteControllerDialog.java30 import android.support.v4.media.session.PlaybackStateCompat;
83 private PlaybackStateCompat mState;
312 boolean isPlaying = mState.getState() == PlaybackStateCompat.STATE_BUFFERING in update()
313 || mState.getState() == PlaybackStateCompat.STATE_PLAYING; in update()
314 boolean supportsPlay = (mState.getActions() & (PlaybackStateCompat.ACTION_PLAY in update()
315 | PlaybackStateCompat.ACTION_PLAY_PAUSE)) != 0; in update()
316 boolean supportsPause = (mState.getActions() & (PlaybackStateCompat.ACTION_PAUSE in update()
317 | PlaybackStateCompat.ACTION_PLAY_PAUSE)) != 0; in update()
384 public void onPlaybackStateChanged(PlaybackStateCompat state) { in onPlaybackStateChanged()
409 if (mState.getState() == PlaybackStateCompat.STATE_PLAYING) { in onClick()