Home
last modified time | relevance | path

Searched refs:SpringProperty (Results 1 – 25 of 38) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_model.h29 class SpringProperty : public AceType {
30 DECLARE_ACE_TYPE(SpringProperty, AceType);
33 SpringProperty(double mass, double stiffness, double damping) in SpringProperty() function
37 SpringProperty() = default;
39 ~SpringProperty() override = default;
87 …static RefPtr<SpringModel> Build(double distance, double velocity, const RefPtr<SpringProperty>& s…
95 CriticalDampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring);
116 OverdampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring);
138 UnderdampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring);
H A Dspring_model.cpp28 bool SpringProperty::IsValid() const in IsValid()
36 void SpringProperty::SetMass(double mass) in SetMass()
43 double SpringProperty::Mass() const in Mass()
48 void SpringProperty::SetStiffness(double stiffness) in SetStiffness()
55 double SpringProperty::Stiffness() const in Stiffness()
60 void SpringProperty::SetDamping(double damping) in SetDamping()
67 double SpringProperty::Damping() const in Damping()
72 …ngModel> SpringModel::Build(double distance, double velocity, const RefPtr<SpringProperty>& spring) in Build()
94 …dModel::CriticalDampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring) in CriticalDampedModel()
120 OverdampedModel::OverdampedModel(double distance, double velocity, const RefPtr<SpringProperty>& sp… in OverdampedModel()
[all …]
H A Dspring_animation.h30 explicit SpringAnimation(const RefPtr<SpringProperty>& property);
31 SpringAnimation(const RefPtr<SpringProperty>& property, float velocity);
32 SpringAnimation(const RefPtr<SpringProperty>& property, float velocity, float valueThreshold);
66 RefPtr<SpringProperty> property_; // Contain: mass & stiffness & damping
H A Dchain_animation.h39 …int32_t index, float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty);
57 RefPtr<SpringProperty> springProperty_;
71 …ChainAnimation(float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty);
119 RefPtr<SpringProperty> springProperty_;
H A Dspring_motion.h31 SpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring);
53 void Reset(double start, double end, double velocity, const RefPtr<SpringProperty>& spring);
74 …ScrollSpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring…
H A Dspring_animation.cpp30 SpringAnimation::SpringAnimation(const RefPtr<SpringProperty>& property) in SpringAnimation()
37 SpringAnimation::SpringAnimation(const RefPtr<SpringProperty>& property, float velocity) in SpringAnimation()
44 SpringAnimation::SpringAnimation(const RefPtr<SpringProperty>& property, float velocity, float valu… in SpringAnimation()
H A Dspring_motion.cpp25 SpringMotion::SpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>&… in SpringMotion()
74 void SpringMotion::Reset(double start, double end, double velocity, const RefPtr<SpringProperty>& s… in Reset()
98 …ScrollSpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring) in ScrollSpringMotion()
H A Dsimple_spring_chain.cpp23 const RefPtr<SpringProperty> DEFAULT_OVER_SPRING_PROPERTY =
24 AceType::MakeRefPtr<SpringProperty>(1.0, DEFAULT_CHAIN_STIFFNESS, DEFAULT_CHAIN_DAMPING);
141 const RefPtr<SpringProperty>& SpringChainProperty::GetDefaultOverSpringProperty() in GetDefaultOverSpringProperty()
H A Dscroll_motion.cpp28 const ExtentPair& initExtent, const RefPtr<SpringProperty>& spring) in ScrollMotion()
35 …AceType::MakeRefPtr<SpringProperty>(DEFAULT_SPRING_MASS, DEFAULT_SPRING_STIFFNESS, DEFAULT_SPRING_… in ScrollMotion()
H A Dsimple_spring_node.h61 const RefPtr<SpringProperty> GetTransferParams() const in GetTransferParams()
72 RefPtr<SpringProperty> springProperty_;
H A Dscroll_motion.h49 const RefPtr<SpringProperty>& spring);
78 RefPtr<SpringProperty> spring_;
H A Dspring_curve.h84 RefPtr<SpringProperty> property_; // Contain: mass & stiffness & damping
H A Dchain_animation.cpp29 … int32_t index, float space, float maxSpace, float minSpace, RefPtr<SpringProperty> springProperty) in ChainAnimationNode()
69 ChainAnimation::ChainAnimation(float space, float maxSpace, float minSpace, RefPtr<SpringProperty> … in ChainAnimation()
H A Dspring_curve.cpp37 property_ = AceType::MakeRefPtr<SpringProperty>(mass_, stiffness_, damping_); in SpringCurve()
H A Dsimple_spring_chain.h47 static const RefPtr<SpringProperty>& GetDefaultOverSpringProperty();
H A Dsimple_spring_node.cpp29 springProperty_ = AceType::MakeRefPtr<SpringProperty>(); in SimpleSpringNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Dclick_spring_effect.cpp27 RefPtr<SpringProperty> springProperty_;
31 …{ ClickSpringEffectType::SMALL, { 0.9, 1, AceType::MakeRefPtr<SpringProperty>(0.5, 410.0, 38.0) } …
32 …{ ClickSpringEffectType::MEDIUM, { 0.95, 0.5, AceType::MakeRefPtr<SpringProperty>(0.5, 350.0, 35.0…
33 …{ ClickSpringEffectType::LARGE, { 0.95, 0, AceType::MakeRefPtr<SpringProperty>(0.5, 240.0, 28.0) }…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_animator.h67 void SetSpringProp(const RefPtr<SpringProperty>& springProp) in SetSpringProp()
72 const RefPtr<SpringProperty>& GetSpringProp() in GetSpringProp()
78 RefPtr<SpringProperty> springProp_;
H A Djs_animator.cpp396 auto springProp = AceType::MakeRefPtr<SpringProperty>(mass, stiffness, damping); in ConstructorCallback()
437 RefPtr<SpringProperty> springProperty = prop->GetSpringProp(); in ConstructorCallback()
453 RefPtr<SpringProperty> springProperty = prop->GetSpringProp(); in ConstructorCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_component.h424 void SetOverSpringProperty(const RefPtr<SpringProperty>& property) in SetOverSpringProperty()
433 overSpringProperty_ = AceType::MakeRefPtr<SpringProperty>(mass, stiffness, damping); in SetOverSpringProperty()
436 const RefPtr<SpringProperty>& OverSpringProperty() in OverSpringProperty()
570 RefPtr<SpringProperty> overSpringProperty_;
H A Drender_list.h424 const RefPtr<SpringProperty>& GetOverSpringProperty() const in GetOverSpringProperty()
566 RefPtr<SpringProperty> overSpringProperty_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscrollable.h328 void SetOverSpringProperty(const RefPtr<SpringProperty>& property) in SetOverSpringProperty()
340 static const RefPtr<SpringProperty>& GetDefaultOverSpringProperty();
524 RefPtr<SpringProperty> spring_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drender_list.h355 const RefPtr<SpringProperty>& GetOverSpringProperty() const in GetOverSpringProperty()
406 RefPtr<SpringProperty> overSpringProperty_;
H A Drender_list_item.cpp381 const RefPtr<SpringProperty> DEFAULT_OVER_SPRING_PROPERTY = in StartSpringMotion()
382 AceType::MakeRefPtr<SpringProperty>(mass, stiffness, damping); in StartSpringMotion()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/
H A Dcj_animator.cpp95 …option->begin, option->end, velocity, AceType::MakeRefPtr<SpringProperty>(mass, stiffness, damping… in ParseOptionToMotion()

12