/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ActionServiceImpl.java | 17 package com.android.messaging.datamodel.action; 55 protected static void startAction(final Action action) { in startAction() argument 58 actionBundle.putParcelable(BUNDLE_ACTION, action); in startAction() 60 action.markStart(); in startAction() 70 protected static void scheduleAction(final Action action, final int requestCode, in scheduleAction() argument 74 actionBundle.putParcelable(BUNDLE_ACTION, action); in scheduleAction() 85 protected static void handleResponseFromBackgroundWorker(final Action action, in handleResponseFromBackgroundWorker() argument 90 actionBundle.putParcelable(BUNDLE_ACTION, action); in handleResponseFromBackgroundWorker() 101 protected static void handleFailureFromBackgroundWorker(final Action action, in handleFailureFromBackgroundWorker() argument 106 actionBundle.putParcelable(BUNDLE_ACTION, action); in handleFailureFromBackgroundWorker() [all …]
|
D | ActionMonitor.java | 17 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 …]
|
D | BackgroundWorkerService.java | 17 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 …]
|
D | ActionService.java | 17 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 …]
|
D | UpdateDestinationBlockedAction.java | 16 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/ |
D | PickActivity.java | 185 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/ |
D | ActionAdapter.java | 77 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 …]
|
D | BaseActionFragment.java | 108 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/ |
D | SettingsIntelligenceLogWriter.java | 65 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 …]
|
D | StatsLogWriter.java | 49 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() method in StatsLogWriter 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/instrumentation/ |
D | SettingsIntelligenceLogWriter.java | 65 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() method in SettingsIntelligenceLogWriter 101 action(SettingsEnums.PAGE_UNKNOWN /* attribution */, in action() [all …]
|
D | StatsLogWriter.java | 49 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() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/logging/ |
D | UserEventDispatcher.java | 159 public void logTaskLaunchOrDismiss(int action, int direction, int taskIndex, in logTaskLaunchOrDismiss() argument 161 LauncherEvent event = newLauncherEvent(newTouchAction(action), // TAP or SWIPE or FLING in logTaskLaunchOrDismiss() 163 if (action == Action.Touch.SWIPE || action == Action.Touch.FLING) { in logTaskLaunchOrDismiss() 165 event.action.dir = direction; in logTaskLaunchOrDismiss() 224 event.action.isStateChange = true; in logActionCommand() 245 public void logActionOnControl(int action, int controlType) { in logActionOnControl() argument 246 logActionOnControl(action, controlType, null, -1); in logActionOnControl() 249 public void logActionOnControl(int action, int controlType, int parentContainerType) { in logActionOnControl() argument 250 logActionOnControl(action, controlType, null, parentContainerType); in logActionOnControl() 253 public void logActionOnControl(int action, int controlType, @Nullable View controlInContainer) { in logActionOnControl() argument [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | UserPresetsAdapter.java | 58 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/ |
D | CategoryAdapter.java | 55 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/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomBroadcastIntentProcessor.java | 117 String action = intent.getAction(); in processIntent() local 119 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action) || in processIntent() 120 ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action) || in processIntent() 121 ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent() 122 Log.v(this, "Action received: %s.", action); in processIntent() 132 if (ACTION_SEND_SMS_FROM_NOTIFICATION.equals(action)) { in processIntent() 139 } else if (ACTION_CALL_BACK_FROM_NOTIFICATION.equals(action)) { in processIntent() 146 } else if (ACTION_CLEAR_MISSED_CALLS.equals(action)) { in processIntent() 149 } else if(ACTION_DISCONNECTED_SEND_SMS_FROM_NOTIFICATION.equals(action) || in processIntent() 150 ACTION_DISCONNECTED_CALL_BACK_FROM_NOTIFICATION.equals(action)) { in processIntent() [all …]
|
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/ |
D | CarAssistUtils.java | 220 for (NotificationCompat.Action action : getAllActions(notification)) { in getMarkAsReadAction() 221 if (action.getSemanticAction() in getMarkAsReadAction() 223 return action; in getMarkAsReadAction() 235 for (NotificationCompat.Action action : getAllActions(notification)) { in getReplyAction() 236 if (action.getSemanticAction() in getReplyAction() 238 return action; in getReplyAction() 251 .filter(action -> action.getSemanticAction() == SEMANTIC_ACTION_REPLY) in replyCallbackHasRemoteInput() 263 .filter(action -> SUPPORTED_SEMANTIC_ACTIONS.contains(action.getSemanticAction())) in assistantCallbacksShowNoUi() 307 String action = CarVoiceInteractionSession.VOICE_ACTION_READ_NOTIFICATION; in readMessageNotification() local 309 requestAction(action, sbn, args, callback); in readMessageNotification() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsIntentResolver.java | 58 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/apps/DeskClock/src/com/android/deskclock/events/ |
D | Events.java | 38 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 …]
|
D | Events.kt | 38 fun sendAlarmEvent(@StringRes action: Int, @StringRes label: Int) { in sendAlarmEvent() 39 sendEvent(R.string.category_alarm, action, label) in sendAlarmEvent() 49 fun sendClockEvent(@StringRes action: Int, @StringRes label: Int) { in sendClockEvent() 50 sendEvent(R.string.category_clock, action, label) in sendClockEvent() 60 fun sendTimerEvent(@StringRes action: Int, @StringRes label: Int) { in sendTimerEvent() 61 sendEvent(R.string.category_timer, action, label) in sendTimerEvent() 71 fun sendStopwatchEvent(@StringRes action: Int, @StringRes label: Int) { in sendStopwatchEvent() 72 sendEvent(R.string.category_stopwatch, action, label) in sendStopwatchEvent() 82 fun sendScreensaverEvent(@StringRes action: Int, @StringRes label: Int) { in sendScreensaverEvent() 83 sendEvent(R.string.category_screensaver, action, label) in sendScreensaverEvent() [all …]
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionTestHelpers.java | 17 package com.android.messaging.datamodel.action; 84 Action action; field in ActionTestHelpers.StubChatActionMonitor.StateTransition 87 public StateTransition(final Action action, final int from, final int to) { in StateTransition() argument 88 this.action = action; in StateTransition() 106 protected void updateState(final Action action, final int expectedState, in updateState() argument 108 mTransitions.add(new StateTransition(action, mState, state)); in updateState() 109 super.updateState(action, expectedState, state); in updateState() 123 public final Action action; field in ActionTestHelpers.StubActionService.StubActionServiceCallLog 129 public StubActionServiceCallLog(final Action action, in StubActionServiceCallLog() argument 134 this.action = action; in StubActionServiceCallLog() [all …]
|
D | ActionServiceSystemTest.java | 17 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.StubLoader; 54 final Action action, final Object data, final Object result) { in onActionSucceeded() argument 55 final TestChatAction test = (TestChatAction) action; in onActionSucceeded() 65 public void onActionFailed(final ActionMonitor monitor, final Action action, in onActionFailed() argument 67 final TestChatAction test = (TestChatAction) action; in onActionFailed() [all …]
|
D | ActionServiceTest.java | 17 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.StubLoader; 48 public void onActionStateChanged(final Action action, final int state) { in onActionStateChanged() argument 54 final Action action, final Object data, final Object result) { in onActionSucceeded() argument 55 final TestChatAction test = (TestChatAction) action; in onActionSucceeded() 68 public void onActionFailed(final ActionMonitor monitor, final Action action, in onActionFailed() argument [all …]
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/ |
D | SetupGuidedStepFragment.java | 123 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/ |
D | TouchEventGenerator.java | 87 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 …]
|