Home
last modified time | relevance | path

Searched refs:customActionObj (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/media/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java81 public static String getAction(Object customActionObj) { in getAction() argument
82 return ((PlaybackState.CustomAction)customActionObj).getAction(); in getAction()
85 public static CharSequence getName(Object customActionObj) { in getName() argument
86 return ((PlaybackState.CustomAction)customActionObj).getName(); in getName()
89 public static int getIcon(Object customActionObj) { in getIcon() argument
90 return ((PlaybackState.CustomAction)customActionObj).getIcon(); in getIcon()
92 public static Bundle getExtras(Object customActionObj) { in getExtras() argument
93 return ((PlaybackState.CustomAction)customActionObj).getExtras(); in getExtras()
98 PlaybackState.CustomAction.Builder customActionObj = in newInstance() local
100 customActionObj.setExtras(extras); in newInstance()
[all …]
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DPlaybackStateCompat.java789 for (Object customActionObj : customActionObjs) { in fromPlaybackState()
790 customActions.add(CustomAction.fromCustomAction(customActionObj)); in fromPlaybackState()
917 public static PlaybackStateCompat.CustomAction fromCustomAction(Object customActionObj) { in fromCustomAction() argument
918 if (customActionObj == null || Build.VERSION.SDK_INT < 21) { in fromCustomAction()
923 PlaybackStateCompatApi21.CustomAction.getAction(customActionObj), in fromCustomAction()
924 PlaybackStateCompatApi21.CustomAction.getName(customActionObj), in fromCustomAction()
925 PlaybackStateCompatApi21.CustomAction.getIcon(customActionObj), in fromCustomAction()
926 PlaybackStateCompatApi21.CustomAction.getExtras(customActionObj)); in fromCustomAction()
927 customAction.mCustomActionObj = customActionObj; in fromCustomAction()