Searched refs:customActionObj (Results 1 – 2 of 2) sorted by relevance
81 public static String getAction(Object customActionObj) { in getAction() argument82 return ((PlaybackState.CustomAction)customActionObj).getAction(); in getAction()85 public static CharSequence getName(Object customActionObj) { in getName() argument86 return ((PlaybackState.CustomAction)customActionObj).getName(); in getName()89 public static int getIcon(Object customActionObj) { in getIcon() argument90 return ((PlaybackState.CustomAction)customActionObj).getIcon(); in getIcon()92 public static Bundle getExtras(Object customActionObj) { in getExtras() argument93 return ((PlaybackState.CustomAction)customActionObj).getExtras(); in getExtras()98 PlaybackState.CustomAction.Builder customActionObj = in newInstance() local100 customActionObj.setExtras(extras); in newInstance()[all …]
789 for (Object customActionObj : customActionObjs) { in fromPlaybackState()790 customActions.add(CustomAction.fromCustomAction(customActionObj)); in fromPlaybackState()917 public static PlaybackStateCompat.CustomAction fromCustomAction(Object customActionObj) { in fromCustomAction() argument918 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()