Home
last modified time | relevance | path

Searched refs:stateObj (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/v4/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java23 public static int getState(Object stateObj) { in getState() argument
24 return ((PlaybackState)stateObj).getState(); in getState()
27 public static long getPosition(Object stateObj) { in getPosition() argument
28 return ((PlaybackState)stateObj).getPosition(); in getPosition()
31 public static long getBufferedPosition(Object stateObj) { in getBufferedPosition() argument
32 return ((PlaybackState)stateObj).getBufferedPosition(); in getBufferedPosition()
35 public static float getPlaybackSpeed(Object stateObj) { in getPlaybackSpeed() argument
36 return ((PlaybackState)stateObj).getPlaybackSpeed(); in getPlaybackSpeed()
39 public static long getActions(Object stateObj) { in getActions() argument
40 return ((PlaybackState)stateObj).getActions(); in getActions()
[all …]
DMediaSessionCompatApi21.java87 public static void setPlaybackState(Object sessionObj, Object stateObj) { in setPlaybackState() argument
88 ((MediaSession)sessionObj).setPlaybackState((PlaybackState)stateObj); in setPlaybackState()
DMediaControllerCompatApi21.java193 public void onPlaybackStateChanged(Object stateObj); in onPlaybackStateChanged() argument
/frameworks/support/v4/java/android/support/v4/media/session/
DPlaybackStateCompat.java359 public static PlaybackStateCompat fromPlaybackState(Object stateObj) { in fromPlaybackState() argument
360 if (stateObj == null || Build.VERSION.SDK_INT < 21) { in fromPlaybackState()
365 PlaybackStateCompatApi21.getState(stateObj), in fromPlaybackState()
366 PlaybackStateCompatApi21.getPosition(stateObj), in fromPlaybackState()
367 PlaybackStateCompatApi21.getBufferedPosition(stateObj), in fromPlaybackState()
368 PlaybackStateCompatApi21.getPlaybackSpeed(stateObj), in fromPlaybackState()
369 PlaybackStateCompatApi21.getActions(stateObj), in fromPlaybackState()
370 PlaybackStateCompatApi21.getErrorMessage(stateObj), in fromPlaybackState()
371 PlaybackStateCompatApi21.getLastPositionUpdateTime(stateObj)); in fromPlaybackState()
372 state.mStateObj = stateObj; in fromPlaybackState()
DMediaControllerCompat.java283 public void onPlaybackStateChanged(Object stateObj) { in onPlaybackStateChanged() argument
285 PlaybackStateCompat.fromPlaybackState(stateObj)); in onPlaybackStateChanged()
549 Object stateObj = MediaControllerCompatApi21.getPlaybackState(mControllerObj); in getPlaybackState() local
550 return stateObj != null ? PlaybackStateCompat.fromPlaybackState(stateObj) : null; in getPlaybackState()