Searched refs:Action (Results 1 - 25 of 132) sorted by relevance

123456

/frameworks/base/core/java/com/android/internal/globalactions/
H A DLongPressAction.java19 public interface LongPressAction extends Action {
H A DActionsAdapter.java33 private final List<Action> mItems;
37 public ActionsAdapter(Context context, List<Action> items,
52 final Action action = mItems.get(i);
76 public Action getItem(int position) {
82 final Action action = mItems.get(i);
109 Action action = getItem(position);
H A DAction.java24 public interface Action { interface
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DOnActionClickedListener.java17 * Interface for receiving notification when an {@link Action} is clicked.
24 void onActionClicked(Action action);
H A DAction.java25 public class Action { class
37 * Constructor for an Action.
39 * @param id The id of the Action.
41 public Action(long id) { method in class:Action
46 * Constructor for an Action.
48 * @param id The id of the Action.
49 * @param label The label to display for the Action.
51 public Action(long id, CharSequence label) { method in class:Action
56 * Constructor for an Action.
58 * @param id The id of the Action
62 public Action(long id, CharSequence label1, CharSequence label2) { method in class:Action
74 public Action(long id, CharSequence label1, CharSequence label2, Drawable icon) { method in class:Action
[all...]
H A DActionPresenterSelector.java34 Action action = (Action) item;
48 Action mAction;
62 Action action = (Action) item;
105 Action action = (Action) item;
121 Action action = (Action) item;
H A DDetailsOverviewRow.java27 * description view, and optionally a series of {@link Action}s that can be taken for
263 * Adds an Action to the overview. It will throw ClassCastException if the current actions
266 * @param action The Action to add.
270 public final void addAction(Action action) {
275 * Adds an Action to the overview at the specified position. It will throw ClassCastException if
279 * @param pos The position to insert the Action.
280 * @param action The Action to add.
284 public final void addAction(int pos, Action action) {
289 * Removes the given Action from the overview. It will throw ClassCastException if current
292 * @param action The Action t
[all...]
/frameworks/support/room/common/src/main/java/androidx/room/
H A DForeignKey.java78 * Action to take when the parent {@link Entity} is deleted from the database.
84 @Action int onDelete() default NO_ACTION;
87 * Action to take when the parent {@link Entity} is updated in the database.
93 @Action int onUpdate() default NO_ACTION;
168 @interface Action { interface in interface:ForeignKey
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/models/
H A DAction.kt19 data class Action(val id: ResReference,
/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/
H A DNavArgumentResolverTest.kt21 import androidx.navigation.safe.args.generator.models.Action
50 val outerScopeAction = Action(id("toOuterScope"), id("outerScope"),
52 val dest1 = dest1Template.copy(actions = listOf(Action(id("action1"), dest2Template.id),
54 val dest2 = dest2Template.copy(actions = listOf(Action(id("action2"), dest1Template.id,
64 val resolvedAction1 = Action(id("action1"), dest2Template.id, dest2.args)
68 val resolvedAction2 = Action(id("action2"), dest1Template.id, listOf(
79 val invalidAction = Action(id("action"), dest1.id, listOf(
/frameworks/base/tools/preload2/src/com/android/preload/ui/
H A DIUI.java6 import javax.swing.Action;
17 List<Action> actions);
H A DSequenceUI.java8 import javax.swing.Action;
17 private List<Action> actions;
31 List<Action> actions) {
37 public SequenceUI action(Action a) {
42 public SequenceUI action(Class<? extends Action> actionClass) {
43 for (Action a : actions) {
120 if (next instanceof Action) {
121 ((Action)next).actionPerformed(null);
/frameworks/base/tools/aapt2/link/
H A DManifestFixer.cpp240 intent_filter_action["action"].Action(RequiredNameIsNotEmpty);
241 intent_filter_action["category"].Action(RequiredNameIsNotEmpty);
249 uses_feature_action.Action(VerifyUsesFeature);
253 component_action.Action(RequiredNameIsJavaClassName);
259 manifest_action.Action(AutoGenerateIsFeatureSplit);
260 manifest_action.Action(VerifyManifest);
261 manifest_action.Action(FixCoreAppAttribute);
262 manifest_action.Action([&](xml::Element* el) -> bool {
302 manifest_action["uses-sdk"].Action([&](xml::Element* el) -> bool {
322 manifest_action["instrumentation"].Action(RequiredNameIsJavaClassNam
[all...]
/frameworks/support/compat/src/androidTest/java/androidx/core/app/
H A DNotificationCompatTest.java170 NotificationCompat.Action a = newActionBuilder()
173 NotificationCompat.Action aCopy = new NotificationCompat.Action.Builder(a).build();
180 NotificationCompat.Action a = newActionBuilder()
183 NotificationCompat.Action aCopy = new NotificationCompat.Action.Builder(a).build();
193 .addAction(new Notification.Action.Builder(0, "title", null)
195 NotificationCompat.Action action = NotificationCompat.getAction(notif, 0);
201 NotificationCompat.Action a = newActionBuilder().build();
208 NotificationCompat.Action actio
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationTest.java290 Notification.Action action = makeNotificationAction(null);
291 assertEquals(Notification.Action.SEMANTIC_ACTION_NONE, action.getSemanticAction());
296 Notification.Action action = makeNotificationAction(
297 builder -> builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_REPLY));
298 assertEquals(Notification.Action.SEMANTIC_ACTION_REPLY, action.getSemanticAction());
303 Notification.Action action = writeAndReadParcelable(
305 builder.setSemanticAction(Notification.Action.SEMANTIC_ACTION_ARCHIVE);
309 assertEquals(Notification.Action.SEMANTIC_ACTION_ARCHIVE, action.getSemanticAction());
315 Notification.Action action = makeNotificationAction(
316 builder -> builder.setSemanticAction(Notification.Action
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmStore.java28 * {@link android.drm.DrmStore.Action actions} that can be performed
41 * {@link android.drm.DrmStore.Action action}.
50 * {@link android.drm.DrmStore.Action action}.
58 * an {@link android.drm.DrmStore.Action action} can be performed on
67 * an {@link android.drm.DrmStore.Action action} can not be performed on
163 public static class Action { class in class:DrmStore
218 public Action() {} method in class:DrmStore.Action
/frameworks/base/tools/aapt2/xml/
H A DXmlActionExecutor.h62 void Action(ActionFunc f);
63 void Action(ActionFuncWithDiag);
H A DXmlActionExecutor_test.cpp32 manifest_action.Action([&](Element* manifest) -> bool {
38 application_action.Action([&](Element* application) -> bool {
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DDetailsFragment.java26 import androidx.leanback.widget.Action;
63 private Action mActionPlay;
64 private Action mActionRent;
65 private Action mActionBuy;
87 mActionPlay = new Action(ACTION_PLAY, "Play");
88 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", ResourcesCompat.getDrawable(
90 mActionBuy = new Action(ACTION_BUY, "Buy $9.99");
98 public void onActionClicked(Action action) {
H A DDetailsSupportFragment.java29 import androidx.leanback.widget.Action;
66 private Action mActionPlay;
67 private Action mActionRent;
68 private Action mActionBuy;
90 mActionPlay = new Action(ACTION_PLAY, "Play");
91 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", ResourcesCompat.getDrawable(
93 mActionBuy = new Action(ACTION_BUY, "Buy $9.99");
101 public void onActionClicked(Action action) {
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DDetailsFragment.java26 import androidx.leanback.widget.Action;
63 private Action mActionPlay;
64 private Action mActionRent;
65 private Action mActionBuy;
87 mActionPlay = new Action(ACTION_PLAY, "Play");
88 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", ResourcesCompat.getDrawable(
90 mActionBuy = new Action(ACTION_BUY, "Buy $9.99");
98 public void onActionClicked(Action action) {
H A DDetailsSupportFragment.java29 import androidx.leanback.widget.Action;
66 private Action mActionPlay;
67 private Action mActionRent;
68 private Action mActionBuy;
90 mActionPlay = new Action(ACTION_PLAY, "Play");
91 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99", ResourcesCompat.getDrawable(
93 mActionBuy = new Action(ACTION_BUY, "Buy $9.99");
101 public void onActionClicked(Action action) {
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
H A DDetailsTestFragment.java28 import androidx.leanback.widget.Action;
75 private Action mActionRent;
76 private Action mActionBuy;
85 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99",
87 mActionBuy = new Action(ACTION_BUY, "Buy $9.99");
H A DDetailsTestSupportFragment.java25 import androidx.leanback.widget.Action;
72 private Action mActionRent;
73 private Action mActionBuy;
82 mActionRent = new Action(ACTION_RENT, "Rent", "$3.99",
84 mActionBuy = new Action(ACTION_BUY, "Buy $9.99");
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DPlaybackFragmentGlueHost.java22 import androidx.leanback.widget.Action;
68 if (item instanceof Action) {
69 listener.onActionClicked((Action) item);

Completed in 156 milliseconds

123456