Home
last modified time | relevance | path

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

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_keyframe_animation.cpp57 void RSKeyframeAnimation::AddKeyFrame(int startDuration, int endDuration, in AddKeyFrame() argument
60 if (startDuration > endDuration) { in AddKeyFrame()
68 durationKeyframes_.push_back({ startDuration, endDuration, value, timingCurve }); in AddKeyFrame()
147 for (const auto& [startDuration, endDuration, value, curve] : durationKeyframes_) { in OnStart()
148 animation->AddKeyframe(startDuration, endDuration, value->GetRenderProperty(), in OnStart()
H A Drs_implicit_animation_param.cpp175 …hared_ptr<RSPropertyBase> property, const bool& isCreateDurationKeyframe, const int& startDuration, in CreateAnimation() argument
181 … keyFrameAnimation->AddKeyFrame(startDuration, startDuration + duration_, endValue, timingCurve_); in CreateAnimation()
204 …yframeAnimationParam::AddKeyframe(std::shared_ptr<RSAnimation>& animation, const int startDuration, in AddKeyframe() argument
213 … keyframeAnimation->AddKeyFrame(startDuration, startDuration + duration_, endValue, timingCurve_); in AddKeyframe()
H A Drs_implicit_animation_param.h100 …hared_ptr<RSPropertyBase> property, const bool& isCreateDurationKeyframe, const int& startDuration,
106 void AddKeyframe(std::shared_ptr<RSAnimation>& animation, const int startDuration,
H A Drs_keyframe_animation.h45 … void AddKeyFrame(int startDuration, int endDuration, const std::shared_ptr<RSPropertyBase>& value,
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/
H A Drs_implicit_animation_param_test.cpp164 int startDuration = 500; variable
169 animationParam->AddKeyframe(animation, startDuration, startValue, endValue);
173 animationParam->AddKeyframe(animation1, startDuration, startValue, endValue);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_keyframe_animation.cpp65 void RSRenderKeyframeAnimation::AddKeyframe(int startDuration, int endDuration, in AddKeyframe() argument
68 if (startDuration > endDuration) { in AddKeyframe()
84 …{ startDuration / (float)GetDuration(), endDuration / (float)GetDuration(), value, interpolator }); in AddKeyframe()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_keyframe_animation.h40 …void AddKeyframe(int startDuration, int endDuration, const std::shared_ptr<RSRenderPropertyBase>& …