Home
last modified time | relevance | path

Searched refs:speedNum (Results 1 - 13 of 13) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dtap_gesture_test_ng.cpp153 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 Dswipe_recognizer_test_ng.cpp834 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 Dgesture.cpp194 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 Dgesture_model_impl.cpp98 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 Dgesture_model_impl.h52 void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) override;
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dgesture_impl.h39 ArkUI_GestureRecognizer* CreateSwipeGesture(int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
H A Dgesture_impl.cpp447 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 Dgesture_model_ng.h53 void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) override;
H A Dgesture_model.h88 virtual void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) = 0;
H A Dgesture_model_ng.cpp157 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 Dcj_gesture_ffi.cpp274 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 Dnative_gesture.h759 * @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 Djs_gesture.cpp380 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()

Completed in 10 milliseconds