Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_property_animation.cpp204 auto currAnimateValue = property_->Clone(); in UpdateAnimateVelocity() local
205 animateVelocity_ = (currAnimateValue - lastAnimateValue_) * (1 / frameInterval); in UpdateAnimateVelocity()
207 "animateVelocity: %{public}f", __func__, currAnimateValue->ToFloat(), in UpdateAnimateVelocity()
214 auto currAnimateValue = property_->Clone(); in ProcessAnimateVelocityUnderAngleRotation() local
215 float currAnimateFloatValue = currAnimateValue->ToFloat(); in ProcessAnimateVelocityUnderAngleRotation()
216 auto diffValue = currAnimateValue - lastAnimateValue_; in ProcessAnimateVelocityUnderAngleRotation()
227 auto circleValue = currAnimateValue * (180 * factor / currAnimateFloatValue); in ProcessAnimateVelocityUnderAngleRotation()
228 diffValue = diffFloatValue < 0 ? (currAnimateValue + circleValue) - lastAnimateValue_ in ProcessAnimateVelocityUnderAngleRotation()
229 : currAnimateValue - (lastAnimateValue_ + circleValue); in ProcessAnimateVelocityUnderAngleRotation()
238 __func__, currAnimateValue->ToFloat(), lastAnimateValue_->ToFloat(), diffFloatValue, in ProcessAnimateVelocityUnderAngleRotation()