Home
last modified time | relevance | path

Searched refs:swipeGestureEvent (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_gesture_judge_function.cpp160 auto swipeGestureEvent = TypeInfoHelper::DynamicCast<SwipeGestureEvent>(info.get()); in SetUniqueAttributes() local
161 if (swipeGestureEvent) { in SetUniqueAttributes()
162 obj->SetProperty<double>("angle", swipeGestureEvent->GetAngle()); in SetUniqueAttributes()
163 obj->SetProperty<double>("speed", swipeGestureEvent->GetSpeed()); in SetUniqueAttributes()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_gesture_modifier.cpp352 auto swipeGestureEvent = TypeInfoHelper::DynamicCast<SwipeGestureEvent>(info.get()); in GetUniqueGestureEvent() local
353 if (swipeGestureEvent) { in GetUniqueGestureEvent()
354 ret->angle = swipeGestureEvent->GetAngle(); in GetUniqueGestureEvent()
355 ret->speed = swipeGestureEvent->GetSpeed(); in GetUniqueGestureEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp6168 auto* swipeGestureEvent = TypeInfoHelper::DynamicCast<SwipeGestureEvent>(info.get()); in SetUniqueAttributes() local
6169 if (swipeGestureEvent) { in SetUniqueAttributes()
6171 … Local<JSValueRef> values[] = { panda::NumberRef::New(vm, swipeGestureEvent->GetAngle()), in SetUniqueAttributes()
6172 panda::NumberRef::New(vm, swipeGestureEvent->GetSpeed()) }; in SetUniqueAttributes()