Home
last modified time | relevance | path

Searched refs:CustomAction (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/support/media/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java74 stateObj.addCustomAction((PlaybackState.CustomAction) customAction); in newInstance()
80 static final class CustomAction { class in PlaybackStateCompatApi21
82 return ((PlaybackState.CustomAction)customActionObj).getAction(); in getAction()
86 return ((PlaybackState.CustomAction)customActionObj).getName(); in getName()
90 return ((PlaybackState.CustomAction)customActionObj).getIcon(); in getIcon()
93 return ((PlaybackState.CustomAction)customActionObj).getExtras(); in getExtras()
98 PlaybackState.CustomAction.Builder customActionObj = in newInstance()
99 new PlaybackState.CustomAction.Builder(action, name, icon); in newInstance()
104 private CustomAction() { in CustomAction() method in PlaybackStateCompatApi21.CustomAction
/frameworks/support/media/src/main/java/android/support/v4/media/session/
DPlaybackStateCompat.java547 List<PlaybackStateCompat.CustomAction> mCustomActions;
555 List<PlaybackStateCompat.CustomAction> customActions, in PlaybackStateCompat()
578 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR); in PlaybackStateCompat()
706 public List<PlaybackStateCompat.CustomAction> getCustomActions() { in getCustomActions()
786 List<PlaybackStateCompat.CustomAction> customActions = null; in fromPlaybackState()
790 customActions.add(CustomAction.fromCustomAction(customActionObj)); in fromPlaybackState()
831 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) { in getPlaybackState()
868 public static final class CustomAction implements Parcelable { class in PlaybackStateCompat
879 CustomAction(String action, CharSequence name, int icon, Bundle extras) { in CustomAction() method in PlaybackStateCompat.CustomAction
886 CustomAction(Parcel in) { in CustomAction() method in PlaybackStateCompat.CustomAction
[all …]
DMediaControllerCompat.java39 import android.support.v4.media.session.PlaybackStateCompat.CustomAction;
1293 public abstract void sendCustomAction(PlaybackStateCompat.CustomAction customAction, in sendCustomAction()
1903 public void sendCustomAction(CustomAction customAction, Bundle args) { in sendCustomAction()
2403 public void sendCustomAction(CustomAction customAction, Bundle args) { in sendCustomAction()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java290 private List<PlaybackState.CustomAction> mCustomActions;
298 List<PlaybackState.CustomAction> customActions, long activeItemId, in PlaybackState()
319 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR); in PlaybackState()
441 public List<PlaybackState.CustomAction> getCustomActions() { in getCustomActions()
657 public static final class CustomAction implements Parcelable {
666 private CustomAction(String action, CharSequence name, int icon, Bundle extras) {
673 private CustomAction(Parcel in) {
693 public static final Parcelable.Creator<PlaybackState.CustomAction> CREATOR
694 = new Parcelable.Creator<PlaybackState.CustomAction>() {
697 public PlaybackState.CustomAction createFromParcel(Parcel p) {
[all …]
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
DPlaybackStateCompatTest.java69 assertEquals(new ArrayList<PlaybackStateCompat.CustomAction>(), state.getCustomActions()); in testBuilder()
142 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomAction()
146 actions.add(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomAction()
169 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomActionWithCustomActionObject()
173 actions.add(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject()
177 builder.addCustomAction(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject()
211 new PlaybackStateCompat.CustomAction.Builder( in testWriteToParcel()
264 PlaybackStateCompat.CustomAction customAction = new PlaybackStateCompat.CustomAction in testCustomAction()
282 customAction, PlaybackStateCompat.CustomAction.CREATOR.createFromParcel(parcel)); in testCustomAction()
286 private void assertCustomActionEquals(PlaybackStateCompat.CustomAction action1, in assertCustomActionEquals()
[all …]
DClientBroadcastReceiver.java176 (PlaybackStateCompat.CustomAction) in onReceive()
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/
DPlaybackStateCompatTest.java69 assertEquals(new ArrayList<PlaybackStateCompat.CustomAction>(), state.getCustomActions()); in testBuilder()
142 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomAction()
146 actions.add(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomAction()
169 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomActionWithCustomActionObject()
173 actions.add(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject()
177 builder.addCustomAction(new PlaybackStateCompat.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject()
211 new PlaybackStateCompat.CustomAction.Builder( in testWriteToParcel()
264 PlaybackStateCompat.CustomAction customAction = new PlaybackStateCompat.CustomAction in testCustomAction()
282 customAction, PlaybackStateCompat.CustomAction.CREATOR.createFromParcel(parcel)); in testCustomAction()
286 private void assertCustomActionEquals(PlaybackStateCompat.CustomAction action1, in assertCustomActionEquals()
[all …]
DClientBroadcastReceiver.java176 (PlaybackStateCompat.CustomAction) in onReceive()
/frameworks/support/media/api22/android/support/v4/media/session/
DPlaybackStateCompatApi22.java42 stateObj.addCustomAction((PlaybackState.CustomAction) customAction); in newInstance()
/frameworks/base/media/java/android/media/update/
DVideoView2Provider.java88 void setCustomActions_impl(List<PlaybackState.CustomAction> actionList, in setCustomActions_impl()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/
DVideoView2Impl.java224 void setCustomActions(List<PlaybackStateCompat.CustomAction> actionList, in setCustomActions()
DVideoView2.java404 public void setCustomActions(List<PlaybackStateCompat.CustomAction> actionList, in setCustomActions()
/frameworks/support/media/api_legacy/
D26.0.0.txt410 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
547 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
618 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
630 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
632 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
639 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
642 public static final class PlaybackStateCompat.CustomAction.Builder {
643 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
644 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
645 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
D26.1.0.txt410 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
547 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
618 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
630 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
632 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
639 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
642 public static final class PlaybackStateCompat.CustomAction.Builder {
643 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
644 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
645 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
D28.0.0-alpha1.txt410 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
544 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
618 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
630 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
632 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
639 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
642 public static final class PlaybackStateCompat.CustomAction.Builder {
643 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
644 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
645 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
Dcurrent.txt410 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
544 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
618 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
630 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
632 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
639 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
642 public static final class PlaybackStateCompat.CustomAction.Builder {
643 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
644 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
645 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
D27.1.0.txt410 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
544 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
618 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
630 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
632 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
639 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
642 public static final class PlaybackStateCompat.CustomAction.Builder {
643 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
644 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
645 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
D27.0.0.txt410 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
544 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
618 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
630 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
632 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
639 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
642 public static final class PlaybackStateCompat.CustomAction.Builder {
643 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
644 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
645 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
/frameworks/base/core/java/android/widget/
DVideoView2.java371 public void setCustomActions(List<PlaybackState.CustomAction> actionList, in setCustomActions()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl_with_mp1/
DVideoView2ImplBaseWithMp1.java140 private List<PlaybackStateCompat.CustomAction> mCustomActionList;
605 public void setCustomActions(List<PlaybackStateCompat.CustomAction> actionList, in setCustomActions()
949 for (PlaybackStateCompat.CustomAction action : mCustomActionList) { in updatePlaybackState()
/frameworks/support/media-widget/src/main/java/androidx/media/widget/impl/
DVideoView2ImplBase.java145 private List<PlaybackStateCompat.CustomAction> mCustomActionList;
630 public void setCustomActions(List<PlaybackStateCompat.CustomAction> actionList, in setCustomActions()
993 for (PlaybackStateCompat.CustomAction action : mCustomActionList) { in updatePlaybackState()
/frameworks/av/packages/MediaComponents/src/com/android/widget/
DVideoView2Impl.java149 private List<PlaybackState.CustomAction> mCustomActionList;
491 List<PlaybackState.CustomAction> actionList, in setCustomActions_impl()
830 for (PlaybackState.CustomAction action : mCustomActionList) { in updatePlaybackState()
/frameworks/support/media/api/
Dcurrent.txt283 …sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bun…
418 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
492 …eCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
504 public static final class PlaybackStateCompat.CustomAction implements android.os.Parcelable {
506 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
513 …d.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
516 public static final class PlaybackStateCompat.CustomAction.Builder {
517 …ctor public PlaybackStateCompat.CustomAction.Builder(java.lang.String, java.lang.CharSequence, int…
518 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
519 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java496 final PlaybackStateCompat.CustomAction customAction = in testTransportControlsAndMediaSessionCallback()
497 new PlaybackStateCompat.CustomAction.Builder(action, action, -1) in testTransportControlsAndMediaSessionCallback()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java498 final PlaybackStateCompat.CustomAction customAction = in testTransportControlsAndMediaSessionCallback()
499 new PlaybackStateCompat.CustomAction.Builder(action, action, -1) in testTransportControlsAndMediaSessionCallback()

123