Searched defs:customAction (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java1006 * @param customAction The custom action to add to the {@link PlaybackState}.
1009 public Builder addCustomAction(PlaybackState.CustomAction customAction) { argument
1010 if (customAction == null) {
1014 mCustomActions.add(customAction);
H A DMediaController.java867 * @param customAction The action to perform.
871 public void sendCustomAction(@NonNull PlaybackState.CustomAction customAction, argument
873 if (customAction == null) {
876 sendCustomAction(customAction.getAction(), args);
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaControllerCompat.java754 * @param customAction The action to perform.
758 public abstract void sendCustomAction(PlaybackStateCompat.CustomAction customAction, argument
1249 public void sendCustomAction(CustomAction customAction, Bundle args) { argument
1250 sendCustomAction(customAction.getAction(), args);
1492 public void sendCustomAction(CustomAction customAction, Bundle args) { argument
1494 customAction.getAction(), args);
H A DPlaybackStateCompat.java602 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) {
603 customActions.add(customAction.getCustomAction());
690 PlaybackStateCompat.CustomAction customAction = new PlaybackStateCompat.CustomAction(
695 customAction.mCustomActionObj = customActionObj;
696 return customAction;
1044 * @param customAction The custom action to add to the {@link PlaybackStateCompat}.
1047 public Builder addCustomAction(PlaybackStateCompat.CustomAction customAction) { argument
1048 if (customAction == null) {
1052 mCustomActions.add(customAction);

Completed in 2565 milliseconds