Home
last modified time | relevance | path

Searched refs:tension_ (Results 1 - 3 of 3) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Danticipate_curve.cpp20 AnticipateCurve::AnticipateCurve(const float tension) : tension_(tension) in AnticipateCurve()
26 return time * time * ((tension_ + 1.0f) * time - tension_); in MoveInternal()
H A Dcurve.h170 explicit ElasticsCurve(float tension) : tension_(tension) {} in ElasticsCurve()
175 return para * para * ((tension_ + 1.0f) * para + tension_) + 1.0f;
180 return tension_; in GetTension()
189 return NearEqual(other->GetTension(), tension_);
192 float tension_ = 2.0f; // Default Elastics tension. member in OHOS::Ace::final
H A Danticipate_curve.h35 const float tension_; member in OHOS::Ace::AnticipateCurve

Completed in 2 milliseconds