Lines Matching defs:action
282 RetError AccessibleAbilityChannel::TransmitActionToMmi(const int32_t action)
284 HILOG_DEBUG("The action is %{public}d", action);
300 if (accessibleKeyCodeTable.at(action).first) {
301 SetKeyCodeToMmi(keyEventDown, true, accessibleKeyCodeTable.at(action).second.first);
302 SetKeyCodeToMmi(keyEventUp, false, accessibleKeyCodeTable.at(action).second.first);
304 SetKeyCodeToMmi(keyEventDown, true, accessibleKeyCodeTable.at(action).second.first);
305 SetKeyCodeToMmi(keyEventUp, false, accessibleKeyCodeTable.at(action).second.first);
306 SetKeyCodeToMmi(keyEventDown, true, accessibleKeyCodeTable.at(action).second.second);
325 const int32_t action, const std::map<std::string, std::string> &actionArguments, const int32_t requestId,
328 HILOG_DEBUG("ExecuteAction elementId:%{public}" PRId64 " winId:%{public}d, action:%{public}d, requestId:%{public}d",
329 elementId, accessibilityWindowId, action, requestId);
337 if (accessibleKeyCodeTable.find(action) != accessibleKeyCodeTable.end()) {
338 RetError ret = TransmitActionToMmi(action);
347 SetFocusWindowIdAndElementId(accessibilityWindowId, elementId, action);
353 eventHandler_->PostTask([accountId, clientName, syncPromise, accessibilityWindowId, elementId, treeId, action,
368 elementOperator->ExecuteAction(realElementId, action, actionArguments, requestId, callback);
381 const int64_t elementId, const int32_t action)
384 if ((action == ActionType::ACCESSIBILITY_ACTION_ACCESSIBILITY_FOCUS)) {
387 } else if (action == ActionType::ACCESSIBILITY_ACTION_CLEAR_ACCESSIBILITY_FOCUS) {