Home
last modified time | relevance | path

Searched refs:interpolationValue (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_value_estimator.h115 auto animationValue = interpolationValue; in GetAnimationValue()
117 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue()
119 lastValue_ = interpolationValue; in GetAnimationValue()
234 auto interpolationValue = RSValueEstimator::Estimate( in GetAnimationValue() local
236 auto animationValue = interpolationValue; in GetAnimationValue()
238 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetAnimationValue()
240 lastValue_ = interpolationValue; in GetAnimationValue()
266 auto interpolationValue = RSValueEstimator::Estimate( in GetDurationKeyframeAnimationValue() local
268 animationValue = interpolationValue; in GetDurationKeyframeAnimationValue()
270 animationValue = property_->Get() + (interpolationValue - lastValue_); in GetDurationKeyframeAnimationValue()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_value_estimator.cpp76 auto interpolationValue = startValue_ * (1.0f - fraction) + endValue_ * fraction; in EstimateFraction() local
77 if (lastValue_ < interpolationValue) { in EstimateFraction()
83 if (std::abs(lastValue_ - interpolationValue) <= EPSILON) { in EstimateFraction()
H A Drs_render_interpolating_spring_animation.cpp189 auto interpolationValue = valueEstimator_->Estimate(displacement, startValue_, endValue_); in OnAnimate() local
193 … if (interpolationValue != nullptr && !interpolationValue->IsNearEqual(endValue, zeroThreshold_)) { in OnAnimate()