/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_curves_module.cpp | 220 float response = ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_RESPONSE; in CreateSpringMotionCurve() 221 float dampingRatio = ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_DAMPING_RATIO; in CreateSpringMotionCurve() 222 float blendDuration = ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_BLEND_DURATION; in CreateSpringMotionCurve() 226 response = ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_RESPONSE; in CreateSpringMotionCurve() 232 dampingRatio = ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_DAMPING_RATIO; in CreateSpringMotionCurve() 238 blendDuration = ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_BLEND_DURATION; in CreateSpringMotionCurve() 241 curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(response, dampingRatio, blendDuration); in CreateSpringMotionCurve() 251 float response = ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_RESPONSE; in CreateResponsiveSpringMotionCurve() 252 float dampingRatio = ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_DAMPING_RATIO; in CreateResponsiveSpringMotionCurve() 257 response = ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_RESPONSE; in CreateResponsiveSpringMotionCurve() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | curve.h | 283 class ResponsiveSpringMotion final : public Curve { 284 DECLARE_ACE_TYPE(ResponsiveSpringMotion, Curve); 287 ResponsiveSpringMotion(float response, float dampingRatio, float blendDuration = 0.0f) 290 ~ResponsiveSpringMotion() override = default; 307 auto other = AceType::DynamicCast<ResponsiveSpringMotion>(curve); in IsEqual()
|
H A D | animation_util.cpp | 494 …{ "spring", AceType::MakeRefPtr<ResponsiveSpringMotion>(ResponsiveSpringMotion::DEFAULT_SPRING_MOT… in CreateKeyboardAnimationOption() 495 ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_DAMPING_RATIO, in CreateKeyboardAnimationOption() 496 ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_BLEND_DURATION) }, in CreateKeyboardAnimationOption() 497 { "interactiveSpring", AceType::MakeRefPtr<ResponsiveSpringMotion>( in CreateKeyboardAnimationOption() 498 … ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_RESPONSE, in CreateKeyboardAnimationOption() 499 … ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_DAMPING_RATIO, in CreateKeyboardAnimationOption() 500 … ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_BLEND_DURATION) }, in CreateKeyboardAnimationOption()
|
H A D | native_curve_helper.cpp | 39 } else if (auto springMotionCurve = AceType::DynamicCast<ResponsiveSpringMotion>(curve)) { in ToNativeCurve()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.cpp | 115 : ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_RESPONSE; in SpringMotionCreator() 117 : ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_DAMPING_RATIO; in SpringMotionCreator() 119 : ResponsiveSpringMotion::DEFAULT_SPRING_MOTION_BLEND_DURATION; in SpringMotionCreator() 120 return AceType::MakeRefPtr<ResponsiveSpringMotion>(response, dampingRatio, blendDuration); in SpringMotionCreator() 130 : ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_RESPONSE; in ResponsiveSpringMotionCreator() 132 … : ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_DAMPING_RATIO; in ResponsiveSpringMotionCreator() 134 … : ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_BLEND_DURATION; in ResponsiveSpringMotionCreator() 135 return AceType::MakeRefPtr<ResponsiveSpringMotion>(response, dampingRatio, blendDuration); in ResponsiveSpringMotionCreator()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/ |
H A D | container_modal_view.cpp | 298 …auto motion = MakeRefPtr<ResponsiveSpringMotion>(SPRINGMOTION_RESPONSE, CURRENT_RATIO, CURRENT_DUR… in AddButtonHover() 344 float response = ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_RESPONSE; in AddButtonMouse() 345 float dampingRatio = ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_DAMPING_RATIO; in AddButtonMouse() 346 … float blendDuration = ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_BLEND_DURATION; in AddButtonMouse() 347 auto motion = MakeRefPtr<ResponsiveSpringMotion>(response, dampingRatio, blendDuration); in AddButtonMouse()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/ |
H A D | scroll_animation_test_ng.cpp | 113 auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.314f, 0.95f);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | animate_impl_test.cpp | 108 ArkUI_CurveHandle curve = ResponsiveSpringMotion(0.0f, 0.0f, 0.0f); 248 ArkUI_CurveHandle curve = ResponsiveSpringMotion(-1.0f, -1.0f, -1.0f); 263 ArkUI_CurveHandle curve = ResponsiveSpringMotion(0.5f, 0.5f, 0.5f);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable.cpp | 550 auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(response, 1.0f, 0.0f); in StartScrollAnimation() 696 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(DEFAULT_SPRING_RESPONSE, DEFAULT_SPRING_D… in StartScrollSnapMotion() 735 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(DEFAULT_SPRING_RESPONSE, DEFAULT_SPRING_D… in ProcessScrollSnapSpringMotion() 845 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(DEFAULT_SPRING_RESPONSE, DEFAULT_SPRING_D… in StartSpringMotion() 901 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(DEFAULT_SPRING_RESPONSE, DEFAULT_SPRING_D… in UpdateSpringMotion() 1108 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(DEFAULT_SPRING_RESPONSE, DEFAULT_SPRING_D… in UpdateScrollSnapEndWithOffset()
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | animate_impl.h | 115 ArkUI_CurveHandle ResponsiveSpringMotion(float response, float dampingFraction, float overlapDurati…
|
H A D | animate_impl.cpp | 342 ArkUI_CurveHandle ResponsiveSpringMotion(float response, float dampingFraction, float overlapDurati… in ResponsiveSpringMotion() function
|
H A D | node_animate.cpp | 687 …return OHOS::Ace::AnimateModel::ResponsiveSpringMotion(response, dampingFraction, overlapDuration); in OH_ArkUI_Curve_CreateResponsiveSpringMotion()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/utils/ |
H A D | drag_animation_helper.cpp | 216 const RefPtr<Curve> curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.33f, 0.67f, 1.0f); in PlayNodeResetAnimation() 247 const RefPtr<Curve> curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(GATHER_SPRING_RESPONSE, in PlayGatherAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_animate.cpp | 548 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(response, dampingFraction, overlapDuratio… in CreateSpringMotion() 556 …auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(response, dampingFraction, overlapDuratio… in CreateResponsiveSpringMotion()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/ |
H A D | menu_preview_pattern.cpp | 63 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(springMotionResponse, springMotionDampin… in ShowScaleAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/ |
H A D | patternlock_modifier.cpp | 707 auto curve = AceType::MakeRefPtr<ResponsiveSpringMotion>( in SetBackgroundCircleRadius() 814 …AceType::MakeRefPtr<ResponsiveSpringMotion>(CONNECTED_LINE_SPRING_RESPONSE, CONNECTED_LINE_SPRING_… in SetConnectedLineTailPoint() 839 …AceType::MakeRefPtr<ResponsiveSpringMotion>(CANCELED_LINE_SPRING_RESPONSE, CANCELED_LINE_SPRING_DA… in SetCanceledLineTailPoint()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/ |
H A D | scroll_bar_overlay_modifier.cpp | 172 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(SPRING_MOTION_RESPONSE, SPRING_MOTION_DA… in StartAdaptAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | moon_progress_modifier.cpp | 104 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(SPRING_MOTION_RESPONSE, SPRING_MOTION_DA… in SetValue()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/ |
H A D | slider_content_modifier.cpp | 441 …AceType::MakeRefPtr<ResponsiveSpringMotion>(SPRING_MOTION_RESPONSE, SPRING_MOTION_DAMPING_FRACTION… in SetSelectSize() 482 …AceType::MakeRefPtr<ResponsiveSpringMotion>(SPRING_MOTION_RESPONSE, SPRING_MOTION_DAMPING_FRACTION… in SetCircleCenter()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
H A D | toast_pattern.cpp | 167 auto translationCurve = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.35f, 1.0f, 0.0f); in OnDirtyLayoutWrapperSwap()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/ |
H A D | menu_pattern.cpp | 1097 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(springMotionResponse, springMotionDampin… in ShowPreviewMenuScaleAnimation() 1142 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(springMotionResponse, springMotionDampin… in ShowPreviewMenuAnimation()
|
H A D | menu_view.cpp | 580 auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>( in ShowPixelMapScaleAnimationProc()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/ |
H A D | navigation_branch_test_ng.cpp | 961 auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.314f, 0.95f); 1021 auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.314f, 0.95f);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 1792 …const RefPtr<Curve> curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(springResponse, 0.99f, 0.0… in DragMoveAnimation() 1879 const RefPtr<Curve> curve = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.347f, 0.99f, 0.0f); in DragStartAnimation()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gauge/ |
H A D | gauge_modifier.cpp | 82 AceType::MakeRefPtr<ResponsiveSpringMotion>(RESPONSE, DAMPING_FRACTION); in UpdateValue()
|