HomeSort by relevance Sort by last modified time
    Searched refs:CustomAction (Results 1 - 25 of 30) sorted by null

1 2

  /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) {
  /packages/apps/TV/src/com/android/tv/menu/
PartnerOptionsRowAdapter.java 21 import com.android.tv.customization.CustomAction;
27 public PartnerOptionsRowAdapter(Context context, List<CustomAction> customActions) {
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() {
MenuRowFactory.java 25 import com.android.tv.customization.CustomAction;
60 List<CustomAction> customActions = mTvCustomizationManager.getCustomActions(
80 private TvOptionsRow(Context context, Menu menu, List<CustomAction> customActions) {
117 List<CustomAction> customActions) {
TvOptionsRowAdapter.java 26 import com.android.tv.customization.CustomAction;
48 public TvOptionsRowAdapter(Context context, List<CustomAction> customActions) {
72 for (CustomAction customAction : getCustomActions()) {
73 if (customAction.isFront()) {
  /frameworks/support/media-compat/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...]
  /frameworks/support/media-compat/java/android/support/v4/media/session/
PlaybackStateCompat.java 524 List<PlaybackStateCompat.CustomAction> mCustomActions;
532 List<PlaybackStateCompat.CustomAction> customActions,
555 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR);
683 public List<PlaybackStateCompat.CustomAction> getCustomActions() {
763 List<PlaybackStateCompat.CustomAction> customActions = null;
767 customActions.add(CustomAction.fromCustomAction(customActionObj));
808 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) {
809 customActions.add(customAction.getCustomAction());
841 * {@link PlaybackStateCompat.CustomAction CustomActions} can be used t
    [all...]
MediaControllerCompat.java 41 import android.support.v4.media.session.PlaybackStateCompat.CustomAction;
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
PlaybackStateTest.java 56 assertEquals(new ArrayList<PlaybackState.CustomAction>(), state.getCustomActions());
116 ArrayList<PlaybackState.CustomAction> actions = new ArrayList<>();
120 actions.add(new PlaybackState.CustomAction.Builder(
135 * Test {@link PlaybackState.Builder#addCustomAction(PlaybackState.CustomAction)}.
141 ArrayList<PlaybackState.CustomAction> actions = new ArrayList<>();
145 actions.add(new PlaybackState.CustomAction.Builder(
149 builder.addCustomAction(new PlaybackState.CustomAction.Builder(
169 PlaybackState.CustomAction customAction1 = new PlaybackState.CustomAction
184 builder.addCustomAction(new PlaybackState.CustomAction.Builder
    [all...]
MediaControllerTest.java 24 import android.media.session.PlaybackState.CustomAction;
248 final CustomAction customAction =
249 new CustomAction.Builder(action, action, -1).setExtras(extras).build();
250 controls.sendCustomAction(customAction, extras);
  /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/support/media-compat/tests/src/android/support/v4/media/session/
PlaybackStateCompatTest.java 67 assertEquals(new ArrayList<PlaybackStateCompat.CustomAction>(), state.getCustomActions());
140 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>();
144 actions.add(new PlaybackStateCompat.CustomAction.Builder(
159 * Test {@link PlaybackStateCompat.Builder#addCustomAction(PlaybackStateCompat.CustomAction)}.
167 ArrayList<PlaybackStateCompat.CustomAction> actions = new ArrayList<>();
171 actions.add(new PlaybackStateCompat.CustomAction.Builder(
175 builder.addCustomAction(new PlaybackStateCompat.CustomAction.Builder(
209 new PlaybackStateCompat.CustomAction.Builder(
253 * Test {@link PlaybackStateCompat.CustomAction}.
262 PlaybackStateCompat.CustomAction customAction = new PlaybackStateCompat.CustomActio
    [all...]
MediaControllerCompatTest.java 326 final PlaybackStateCompat.CustomAction customAction =
327 new PlaybackStateCompat.CustomAction.Builder(action, action, -1)
330 controls.sendCustomAction(customAction, extras);
  /frameworks/support/media-compat/api22/android/support/v4/media/session/
PlaybackStateCompatApi22.java 40 for (Object customAction : customActions) {
41 stateObj.addCustomAction((PlaybackState.CustomAction) customAction);
  /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...]
  /packages/apps/Car/Media/src/com/android/car/media/
MediaPlaybackFragment.java 560 boolean isOriginalEnabled, List<PlaybackState.CustomAction> customActions) {
569 PlaybackState.CustomAction customAction = customActions.remove(0);
570 Bundle extras = customAction.getExtras();
583 setCustomAction(button, customAction);
595 private void updateActions(long actions, List<PlaybackState.CustomAction> customActions) {
629 private void setCustomAction(ImageButton imageButton, PlaybackState.CustomAction customAction) {
631 setActionDrawable(imageButton, customAction.getIcon(),
633 imageButton.setTag(customAction);
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/menu/
TvOptionsRowAdapterTest.java 24 import com.android.tv.customization.CustomAction;
  /packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
Player.java 33 import android.media.session.PlaybackState.CustomAction;
85 private final CustomAction mShuffle;
105 mShuffle = new CustomAction.Builder(SHUFFLE, context.getString(R.string.shuffle),
  /packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/
MediaController.java 234 public void sendCustomAction(@NonNull PlaybackState.CustomAction customAction,
236 mTransportDelegate.sendCustomAction(customAction, args);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
schema.py 213 CustomAction = Table('CustomAction')
214 CustomAction.add_field(1,'Action',0x2DFF)
215 CustomAction.add_field(2,'Type',1282)
216 CustomAction.add_field(3,'Source',0x1DFF)
217 CustomAction.add_field(4,'Target',7679)
580 tables=[_Validation, ActionText, AdminExecuteSequence, Condition, AdminUISequence, AdvtExecuteSequence, AdvtUISequence, AppId, AppSearch, Property, BBControl, Billboard, Feature, Binary, BindImage, File, CCPSearch, CheckBox, Class, Component, Icon, ProgId, ComboBox, CompLocator, Complus, Directory, Control, Dialog, ControlCondition, ControlEvent, CreateFolder, CustomAction, DrLocator, DuplicateFile, Environment, Error, EventMapping, Extension, MIME, FeatureComponents, FileSFPCatalog, SFPCatalog, Font, IniFile, IniLocator, InstallExecuteSequence, InstallUISequence, IsolatedComponent, LaunchCondition, ListBox, ListView, LockPermissions, Media, MoveFile, MsiAssembly, MsiAssemblyName, MsiDigitalCertificate, MsiDigitalSignature, MsiFileHash, MsiPatchHeaders, ODBCAttribute, ODBCDriver, ODBCDataSource, ODBCSourceAttribute, ODBCTranslator, Patch, PatchPackage, PublishComponent, RadioButton, Registry, RegLocator, RemoveFile, RemoveIniFile, RemoveRegistry, ReserveCost, SelfReg, ServiceControl, ServiceInstall, Shortcut, Signature, TextStyle, TypeLib, UIText, Upgrade, Verb]
    [all...]
  /prebuilts/sdk/current/support/media-compat/
android-support-media-compat.jar 
  /frameworks/base/
preloaded-classes     [all...]
compiled-classes-phone     [all...]

Completed in 324 milliseconds

1 2