/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | tap_gesture_test_ng.cpp | 153 double speedNum = DEFAULT_SLIDE_SPEED; in HWTEST_F() local 155 swipeGestureModelNG.Create(fingersNum, slideDirection, speedNum); in HWTEST_F() 157 EXPECT_EQ(swipeGestureNG->speed_, speedNum); in HWTEST_F()
|
H A D | swipe_recognizer_test_ng.cpp | 834 double speedNum = DEFAULT_SLIDE_SPEED; in HWTEST_F() local 837 swipeGestureModelNG.Create(fingersNum, slideDirection, speedNum); in HWTEST_F() 843 SwipeGesture swipeGesture = SwipeGesture(fingersNum, slideDirection, speedNum); in HWTEST_F() 877 double speedNum = DEFAULT_SLIDE_SPEED; in HWTEST_F() local 880 swipeGestureModelNG.Create(fingersNum, slideDirection, speedNum); in HWTEST_F() 886 SwipeGesture swipeGesture = SwipeGesture(fingersNum, slideDirection, speedNum); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | gesture.cpp | 194 double speedNum = DEFAULT_SLIDE_SPEED; in Create() local 197 speedNum = LessNotEqual(speed, 0.0) ? DEFAULT_SLIDE_SPEED : speed; in Create() 200 auto gesture = AceType::MakeRefPtr<OHOS::Ace::SwipeGesture>(fingersNum, swipeDirection, speedNum); in Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | gesture_model_impl.cpp | 98 void SwipeGestureModelImpl::Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) in Create() argument 102 auto gesture = AceType::MakeRefPtr<SwipeGesture>(fingersNum, slideDirection, speedNum); in Create()
|
H A D | gesture_model_impl.h | 52 void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) override;
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | gesture_impl.h | 39 ArkUI_GestureRecognizer* CreateSwipeGesture(int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
H A D | gesture_impl.cpp | 447 double speedNum = OHOS::Ace::NodeModel::GetFullImpl()->getBasicAPI()->convertLengthMetricsUnit( in CreateSwipeGesture() local 452 directions, speedNum, ndkGesture); in CreateSwipeGesture()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gesture/ |
H A D | gesture_model_ng.h | 53 void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) override;
|
H A D | gesture_model.h | 88 virtual void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) = 0;
|
H A D | gesture_model_ng.cpp | 157 void SwipeGestureModelNG::Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) in Create() argument 161 auto gesture = AceType::MakeRefPtr<NG::SwipeGesture>(fingersNum, slideDirection, speedNum); in Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_gesture_ffi.cpp | 274 double speedNum = Utils::CheckMin(0.0, DEFAULT_SLIDE_SPEED, speed); in FfiOHOSAceFrameworkSwipeGestureCreate() local 276 auto gesture = AceType::MakeRefPtr<NG::SwipeGesture>(fingersNum, swipeDirection, speedNum); in FfiOHOSAceFrameworkSwipeGestureCreate()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_gesture.h | 759 * @param speedNum Indicates the minimum speed of the swipe gesture, in px/s. 764 int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_gesture.cpp | 380 double speedNum = DEFAULT_SLIDE_SPEED; in Create() local 384 SwipeGestureModel::GetInstance()->Create(fingersNum, slideDirection, speedNum); in Create() 399 speedNum = LessOrEqual(speedNumber, 0.0) ? DEFAULT_SLIDE_SPEED : speedNumber; in Create() 409 SwipeGestureModel::GetInstance()->Create(fingersNum, slideDirection, speedNum); in Create()
|