HomeSort by relevance Sort by last modified time
    Searched full:customaction (Results 1 - 25 of 74) sorted by null

1 2 3

  /frameworks/support/v4/api21/android/support/v4/media/session/
PlaybackStateCompatApi21.java 72 for (Object customAction : customActions) {
73 stateObj.addCustomAction((PlaybackState.CustomAction) customAction);
79 static final class CustomAction {
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)
    [all...]
  /packages/apps/TV/src/com/android/tv/menu/
CustomizableOptionsRowAdapter.java 21 import com.android.tv.customization.CustomAction;
30 private final List<CustomAction> mCustomActions;
32 public CustomizableOptionsRowAdapter(Context context, List<CustomAction> customActions) {
56 CustomAction customAction = mCustomActions.get(i);
58 customAction.getTitle(), type, customAction.getIconDrawable());
60 if (customAction.isFront()) {
80 protected List<CustomAction> getCustomActions() {
PartnerOptionsRowAdapter.java 21 import com.android.tv.customization.CustomAction;
27 public PartnerOptionsRowAdapter(Context context, List<CustomAction> customActions) {
MenuRowFactory.java 25 import com.android.tv.customization.CustomAction;
56 List<CustomAction> customActions = mTvCustomizationManager.getCustomActions(
76 private TvOptionsRow(Context context, Menu menu, List<CustomAction> customActions) {
113 List<CustomAction> customActions) {
TvOptionsRowAdapter.java 27 import com.android.tv.customization.CustomAction;
47 public TvOptionsRowAdapter(Context context, List<CustomAction> customActions) {
71 for (CustomAction customAction : getCustomActions()) {
72 if (customAction.isFront()) {
  /packages/apps/TV/src/com/android/tv/customization/
CustomAction.java 27 public class CustomAction implements Comparable<CustomAction> {
35 public CustomAction(int positionPriority, String title, Drawable iconDrawable, Intent intent) {
53 public int compareTo(@NonNull CustomAction another) {
TvCustomizationManager.java 66 private final Map<String, List<CustomAction>> mRowIdToCustomActionsMap = new HashMap<>();
123 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId);
128 actions.add(new CustomAction(position, title, drawable, intent));
132 for (List<CustomAction> actions : mRowIdToCustomActionsMap.values()) {
139 for (CustomAction action : mRowIdToCustomActionsMap.get(id)) {
153 public List<CustomAction> getCustomActions(String rowId) {
  /frameworks/support/v4/api22/android/support/v4/media/session/
PlaybackStateCompatApi22.java 39 for (Object customAction : customActions) {
40 stateObj.addCustomAction((PlaybackState.CustomAction) customAction);
  /frameworks/support/v4/java/android/support/v4/media/session/
PlaybackStateCompat.java 295 private List<PlaybackStateCompat.CustomAction> mCustomActions;
303 List<PlaybackStateCompat.CustomAction> customActions,
325 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR);
445 public List<PlaybackStateCompat.CustomAction> getCustomActions() {
503 List<PlaybackStateCompat.CustomAction> customActions = null;
507 customActions.add(CustomAction.fromCustomAction(customActionObj));
544 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) {
545 customActions.add(customAction.getCustomAction());
574 * {@link PlaybackStateCompat.CustomAction CustomActions} can be used t
    [all...]
MediaControllerCompat.java 34 import android.support.v4.media.session.PlaybackStateCompat.CustomAction;
728 * @param customAction The action to perform.
732 public abstract void sendCustomAction(PlaybackStateCompat.CustomAction customAction,
739 * @see #sendCustomAction(PlaybackStateCompat.CustomAction action,
742 * {@link PlaybackStateCompat.CustomAction} as specified by
    [all...]
  /frameworks/base/media/java/android/media/session/
PlaybackState.java 289 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 {
663 * Use {@link PlaybackState.CustomAction.Builder#build()}.
665 private CustomAction(String action, CharSequence name, int icon, Bundle extras) {
672 private CustomAction(Parcel in) {
692 public static final Parcelable.Creator<PlaybackState.CustomAction> CREATO
    [all...]
MediaController.java 867 * @param customAction The action to perform.
871 public void sendCustomAction(@NonNull PlaybackState.CustomAction customAction,
873 if (customAction == null) {
874 throw new IllegalArgumentException("CustomAction cannot be null.");
876 sendCustomAction(customAction.getAction(), args);
882 * @see #sendCustomAction(PlaybackState.CustomAction action, Bundle args)
883 * @param action The action identifier of the {@link PlaybackState.CustomAction} as
890 throw new IllegalArgumentException("CustomAction cannot be null.");
    [all...]
  /frameworks/base/docs/html/sdk/support_api_diff/22.2.0/changes/
android.support.v4.media.session.PlaybackStateCompat.CustomAction.html 10 android.support.v4.media.session.PlaybackStateCompat.CustomAction
74 Class android.support.v4.media.session.<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.CustomAction.html" target="_top"><font size="+2"><code>PlaybackStateCompat.CustomAction</code></font></A>
86 <A NAME="android.support.v4.media.session.PlaybackStateCompat.CustomAction.fromCustomAction_added(java.lang.Object)"></A>
87 <nobr><code>CustomAction</code>&nbsp;<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.CustomAction.html#fromCustomAction(java.lang.Object)" target="_top"><code>fromCustomAction</code></A>(<code>Object</code>)</nobr>
93 <A NAME="android.support.v4.media.session.PlaybackStateCompat.CustomAction.getCustomAction_added()"></A>
94 <nobr><code>Object</code>&nbsp;<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.CustomAction.html#getCustomAction()" target="_top"><code>getCustomAction</code></A>()</nobr>
android.support.v4.media.session.PlaybackStateCompat.Builder.html 86 <A NAME="android.support.v4.media.session.PlaybackStateCompat.Builder.addCustomAction_added(android.support.v4.media.session.PlaybackStateCompat.CustomAction)"></A>
87 <nobr><code>Builder</code>&nbsp;<A HREF="../../../../reference/android/support/v4/media/session/PlaybackStateCompat.Builder.html#addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction)" target="_top"><code>addCustomAction</code></A>(<code>CustomAction</code>)</nobr>
pkg_android.support.v4.media.session.html 98 <A NAME="PlaybackStateCompat.CustomAction"></A>
99 <nobr><A HREF="android.support.v4.media.session.PlaybackStateCompat.CustomAction.html">PlaybackStateCompat.CustomAction</A></nobr>
alldiffs_index_changes.html 88 <!-- Class PlaybackStateCompat.CustomAction -->
89 <A HREF="android.support.v4.media.session.PlaybackStateCompat.CustomAction.html" class="hiddenlink" target="rightframe">PlaybackStateCompat.CustomAction</A><br>
classes_index_all.html 71 <A HREF="android.support.v4.media.session.PlaybackStateCompat.CustomAction.html" class="hiddenlink" target="rightframe">PlaybackStateCompat.CustomAction</A><br>
classes_index_changes.html 71 <A HREF="android.support.v4.media.session.PlaybackStateCompat.CustomAction.html" class="hiddenlink" target="rightframe">PlaybackStateCompat.CustomAction</A><br>
  /external/webrtc/webrtc/video/
full_stack_plot.py 300 class CustomAction(argparse.Action):
310 "-c", "--cycle_length", nargs=1, action=CustomAction,
313 "-f", "--field", nargs=1, action=CustomAction,
315 parser.add_argument("-r", "--right", nargs=0, action=CustomAction,
317 parser.add_argument("-d", "--drop", nargs=0, action=CustomAction,
319 parser.add_argument("-o", "--offset", nargs=1, action=CustomAction, type=int,
321 parser.add_argument("-n", "--next", nargs=0, action=CustomAction,
324 "--frames", nargs=1, action=CustomAction, type=int,
326 parser.add_argument("-t", "--title", nargs=1, action=CustomAction,
329 "-O", "--output_filename", nargs=1, action=CustomAction,
    [all...]
  /frameworks/support/customtabs/api/
23.0.0.txt 29 field public static final java.lang.String KEY_DESCRIPTION = "android.support.customtabs.customaction.DESCRIPTION";
30 field public static final java.lang.String KEY_ICON = "android.support.customtabs.customaction.ICON";
31 field public static final java.lang.String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE";
32 field public static final java.lang.String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT";
23.1.0.txt 33 field public static final java.lang.String KEY_DESCRIPTION = "android.support.customtabs.customaction.DESCRIPTION";
34 field public static final java.lang.String KEY_ICON = "android.support.customtabs.customaction.ICON";
35 field public static final java.lang.String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE";
36 field public static final java.lang.String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT";
23.1.1.txt 33 field public static final java.lang.String KEY_DESCRIPTION = "android.support.customtabs.customaction.DESCRIPTION";
34 field public static final java.lang.String KEY_ICON = "android.support.customtabs.customaction.ICON";
35 field public static final java.lang.String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE";
36 field public static final java.lang.String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT";
current.txt 44 field public static final java.lang.String KEY_DESCRIPTION = "android.support.customtabs.customaction.DESCRIPTION";
45 field public static final java.lang.String KEY_ICON = "android.support.customtabs.customaction.ICON";
46 field public static final java.lang.String KEY_ID = "android.support.customtabs.customaction.ID";
47 field public static final java.lang.String KEY_MENU_ITEM_TITLE = "android.support.customtabs.customaction.MENU_ITEM_TITLE";
48 field public static final java.lang.String KEY_PENDING_INTENT = "android.support.customtabs.customaction.PENDING_INTENT";
  /packages/apps/TV/tests/unit/src/com/android/tv/menu/
TvOptionsRowAdapterTest.java 24 import com.android.tv.customization.CustomAction;
51 Collections.<CustomAction>emptyList());
  /cts/tests/tests/media/src/android/media/cts/
MediaControllerTest.java 23 import android.media.session.PlaybackState.CustomAction;
203 final CustomAction customAction =
204 new CustomAction.Builder(action, action, -1).setExtras(extras).build();
205 controls.sendCustomAction(customAction, extras);

Completed in 2546 milliseconds

1 2 3