Searched refs:stateObj (Results 1 – 6 of 6) sorted by relevance
/frameworks/support/media/api21/android/support/v4/media/session/ |
D | PlaybackStateCompatApi21.java | 28 public static int getState(Object stateObj) { in getState() argument 29 return ((PlaybackState)stateObj).getState(); in getState() 32 public static long getPosition(Object stateObj) { in getPosition() argument 33 return ((PlaybackState)stateObj).getPosition(); in getPosition() 36 public static long getBufferedPosition(Object stateObj) { in getBufferedPosition() argument 37 return ((PlaybackState)stateObj).getBufferedPosition(); in getBufferedPosition() 40 public static float getPlaybackSpeed(Object stateObj) { in getPlaybackSpeed() argument 41 return ((PlaybackState)stateObj).getPlaybackSpeed(); in getPlaybackSpeed() 44 public static long getActions(Object stateObj) { in getActions() argument 45 return ((PlaybackState)stateObj).getActions(); in getActions() [all …]
|
D | MediaSessionCompatApi21.java | 106 public static void setPlaybackState(Object sessionObj, Object stateObj) { in setPlaybackState() argument 107 ((MediaSession)sessionObj).setPlaybackState((PlaybackState)stateObj); in setPlaybackState()
|
D | MediaControllerCompatApi21.java | 272 public void onPlaybackStateChanged(Object stateObj); in onPlaybackStateChanged() argument
|
/frameworks/support/media/api22/android/support/v4/media/session/ |
D | PlaybackStateCompatApi22.java | 28 public static Bundle getExtras(Object stateObj) { in getExtras() argument 29 return ((PlaybackState)stateObj).getExtras(); in getExtras() 36 PlaybackState.Builder stateObj = new PlaybackState.Builder(); in newInstance() local 37 stateObj.setState(state, position, speed, updateTime); in newInstance() 38 stateObj.setBufferedPosition(bufferedPosition); in newInstance() 39 stateObj.setActions(actions); in newInstance() 40 stateObj.setErrorMessage(errorMessage); in newInstance() 42 stateObj.addCustomAction((PlaybackState.CustomAction) customAction); in newInstance() 44 stateObj.setActiveQueueItemId(activeItemId); in newInstance() 45 stateObj.setExtras(extras); in newInstance() [all …]
|
/frameworks/support/media/src/main/java/android/support/v4/media/session/ |
D | PlaybackStateCompat.java | 783 public static PlaybackStateCompat fromPlaybackState(Object stateObj) { in fromPlaybackState() argument 784 if (stateObj != null && Build.VERSION.SDK_INT >= 21) { in fromPlaybackState() 785 List<Object> customActionObjs = PlaybackStateCompatApi21.getCustomActions(stateObj); in fromPlaybackState() 795 extras = PlaybackStateCompatApi22.getExtras(stateObj); in fromPlaybackState() 800 PlaybackStateCompatApi21.getState(stateObj), in fromPlaybackState() 801 PlaybackStateCompatApi21.getPosition(stateObj), in fromPlaybackState() 802 PlaybackStateCompatApi21.getBufferedPosition(stateObj), in fromPlaybackState() 803 PlaybackStateCompatApi21.getPlaybackSpeed(stateObj), in fromPlaybackState() 804 PlaybackStateCompatApi21.getActions(stateObj), in fromPlaybackState() 806 PlaybackStateCompatApi21.getErrorMessage(stateObj), in fromPlaybackState() [all …]
|
D | MediaControllerCompat.java | 858 public void onPlaybackStateChanged(Object stateObj) { in onPlaybackStateChanged() argument 865 PlaybackStateCompat.fromPlaybackState(stateObj)); in onPlaybackStateChanged() 2010 Object stateObj = MediaControllerCompatApi21.getPlaybackState(mControllerObj); in getPlaybackState() local 2011 return stateObj != null ? PlaybackStateCompat.fromPlaybackState(stateObj) : null; in getPlaybackState()
|