Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 1180) sorted by relevance

12345678910>>...48

/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionServiceImpl.java17 package com.android.messaging.datamodel.action;
56 protected static void startAction(final Action action) { in startAction() argument
59 actionBundle.putParcelable(BUNDLE_ACTION, action); in startAction()
61 action.markStart(); in startAction()
71 protected static void scheduleAction(final Action action, final int requestCode, in scheduleAction() argument
75 actionBundle.putParcelable(BUNDLE_ACTION, action); in scheduleAction()
86 protected static void handleResponseFromBackgroundWorker(final Action action, in handleResponseFromBackgroundWorker() argument
91 actionBundle.putParcelable(BUNDLE_ACTION, action); in handleResponseFromBackgroundWorker()
102 protected static void handleFailureFromBackgroundWorker(final Action action, in handleFailureFromBackgroundWorker() argument
107 actionBundle.putParcelable(BUNDLE_ACTION, action); in handleFailureFromBackgroundWorker()
[all …]
DActionMonitor.java17 package com.android.messaging.datamodel.action;
55 abstract void onActionExecuted(ActionMonitor monitor, final Action action, in onActionExecuted() argument
71 final Action action, final Object data, final Object result); in onActionSucceeded() argument
76 abstract void onActionFailed(ActionMonitor monitor, final Action action, in onActionFailed() argument
89 void onActionStateChanged(Action action, int state); in onActionStateChanged() argument
241 protected void updateState(final Action action, final int expectedOldState, in updateState() argument
256 listener.onActionStateChanged(action, newState); in updateState()
266 static void setState(final Action action, final int expectedOldState, in setState() argument
271 = ActionMonitor.lookupActionMonitor(action.actionKey); in setState()
274 monitor.updateState(action, expectedOldState, newState); in setState()
[all …]
DBackgroundWorkerService.java17 package com.android.messaging.datamodel.action;
60 for (final Action action : actions) { in queueBackgroundWork()
61 startServiceWithAction(action, 0); in queueBackgroundWork()
80 private static void startServiceWithAction(final Action action, in startServiceWithAction() argument
83 intent.putExtra(EXTRA_ACTION, action); in startServiceWithAction()
115 final Action action = intent.getParcelableExtra(EXTRA_ACTION); in onHandleWork() local
117 doBackgroundWork(action, attempt); in onHandleWork()
130 private void doBackgroundWork(final Action action, final int attempt) { in doBackgroundWork() argument
131 action.markBackgroundWorkStarting(); in doBackgroundWork()
135 TAG, action.getClass().getSimpleName() + "#doBackgroundWork"); in doBackgroundWork()
[all …]
DActionService.java17 package com.android.messaging.datamodel.action;
28 final Action action, final int requestCode, final boolean launchesAnActivity) { in makeStartActionPendingIntent() argument
29 return ActionServiceImpl.makeStartActionPendingIntent(context, action, requestCode, in makeStartActionPendingIntent()
36 public void startAction(final Action action) { in startAction() argument
37 ActionServiceImpl.startAction(action); in startAction()
43 public void scheduleAction(final Action action, final int code, in scheduleAction() argument
45 ActionServiceImpl.scheduleAction(action, code, delayMs); in scheduleAction()
52 final Action action, final Bundle response) { in handleResponseFromBackgroundWorker() argument
53 ActionServiceImpl.handleResponseFromBackgroundWorker(action, response); in handleResponseFromBackgroundWorker()
59 protected void handleFailureFromBackgroundWorker(final Action action, in handleFailureFromBackgroundWorker() argument
[all …]
DUpdateDestinationBlockedAction.java16 package com.android.messaging.datamodel.action;
31 abstract void onUpdateDestinationBlockedAction(final UpdateDestinationBlockedAction action, in onUpdateDestinationBlockedAction() argument
50 final Action action, in onActionDone() argument
54 (UpdateDestinationBlockedAction) action, in onActionDone()
56 action.actionParameters.getBoolean(KEY_BLOCKED), in onActionDone()
57 action.actionParameters.getString(KEY_DESTINATION)); in onActionDone()
62 final Action action, in onActionSucceeded() argument
65 onActionDone(true, monitor, action, data, result); in onActionSucceeded()
70 final Action action, in onActionFailed() argument
73 onActionDone(false, monitor, action, data, result); in onActionFailed()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java185 if (mState.action == ACTION_CREATE) { in setupLayout()
189 } else if (mState.action == ACTION_OPEN_TREE || in setupLayout()
190 mState.action == ACTION_PICK_COPY_DESTINATION) { in setupLayout()
199 if (mState.action == ACTION_GET_CONTENT) { in setupLayout()
204 } else if (mState.action == ACTION_OPEN || in setupLayout()
205 mState.action == ACTION_CREATE || in setupLayout()
206 mState.action == ACTION_OPEN_TREE || in setupLayout()
207 mState.action == ACTION_PICK_COPY_DESTINATION) { in setupLayout()
219 final String action = intent.getAction(); in includeState() local
220 if (Intent.ACTION_OPEN_DOCUMENT.equals(action)) { in includeState()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java77 public void onActionClicked(Action action); in onActionClicked() argument
85 public void onActionFocused(Action action); in onActionFocused() argument
96 public void onActionSelect(Action action); in onActionSelect() argument
101 public void onActionUnselect(Action action); in onActionUnselect() argument
182 Action action = mActions.get(position); in getView() local
185 description.setText(action.getDescription()); in getView()
187 TextUtils.isEmpty(action.getDescription()) ? View.GONE : View.VISIBLE); in getView()
188 title.setText(action.getTitle()); in getView()
190 checkmarkView.setVisibility(action.isChecked() ? View.VISIBLE : View.INVISIBLE); in getView()
193 setIndicator(indicatorView, action); in getView()
[all …]
DBaseActionFragment.java108 for (Action action : actions) { in onCreate()
109 mAdapter.addAction(action); in onCreate()
164 public void onActionClicked(Action action) { in onActionClicked() argument
166 if (!action.isEnabled() || action.infoOnly()) { in onActionClicked()
171 mListener.onActionClicked(action); in onActionClicked()
174 listener.onActionClicked(action); in onActionClicked()
179 public void onActionFocused(Action action) { in onActionFocused() argument
183 listener.onActionFocused(action); in onActionFocused()
188 public void onActionSelect(Action action) { in onActionSelect() argument
192 listener.onActionSelect(action); in onActionSelect()
[all …]
/packages/apps/Settings/src/com/android/settings/core/instrumentation/
DSettingsIntelligenceLogWriter.java65 action(attribution /* attribution */, in visible()
74 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in hidden()
82 public void action(Context context, int action, Pair<Integer, Object>... taggedData) { in action() argument
83 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
84 action, in action()
91 public void action(Context context, int action, int value) { in action() method in SettingsIntelligenceLogWriter
92 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
93 action, in action()
100 public void action(Context context, int action, boolean value) { in action() argument
101 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
[all …]
DStatsLogWriter.java49 public void action(Context context, int action, Pair<Integer, Object>... taggedData) { in action() argument
50 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
51 action, in action()
58 public void action(Context context, int action, int value) { in action() argument
59 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
60 action, in action()
67 public void action(Context context, int action, boolean value) { in action() method in StatsLogWriter
68 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
69 action, in action()
76 public void action(Context context, int action, String pkg) { in action() argument
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/instrumentation/
DSettingsIntelligenceLogWriter.java65 action(attribution /* attribution */, in visible()
74 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in hidden()
82 public void action(Context context, int action, Pair<Integer, Object>... taggedData) { in action() method in SettingsIntelligenceLogWriter
83 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
84 action, in action()
91 public void action(Context context, int action, int value) { in action() method in SettingsIntelligenceLogWriter
92 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
93 action, in action()
100 public void action(Context context, int action, boolean value) { in action() argument
101 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
[all …]
DStatsLogWriter.java49 public void action(Context context, int action, Pair<Integer, Object>... taggedData) { in action() argument
50 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
51 action, in action()
58 public void action(Context context, int action, int value) { in action() argument
59 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
60 action, in action()
67 public void action(Context context, int action, boolean value) { in action() argument
68 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action()
69 action, in action()
76 public void action(Context context, int action, String pkg) { in action() method in StatsLogWriter
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java144 public void logTaskLaunchOrDismiss(int action, int direction, int taskIndex, in logTaskLaunchOrDismiss() argument
146 LauncherEvent event = newLauncherEvent(newTouchAction(action), // TAP or SWIPE or FLING in logTaskLaunchOrDismiss()
148 if (action == Action.Touch.SWIPE || action == Action.Touch.FLING) { in logTaskLaunchOrDismiss()
150 event.action.dir = direction; in logTaskLaunchOrDismiss()
201 event.action.isStateChange = true; in logActionCommand()
222 public void logActionOnControl(int action, int controlType) { in logActionOnControl() argument
223 logActionOnControl(action, controlType, null, -1); in logActionOnControl()
226 public void logActionOnControl(int action, int controlType, int parentContainerType) { in logActionOnControl() argument
227 logActionOnControl(action, controlType, null, parentContainerType); in logActionOnControl()
230 public void logActionOnControl(int action, int controlType, @Nullable View controlInContainer) { in logActionOnControl() argument
[all …]
DLoggerUtils.java71 public static String getActionStr(Action action) { in getActionStr() argument
73 switch (action.type) { in getActionStr()
75 str += getFieldName(action.touch, Action.Touch.class); in getActionStr()
76 if (action.touch == Action.Touch.SWIPE || action.touch == Action.Touch.FLING) { in getActionStr()
77 str += " direction=" + getFieldName(action.dir, Action.Direction.class); in getActionStr()
81 str += getFieldName(action.command, Action.Command.class); in getActionStr()
83 default: return getFieldName(action.type, Action.Type.class); in getActionStr()
85 if (action.touch == Action.Touch.SWIPE || action.touch == Action.Touch.FLING || in getActionStr()
86 (action.command == Action.Command.BACK && action.dir != Action.Direction.NONE)) { in getActionStr()
87 str += " direction=" + getFieldName(action.dir, Action.Direction.class); in getActionStr()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/
DUserPresetsAdapter.java58 public void add(Action action) { in add() argument
59 super.add(action); in add()
60 action.setAdapter(this); in add()
63 private void deletePreset(Action action) { in deletePreset() argument
64 FilterRepresentation rep = action.getRepresentation(); in deletePreset()
68 remove(action); in deletePreset()
72 private void changePreset(Action action) { in changePreset() argument
73 FilterRepresentation rep = action.getRepresentation(); in changePreset()
74 rep.setName(action.getName()); in changePreset()
108 Action action = getItem(position); in getView() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DCategoryAdapter.java55 Action action = getItem(i); in clear() local
56 action.clearBitmap(); in clear()
70 public void add(Action action) { in add() argument
71 super.add(action); in add()
72 action.setAdapter(this); in add()
97 Action action = getItem(position); in getView() local
98 view.setAction(action, this); in getView()
101 if (action.getType() == Action.SPACER) { in getView()
108 if (action.getType() == Action.ADD_ACTION in getView()
156 Action action = getItem(i); in getTinyPlanet() local
[all …]
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DCarAssistUtils.java219 for (NotificationCompat.Action action : getAllActions(notification)) { in getMarkAsReadAction()
220 if (action.getSemanticAction() in getMarkAsReadAction()
222 return action; in getMarkAsReadAction()
235 .filter(action -> action.getSemanticAction() == SEMANTIC_ACTION_REPLY) in replyCallbackHasRemoteInput()
247 .filter(action -> SUPPORTED_SEMANTIC_ACTIONS.contains(action.getSemanticAction())) in assistantCallbacksShowNoUi()
291 String action = CarVoiceInteractionSession.VOICE_ACTION_READ_NOTIFICATION; in readMessageNotification() local
293 requestAction(action, sbn, args, callback); in readMessageNotification()
307 String action = CarVoiceInteractionSession.VOICE_ACTION_REPLY_NOTIFICATION; in replyMessageNotification() local
309 requestAction(action, sbn, args, callback); in replyMessageNotification()
312 private void requestAction(String action, StatusBarNotification sbn, Bundle payloadArguments, in requestAction() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java58 String action = intent.getAction(); in resolveIntent() local
60 Log.i(TAG, "Called with action: " + action); in resolveIntent()
62 if (UiIntentActions.LIST_DEFAULT.equals(action) ) { in resolveIntent()
64 } else if (UiIntentActions.LIST_ALL_CONTACTS_ACTION.equals(action)) { in resolveIntent()
66 } else if (UiIntentActions.LIST_CONTACTS_WITH_PHONES_ACTION.equals(action)) { in resolveIntent()
68 } else if (UiIntentActions.LIST_STARRED_ACTION.equals(action)) { in resolveIntent()
70 } else if (UiIntentActions.LIST_FREQUENT_ACTION.equals(action)) { in resolveIntent()
72 } else if (UiIntentActions.LIST_STREQUENT_ACTION.equals(action)) { in resolveIntent()
74 } else if (UiIntentActions.LIST_GROUP_ACTION.equals(action)) { in resolveIntent()
77 } else if (UiIntentActions.ACTION_SELECT_ITEMS.equals(action)) { in resolveIntent()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomBroadcastIntentProcessor.java100 String action = intent.getAction(); in processIntent() local
102 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || in processIntent()
103 ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action) || in processIntent()
104 ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent()
105 Log.v(this, "Action received: %s.", action); in processIntent()
115 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action)) { in processIntent()
125 } else if (ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action)) { in processIntent()
136 } else if (ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent()
139 } else if (ACTION_ANSWER_FROM_NOTIFICATION.equals(action)) { in processIntent()
150 } else if (ACTION_REJECT_FROM_NOTIFICATION.equals(action)) { in processIntent()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/events/
DEvents.java38 public static void sendAlarmEvent(@StringRes int action, @StringRes int label) { in sendAlarmEvent() argument
39 sendEvent(R.string.category_alarm, action, label); in sendAlarmEvent()
48 public static void sendClockEvent(@StringRes int action, @StringRes int label) { in sendClockEvent() argument
49 sendEvent(R.string.category_clock, action, label); in sendClockEvent()
58 public static void sendTimerEvent(@StringRes int action, @StringRes int label) { in sendTimerEvent() argument
59 sendEvent(R.string.category_timer, action, label); in sendTimerEvent()
68 public static void sendStopwatchEvent(@StringRes int action, @StringRes int label) { in sendStopwatchEvent() argument
69 sendEvent(R.string.category_stopwatch, action, label); in sendStopwatchEvent()
78 public static void sendScreensaverEvent(@StringRes int action, @StringRes int label) { in sendScreensaverEvent() argument
79 sendEvent(R.string.category_screensaver, action, label); in sendScreensaverEvent()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceSystemTest.java17 package com.android.messaging.datamodel.action;
34 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
35 import com.android.messaging.datamodel.action.ActionMonitor.ActionExecutedListener;
36 import com.android.messaging.datamodel.action.ActionTestHelpers.ResultTracker;
37 import com.android.messaging.datamodel.action.ActionTestHelpers.StubBackgroundWorker;
38 import com.android.messaging.datamodel.action.ActionTestHelpers.StubConnectivityUtil;
39 import com.android.messaging.datamodel.action.ActionTestHelpers.StubLoader;
55 final Action action, final Object data, final Object result) { in onActionSucceeded() argument
56 final TestChatAction test = (TestChatAction) action; in onActionSucceeded()
66 public void onActionFailed(final ActionMonitor monitor, final Action action, in onActionFailed() argument
[all …]
DActionTestHelpers.java17 package com.android.messaging.datamodel.action;
86 Action action; field in ActionTestHelpers.StubChatActionMonitor.StateTransition
89 public StateTransition(final Action action, final int from, final int to) { in StateTransition() argument
90 this.action = action; in StateTransition()
108 protected void updateState(final Action action, final int expectedState, in updateState() argument
110 mTransitions.add(new StateTransition(action, mState, state)); in updateState()
111 super.updateState(action, expectedState, state); in updateState()
125 public final Action action; field in ActionTestHelpers.StubActionService.StubActionServiceCallLog
131 public StubActionServiceCallLog(final Action action, in StubActionServiceCallLog() argument
136 this.action = action; in StubActionServiceCallLog()
[all …]
DActionServiceTest.java17 package com.android.messaging.datamodel.action;
34 import com.android.messaging.datamodel.action.ActionMonitor.ActionCompletedListener;
35 import com.android.messaging.datamodel.action.ActionMonitor.ActionStateChangedListener;
36 import com.android.messaging.datamodel.action.ActionTestHelpers.ResultTracker;
37 import com.android.messaging.datamodel.action.ActionTestHelpers.StubBackgroundWorker;
38 import com.android.messaging.datamodel.action.ActionTestHelpers.StubConnectivityUtil;
39 import com.android.messaging.datamodel.action.ActionTestHelpers.StubLoader;
49 public void onActionStateChanged(final Action action, final int state) { in onActionStateChanged() argument
55 final Action action, final Object data, final Object result) { in onActionSucceeded() argument
56 final TestChatAction test = (TestChatAction) action; in onActionSucceeded()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupGuidedStepFragment.java123 public boolean performAccessibilityAction(View host, int action, Bundle args) { in onResume()
124 if (action == AccessibilityNodeInfo.ACTION_ACCESSIBILITY_FOCUS in onResume()
132 return super.performAccessibilityAction(host, action, args); in onResume()
162 public void onGuidedActionClicked(GuidedAction action) {
163 if (!action.isFocusable()) {
168 SetupActionHelper.onActionClick(this, getActionCategory(), (int) action.getId());
182 GuidedAction action) {
183 if (!mAccessibilityMode || findActionPositionById(action.getId()) == 0) {
189 public boolean performAccessibilityAction(View host, int action, Bundle args) {
190 if ((action == AccessibilityNodeInfo.ACTION_FOCUS
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTouchEventGenerator.java87 int action; in put() local
89 action = MotionEvent.ACTION_DOWN; in put()
91 action = MotionEvent.ACTION_POINTER_DOWN; in put()
93 action |= id << MotionEvent.ACTION_POINTER_INDEX_SHIFT; in put()
95 generateEvent(action, ms); in put()
158 int action; in lift() local
160 action = MotionEvent.ACTION_UP; in lift()
162 action = MotionEvent.ACTION_POINTER_UP; in lift()
164 action |= id << MotionEvent.ACTION_POINTER_INDEX_SHIFT; in lift()
166 generateEvent(action, ms); in lift()
[all …]

12345678910>>...48