Searched refs:swipeGesture (Results 1 - 3 of 3) sorted by relevance
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | native_gesture_test.cpp | 49 auto swipeGesture = gestureAPI->createSwipeGesture(1, 1, 5); in HWTEST_F() local 72 gestureAPI->dispose(swipeGesture); in HWTEST_F() 88 auto swipeGesture = gestureAPI->createSwipeGesture(1, 1, 0.0f); in HWTEST_F() local 89 EXPECT_NE(swipeGesture, nullptr); in HWTEST_F() 93 gestureAPI->dispose(swipeGesture); in HWTEST_F()
|
/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | swipe_recognizer_test_ng.cpp | 843 SwipeGesture swipeGesture = SwipeGesture(fingersNum, slideDirection, speedNum); in HWTEST_F() local 844 EXPECT_EQ(swipeGesture.speed_, DEFAULT_SLIDE_SPEED); in HWTEST_F() 850 auto swipeRecognizer = AceType::DynamicCast<SwipeRecognizer>(swipeGesture.CreateRecognizer()); in HWTEST_F() 851 EXPECT_EQ(swipeGesture.speed_, DEFAULT_SLIDE_SPEED); in HWTEST_F() 860 swipeGesture.onActionId_ = std::move(onActionId); in HWTEST_F() 861 swipeGesture.onActionEndId_ = std::move(onActionEndId); in HWTEST_F() 862 swipeGesture.onActionCancelId_ = std::move(onActionCancelId); in HWTEST_F() 863 swipeRecognizer = AceType::DynamicCast<SwipeRecognizer>(swipeGesture.CreateRecognizer()); in HWTEST_F() 864 EXPECT_EQ(swipeGesture.speed_, DEFAULT_SLIDE_SPEED); in HWTEST_F() 886 SwipeGesture swipeGesture in HWTEST_F() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 4730 let swipeGesture = gesture; 4731 getUINativeModule().common.addSwipeGesture(this._nodePtr, priority, mask, swipeGesture.gestureTag, 4732 swipeGesture.allowedTypes, swipeGesture.fingers, swipeGesture.direction, swipeGesture.speed, swipeGesture.onActionCallback); 4804 let swipeGesture = gesture; 4805 getUINativeModule().common.addSwipeGestureToGroup(swipeGesture.gestureTag, swipeGesture [all...] |
Completed in 7 milliseconds