Home
last modified time | relevance | path

Searched refs:actionCancel (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dpan_event.cpp116 auto actionCancel = [weak = WeakClaim(this)]() { in OnCollectTouchTarget() local
122 auto actionCancel = panEvent->GetActionCancelEventFunc(); in OnCollectTouchTarget() local
123 if (actionCancel) { in OnCollectTouchTarget()
124 actionCancel(); in OnCollectTouchTarget()
136 panRecognizer_->SetOnActionCancel(actionCancel); in OnCollectTouchTarget()
H A Dpan_event.h36 GestureEventNoParameter&& actionCancel) in DECLARE_ACE_TYPE()
38 actionEnd_(std::move(actionEnd)), actionCancel_(std::move(actionCancel)) in DECLARE_ACE_TYPE()
H A Ddrag_event.h43 GestureEventNoParameter&& actionCancel) in DECLARE_ACE_TYPE()
45 actionEnd_(std::move(actionEnd)), actionCancel_(std::move(actionCancel)) in DECLARE_ACE_TYPE()
H A Ddrag_event.cpp487 auto actionCancel = [weak = WeakClaim(this), touchSourceType = touchRestrict.sourceType]() { in OnCollectTouchTarget() local
592 actionCancel_ = actionCancel; in OnCollectTouchTarget()
606 SequencedRecognizer_->SetOnActionCancel(actionCancel); in OnCollectTouchTarget()
869 SequencedRecognizer_->SetOnActionCancel(actionCancel); in OnCollectTouchTarget()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Ddrag_event_test_ng.cpp147 GestureEventNoParameter actionCancel = []() {}; in __anon74fe3dc90802() variable
290 auto actionCancel = []() {}; in __anon74fe3dc90f02() variable
291 dragEventActuator->actionCancel_ = actionCancel;
362 std::move(actionEnd), std::move(actionCancel));
415 GestureEventNoParameter actionCancel = []() {}; in __anon74fe3dc91802() variable
417 std::move(actionEnd), std::move(actionCancel));
483 GestureEventNoParameter actionCancel = []() {}; in __anon74fe3dc91c02() variable
485 std::move(actionEnd), std::move(actionCancel));
530 GestureEventNoParameter actionCancel = []() {}; in __anon74fe3dc92002() variable
622 GestureEventNoParameter actionCancel = []() {}; in __anon74fe3dc92402() variable
[all …]
H A Dpan_event_test_ng.cpp156 GestureEventNoParameter actionCancel = [&unknownPropertyValue]() { in __anon02c718ea0502() variable
161 … std::move(actionStart), std::move(actionUpdate), std::move(actionEnd), std::move(actionCancel));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscrollable.cpp147 auto actionCancel = [weakScroll = AceType::WeakClaim(this)]() { in Initialize() local
165 panRecognizerNG_->SetOnActionCancel(actionCancel); in Initialize()
172 panRecognizer_->SetOnActionCancel(actionCancel); in Initialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable.cpp182 auto actionCancel = [weakScroll = AceType::WeakClaim(this)]() { in Initialize() local
211 panRecognizerNG_->SetOnActionCancel(actionCancel); in Initialize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.h622 …ureEventFunc&& actionUpdate, GestureEventFunc&& actionEnd, GestureEventNoParameter&& actionCancel);
H A Dswiper_pattern.cpp2220 …tureEventFunc&& actionUpdate, GestureEventFunc&& actionEnd, GestureEventNoParameter&& actionCancel) in AddPanEvent() argument
2232 … std::move(actionStart), std::move(actionUpdate), std::move(actionEnd), std::move(actionCancel)); in AddPanEvent()