Home
last modified time | relevance | path

Searched refs:SpringCurve (Results 1 - 15 of 15) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_curve.h24 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 Dspring_curve.cpp34 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 Dnative_curve_helper.cpp30 } else if (auto springCurve = AceType::DynamicCast<SpringCurve>(curve)) { in ToNativeCurve()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Danimate_impl.h113 ArkUI_CurveHandle SpringCurve(float velocity, float mass, float stiffness, float damping);
H A Danimate_impl.cpp298 ArkUI_CurveHandle SpringCurve(float velocity, float mass, float stiffness, float damping) in SpringCurve() function
H A Dnode_animate.cpp673 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 Djsi_curves_module.cpp132 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 Danimate_impl_test.cpp70 * @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 Dgrid_event_hub.cpp350 auto curve = MakeRefPtr<SpringCurve>( in MoveItems()
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_animation_test_ng.cpp400 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 Drefresh_pattern.cpp1027 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 Dnode_animate.cpp465 auto curve = AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in CreateSpringCurve()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A Dutils.cpp93 return AceType::MakeRefPtr<SpringCurve>(velocity, mass, stiffness, damping); in SpringCurveCreator()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/data_panel/
H A Ddata_panel_modifier.cpp104 RefPtr<Curve> curve = AceType::MakeRefPtr<SpringCurve>( in UpdateDate()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp3440 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);

Completed in 23 milliseconds