/ohos5.0/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().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 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);
|
/ohos5.0/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 in GetVelocity() function
|
H A D | spring_node.h | 107 virtual double GetVelocity() const = 0;
|
H A D | native_curve_helper.cpp | 36 … interpolatingSpringCurve->GetVelocity(), interpolatingSpringCurve->GetMinimumAmplitudeRatio()); in ToNativeCurve()
|
H A D | curve.h | 368 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 D | scrollable_pattern.cpp | 333 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 D | menu_preview_pattern.cpp | 201 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 D | drag_recognizer.cpp | 166 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent() 177 endInfo.SetVelocity(dragInfo.velocityTracker_.GetVelocity()) in HandleTouchUpEvent()
|
H A D | velocity_tracker.h | 70 const Velocity& GetVelocity() in GetVelocity() function
|
H A D | drag_event.h | 265 const Velocity& GetVelocity() const in GetVelocity() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_gesture_modifier.cpp | 260 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 D | node_drag_modifier.cpp | 101 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 D | pan_recognizer.cpp | 663 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 D | pan_recognizer.h | 87 Velocity GetVelocity();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/ |
H A D | base_gesture_event.h | 104 const Velocity& GetVelocity() const in GetVelocity() function
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/assets/render/shaders/shader/ |
H A D | fullscreen_taa.frag | 52 vec2 GetVelocity() 104 const vec2 velocity = GetVelocity();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_overscroll.cpp | 111 auto velocity = std::abs(velocityTracker_.GetVelocity().GetVelocityY()) * damping; in ShouldStartRebound()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/timepicker/ |
H A D | timepicker_haptic_controller.cpp | 217 double velocityInPixels = velocityTracker_.GetVelocity().GetVelocityY(); in GetCurrentSpeedInMm()
|