Home
last modified time | relevance | path

Searched refs:panGesture (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dpan_gesture.cpp87 int32_t PanGesture::Serialize(char* panGesture) in Serialize() argument
89 if (panGesture == nullptr) { in Serialize()
93 panGesture = SetHeader(panGesture, GestureType::PAN, sizePan); in Serialize()
94 SerializeTo(panGesture); in Serialize()
H A Dpan_gesture.h62 int32_t Serialize(char* panGesture) override;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnative_gesture_test.cpp48 auto panGesture = gestureAPI->createPanGesture(1, GESTURE_DIRECTION_DOWN, 5); variable
71 gestureAPI->dispose(panGesture);
88 auto panGesture = gestureAPI->createPanGesture(0, GESTURE_DIRECTION_DOWN, 5); variable
91 gestureAPI->dispose(panGesture);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dpan_recognizer_test_ng.cpp1393 ASSERT_NE(panGesture, nullptr);
1400 panGesture->priority_ = GesturePriority::Low;
1401 panGesture->gestureMask_ = GestureMask::Normal;
1421 ASSERT_NE(panGesture, nullptr);
1428 panGesture->priority_ = GesturePriority::Low;
1434 panGesture->SetOnActionStartId(onActionStart);
1436 panGesture->SetOnActionEndId(onActionEnd);
1438 EXPECT_TRUE(panGesture->onActionStartId_);
1439 EXPECT_TRUE(panGesture->onActionUpdateId_);
1440 EXPECT_TRUE(panGesture->onActionEndId_);
[all …]
H A Dgesture_group_test_ng.cpp1052 …auto panGesture = AceType::MakeRefPtr<PanGesture>(SINGLE_FINGER_NUMBER, panDirection, PAN_DISTANCE… variable
1054 auto result = panGesture->Deserialize(buff);
1056 panGesture->Deserialize(buff2);
1068 …auto panGesture = AceType::MakeRefPtr<PanGesture>(SINGLE_FINGER_NUMBER, panDirection, PAN_DISTANCE… variable
1070 auto result = panGesture->Serialize(buff);
1072 panGesture->Serialize(buff2);
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dndk-bind-gesture-events.md414 auto panGesture = gestureApi->createPanGesture(1, GESTURE_DIRECTION_VERTICAL, 5);
416 ArkUI_GestureRecognizerType type = gestureApi->getGestureType(panGesture);
418 … "onPanActionCallBack panGesture, ArkUI_GestureRecognizerType %{public}d", type);
440 … "onPanActionCallBack, panGesture callback actionType: %{public}d, velocity %{public}f,velocityX "
448 gestureApi->setGestureEventTarget(panGesture,
454 gestureApi->addChildGesture(groupGesture, panGesture);
455 …OG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Manager", "onPanActionCallBack, addChildGesture panGesture");
/ohos5.0/docs/en/application-dev/ui/
H A Dndk-bind-gesture-events.md414 auto panGesture = gestureApi->createPanGesture(1, GESTURE_DIRECTION_VERTICAL, 5);
416 ArkUI_GestureRecognizerType type = gestureApi->getGestureType(panGesture);
418 … "onPanActionCallBack panGesture, ArkUI_GestureRecognizerType %{public}d", type);
440 … "onPanActionCallBack, panGesture callback actionType: %{public}d, velocity %{public}f,velocityX "
448 gestureApi->setGestureEventTarget(panGesture,
454 gestureApi->addChildGesture(groupGesture, panGesture);
455 …OG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Manager", "onPanActionCallBack, addChildGesture panGesture");
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/container_modal/
H A Dcontainer_modal_component.cpp80 auto panGesture = in BuildTitle() local
82 panGesture->SetOnActionStartId([contextWptr = context_](const GestureEvent&) { in BuildTitle()
89 titleBox->AddGesture(GesturePriority::Low, panGesture); in BuildTitle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkComponent.ts4870 let panGesture: PanGestureHandler = gesture as PanGestureHandler;
4871 … getUINativeModule().common.addPanGesture(this._nodePtr, priority, mask, panGesture.gestureTag,
4872panGesture.allowedTypes, panGesture.fingers, panGesture.direction, panGesture.distance, panGesture
4873panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba…
4967 let panGesture: PanGestureHandler = gesture as PanGestureHandler;
4968 …getUINativeModule().common.addPanGestureToGroup(nodePtr, panGesture.gestureTag, panGesture.allowed…
4969panGesture.fingers, panGesture.direction, panGesture.distance, panGesture.onActionStartCallback,
4970panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js4855 let panGesture = gesture;
4856 … getUINativeModule().common.addPanGesture(this._nodePtr, priority, mask, panGesture.gestureTag,
4857panGesture.allowedTypes, panGesture.fingers, panGesture.direction, panGesture.distance, panGesture
4858panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba…
4952 let panGesture = gesture;
4953 …getUINativeModule().common.addPanGestureToGroup(nodePtr, panGesture.gestureTag, panGesture.allowed…
4954panGesture.fingers, panGesture.direction, panGesture.distance, panGesture.onActionStartCallback,
4955panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba…