/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 | 93 private final Map<String, List<CustomAction>> mRowIdToCustomActionsMap = new HashMap<>(); 203 List<CustomAction> actions = mRowIdToCustomActionsMap.get(rowId); 208 actions.add(new CustomAction(position, title, drawable, intent)); 212 for (List<CustomAction> actions : mRowIdToCustomActionsMap.values()) { 219 for (CustomAction action : mRowIdToCustomActionsMap.get(id)) { 233 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( 83 private TvOptionsRow(Context context, Menu menu, List<CustomAction> customActions) { 94 List<CustomAction> customActions) {
|
TvOptionsRowAdapter.java | 25 import com.android.tv.customization.CustomAction; 41 public TvOptionsRowAdapter(Context context, List<CustomAction> customActions) {
|
/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 | 545 List<PlaybackStateCompat.CustomAction> mCustomActions; 553 List<PlaybackStateCompat.CustomAction> customActions, 576 mCustomActions = in.createTypedArrayList(CustomAction.CREATOR); 704 public List<PlaybackStateCompat.CustomAction> getCustomActions() { 784 List<PlaybackStateCompat.CustomAction> customActions = null; 788 customActions.add(CustomAction.fromCustomAction(customActionObj)); 829 for (PlaybackStateCompat.CustomAction customAction : mCustomActions) { 830 customActions.add(customAction.getCustomAction()); 862 * {@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; 253 final CustomAction customAction = 254 new CustomAction.Builder(action, action, -1).setExtras(extras).build(); 255 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 | 342 final PlaybackStateCompat.CustomAction customAction = 343 new PlaybackStateCompat.CustomAction.Builder(action, action, -1) 346 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 | 623 boolean isOriginalEnabled, List<PlaybackState.CustomAction> customActions) { 636 PlaybackState.CustomAction customAction = customActions.remove(0); 637 Bundle extras = customAction.getExtras(); 648 setActionDrawable(button, customAction.getIcon(), 650 button.setTag(customAction); 661 private void updateActions(long actions, List<PlaybackState.CustomAction> customActions) { [all...] |
/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...] |
/external/python/cpython2/Lib/msilib/ |
schema.py | 213 CustomAction = Table('CustomAction') 214 CustomAction.add_field(1,'Action',11592) 215 CustomAction.add_field(2,'Type',1282) 216 CustomAction.add_field(3,'Source',7496) 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...] |
/external/python/cpython2/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/libs/ |
android-support-media-compat.jar | |
/frameworks/base/config/ |
compiled-classes-phone | [all...] |