Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Dui_observer_listener.cpp490 napi_value napiVelocity = GetNamedProperty(env_, objValueClickEvent, "velocity"); in AddGestureEventInfoThree() local
491 if (GetValueType(env_, napiVelocity) != napi_null) { in AddGestureEventInfoThree()
492 …napi_create_double(env_, gestureEventInfo.GetVelocity().GetVelocityValue() / scale, &napiVelocity); in AddGestureEventInfoThree()
493 napi_set_named_property(env_, objValueClickEvent, "velocity", napiVelocity); in AddGestureEventInfoThree()