Searched defs:CustomAction (Results 1 - 3 of 3) sorted by relevance
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi21.java | 73 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 D | PlaybackState.java | 237 private List<PlaybackState.CustomAction> mCustomActions; 245 List<PlaybackState.CustomAction> customActions, long activeItemId, 266 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR); 377 public List<PlaybackState.CustomAction> getCustomActions() { 589 * {@link PlaybackState.CustomAction CustomActions} can be used to extend the capabilities of 593 public static final class CustomAction implements Parcelable { class in class:PlaybackState 600 * Use {@link PlaybackState.CustomAction.Builder#build()}. 602 private CustomAction(String action, CharSequence name, int icon, Bundle extras) { method in class:PlaybackState.CustomAction 609 private CustomAction(Parcel in) { method in class:PlaybackState.CustomAction 629 public static final Parcelable.Creator<PlaybackState.CustomAction> CREATO [all...] |
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 265 private List<PlaybackStateCompat.CustomAction> mCustomActions; 273 List<PlaybackStateCompat.CustomAction> customActions, 295 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR); 411 public List<PlaybackStateCompat.CustomAction> getCustomActions() { 469 List<PlaybackStateCompat.CustomAction> customActions = null; 473 customActions.add(CustomAction.fromCustomAction(customActionObj)); 510 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) { 540 * {@link PlaybackStateCompat.CustomAction CustomActions} can be used to 544 public static final class CustomAction implements Parcelable { class in class:PlaybackStateCompat 553 * Use {@link PlaybackStateCompat.CustomAction 555 private CustomAction(String action, CharSequence name, int icon, Bundle extras) { method in class:PlaybackStateCompat.CustomAction 562 private CustomAction(Parcel in) { method in class:PlaybackStateCompat.CustomAction [all...] |
Completed in 216 milliseconds