/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | spring_model.h | 29 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 D | spring_model.cpp | 28 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 D | spring_animation.h | 30 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 D | chain_animation.h | 39 …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 D | spring_motion.h | 31 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 D | spring_animation.cpp | 30 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 D | spring_motion.cpp | 25 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 D | simple_spring_chain.cpp | 23 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 D | scroll_motion.cpp | 28 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 D | simple_spring_node.h | 61 const RefPtr<SpringProperty> GetTransferParams() const in GetTransferParams() 72 RefPtr<SpringProperty> springProperty_;
|
H A D | scroll_motion.h | 49 const RefPtr<SpringProperty>& spring); 78 RefPtr<SpringProperty> spring_;
|
H A D | spring_curve.h | 84 RefPtr<SpringProperty> property_; // Contain: mass & stiffness & damping
|
H A D | chain_animation.cpp | 29 … 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 D | spring_curve.cpp | 37 property_ = AceType::MakeRefPtr<SpringProperty>(mass_, stiffness_, damping_); in SpringCurve()
|
H A D | simple_spring_chain.h | 47 static const RefPtr<SpringProperty>& GetDefaultOverSpringProperty();
|
H A D | simple_spring_node.cpp | 29 springProperty_ = AceType::MakeRefPtr<SpringProperty>(); in SimpleSpringNode()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/transform/ |
H A D | click_spring_effect.cpp | 27 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 D | js_animator.h | 67 void SetSpringProp(const RefPtr<SpringProperty>& springProp) in SetSpringProp() 72 const RefPtr<SpringProperty>& GetSpringProp() in GetSpringProp() 78 RefPtr<SpringProperty> springProp_;
|
H A D | js_animator.cpp | 396 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 D | list_component.h | 424 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 D | render_list.h | 424 const RefPtr<SpringProperty>& GetOverSpringProperty() const in GetOverSpringProperty() 566 RefPtr<SpringProperty> overSpringProperty_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scrollable.h | 328 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 D | render_list.h | 355 const RefPtr<SpringProperty>& GetOverSpringProperty() const in GetOverSpringProperty() 406 RefPtr<SpringProperty> overSpringProperty_;
|
H A D | render_list_item.cpp | 381 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 D | cj_animator.cpp | 95 …option->begin, option->end, velocity, AceType::MakeRefPtr<SpringProperty>(mass, stiffness, damping… in ParseOptionToMotion()
|