/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | long_press_event.h | 30 class LongPressEvent : public virtual AceType { class 31 DECLARE_ACE_TYPE(LongPressEvent, AceType) 33 explicit LongPressEvent(GestureEventFunc&& callback) : callback_(std::move(callback)) {} in LongPressEvent() function in OHOS::Ace::NG::LongPressEvent 34 ~LongPressEvent() override = default; 51 ACE_DISALLOW_COPY_AND_MOVE(LongPressEvent); 60 void SetLongPressEvent(const RefPtr<LongPressEvent>& event, bool isForDrag = false, bool isDisableMouseLeft = false) in SetLongPressEvent() 103 RefPtr<LongPressEvent> longPressEvent_;
|
H A D | gesture_event_hub.h | 171 void SetLongPressEvent(const RefPtr<LongPressEvent>& event, bool isForDrag = false, bool isDisableMouseLeft = false,
|
/foundation/arkui/ui_lite/interfaces/kits/events/ |
H A D | long_press_event.h | 49 class LongPressEvent : public Event { class 52 * @brief A constructor used to create a <b>LongPressEvent</b> instance. 58 LongPressEvent(const Point& pos, const TimeType& timeStamp) : Event(pos) in LongPressEvent() function in OHOS::LongPressEvent 64 * @brief A destructor used to delete the <b>LongPressEvent</b> instance. 68 virtual ~LongPressEvent() {} in ~LongPressEvent()
|
/foundation/arkui/ui_lite/test/unittest/events/ |
H A D | long_press_event_unit_test.cpp | 32 static LongPressEvent* longPressEvent_; 35 LongPressEvent* LongPressEventTest::longPressEvent_ = nullptr; 40 longPressEvent_ = new LongPressEvent(INIT_POS, TIME_STAMP); in SetUpTestCase()
|
H A D | event_bubble_unit_test.cpp | 54 bool OnLongPressEvent(const LongPressEvent& event) override 119 virtual bool OnLongPress(UIView& view, const LongPressEvent& event) in OnLongPress() 372 LongPressEvent longPressEvent(longPressPoint, pressTimeStamp); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | long_press_event_test_ng.cpp | 74 * @tc.desc: Create LongPressEvent and execute its callback functions. 80 * @tc.steps: step1. Create LongPressEvent. in HWTEST_F() 85 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(std::move(callback)); in HWTEST_F() 89 * @tc.steps: step2. Get and execute LongPressEvent callback function. in HWTEST_F() 100 * @tc.desc: Create LongPressEvent and execute its callback functions. 134 * @tc.steps: step3. Create LongPressEvent. in HWTEST_F() 138 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(std::move(callback)); in HWTEST_F() 142 * @tc.steps: step4. Set LongPressEvent with default value. in HWTEST_F() 150 * @tc.steps: step5. Set LongPressEvent. in HWTEST_F()
|
H A D | gesture_event_hub_test_ng.cpp | 185 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(longPressCallback); in HWTEST_F() 335 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(longPressCallback); in HWTEST_F() 812 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(longPressCallback); in HWTEST_F() 1060 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(std::move(callback)); in HWTEST_F()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_repeat_button.cpp | 52 bool UIRepeatButton::OnLongPressEvent(const LongPressEvent& event) in OnLongPressEvent()
|
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_repeat_button.h | 132 bool OnLongPressEvent(const LongPressEvent& event) override;
|
H A D | ui_edit_text.h | 99 bool OnLongPressEvent(const LongPressEvent& event) override;
|
H A D | ui_view.h | 169 virtual bool OnLongPress(UIView& view, const LongPressEvent& event) in OnLongPress() 493 virtual bool OnLongPressEvent(const LongPressEvent& event);
|
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/ |
H A D | event_listener.h | 48 bool OnLongPress(UIView &view, const LongPressEvent &event) override
|
/foundation/arkui/ui_lite/test/uitest/test_input_event/ |
H A D | ui_test_input_event.h | 31 bool OnLongPressEvent(const LongPressEvent& event) override 110 bool OnLongPressEvent(const LongPressEvent& event) override 254 virtual bool OnLongPress(UIView& view, const LongPressEvent& event) in OnLongPress()
|
/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | custom_input_method.h | 60 bool OnLongPress(UIView& view, const LongPressEvent& event) override;
|
/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | pointer_input_device.cpp | 267 LongPressEvent evt(curPos_, pressTimeStamp_); in DispatchLongPressEvent() 278 LongPressEvent evtParent(curPos_, pressTimeStamp_); in DispatchLongPressEvent()
|
/foundation/arkui/ace_engine/component_ext/movingphoto/ |
H A D | movingphoto_pattern.h | 213 RefPtr<LongPressEvent> longPressEvent_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/enhance/ |
H A D | container_modal_view_enhance.cpp | 99 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(longPressCallback); in AddControlButtons()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/menu_item/ |
H A D | menu_item_pattern.h | 323 RefPtr<LongPressEvent> longPressEvent_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | tool_bar_pattern.cpp | 81 auto longPressEvent = AceType::MakeRefPtr<LongPressEvent>(std::move(longPressTask)); in InitLongPressEvent()
|
H A D | title_bar_pattern.h | 456 RefPtr<LongPressEvent> longPressEvent_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/ |
H A D | side_bar_container_pattern.h | 285 RefPtr<LongPressEvent> longPressEvent_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
H A D | swiper_indicator_pattern.h | 313 RefPtr<LongPressEvent> longPressEvent_;
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | event_listener.h | 158 bool OnLongPress(UIView& view, const LongPressEvent &event) override
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/image/ |
H A D | image_pattern.h | 542 RefPtr<LongPressEvent> longPressEvent_;
|
/foundation/arkui/ui_lite/test/unittest/dfx/ |
H A D | event_injector_unit_test.cpp | 60 bool OnLongPressEvent(const LongPressEvent& event) override
|