Home
last modified time | relevance | path

Searched refs:GetVelocityX (Results 1 - 14 of 14) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dvelocity.h75 double GetVelocityX() const in GetVelocityX() function in OHOS::Ace::final
H A Dvelocity_tracker.h116 return velocity_.GetVelocityX(); in GetMainAxisVelocity()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_pan_function.cpp59 velocityInfoObj->SetProperty<double>("x", velocityLocation.GetVelocityX()); in Execute()
H A Djs_drag_function.h59 void GetVelocityX(const JSCallbackInfo& args);
H A Djs_gesture_function.cpp58 "velocityX", PipelineBase::Px2VpWithCurrentDensity(info.GetVelocity().GetVelocityX())); in CreateGestureEvent()
H A Djs_drag_function.cpp127 JSClass<JsDragEvent>::CustomMethod("getVelocityX", &JsDragEvent::GetVelocityX); in JSBind()
340 void JsDragEvent::GetVelocityX(const JSCallbackInfo& args) in GetVelocityX() function in OHOS::Ace::Framework::JsDragEvent
342 auto jsValue = JSVal(ToJSValue(PipelineBase::Px2VpWithCurrentDensity(dragEvent_->GetVelocity().GetVelocityX()))); in GetVelocityX()
H A Djs_gesture_judge_function.cpp133 "velocityX", PipelineBase::Px2VpWithCurrentDensity(panGestureEvent->GetVelocity().GetVelocityX())); in SetUniqueAttributes()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_drag_modifier.cpp65 event.dragEvent.velocityX = info->GetVelocity().GetVelocityX(); in SetDragEventProperty()
H A Dnode_gesture_modifier.cpp257 ret.velocityX = info.GetVelocity().GetVelocityX();
326 ret->velocityX = panGestureEvent->GetVelocity().GetVelocityX(); in GetUniqueGestureEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/
H A Dlinear_split_pattern.cpp523 SPLIT_DRAG_SCENE, fabs(static_cast<float>(info.GetVelocity().GetVelocityX())), sceneStatus); in UpdateDragFRCSceneInfo()
/foundation/arkui/ace_engine/interfaces/napi/kits/observer/
H A Dui_observer_listener.cpp474 napi_create_double(env_, gestureEventInfo.GetVelocity().GetVelocityX() / scale, &napiVelocityX); in AddGestureEventInfoThree()
/foundation/arkui/ace_engine/frameworks/core/gestures/test/unittest/
H A Dgestures_test.cpp591 ASSERT_EQ(onVelocityTracker.GetMainAxisVelocity(), velocity.GetVelocityX()); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp6067 panda::NumberRef::New(vm, panGestureEvent->GetVelocity().GetVelocityX() / density), in SetUniqueAttributes()
6444 panda::NumberRef::New(vm, info.GetVelocity().GetVelocityX() / density), in CreateCommonGestureEventInfo()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/
H A Dweb_pattern.cpp874 event.GetVelocity().GetVelocityX(), in HandleFlingMove()

Completed in 42 milliseconds