/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_info.h | 32 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 D | click_event.cpp | 46 clickRecognizer_->SetGestureInfo(MakeRefPtr<GestureInfo>(GestureTypeName::CLICK, true)); in OnCollectTouchTarget() 47 clickRecognizer_->SetRecognizerType(GestureTypeName::CLICK); in OnCollectTouchTarget()
|
H A D | pan_event.cpp | 138 panRecognizer_->SetRecognizerType(GestureTypeName::PAN_GESTURE); in OnCollectTouchTarget() 146 void PanEventActuator::SetPanEventType(GestureTypeName typeName) in SetPanEventType()
|
H A D | long_press_event.cpp | 44 longPressRecognizer_->SetRecognizerType(GestureTypeName::LONG_PRESS_GESTURE); in OnCollectTouchTarget()
|
H A D | pan_event.h | 100 void SetPanEventType(GestureTypeName typeName);
|
H A D | drag_event.cpp | 107 …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 D | scrollable_event.cpp | 103 clickRecognizer_->SetRecognizerType(GestureTypeName::TAP_GESTURE); in InitClickRecognizer()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/ |
H A D | tap_gesture.h | 39 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 D | pan_gesture.h | 40 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 D | rotation_gesture.h | 37 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 D | pinch_gesture.h | 37 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 D | swipe_gesture.h | 36 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 D | long_press_gesture.h | 40 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 D | rotation_gesture.cpp | 33 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 D | js_gesture_judge_function.cpp | 115 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 D | js_gesture_judge_function.h | 52 … JSRef<JSObject>& obj, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info); 53 … CreateGestureEventObject(const std::shared_ptr<BaseGestureEvent>& info, GestureTypeName typeName);
|
H A D | js_should_built_in_recognizer_parallel_with_function.h | 162 GestureTypeName type = GestureTypeName::UNKNOWN; in GetType()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | gesture_recognizer_test_ng.cpp | 71 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 D | gesture_recognizer.h | 291 GestureTypeName GetRecognizerType() const in GetRecognizerType() 294 return GestureTypeName::UNKNOWN; in GetRecognizerType() 299 void SetRecognizerType(GestureTypeName trueType) in SetRecognizerType()
|
H A D | long_press_recognizer.cpp | 272 if (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::DRAG) { in HandleOverdueDeadline() 287 if (gestureInfo_ && gestureInfo_->GetType() == GestureTypeName::DRAG) { in HandleOverdueDeadline()
|
H A D | pan_recognizer.cpp | 499 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 D | frame_node_test_ng_coverage_new.cpp | 226 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 D | node_gesture_modifier.cpp | 313 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 D | scroll_bar_pattern.cpp | 772 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 D | arkts_native_common_bridge.h | 264 EcmaVM* vm, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info); 266 EcmaVM* vm, GestureTypeName typeName, const std::shared_ptr<BaseGestureEvent>& info);
|