/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/ |
H A D | pan_gesture.cpp | 87 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 D | pan_gesture.h | 62 int32_t Serialize(char* panGesture) override;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | native_gesture_test.cpp | 48 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 D | pan_recognizer_test_ng.cpp | 1393 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 D | gesture_group_test_ng.cpp | 1052 …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 D | ndk-bind-gesture-events.md | 414 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 D | ndk-bind-gesture-events.md | 414 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 D | container_modal_component.cpp | 80 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 D | ArkComponent.ts | 4870 let panGesture: PanGestureHandler = gesture as PanGestureHandler; 4871 … getUINativeModule().common.addPanGesture(this._nodePtr, priority, mask, panGesture.gestureTag, 4872 …panGesture.allowedTypes, panGesture.fingers, panGesture.direction, panGesture.distance, panGesture… 4873 …panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba… 4967 let panGesture: PanGestureHandler = gesture as PanGestureHandler; 4968 …getUINativeModule().common.addPanGestureToGroup(nodePtr, panGesture.gestureTag, panGesture.allowed… 4969 … panGesture.fingers, panGesture.direction, panGesture.distance, panGesture.onActionStartCallback, 4970 …panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 4855 let panGesture = gesture; 4856 … getUINativeModule().common.addPanGesture(this._nodePtr, priority, mask, panGesture.gestureTag, 4857 …panGesture.allowedTypes, panGesture.fingers, panGesture.direction, panGesture.distance, panGesture… 4858 …panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba… 4952 let panGesture = gesture; 4953 …getUINativeModule().common.addPanGestureToGroup(nodePtr, panGesture.gestureTag, panGesture.allowed… 4954 … panGesture.fingers, panGesture.direction, panGesture.distance, panGesture.onActionStartCallback, 4955 …panGesture.onActionUpdateCallback, panGesture.onActionEndCallback, panGesture.onActionCancelCallba…
|