Home
last modified time | relevance | path

Searched refs:ResponsiveSpringMotion (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_curves_module.cpp220 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 Dcurve.h283 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 Danimation_util.cpp494 …{ "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()
498ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_RESPONSE, in CreateKeyboardAnimationOption()
499ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_DAMPING_RATIO, in CreateKeyboardAnimationOption()
500ResponsiveSpringMotion::DEFAULT_RESPONSIVE_SPRING_MOTION_BLEND_DURATION) }, in CreateKeyboardAnimationOption()
H A Dnative_curve_helper.cpp39 } else if (auto springMotionCurve = AceType::DynamicCast<ResponsiveSpringMotion>(curve)) { in ToNativeCurve()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.cpp115 : 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 Dcontainer_modal_view.cpp298 …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 Dscroll_animation_test_ng.cpp113 auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(0.314f, 0.95f);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Danimate_impl_test.cpp108 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 Dscrollable.cpp550 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 Danimate_impl.h115 ArkUI_CurveHandle ResponsiveSpringMotion(float response, float dampingFraction, float overlapDurati…
H A Danimate_impl.cpp342 ArkUI_CurveHandle ResponsiveSpringMotion(float response, float dampingFraction, float overlapDurati… in ResponsiveSpringMotion() function
H A Dnode_animate.cpp687 …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 Ddrag_animation_helper.cpp216 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 Dnode_animate.cpp548 …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 Dmenu_preview_pattern.cpp63 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(springMotionResponse, springMotionDampin… in ShowScaleAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_modifier.cpp707 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 Dscroll_bar_overlay_modifier.cpp172 …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 Dmoon_progress_modifier.cpp104 …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 Dslider_content_modifier.cpp441 …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 Dtoast_pattern.cpp167 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 Dmenu_pattern.cpp1097 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(springMotionResponse, springMotionDampin… in ShowPreviewMenuScaleAnimation()
1142 …auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>(springMotionResponse, springMotionDampin… in ShowPreviewMenuAnimation()
H A Dmenu_view.cpp580 auto motion = AceType::MakeRefPtr<ResponsiveSpringMotion>( in ShowPixelMapScaleAnimationProc()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dnavigation_branch_test_ng.cpp961 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 Ddrag_drop_manager.cpp1792 …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 Dgauge_modifier.cpp82 AceType::MakeRefPtr<ResponsiveSpringMotion>(RESPONSE, DAMPING_FRACTION); in UpdateValue()

12