/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | spring_curve.h | 24 class ACE_EXPORT SpringCurve : public Curve { class 25 DECLARE_ACE_TYPE(SpringCurve, Curve); 28 SpringCurve(float velocity, float mass, float stiffness, float damping); 29 ~SpringCurve() override = default; 61 auto other = DynamicCast<SpringCurve>(curve);
|
H A D | spring_curve.cpp | 34 SpringCurve::SpringCurve(float velocity, float mass, float stiffness, float damping) in SpringCurve() function in OHOS::Ace::SpringCurve 42 void SpringCurve::SetEndPosition(float endPosition, float startVelocity) in SetEndPosition() 61 void SpringCurve::InitEstimateDuration() in InitEstimateDuration() 94 float SpringCurve::MoveInternal(float time) in MoveInternal() 97 LOGE("SpringCurve MoveInternal: time is less than 0 or larger than 1, return 1"); in MoveInternal() 115 const std::string SpringCurve::ToString() in ToString()
|
H A D | native_curve_helper.cpp | 30 } else if (auto springCurve = AceType::DynamicCast<SpringCurve>(curve)) { in ToNativeCurve()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | animate_impl.h | 113 ArkUI_CurveHandle SpringCurve(float velocity, float mass, float stiffness, float damping);
|
H A D | animate_impl.cpp | 298 ArkUI_CurveHandle SpringCurve(float velocity, float mass, float stiffness, float damping) in SpringCurve() function
|
H A D | node_animate.cpp | 673 return OHOS::Ace::AnimateModel::SpringCurve(velocity, mass, stiffness, damping); in OH_ArkUI_Curve_CreateSpringCurve()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_curves_module.cpp | 132 curve = AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in CreateSpringCurve() 344 shared_ptr<JsValue> SpringCurve(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in SpringCurve() function 399 moduleObj->SetProperty(runtime, SPRING_CURVE, runtime->NewFunction(SpringCurve)); in InitCurvesModule()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | animate_impl_test.cpp | 70 * @tc.desc: Test SpringCurve function. 75 ArkUI_CurveHandle curve = SpringCurve(0.0f, 0.0f, 0.0f, 0.0f); in HWTEST_F() 182 * @tc.desc: Test SpringCurve function. 188 ArkUI_CurveHandle curve = SpringCurve(0.0f, 0.0f, 0.0f, 0.0f); in HWTEST_F() 197 * @tc.desc: Test SpringCurve function. 203 ArkUI_CurveHandle curve = SpringCurve(0.5f, 0.5f, 0.5f, 0.5f); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_event_hub.cpp | 350 auto curve = MakeRefPtr<SpringCurve>( in MoveItems()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_animation_test_ng.cpp | 400 auto curve1 = AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in HWTEST_F() 442 auto curve1 = AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/refresh/ |
H A D | refresh_pattern.cpp | 1027 option.SetCurve(AceType::MakeRefPtr<SpringCurve>(0.0f, 1.0f, 228.0f, 30.0f)); in LoadingProgressRefreshingAnimation() 1077 option.SetCurve(AceType::MakeRefPtr<SpringCurve>(0.0f, 1.0f, 228.0f, 30.0f)); in CustomBuilderRefreshingAnimation()
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_animate.cpp | 465 auto curve = AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in CreateSpringCurve()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.cpp | 93 return AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in SpringCurveCreator()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/ |
H A D | data_panel_modifier.cpp | 104 RefPtr<Curve> curve = AceType::MakeRefPtr<SpringCurve>( in UpdateDate()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_pattern.cpp | 3440 if (InstanceOf<SpringCurve>(curve)) { 3441 auto springCurve = DynamicCast<SpringCurve>(curve); 3444 return AceType::MakeRefPtr<SpringCurve>( 3821 auto springCurve = MakeRefPtr<SpringCurve>(0.0f, 1.0f, 228.0f, 30.0f);
|