Searched defs:CustomAction (Results 1 - 3 of 3) sorted by relevance

/frameworks/support/media-compat/api21/android/support/v4/media/session/
H A DPlaybackStateCompatApi21.java73 stateObj.addCustomAction((PlaybackState.CustomAction) customAction);
79 static final class CustomAction { class in class:PlaybackStateCompatApi21
81 return ((PlaybackState.CustomAction)customActionObj).getAction();
85 return ((PlaybackState.CustomAction)customActionObj).getName();
89 return ((PlaybackState.CustomAction)customActionObj).getIcon();
92 return ((PlaybackState.CustomAction)customActionObj).getExtras();
97 PlaybackState.CustomAction.Builder customActionObj =
98 new PlaybackState.CustomAction.Builder(action, name, icon);
/frameworks/base/media/java/android/media/session/
H A DPlaybackState.java289 private List<PlaybackState.CustomAction> mCustomActions;
297 List<PlaybackState.CustomAction> customActions, long activeItemId,
318 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR);
440 public List<PlaybackState.CustomAction> getCustomActions() {
652 * {@link PlaybackState.CustomAction CustomActions} can be used to extend the capabilities of
656 public static final class CustomAction implements Parcelable { class in class:PlaybackState
663 * Use {@link PlaybackState.CustomAction.Builder#build()}.
665 private CustomAction(String action, CharSequence name, int icon, Bundle extras) { method in class:PlaybackState.CustomAction
672 private CustomAction(Parcel in) { method in class:PlaybackState.CustomAction
692 public static final Parcelable.Creator<PlaybackState.CustomAction> CREATO
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DPlaybackStateCompat.java353 List<PlaybackStateCompat.CustomAction> mCustomActions;
361 List<PlaybackStateCompat.CustomAction> customActions,
383 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR);
503 public List<PlaybackStateCompat.CustomAction> getCustomActions() {
561 List<PlaybackStateCompat.CustomAction> customActions = null;
565 customActions.add(CustomAction.fromCustomAction(customActionObj));
602 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) {
632 * {@link PlaybackStateCompat.CustomAction CustomActions} can be used to
636 public static final class CustomAction implements Parcelable { class in class:PlaybackStateCompat
645 * Use {@link PlaybackStateCompat.CustomAction
647 CustomAction(String action, CharSequence name, int icon, Bundle extras) { method in class:PlaybackStateCompat.CustomAction
654 CustomAction(Parcel in) { method in class:PlaybackStateCompat.CustomAction
[all...]

Completed in 208 milliseconds