Home
last modified time | relevance | path

Searched refs:GestureTypeName (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dgesture_info.h32 GestureInfo(std::string tag, GestureTypeName type, bool isSystemGesture) in GestureInfo()
35 …GestureInfo(GestureTypeName type, bool isSystemGesture) : type_(type), isSystemGesture_(isSystemGe… in GestureInfo()
36 GestureInfo(GestureTypeName type, GestureTypeName trueType, bool isSystemGesture) in GestureInfo()
41 explicit GestureInfo(GestureTypeName type) : type_(type) {} in GestureInfo()
66 GestureTypeName GetType() const in GetType()
91 void SetType(GestureTypeName type) in SetType()
96 void SetRecognizerType(GestureTypeName trueType) in SetRecognizerType()
101 GestureTypeName GetRecognizerType() const in GetRecognizerType()
159 GestureTypeName type_ = GestureTypeName::UNKNOWN;
161 GestureTypeName recognizerType_ = GestureTypeName::UNKNOWN;
H A Dclick_event.cpp46 clickRecognizer_->SetGestureInfo(MakeRefPtr<GestureInfo>(GestureTypeName::CLICK, true)); in OnCollectTouchTarget()
47 clickRecognizer_->SetRecognizerType(GestureTypeName::CLICK); in OnCollectTouchTarget()
H A Dpan_event.cpp138 panRecognizer_->SetRecognizerType(GestureTypeName::PAN_GESTURE); in OnCollectTouchTarget()
146 void PanEventActuator::SetPanEventType(GestureTypeName typeName) in SetPanEventType()
H A Dlong_press_event.cpp44 longPressRecognizer_->SetRecognizerType(GestureTypeName::LONG_PRESS_GESTURE); in OnCollectTouchTarget()
H A Dpan_event.h100 void SetPanEventType(GestureTypeName typeName);
H A Ddrag_event.cpp107 …panRecognizer_->SetGestureInfo(MakeRefPtr<GestureInfo>(GestureTypeName::DRAG, GestureTypeName::DRA… in DragEventActuator()
109 …PressRecognizer_->SetGestureInfo(MakeRefPtr<GestureInfo>(GestureTypeName::DRAG, GestureTypeName::D… in DragEventActuator()
113 MakeRefPtr<GestureInfo>(GestureTypeName::DRAG, GestureTypeName::DRAG, true)); in DragEventActuator()
1876 …panRecognizer_->SetGestureInfo(MakeRefPtr<GestureInfo>(GestureTypeName::DRAG, GestureTypeName::DRA… in CopyDragEvent()
1878 …PressRecognizer_->SetGestureInfo(MakeRefPtr<GestureInfo>(GestureTypeName::DRAG, GestureTypeName::D… in CopyDragEvent()
1882 MakeRefPtr<GestureInfo>(GestureTypeName::DRAG, GestureTypeName::DRAG, true)); in CopyDragEvent()
H A Dscrollable_event.cpp103 clickRecognizer_->SetRecognizerType(GestureTypeName::TAP_GESTURE); in InitClickRecognizer()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dtap_gesture.h39 gestureInfo_->SetType(GestureTypeName::TAP_GESTURE); in TapGesture()
40 gestureInfo_->SetRecognizerType(GestureTypeName::TAP_GESTURE); in TapGesture()
42 …gestureInfo_ = MakeRefPtr<GestureInfo>(GestureTypeName::TAP_GESTURE, GestureTypeName::TAP_GESTURE,… in TapGesture()
49 gestureInfo_->SetType(GestureTypeName::TAP_GESTURE);
50 gestureInfo_->SetRecognizerType(GestureTypeName::TAP_GESTURE);
52 …gestureInfo_ = MakeRefPtr<GestureInfo>(GestureTypeName::TAP_GESTURE, GestureTypeName::TAP_GESTURE,…
H A Dpan_gesture.h40 gestureInfo_->SetType(GestureTypeName::PAN_GESTURE); in PanGesture()
41 gestureInfo_->SetRecognizerType(GestureTypeName::PAN_GESTURE); in PanGesture()
43 …gestureInfo_ = MakeRefPtr<GestureInfo>(GestureTypeName::PAN_GESTURE, GestureTypeName::PAN_GESTURE,… in PanGesture()
50 gestureInfo_->SetType(GestureTypeName::PAN_GESTURE); in PanGesture()
51 gestureInfo_->SetRecognizerType(GestureTypeName::PAN_GESTURE); in PanGesture()
53 …gestureInfo_ = MakeRefPtr<GestureInfo>(GestureTypeName::PAN_GESTURE, GestureTypeName::PAN_GESTURE,… in PanGesture()
H A Drotation_gesture.h37 gestureInfo_->SetType(GestureTypeName::ROTATION_GESTURE); in RotationGesture()
38 gestureInfo_->SetRecognizerType(GestureTypeName::ROTATION_GESTURE); in RotationGesture()
41 …MakeRefPtr<GestureInfo>(GestureTypeName::ROTATION_GESTURE, GestureTypeName::ROTATION_GESTURE, fals… in RotationGesture()
H A Dpinch_gesture.h37 gestureInfo_->SetType(GestureTypeName::PINCH_GESTURE); in PinchGesture()
38 gestureInfo_->SetRecognizerType(GestureTypeName::PINCH_GESTURE); in PinchGesture()
41 … MakeRefPtr<GestureInfo>(GestureTypeName::PINCH_GESTURE, GestureTypeName::PINCH_GESTURE, false); in PinchGesture()
H A Dswipe_gesture.h36 gestureInfo_->SetType(GestureTypeName::SWIPE_GESTURE); in SwipeGesture()
37 gestureInfo_->SetRecognizerType(GestureTypeName::SWIPE_GESTURE); in SwipeGesture()
40 … MakeRefPtr<GestureInfo>(GestureTypeName::SWIPE_GESTURE, GestureTypeName::SWIPE_GESTURE, false); in SwipeGesture()
H A Dlong_press_gesture.h40 gestureInfo_->SetType(GestureTypeName::LONG_PRESS_GESTURE);
41 gestureInfo_->SetRecognizerType(GestureTypeName::LONG_PRESS_GESTURE);
44 GestureTypeName::LONG_PRESS_GESTURE, GestureTypeName::LONG_PRESS_GESTURE, false);
H A Drotation_gesture.cpp33 gestureInfo_->SetType(GestureTypeName::ROTATION_GESTURE); in RotationGesture()
34 gestureInfo_->SetRecognizerType(GestureTypeName::ROTATION_GESTURE); in RotationGesture()
37 …MakeRefPtr<GestureInfo>(GestureTypeName::ROTATION_GESTURE, GestureTypeName::ROTATION_GESTURE, fals… in RotationGesture()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_gesture_judge_function.cpp115 JSRef<JSObject>& obj, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info) in SetUniqueAttributes()
118 case OHOS::Ace::GestureTypeName::LONG_PRESS_GESTURE: { in SetUniqueAttributes()
125 case OHOS::Ace::GestureTypeName::PAN_GESTURE: { in SetUniqueAttributes()
141 case OHOS::Ace::GestureTypeName::PINCH_GESTURE: { in SetUniqueAttributes()
152 case OHOS::Ace::GestureTypeName::ROTATION_GESTURE: { in SetUniqueAttributes()
159 case OHOS::Ace::GestureTypeName::SWIPE_GESTURE: { in SetUniqueAttributes()
173 const std::shared_ptr<BaseGestureEvent>& info, GestureTypeName typeName) in CreateGestureEventObject()
H A Djs_gesture_judge_function.h52 … JSRef<JSObject>& obj, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info);
53 … CreateGestureEventObject(const std::shared_ptr<BaseGestureEvent>& info, GestureTypeName typeName);
H A Djs_should_built_in_recognizer_parallel_with_function.h162 GestureTypeName type = GestureTypeName::UNKNOWN; in GetType()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dgesture_recognizer_test_ng.cpp71 clickRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
75 longPressRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
78 panRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
81 pinchRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
84 rotationRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
87 swipeRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
234 panRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
266 panRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
304 panRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
338 panRecognizerPtr->gestureInfo_->type_ = GestureTypeName::DRAG;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dgesture_recognizer.h291 GestureTypeName GetRecognizerType() const in GetRecognizerType()
294 return GestureTypeName::UNKNOWN; in GetRecognizerType()
299 void SetRecognizerType(GestureTypeName trueType) in SetRecognizerType()
H A Dlong_press_recognizer.cpp272 if (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::DRAG) { in HandleOverdueDeadline()
287 if (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::DRAG) { in HandleOverdueDeadline()
H A Dpan_recognizer.cpp499 if (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::DRAG) { in HandlePanAccept()
509 if (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::DRAG) { in HandlePanAccept()
626 …vent_.history.empty() && (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::BOXSELECT)) { in GetRawGlobalLocation()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dframe_node_test_ng_coverage_new.cpp226 recognizer->SetRecognizerType(GestureTypeName::PAN_GESTURE);
233 recognizer1->SetRecognizerType(GestureTypeName::UNKNOWN);
238 recognizer2->SetRecognizerType(GestureTypeName::PAN_GESTURE);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_gesture_modifier.cpp313 void GetUniqueGestureEvent(ArkUIAPIEventGestureAsyncEvent* ret, GestureTypeName typeName, in GetUniqueGestureEvent()
317 case OHOS::Ace::GestureTypeName::LONG_PRESS_GESTURE: { in GetUniqueGestureEvent()
324 case OHOS::Ace::GestureTypeName::PAN_GESTURE: { in GetUniqueGestureEvent()
335 case OHOS::Ace::GestureTypeName::PINCH_GESTURE: { in GetUniqueGestureEvent()
344 case OHOS::Ace::GestureTypeName::ROTATION_GESTURE: { in GetUniqueGestureEvent()
351 case OHOS::Ace::GestureTypeName::SWIPE_GESTURE: { in GetUniqueGestureEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
H A Dscroll_bar_pattern.cpp772 panRecognizer_->SetRecognizerType(GestureTypeName::PAN_GESTURE); in OnCollectTouchTarget()
809 clickRecognizer_->SetRecognizerType(GestureTypeName::BOXSELECT); in OnCollectClickTarget()
834 longPressRecognizer_->SetRecognizerType(GestureTypeName::LONG_PRESS_GESTURE); in OnCollectLongPressTarget()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.h264 EcmaVM* vm, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info);
266 EcmaVM* vm, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info);

12