Home
last modified time | relevance | path

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

12

/ohos5.0/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().Get… in GetVelocityX()
349 …auto jsValue = JSVal(ToJSValue(PipelineBase::Px2VpWithCurrentDensity(dragEvent_->GetVelocity().Get… 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);
/ohos5.0/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 in GetVelocity() function
H A Dspring_node.h107 virtual double GetVelocity() const = 0;
H A Dnative_curve_helper.cpp36 … interpolatingSpringCurve->GetVelocity(), interpolatingSpringCurve->GetMinimumAmplitudeRatio()); in ToNativeCurve()
H A Dcurve.h368 return NearEqual(other->GetVelocity(), velocity_) && NearEqual(other->GetMass(), mass_) && in IsEqual()
372 float GetVelocity() const in GetVelocity() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_pattern.cpp333 refreshCoordination_->OnScrollStart(FromDrag(source), GetVelocity()); in CoordinateWithRefresh()
340 refreshCoordination_->OnScrollStart(FromDrag(source), GetVelocity()); in CoordinateWithRefresh()
346 refreshCoordination_->OnScrollEnd(GetVelocity()); in CoordinateWithRefresh()
472 refreshCoordination_->OnScrollEnd(GetVelocity()); in OnScrollEnd()
477 sheetPattern_->OnCoordScrollEnd(GetVelocity()); in OnScrollEnd()
534 return pattern->HandleScroll(offset, source, state, pattern->GetVelocity()); in AddScrollEvent()
556 pattern->OnScrollStartRecursiveInner(weak, position, pattern->GetVelocity()); in AddScrollEvent()
1095 pattern->ScrollEndCallback(nestedScroll, pattern->GetVelocity()); in SetScrollBarProxy()
2153 GetVelocity()); in HandleOutBoundary()
2382 parent->OnScrollStartRecursive(child, position, GetVelocity()); in OnScrollStartRecursiveInner()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/
H A Dmenu_preview_pattern.cpp201 auto offsetPerSecondX = info.GetVelocity().GetOffsetPerSecond().GetX(); in InitPanEvent()
202 auto offsetPerSecondY = info.GetVelocity().GetOffsetPerSecond().GetY(); in InitPanEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Ddrag_recognizer.cpp166 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent()
177 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent()
H A Dvelocity_tracker.h70 const Velocity& GetVelocity() in GetVelocity() function
H A Ddrag_event.h265 const Velocity& GetVelocity() const in GetVelocity() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_gesture_modifier.cpp260 ret.velocityX = info.GetVelocity().GetVelocityX(); in GetGestureEvent()
261 ret.velocityY = info.GetVelocity().GetVelocityY(); in GetGestureEvent()
262 ret.velocity = info.GetVelocity().GetVelocityValue(); in GetGestureEvent()
329 ret->velocityX = panGestureEvent->GetVelocity().GetVelocityX(); in GetUniqueGestureEvent()
330 ret->velocityY = panGestureEvent->GetVelocity().GetVelocityY(); in GetUniqueGestureEvent()
331 ret->velocity = panGestureEvent->GetVelocity().GetVelocityValue(); in GetUniqueGestureEvent()
H A Dnode_drag_modifier.cpp101 event.dragEvent.velocityX = info->GetVelocity().GetVelocityX(); in SetDragEventProperty()
102 event.dragEvent.velocityY = info->GetVelocity().GetVelocityY(); in SetDragEventProperty()
103 event.dragEvent.velocity = info->GetVelocity().GetVelocityValue(); in SetDragEventProperty()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dpan_recognizer.cpp663 info.SetVelocity(panVelocity_.GetVelocity()); in GetGestureEventInfo()
735 info->SetVelocity(panVelocity_.GetVelocity()); in TriggerGestureJudgeCallback()
901 Velocity PanRecognizer::PanVelocity::GetVelocity() in GetVelocity() function in OHOS::Ace::NG::PanRecognizer::PanVelocity
903 auto&& func = [](VelocityTracker& tracker) { return tracker.GetVelocity().GetVelocityValue(); }; in GetVelocity()
905 return (id != -1) ? trackerMap_[id].GetVelocity() : Velocity(); in GetVelocity()
H A Dpan_recognizer.h87 Velocity GetVelocity();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/
H A Dbase_gesture_event.h104 const Velocity& GetVelocity() const in GetVelocity() function
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/shader/
H A Dfullscreen_taa.frag52 vec2 GetVelocity()
104 const vec2 velocity = GetVelocity();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_overscroll.cpp111 auto velocity = std::abs(velocityTracker_.GetVelocity().GetVelocityY()) * damping; in ShouldStartRebound()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/
H A Dtimepicker_haptic_controller.cpp217 double velocityInPixels = velocityTracker_.GetVelocity().GetVelocityY(); in GetCurrentSpeedInMm()

12