Home
last modified time | relevance | path

Searched refs:EventAction (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/
H A Dtouch_listener_component.h71 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_DOWN] = onTouchDownId; in SetOnTouchDownId()
75 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_MOVE] = onTouchMoveId; in SetOnTouchMoveId()
79 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_UP] = onTouchUpId; in SetOnTouchUpId()
83 eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_CANCEL] = onTouchCancel; in SetOnTouchCancel()
97 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_DOWN]; in GetOnTouchDownId()
101 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_MOVE]; in GetOnTouchMoveId()
105 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_UP]; in GetOnTouchUpId()
109 return eventIds_[EventAction::ON][EventStage::BUBBLE][EventType::TOUCH_CANCEL]; in GetOnTouchCancelId()
131 EventMarker eventIds_[EventAction::SIZE][EventStage::SIZE][EventType::SIZE];
132 EventMarker swipeIds_[EventAction::SIZE][EventStage::SIZE];
H A Drender_touch_listener.cpp45 auto& onEventId = touchComponent->GetEvent(EventAction::ON, eventStage, touchEventType); in Update()
51 … auto& catchEventId = touchComponent->GetEvent(EventAction::CATCH, eventStage, touchEventType); in Update()
58 auto& onEventId = touchComponent->GetSwipeEvent(EventAction::ON, eventStage); in Update()
66 auto& catchEventId = touchComponent->GetSwipeEvent(EventAction::CATCH, eventStage); in Update()
79 …if (!touchComponent->GetEvent(EventAction::CATCH, EventStage::CAPTURE, EventType::TOUCH_DOWN).IsEm… in Update()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_node.h746 if (action == EventAction::ON && stage == EventStage::CAPTURE) { in GetSwipeId()
748 } else if (action == EventAction::CATCH && stage == EventStage::BUBBLE) { in GetSwipeId()
750 } else if (action == EventAction::ON && stage == EventStage::BUBBLE) { in GetSwipeId()
768 …if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_CANCEL) { in GetTouchId()
770 …} else if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_U… in GetTouchId()
772 …} else if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_M… in GetTouchId()
774 …} else if (action == EventAction::ON && stage == EventStage::CAPTURE && type == EventType::TOUCH_D… in GetTouchId()
778 …} else if (action == EventAction::CATCH && stage == EventStage::BUBBLE && type == EventType::TOUCH… in GetTouchId()
794 …} else if (action == EventAction::ON && stage == EventStage::BUBBLE && type == EventType::TOUCH_UP… in GetTouchId()
796 …} else if (action == EventAction::ON && stage == EventStage::BUBBLE && type == EventType::TOUCH_MO… in GetTouchId()
[all …]
H A Ddom_node.cpp113 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in ~DOMNode()
1841 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in UpdateTouchEventComponent()
1867 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in UpdateTouchEventComponent()
1876 eventAction == EventAction::ON && eventStage == EventStage::BUBBLE) { in UpdateTouchEventComponent()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/evloop/src/
H A Dievent.h26 using EventAction = std::function<int(EventsMask revents)>; variable
41 virtual int SetAction(const EventAction &action, const EventFinalizer &finalizer = nullptr) = 0;
H A Devent_impl.h32 int SetAction(const EventAction &action, const EventFinalizer &finalizer) override;
69 EventAction action_;
H A Devent_impl.cpp87 int EventImpl::SetAction(const EventAction &action, const EventFinalizer &finalizer) in SetAction()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Draw_recognizer.h25 namespace EventAction {