Searched refs:napiVelocity (Results 1 – 1 of 1) sorted by relevance
490 napi_value napiVelocity = GetNamedProperty(env_, objValueClickEvent, "velocity"); in AddGestureEventInfoThree() local491 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()