Home
last modified time | relevance | path

Searched refs:GetVelocity (Results 1 - 25 of 46) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dbilateral_spring_adapter.cpp49 controlNode->ResetNode(0.0, controlNode->GetVelocity()); in ResetControl()
79 dstNode->ResetNode(srcNode->GetValue(), srcNode->GetVelocity()); in MoveNode()
H A Dfriction_motion.cpp82 double FrictionMotion::GetVelocity(float offsetTime) const in GetVelocity() function in OHOS::Ace::FrictionMotion
94 return GetVelocity(currentTime_); in GetCurrentVelocity()
H A Dfriction_motion.h40 double GetVelocity(float offsetTime) const;
H A Dsimple_spring_node.h51 double GetVelocity() const override
H A Dnative_curve_helper.cpp36 interpolatingSpringCurve->GetVelocity(), interpolatingSpringCurve->GetMinimumAmplitudeRatio()); in ToNativeCurve()
H A Dspring_node.h107 virtual double GetVelocity() const = 0;
H A Dcurve.h368 return NearEqual(other->GetVelocity(), velocity_) && NearEqual(other->GetMass(), mass_) &&
372 float GetVelocity() const in GetVelocity() function in OHOS::Ace::final
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_gesture_function.cpp58 "velocityX", PipelineBase::Px2VpWithCurrentDensity(info.GetVelocity().GetVelocityX())); in CreateGestureEvent()
60 "velocityY", PipelineBase::Px2VpWithCurrentDensity(info.GetVelocity().GetVelocityY())); in CreateGestureEvent()
62 "velocity", PipelineBase::Px2VpWithCurrentDensity(info.GetVelocity().GetVelocityValue())); in CreateGestureEvent()
H A Djs_gesture_judge_function.cpp133 "velocityX", PipelineBase::Px2VpWithCurrentDensity(panGestureEvent->GetVelocity().GetVelocityX())); in SetUniqueAttributes()
135 "velocityY", PipelineBase::Px2VpWithCurrentDensity(panGestureEvent->GetVelocity().GetVelocityY())); in SetUniqueAttributes()
137 PipelineBase::Px2VpWithCurrentDensity(panGestureEvent->GetVelocity().GetVelocityValue())); in SetUniqueAttributes()
H A Djs_drag_function.cpp129 JSClass<JsDragEvent>::CustomMethod("getVelocity", &JsDragEvent::GetVelocity); in JSBind()
342 auto jsValue = JSVal(ToJSValue(PipelineBase::Px2VpWithCurrentDensity(dragEvent_->GetVelocity().GetVelocityX()))); in GetVelocityX()
349 auto jsValue = JSVal(ToJSValue(PipelineBase::Px2VpWithCurrentDensity(dragEvent_->GetVelocity().GetVelocityY()))); in GetVelocityY()
354 void JsDragEvent::GetVelocity(const JSCallbackInfo& args) in GetVelocity() function in OHOS::Ace::Framework::JsDragEvent
357 ToJSValue(PipelineBase::Px2VpWithCurrentDensity(dragEvent_->GetVelocity().GetVelocityValue()))); in GetVelocity()
H A Djs_pan_function.cpp57 const OHOS::Ace::Velocity& velocityLocation = info.GetVelocity(); in Execute()
H A Djs_drag_function.h62 void GetVelocity(const JSCallbackInfo& args);
/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Dvelocity_tracker.h70 const Velocity& GetVelocity() in GetVelocity() function in OHOS::Ace::final
H A Ddrag_recognizer.cpp166 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent()
177 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent()
H A Dgesture_event.h175 const Velocity& GetVelocity() const in GetVelocity() function in OHOS::OHOS::Ace::GestureEvent
H A Ddrag_event.h265 const Velocity& GetVelocity() const in GetVelocity() function in OHOS::Ace::DragEvent
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_drag_modifier.cpp65 event.dragEvent.velocityX = info->GetVelocity().GetVelocityX(); in SetDragEventProperty()
66 event.dragEvent.velocityY = info->GetVelocity().GetVelocityY(); in SetDragEventProperty()
67 event.dragEvent.velocity = info->GetVelocity().GetVelocityValue(); in SetDragEventProperty()
H A Dnode_gesture_modifier.cpp257 ret.velocityX = info.GetVelocity().GetVelocityX();
258 ret.velocityY = info.GetVelocity().GetVelocityY();
259 ret.velocity = info.GetVelocity().GetVelocityValue();
326 ret->velocityX = panGestureEvent->GetVelocity().GetVelocityX(); in GetUniqueGestureEvent()
327 ret->velocityY = panGestureEvent->GetVelocity().GetVelocityY(); in GetUniqueGestureEvent()
328 ret->velocity = panGestureEvent->GetVelocity().GetVelocityValue(); in GetUniqueGestureEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dbase_gesture_event.h104 const Velocity& GetVelocity() const in GetVelocity() function in OHOS::Ace::PanGestureEvent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_overscroll.cpp110 auto velocity = std::abs(velocityTracker_.GetVelocity().GetVelocityY()) * damping; in ShouldStartRebound()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_pattern.cpp200 auto offsetPerSecondX = info.GetVelocity().GetOffsetPerSecond().GetX(); in InitPanEvent()
201 auto offsetPerSecondY = info.GetVelocity().GetOffsetPerSecond().GetY(); in InitPanEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dpan_recognizer.h87 Velocity GetVelocity();
H A Dpan_recognizer.cpp687 info.SetVelocity(panVelocity_.GetVelocity()); in GetGestureEventInfo()
759 info->SetVelocity(panVelocity_.GetVelocity()); in TriggerGestureJudgeCallback()
928 Velocity PanRecognizer::PanVelocity::GetVelocity() in GetVelocity() function in OHOS::Ace::NG::PanRecognizer::PanVelocity
930 auto&& func = [](VelocityTracker& tracker) { return tracker.GetVelocity().GetVelocityValue(); }; in GetVelocity()
932 return (id != -1) ? trackerMap_[id].GetVelocity() : Velocity(); in GetVelocity()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_pattern.cpp323 refreshCoordination_->OnScrollStart(FromDrag(source), GetVelocity()); in CoordinateWithRefresh()
330 refreshCoordination_->OnScrollStart(FromDrag(source), GetVelocity()); in CoordinateWithRefresh()
336 refreshCoordination_->OnScrollEnd(GetVelocity()); in CoordinateWithRefresh()
341 GreatNotEqual(overOffsets.start, 0.0) ? overOffsets.start : offset, GetVelocity())) { in CoordinateWithRefresh()
462 refreshCoordination_->OnScrollEnd(GetVelocity()); in OnScrollEnd()
467 sheetPattern_->OnCoordScrollEnd(GetVelocity()); in OnScrollEnd()
535 return pattern->HandleScroll(offset, source, state, pattern->GetVelocity()); in SetHandleScrollCallback()
569 pattern->OnScrollStartRecursiveInner(weak, position, pattern->GetVelocity()); in SetOnScrollStartRec()
2034 return parent->HandleScroll(offset, source, NestedState::CHILD_OVER_SCROLL, GetVelocity()); in HandleScrollParentFirst()
2039 auto result = parent->HandleScroll(offset, source, NestedState::CHILD_SCROLL, GetVelocity()); in HandleScrollParentFirst()
2436 float ScrollablePattern::GetVelocity() const GetVelocity() function in OHOS::Ace::NG::ScrollablePattern
[all...]
/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/
H A Dtimepicker_haptic_controller.cpp218 double velocityInPixels = velocityTracker_.GetVelocity().GetVelocityY(); in GetCurrentSpeedInMm()

Completed in 18 milliseconds

12