Home
last modified time | relevance | path

Searched refs:pinchGesture (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnative_gesture_test.cpp50 auto pinchGesture = gestureAPI->createPinchGesture(2, 20); in HWTEST_F() local
73 gestureAPI->dispose(pinchGesture); in HWTEST_F()
86 auto pinchGesture = gestureAPI->createPinchGesture(2, 0.0f); in HWTEST_F() local
87 EXPECT_NE(pinchGesture, nullptr); in HWTEST_F()
92 gestureAPI->dispose(pinchGesture); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dpinch_recognizer_test_ng.cpp531 auto pinchGesture = AceType::DynamicCast<NG::PinchGesture>(gestureProcessor->TopGestureNG()); in HWTEST_F() local
532 EXPECT_EQ(pinchGesture->distance_, PINCH_GESTURE_DISTANCE); in HWTEST_F()
544 auto pinchGesture = AceType::MakeRefPtr<PinchGesture>(FINGER_NUMBER, PINCH_GESTURE_DISTANCE); in HWTEST_F() local
545 ASSERT_NE(pinchGesture, nullptr); in HWTEST_F()
549 * @tc.expect: pinchRecognizer create successfully, use the same Option as pinchGesture. in HWTEST_F()
551 pinchGesture->priority_ = GesturePriority::Low; in HWTEST_F()
552 pinchGesture->gestureMask_ = GestureMask::Normal; in HWTEST_F()
557 pinchGesture->SetOnActionStartId(onActionStart); in HWTEST_F()
558 pinchGesture->SetOnActionUpdateId(onActionUpdate); in HWTEST_F()
559 pinchGesture in HWTEST_F()
581 auto pinchGesture = AceType::MakeRefPtr<PinchGesture>(FINGER_NUMBER, PINCH_GESTURE_DISTANCE); HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js4736 let pinchGesture = gesture;
4737 getUINativeModule().common.addPinchGesture(this._nodePtr, priority, mask, pinchGesture.gestureTag,
4738 pinchGesture.allowedTypes, pinchGesture.fingers, pinchGesture.distance, pinchGesture.onActionStartCallback,
4739 pinchGesture.onActionUpdateCallback, pinchGesture.onActionEndCallback, pinchGesture.onActionCancelCallback);
4810 let pinchGesture
[all...]

Completed in 7 milliseconds