/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | input_event_hub.cpp | 36 auto getEventTargetImpl = eventHub ? eventHub->CreateGetEventTargetImpl() : nullptr; in ProcessMouseTestHit() local 39 mouseEventActuator_->OnCollectMouseEvent(coordinateOffset, getEventTargetImpl, result); in ProcessMouseTestHit() 42 hoverEventActuator_->OnCollectHoverEvent(coordinateOffset, getEventTargetImpl, result); in ProcessMouseTestHit() 45 hoverEffectActuator_->OnCollectHoverEffect(coordinateOffset, getEventTargetImpl, result); in ProcessMouseTestHit() 51 coordinateOffset, getEventTargetImpl, result, host); in ProcessMouseTestHit() 59 auto getEventTargetImpl = eventHub ? eventHub->CreateGetEventTargetImpl() : nullptr; in ProcessPenHoverTestHit() local 62 hoverEventActuator_->OnCollectPenHoverEvent(coordinateOffset, getEventTargetImpl, result); in ProcessPenHoverTestHit() 71 auto getEventTargetImpl = eventHub ? eventHub->CreateGetEventTargetImpl() : nullptr; in ProcessAxisTestHit() local 74 axisEventActuator_->OnCollectAxisEvent(coordinateOffset, getEventTargetImpl, onAxisResult); in ProcessAxisTestHit()
|
H A D | input_event.cpp | 37 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& re… in OnCollectMouseEvent() argument 63 mouseEventTarget_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectMouseEvent() 68 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& re… in OnCollectHoverEvent() argument 95 hoverEventTarget_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectHoverEvent() 100 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& re… in OnCollectPenHoverEvent() argument 127 penHoverEventTarget_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectPenHoverEvent() 132 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& re… in OnCollectHoverEffect() argument 140 hoverEffectTarget_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectHoverEffect() 146 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& ho… in OnCollectAccessibilityHoverEvent() argument 164 accessibilityHoverEventTarget_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectAccessibilityHoverEvent() [all …]
|
H A D | scrollable_event.cpp | 54 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const PointF& localPoint, in CollectTouchTarget() argument 65 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in CollectTouchTarget() 68 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in CollectTouchTarget() 70 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in CollectTouchTarget() 73 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in CollectTouchTarget() 78 …InitClickRecognizer(coordinateOffset, getEventTargetImpl, frameNode, targetComponent, event, click… in CollectTouchTarget() 88 const GetEventTargetImpl& getEventTargetImpl, const RefPtr<FrameNode>& frameNode, in InitClickRecognizer() argument 98 clickRecognizer_->SetGetEventTargetImpl(getEventTargetImpl); in InitClickRecognizer() 122 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& fr… in CollectScrollableTouchTarget() argument 126 scrollable_->SetGetEventTargetImpl(getEventTargetImpl); in CollectScrollableTouchTarget()
|
H A D | scrollable_event.h | 119 …arCollectTouchTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, in BarCollectTouchTarget() argument 125 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in BarCollectTouchTarget() 157 …llectLongPressTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, in BarCollectLongPressTarget() argument 163 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in BarCollectLongPressTarget() 177 …crollableTouchTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 225 … const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const PointF& localPoint, 229 … InitClickRecognizer(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl,
|
H A D | input_event.h | 190 … OnCollectMouseEvent(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 194 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& re… 196 …OnCollectHoverEffect(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 199 …essibilityHoverEvent(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 203 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& re… 206 …const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, AxisTestResult& onA…
|
H A D | long_press_event.cpp | 31 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, ResponseLinkResult& respons… in OnCollectTouchTarget() argument 47 longPressRecognizer_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectTouchTarget()
|
H A D | click_event.cpp | 33 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, ResponseLinkResult& respons… in OnCollectTouchTarget() argument 50 clickRecognizer_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectTouchTarget()
|
H A D | pan_event.cpp | 45 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, ResponseLinkResult& respons… in OnCollectTouchTarget() argument 141 panRecognizer_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectTouchTarget()
|
H A D | touch_event.h | 130 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, in OnCollectTouchTarget() argument 133 SetGetEventTargetImpl(getEventTargetImpl); in OnCollectTouchTarget()
|
H A D | gesture_event_actuator.h | 36 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, ResponseLinkResult& respons… in OnCollectTouchTarget() argument
|
H A D | long_press_event.h | 81 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result,
|
H A D | pan_event.h | 103 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result,
|
H A D | gesture_event_hub.cpp | 101 auto getEventTargetImpl = eventHub ? eventHub->CreateGetEventTargetImpl() : nullptr; in ProcessTouchTestHit() local 103 …scrollableActuator_->CollectTouchTarget(coordinateOffset, touchRestrict, getEventTargetImpl, inner… in ProcessTouchTestHit() 113 coordinateOffset, touchRestrict, getEventTargetImpl, innerTargets, responseLinkResult); in ProcessTouchTestHit() 117 coordinateOffset, touchRestrict, getEventTargetImpl, innerTargets, responseLinkResult); in ProcessTouchTestHit() 126 clickRecognizer->SetGetEventTargetImpl(getEventTargetImpl); in ProcessTouchTestHit() 131 coordinateOffset, touchRestrict, getEventTargetImpl, innerTargets, responseLinkResult); in ProcessTouchTestHit() 137 coordinateOffset, touchRestrict, getEventTargetImpl, dragTargets, responseLinkResult); in ProcessTouchTestHit() 141 coordinateOffset, touchRestrict, getEventTargetImpl, dragTargets, responseLinkResult); in ProcessTouchTestHit() 302 auto getEventTargetImpl = eventHub ? eventHub->CreateGetEventTargetImpl() : nullptr; in ProcessTouchTestHierarchy() local 311 … recognizerGroup->SetRecognizerInfoRecursively(offset, host, targetComponent, getEventTargetImpl); in ProcessTouchTestHierarchy() [all …]
|
H A D | click_event.h | 142 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result,
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | click_event_test_ng.cpp | 174 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 175 EXPECT_NE(getEventTargetImpl, nullptr); 179 … COORDINATE_OFFSET, CLICK_TOUCH_RESTRICT, getEventTargetImpl, finalResult, responseLinkResult); 190 … COORDINATE_OFFSET, CLICK_TOUCH_RESTRICT, getEventTargetImpl, finalResult, responseLinkResult); 198 getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); 199 EXPECT_NE(getEventTargetImpl, nullptr); 203 … COORDINATE_OFFSET, CLICK_TOUCH_RESTRICT, getEventTargetImpl, finalResult, responseLinkResult); 265 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 266 EXPECT_NE(getEventTargetImpl, nullptr); 310 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable [all …]
|
H A D | input_event_test_ng.cpp | 89 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 90 …inputEventHub->mouseEventActuator_->OnCollectMouseEvent(COORDINATE_OFFSET, getEventTargetImpl, Res… 121 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 145 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 169 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 191 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 217 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 218 …inputEventHub->axisEventActuator_->OnCollectAxisEvent(COORDINATE_OFFSET, getEventTargetImpl, Resul… 243 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 270 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable [all …]
|
H A D | drag_event_test_ng.cpp | 179 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 180 EXPECT_NE(getEventTargetImpl, nullptr); 371 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 373 EXPECT_NE(getEventTargetImpl, nullptr); 427 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 428 EXPECT_NE(getEventTargetImpl, nullptr); 493 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 494 EXPECT_NE(getEventTargetImpl, nullptr); 540 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable 632 auto getEventTargetImpl = eventHub->CreateGetEventTargetImpl(); variable [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_pattern.cpp | 120 …pe::WeakClaim(this)](const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, in OnModifyDone() 130 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in OnModifyDone() 133 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in OnModifyDone() 166 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in SetBarCollectClickAndLongPressTargetCallback() 168 … coordinateOffset, getEventTargetImpl, result, frameNode, targetComponent, responseLinkResult); in SetBarCollectClickAndLongPressTargetCallback() 762 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& fr… in OnCollectTouchTarget() argument 767 panRecognizer_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectTouchTarget() 799 …const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, const RefPtr<FrameNode>& fr… in OnCollectClickTarget() argument 804 clickRecognizer_->SetGetEventTargetImpl(getEventTargetImpl); in OnCollectClickTarget() 823 const GetEventTargetImpl& getEventTargetImpl, TouchTestResult& result, in OnCollectLongPressTarget() argument [all …]
|
H A D | scroll_bar_pattern.h | 169 …OnCollectTouchTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 288 …OnCollectClickTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 291 …llectLongPressTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl,
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/ |
H A D | scroll_bar_event_test_ng.cpp | 443 GetEventTargetImpl getEventTargetImpl; variable 447 coordinateOffset, getEventTargetImpl, result, frameNode_, nullptr, responseLinkResult); 468 GetEventTargetImpl getEventTargetImpl; variable 472 coordinateOffset, getEventTargetImpl, result, frameNode_, nullptr, responseLinkResult); 491 GetEventTargetImpl getEventTargetImpl; variable 496 coordinateOffset, getEventTargetImpl, result, frameNode, nullptr, responseLinkResult);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | recognizer_group.cpp | 198 … const RefPtr<NG::TargetComponent>& targetComponent, const GetEventTargetImpl& getEventTargetImpl) in SetRecognizerInfoRecursively() argument 204 item->SetGetEventTargetImpl(getEventTargetImpl); in SetRecognizerInfoRecursively() 207 … group->SetRecognizerInfoRecursively(coordinateOffset, node, targetComponent, getEventTargetImpl); in SetRecognizerInfoRecursively()
|
H A D | recognizer_group.h | 193 … const RefPtr<NG::TargetComponent>& targetComponent, const GetEventTargetImpl& getEventTargetImpl);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | recognizer_group_test_ng.cpp | 78 GetEventTargetImpl getEventTargetImpl = []() -> std::optional<EventTarget> { in __anon1ed9cfde0102() variable 82 …uRecognizer.SetRecognizerInfoRecursively(coordinateOffset, nodePtr, component, getEventTargetImpl); 224 GetEventTargetImpl getEventTargetImpl = []() -> std::optional<EventTarget> { in __anon1ed9cfde0202() variable 231 …uRecognizer.SetRecognizerInfoRecursively(coordinateOffset, nodePtr, component, getEventTargetImpl);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/ |
H A D | scroll_bar.h | 343 …OnCollectTouchTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl, 387 …llectLongPressTarget(const OffsetF& coordinateOffset, const GetEventTargetImpl& getEventTargetImpl,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | axis_event.h | 357 void SetGetEventTargetImpl(const GetEventTargetImpl& getEventTargetImpl) in SetGetEventTargetImpl() argument 359 getEventTargetImpl_ = getEventTargetImpl; in SetGetEventTargetImpl()
|