Searched refs:stateObj (Results 1 – 5 of 5) sorted by relevance
23 public static int getState(Object stateObj) { in getState() argument24 return ((PlaybackState)stateObj).getState(); in getState()27 public static long getPosition(Object stateObj) { in getPosition() argument28 return ((PlaybackState)stateObj).getPosition(); in getPosition()31 public static long getBufferedPosition(Object stateObj) { in getBufferedPosition() argument32 return ((PlaybackState)stateObj).getBufferedPosition(); in getBufferedPosition()35 public static float getPlaybackSpeed(Object stateObj) { in getPlaybackSpeed() argument36 return ((PlaybackState)stateObj).getPlaybackSpeed(); in getPlaybackSpeed()39 public static long getActions(Object stateObj) { in getActions() argument40 return ((PlaybackState)stateObj).getActions(); in getActions()[all …]
87 public static void setPlaybackState(Object sessionObj, Object stateObj) { in setPlaybackState() argument88 ((MediaSession)sessionObj).setPlaybackState((PlaybackState)stateObj); in setPlaybackState()
193 public void onPlaybackStateChanged(Object stateObj); in onPlaybackStateChanged() argument
359 public static PlaybackStateCompat fromPlaybackState(Object stateObj) { in fromPlaybackState() argument360 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()
283 public void onPlaybackStateChanged(Object stateObj) { in onPlaybackStateChanged() argument285 PlaybackStateCompat.fromPlaybackState(stateObj)); in onPlaybackStateChanged()549 Object stateObj = MediaControllerCompatApi21.getPlaybackState(mControllerObj); in getPlaybackState() local550 return stateObj != null ? PlaybackStateCompat.fromPlaybackState(stateObj) : null; in getPlaybackState()