/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | bilateral_spring_adapter.cpp | 49 controlNode->ResetNode(0.0, controlNode->GetVelocity()); in ResetControl() 79 dstNode->ResetNode(srcNode->GetValue(), srcNode->GetVelocity()); in MoveNode()
|
H A D | friction_motion.cpp | 82 double FrictionMotion::GetVelocity(float offsetTime) const in GetVelocity() function in OHOS::Ace::FrictionMotion 94 return GetVelocity(currentTime_); in GetCurrentVelocity()
|
H A D | friction_motion.h | 40 double GetVelocity(float offsetTime) const;
|
H A D | simple_spring_node.h | 51 double GetVelocity() const override
|
H A D | native_curve_helper.cpp | 36 interpolatingSpringCurve->GetVelocity(), interpolatingSpringCurve->GetMinimumAmplitudeRatio()); in ToNativeCurve()
|
H A D | spring_node.h | 107 virtual double GetVelocity() const = 0;
|
H A D | curve.h | 368 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 D | js_gesture_function.cpp | 58 "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 D | js_gesture_judge_function.cpp | 133 "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 D | js_drag_function.cpp | 129 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 D | js_pan_function.cpp | 57 const OHOS::Ace::Velocity& velocityLocation = info.GetVelocity(); in Execute()
|
H A D | js_drag_function.h | 62 void GetVelocity(const JSCallbackInfo& args);
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | velocity_tracker.h | 70 const Velocity& GetVelocity() in GetVelocity() function in OHOS::Ace::final
|
H A D | drag_recognizer.cpp | 166 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent() 177 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent()
|
H A D | gesture_event.h | 175 const Velocity& GetVelocity() const in GetVelocity() function in OHOS::OHOS::Ace::GestureEvent
|
H A D | drag_event.h | 265 const Velocity& GetVelocity() const in GetVelocity() function in OHOS::Ace::DragEvent
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_drag_modifier.cpp | 65 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 D | node_gesture_modifier.cpp | 257 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 D | base_gesture_event.h | 104 const Velocity& GetVelocity() const in GetVelocity() function in OHOS::Ace::PanGestureEvent
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_overscroll.cpp | 110 auto velocity = std::abs(velocityTracker_.GetVelocity().GetVelocityY()) * damping; in ShouldStartRebound()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/ |
H A D | menu_preview_pattern.cpp | 200 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 D | pan_recognizer.h | 87 Velocity GetVelocity();
|
H A D | pan_recognizer.cpp | 687 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 D | scrollable_pattern.cpp | 323 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 D | timepicker_haptic_controller.cpp | 218 double velocityInPixels = velocityTracker_.GetVelocity().GetVelocityY(); in GetCurrentSpeedInMm()
|