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

1234

/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DActionMultiMap.java23 * Provide a simple way of collecting one or more {@link Action} objects
26 public class ActionMultiMap extends HashMap<String, ArrayList<Action>> {
27 public void put(String mimeType, Action info) {
32 * Puts the (mimeType,Action) tuple into the multimap at the front if
35 public void put(String mimeType, Action info, boolean front) {
37 ArrayList<Action> collectList = get(mimeType);
41 collectList = new ArrayList<Action>();
H A DAction.java29 public interface Action extends Collapser.Collapsible<Action> { interface in inherits:Collapser.Collapsible
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionService.java28 final Action action, final int requestCode, final boolean launchesAnActivity) {
36 public void startAction(final Action action) {
43 public void scheduleAction(final Action action, final int code,
52 final Action action, final Bundle response) {
59 protected void handleFailureFromBackgroundWorker(final Action action,
H A DBackgroundWorker.java29 public void queueBackgroundWork(final List<Action> backgroundActions) {
H A DActionServiceImpl.java50 protected static void startAction(final Action action) {
65 protected static void scheduleAction(final Action action, final int requestCode,
80 protected static void handleResponseFromBackgroundWorker(final Action action,
96 protected static void handleFailureFromBackgroundWorker(final Action action,
190 final Action action, final int requestCode, final boolean launchesAnActivity) {
261 Action action;
266 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION);
272 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION);
279 action = (Action) actionBundle.getParcelable(BUNDLE_ACTION);
299 private void executeAction(final Action actio
[all...]
H A DAction.java39 public abstract class Action implements Parcelable { class in inherits:Parcelable
49 private final List<Action> mBackgroundActions = new LinkedList<Action>();
73 * or {@link #processBackgroundFailure}) on the Action thread.
76 protected void requestBackgroundWork(final Action backgroundAction) {
98 * be called. {@link #processBackgroundFailure} will be called on the Action service thread
126 protected Action(final String key) { method in class:Action
134 protected Action() { method in class:Action
202 * (or failure) to the Action service
280 * to parcel Action membe
290 public Action(final Parcel in) { method in class:Action
[all...]
H A DBackgroundWorkerService.java58 public static void queueBackgroundWork(final List<Action> actions) {
59 for (final Action action : actions) {
79 private static void startServiceWithAction(final Action action,
121 final Action action = intent.getParcelableExtra(EXTRA_ACTION);
138 private void doBackgroundWork(final Action action, final int attempt) {
H A DActionMonitor.java52 * @param result value returned by {@link Action#executeAction}
55 abstract void onActionExecuted(ActionMonitor monitor, final Action action,
65 * {@link Action#executeAction} if there is no background work, or
67 * {@link Action#processBackgroundResponse}
71 final Action action, final Object data, final Object result);
73 * @param result value returned by {@link Action#processBackgroundFailure}
76 abstract void onActionFailed(ActionMonitor monitor, final Action action,
89 void onActionStateChanged(Action action, int state);
110 protected static final int STATE_QUEUED = 2; // Action queued for processing
111 protected static final int STATE_EXECUTING = 3; // Action processin
[all...]
H A DUpdateDestinationBlockedAction.java28 public class UpdateDestinationBlockedAction extends Action {
50 final Action action,
62 final Action action,
70 final Action action,
H A DUpdateMessageNotificationAction.java27 public class UpdateMessageNotificationAction extends Action {
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DActionTestHelpers.java61 mActions = new ArrayList<Action>();
64 ArrayList<Action> mActions;
65 public ArrayList<Action> getRequestsMade() {
70 public void queueBackgroundWork(final List<Action> actions) {
86 Action action;
89 public StateTransition(final Action action, final int from, final int to) {
108 protected void updateState(final Action action, final int expectedState,
125 public final Action action;
126 public final Action request;
129 public final Action updat
[all...]
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DCarActionExtender.java23 * Android Auto {@link android.app.Notification.Action} extender.
26 public class CarActionExtender implements NotificationCompat.Action.Extender {
35 public CarActionExtender(NotificationCompat.Action action) {
44 public NotificationCompat.Action.Builder extend(NotificationCompat.Action.Builder builder) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
H A DActionFragment.java35 public static ActionFragment newInstance(ArrayList<Action> actions) {
39 public static ActionFragment newInstance(ArrayList<Action> actions, String name) {
45 public static ActionFragment newInstance(ArrayList<Action> actions, int index) {
51 public static ActionFragment newInstance(ArrayList<Action> actions, String name, int index) {
81 public void onActionClicked(Action action) {
86 public void onActionFocused(Action action) {
91 public void onActionSelect(Action action) {
96 public void onActionUnselect(Action action) {
H A DAction.java34 public class Action implements Parcelable { class in inherits:Parcelable
36 private static final String TAG = "Action";
62 * Builds a Action object.
79 public Action build() {
80 return new Action(
162 protected Action(String key, String title, String description, String resourcePackageName, method in class:Action
181 * Returns a list of {@link Action} with the specified keys and titles
186 public static ArrayList<Action> createActionsFromArrays(String[] keys, String[] titles) {
191 * Returns a list of {@link Action} with the specified keys and titles
196 public static ArrayList<Action> createActionsFromArray
[all...]
H A DBaseActionFragment.java79 public static Bundle buildArgs(ArrayList<Action> actions, String name) {
86 public static Bundle buildArgs(ArrayList<Action> actions, int index) {
93 public static Bundle buildArgs(ArrayList<Action> actions, String name, int index) {
105 ArrayList<Action> actions = savedInstanceState.getParcelableArrayList(EXTRA_ACTIONS);
108 for (Action action : actions) {
164 public void onActionClicked(Action action) {
179 public void onActionFocused(Action action) {
188 public void onActionSelect(Action action) {
197 public void onActionUnselect(Action action) {
233 ArrayList<Action> action
[all...]
H A DActionAdapter.java83 public void onActionClicked(Action action);
91 public void onActionFocused(Action action);
102 public void onActionSelect(Action action);
107 public void onActionUnselect(Action action);
120 private final List<Action> mActions;
188 Action action = mActions.get(position);
243 public void addAction(Action action) {
251 public ArrayList<Action> getActions() {
255 public void setActions(ArrayList<Action> actions) {
283 Action actio
[all...]
/packages/apps/Dialer/src/com/android/dialer/voicemail/
H A DVoicemailStatusHelperImpl.java60 public static enum Action { enum in class:VoicemailStatusHelperImpl
66 private Action(int messageId) { method in class:VoicemailStatusHelperImpl.Action
84 NO_CONNECTION(0, Action.CALL_VOICEMAIL, R.string.voicemail_status_voicemail_not_available,
87 NO_DATA(1, Action.CALL_VOICEMAIL, R.string.voicemail_status_voicemail_not_available,
90 MESSAGE_WAITING(2, Action.CALL_VOICEMAIL, R.string.voicemail_status_messages_waiting,
93 NO_NOTIFICATIONS(3, Action.CALL_VOICEMAIL,
96 INVITE_FOR_CONFIGURATION(4, Action.CONFIGURE_VOICEMAIL,
102 NO_DETAILED_NOTIFICATION(5, Action.NONE, -1),
104 NOT_CONFIGURED(6, Action.NONE, -1),
106 OK(7, Action
[all...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/form/
H A DMultiPagedForm.java19 import com.android.tv.settings.dialog.old.Action;
57 public void onActionClicked(Action action) {
294 protected ActionFragment getActionFragment(FormPage formPage, ArrayList<Action> actions,
295 Action selectedAction) {
314 protected ActionFragment getResultActionFragment(ArrayList<Action> actions) {
431 public void onActionClicked(Action action) {
469 private ArrayList<Action> getActions(FormPage formPage) {
470 ArrayList<Action> actions = new ArrayList<Action>();
472 actions.add(new Action
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/logging/
H A DLoggerUtils.java12 import com.android.launcher3.userevent.nano.LauncherLogProto.Action;
23 public static String getActionStr(LauncherLogProto.Action action) {
25 case Action.TAP: return "TAP";
26 case Action.LONGPRESS: return "LONGPRESS";
27 case Action.DRAGDROP: return "DRAGDROP";
28 case Action.PINCH: return "PINCH";
29 case Action.SWIPE: return "SWIPE";
30 case Action.FLING: return "FLING";
153 event.action = new LauncherLogProto.Action();
170 event.action = new LauncherLogProto.Action();
[all...]
H A DUserEventDispatcher.java30 import com.android.launcher3.userevent.nano.LauncherLogProto.Action;
120 Action.TOUCH, v, Target.CONTAINER);
121 event.action.touch = Action.TAP;
155 LauncherEvent event = LoggerUtils.initLauncherEvent(Action.TOUCH, Target.ITEM);
162 LauncherEvent event = LoggerUtils.initLauncherEvent(Action.TOUCH, Target.CONTROL);
169 LauncherEvent event = LoggerUtils.initLauncherEvent(Action.TOUCH, Target.CONTAINER);
178 Action.TOUCH, icon, Target.CONTAINER);
185 event.action.touch = Action.LONGPRESS;
194 LauncherEvent event = LoggerUtils.initLauncherEvent(Action.TOUCH,
199 event.action.touch = Action
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
H A DUserPresetsAdapter.java29 import com.android.gallery3d.filtershow.category.Action;
36 public class UserPresetsAdapter extends ArrayAdapter<Action>
58 public void add(Action action) {
63 private void deletePreset(Action action) {
72 private void changePreset(Action action) {
108 Action action = getItem(position);
144 Action action = (Action) v.getTag();
164 Action action = (Action) editTex
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
H A DCategoryAdapter.java31 public class CategoryAdapter extends ArrayAdapter<Action> {
55 Action action = getItem(i);
70 public void add(Action action) {
97 Action action = getItem(position);
101 if (action.getType() == Action.SPACER) {
108 if (action.getType() == Action.ADD_ACTION
156 Action action = getItem(i);
168 Action action = getItem(i);
179 public void remove(Action action) {
H A DCategoryView.java40 private Action mAction;
76 if (mAction.getType() == Action.CROP_VIEW) {
79 if (mAction.getType() == Action.ADD_ACTION) {
102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) {
110 if (mAction.getType() == Action.SPACER) {
130 public void setAction(Action action, CategoryAdapter adapter) {
136 if (mAction.getType() == Action.ADD_ACTION) {
150 if (mAction.getType() == Action.ADD_ACTION) {
152 } else if (mAction.getType() != Action.SPACER) {
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DSnackBar.java48 public static class Action { class in class:SnackBar
55 private Action(@Nullable Runnable actionRunnable, @Nullable String actionLabel) { method in class:SnackBar.Action
68 public static Action createUndoAction(final Runnable undoRunnable) {
73 public static Action createRetryAction(final Runnable retryRunnable) {
79 public static Action createCustomAction(final Runnable runnable, final String actionLabel) {
80 return new Action(runnable, actionLabel);
130 private Action mAction;
149 public Builder setAction(final Action action) {
196 private final Action mAction;
/packages/apps/Launcher3/protos/
H A Dlauncher_log.proto98 message Action {
126 // Action (Touch) + Target
127 // Action (Touch) + Target + Target
131 required Action action = 1;

Completed in 748 milliseconds

1234