/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | axis_event.cpp | 21 #define MMI_LOG_TAG "AxisEvent" 25 std::shared_ptr<AxisEvent> AxisEvent::from(std::shared_ptr<InputEvent> inputEvent) in from() 30 AxisEvent::AxisEvent(int32_t eventType) : InputEvent(eventType) {} in AxisEvent() function in OHOS::MMI::AxisEvent 32 AxisEvent::~AxisEvent() {} in ~AxisEvent() 34 std::shared_ptr<AxisEvent> AxisEvent::Create() in Create() 36 auto event = std::shared_ptr<AxisEvent>(ne in Create() [all...] |
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/ |
H A D | axis_event.h | 25 class AxisEvent : public InputEvent { class 70 static std::shared_ptr<AxisEvent> from(std::shared_ptr<InputEvent> inputEvent); 71 static std::shared_ptr<AxisEvent> Create(); 74 DISALLOW_COPY_AND_MOVE(AxisEvent); 75 virtual ~AxisEvent(); 135 explicit AxisEvent(int32_t eventType);
|
/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | multi_fingers_recognizer_test_ng.cpp | 78 AxisEvent event; in HWTEST_F() 109 AxisEvent event; in HWTEST_F() 141 AxisEvent event; in HWTEST_F() 166 void HandleTouchDownEvent(const AxisEvent& event) {} in HandleTouchDownEvent() 167 void HandleTouchUpEvent(const AxisEvent& event) {} in HandleTouchUpEvent() 168 void HandleTouchMoveEvent(const AxisEvent& event) {} in HandleTouchMoveEvent() 169 void HandleTouchCancelEvent(const AxisEvent& event) {} in HandleTouchCancelEvent() 185 void HandleTouchDownEvent(const AxisEvent& event) {} in HandleTouchDownEvent() 186 void HandleTouchUpEvent(const AxisEvent& event) {} in HandleTouchUpEvent() 187 void HandleTouchMoveEvent(const AxisEvent in HandleTouchUpEvent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | swipe_recognizer.h | 62 void HandleTouchDownEvent(const AxisEvent& event) override; 63 void HandleTouchUpEvent(const AxisEvent& event) override; 64 void HandleTouchMoveEvent(const AxisEvent& event) override; 65 void HandleTouchCancelEvent(const AxisEvent& event) override; 80 AxisEvent axisEventStart_; 81 AxisEvent lastAxisEvent_;
|
H A D | pinch_recognizer.h | 44 void HandleTouchDownEvent(const AxisEvent& event) override; 45 void HandleTouchUpEvent(const AxisEvent& event) override; 46 void HandleTouchMoveEvent(const AxisEvent& event) override; 47 void HandleTouchCancelEvent(const AxisEvent& event) override; 73 AxisEvent lastAxisEvent_;
|
H A D | rotation_recognizer.h | 44 void HandleTouchDownEvent(const AxisEvent& event) override; 45 void HandleTouchUpEvent(const AxisEvent& event) override; 46 void HandleTouchMoveEvent(const AxisEvent& event) override; 47 void HandleTouchCancelEvent(const AxisEvent& event) override; 63 AxisEvent lastAxisEvent_;
|
H A D | pan_recognizer.h | 113 void HandleTouchDownEvent(const AxisEvent& event) override; 114 void HandleTouchUpEvent(const AxisEvent& event) override; 115 void HandleTouchMoveEvent(const AxisEvent& event) override; 116 void HandleTouchCancelEvent(const AxisEvent& event) override; 126 void UpdateAxisPointInVelocityTracker(const AxisEvent& event, bool end = false); 155 AxisEvent lastAxisEvent_;
|
H A D | sequenced_recognizer.h | 43 bool HandleEvent(const AxisEvent& point) override; 74 AxisEvent lastAxisEvent_;
|
H A D | gesture_recognizer.h | 125 bool HandleEvent(const AxisEvent& event) override; 130 void HandleBridgeModeEvent(const AxisEvent& event); 427 virtual void HandleTouchDownEvent(const AxisEvent& event) {} in HandleTouchDownEvent() 428 virtual void HandleTouchUpEvent(const AxisEvent& event) {} in HandleTouchUpEvent() 429 virtual void HandleTouchMoveEvent(const AxisEvent& event) {} in HandleTouchMoveEvent() 430 virtual void HandleTouchCancelEvent(const AxisEvent& event) {} in HandleTouchCancelEvent()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | slide_recognizer.h | 56 void HandleTouchDownEvent(const AxisEvent& event) override; 57 void HandleTouchUpEvent(const AxisEvent& event) override; 58 void HandleTouchMoveEvent(const AxisEvent& event) override; 59 void HandleTouchCancelEvent(const AxisEvent& event) override; 69 double ComputeAngle(AxisEvent event); 82 AxisEvent axisEventStart_;
|
H A D | pinch_recognizer.h | 45 void HandleTouchDownEvent(const AxisEvent& event) override; 46 void HandleTouchUpEvent(const AxisEvent& event) override; 47 void HandleTouchMoveEvent(const AxisEvent& event) override; 48 void HandleTouchCancelEvent(const AxisEvent& event) override;
|
H A D | gesture_recognizer.h | 62 bool HandleEvent(const AxisEvent& event) override; 151 virtual void HandleTouchDownEvent(const AxisEvent& event) {} in HandleTouchDownEvent() 152 virtual void HandleTouchUpEvent(const AxisEvent& event) {} in HandleTouchUpEvent() 153 virtual void HandleTouchMoveEvent(const AxisEvent& event) {} in HandleTouchMoveEvent() 154 virtual void HandleTouchCancelEvent(const AxisEvent& event) {} in HandleTouchCancelEvent()
|
H A D | pan_recognizer.h | 126 void HandleTouchDownEvent(const AxisEvent& event) override; 127 void HandleTouchUpEvent(const AxisEvent& event) override; 128 void HandleTouchMoveEvent(const AxisEvent& event) override; 129 void HandleTouchCancelEvent(const AxisEvent& event) override; 149 AxisEvent lastAxisEvent_;
|
H A D | timeout_recognizer.h | 71 void HandleTouchDownEvent(const AxisEvent& event) override; 72 void HandleTouchUpEvent(const AxisEvent& event) override; 73 void HandleTouchMoveEvent(const AxisEvent& event) override; 74 void HandleTouchCancelEvent(const AxisEvent& event) override;
|
H A D | pinch_recognizer.cpp | 66 void PinchRecognizer::HandleTouchDownEvent(const AxisEvent& event) in HandleTouchDownEvent() 101 void PinchRecognizer::HandleTouchUpEvent(const AxisEvent& event) in HandleTouchUpEvent() 157 void PinchRecognizer::HandleTouchMoveEvent(const AxisEvent& event) in HandleTouchMoveEvent() 193 void PinchRecognizer::HandleTouchCancelEvent(const AxisEvent& event) in HandleTouchCancelEvent()
|
H A D | timeout_recognizer.cpp | 199 void TimeoutRecognizer::HandleTouchDownEvent(const AxisEvent& event) in HandleTouchDownEvent() 213 void TimeoutRecognizer::HandleTouchUpEvent(const AxisEvent& event) in HandleTouchUpEvent() 222 void TimeoutRecognizer::HandleTouchMoveEvent(const AxisEvent& event) in HandleTouchMoveEvent() 231 void TimeoutRecognizer::HandleTouchCancelEvent(const AxisEvent& event) in HandleTouchCancelEvent()
|
/foundation/arkui/ace_engine/adapter/preview/external/multimodalinput/ |
H A D | axis_event.h | 22 class AxisEvent { class 24 AxisEvent() = default; 25 ~AxisEvent() = default;
|
/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | mock_event_manager.cpp | 31 const AxisEvent& event, const RefPtr<NG::FrameNode>& frameNode, const TouchRestrict& touchRestrict) in TouchTest() 46 const AxisEvent& event, const RefPtr<RenderNode>& renderNode, const TouchRestrict& touchRestrict) in TouchTest() 59 bool EventManager::DispatchTouchEvent(const AxisEvent& event) in DispatchTouchEvent() 124 void EventManager::AxisTest(const AxisEvent& event, const RefPtr<RenderNode>& renderNode) {} in AxisTest() 126 bool EventManager::DispatchAxisEvent(const AxisEvent& event) in DispatchAxisEvent() 132 void EventManager::AxisTest(const AxisEvent& event, const RefPtr<NG::FrameNode>& frameNode) in AxisTest() 137 bool EventManager::DispatchAxisEventNG(const AxisEvent& event) in DispatchAxisEventNG()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | axis_event.h | 64 struct AxisEvent final : public UIInputEvent { 65 ~AxisEvent() = default; 92 AxisEvent() {} in AxisEvent() function 94 AxisEvent(int32_t id, float x, float y, float screenX, float screenY, double verticalAxis, double horizontalAxis, in AxisEvent() function 107 AxisEvent CreateScaleEvent(float scale) const in CreateScaleEvent() 184 std::pair<float, float> ConvertToSummationAxisValue(const AxisEvent& event) const in ConvertToSummationAxisValue() 195 AxisInfo(const AxisEvent& event, const Offset& localLocation, const EventTarget& target) : BaseEventInfo("onAxis") in AxisInfo() 304 AxisEvent ConvertToAxisEvent() const in ConvertToAxisEvent() 306 AxisEvent axisEvent; in ConvertToAxisEvent() 380 bool HandleAxisEvent(const AxisEvent [all...] |
/foundation/multimodalinput/input/test/unittest/common/include/ |
H A D | event_util_test.h | 141 virtual void OnInputEvent(std::shared_ptr<AxisEvent> axisEvent) const override {}; 148 virtual void OnInputEvent(std::shared_ptr<AxisEvent> axisEvent) const override {}; 155 virtual void OnInputEvent(std::shared_ptr<AxisEvent> axisEvent) const override {}; 162 virtual void OnInputEvent(std::shared_ptr<AxisEvent> axisEvent) const override {}; 178 virtual void OnInputEvent(std::shared_ptr<AxisEvent> axisEvent) const override {};
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | event_manager.h | 86 void TouchTest(const AxisEvent& event, const RefPtr<RenderNode>& renderNode, TouchRestrict& touchRestrict); 88 void TouchTest(const AxisEvent& event, const RefPtr<NG::FrameNode>& frameNode, TouchRestrict& touchRestrict); 93 bool DispatchTouchEvent(const AxisEvent& event, bool sendOnTouch = true); 139 void AxisTest(const AxisEvent& event, const RefPtr<RenderNode>& renderNode); 140 bool DispatchAxisEvent(const AxisEvent& event); 142 void AxisTest(const AxisEvent& event, const RefPtr<NG::FrameNode>& frameNode); 143 bool DispatchAxisEventNG(const AxisEvent& event); 296 TouchEvent ConvertAxisEventToTouchEvent(const AxisEvent& axisEvent); 325 void FalsifyCancelEventAndDispatch(const AxisEvent& axisEvent, bool sendOnTouch = true);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/ |
H A D | session_wrapper.h | 35 class AxisEvent; 97 virtual bool NotifyAxisEventSync(const std::shared_ptr<OHOS::MMI::AxisEvent>& axisEvent) = 0; 105 virtual bool NotifyAxisEventAsync(const std::shared_ptr<OHOS::MMI::AxisEvent>& axisEvent) = 0;
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | touch_event_convertor.cpp | 26 void ConvertToAxisEvent(AxisEvent& event, const std::shared_ptr<MMI::PointerEvent>& srcPointerEvent) {} in ConvertToAxisEvent()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | touch_event_convertor.cpp | 33 void ConvertToAxisEvent(AxisEvent& event, const std::shared_ptr<MMI::PointerEvent>& srcPointerEvent) in ConvertToAxisEvent()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | touch_event_convertor.h | 25 void ConvertToAxisEvent(AxisEvent& event, const std::shared_ptr<MMI::PointerEvent>& srcPointerEvent);
|