Searched refs:durationKeyframes_ (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_keyframe_animation.cpp | 68 durationKeyframes_.push_back({ startDuration, endDuration, value, timingCurve }); in AddKeyFrame() 79 if (durationKeyframes_.empty()) { in InitInterpolationValue() 83 auto beginKeyframe = durationKeyframes_.front(); in InitInterpolationValue() 84 durationKeyframes_.insert(durationKeyframes_.begin(), in InitInterpolationValue() 87 startValue_ = std::get<DURATION_VALUE_INDEX>(durationKeyframes_.front()); in InitInterpolationValue() 88 endValue_ = std::get<DURATION_VALUE_INDEX>(durationKeyframes_.back()); in InitInterpolationValue() 137 if (keyframes_.empty() && durationKeyframes_.empty()) { in OnStart() 147 for (const auto& [startDuration, endDuration, value, curve] : durationKeyframes_) { in OnStart()
|
H A D | rs_keyframe_animation.h | 63 …<std::tuple<int, int, std::shared_ptr<RSPropertyBase>, RSAnimationTimingCurve>> durationKeyframes_; variable
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_keyframe_animation.cpp | 83 durationKeyframes_.push_back( in AddKeyframe() 103 uint32_t size = durationKeyframes_.size(); in Marshalling() 108 … for (const auto& [startFraction, endFraction, property, interpolator] : durationKeyframes_) { in Marshalling() 164 durationKeyframes_.clear(); in ParseParam() 206 …durationKeyframes_.emplace_back(std::make_tuple(startFraction, endFraction, tupValue1, interpolato… in ParseDurationKeyframesParam() 213 if (keyframes_.empty() && durationKeyframes_.empty()) { in OnAnimate() 235 … valueEstimator_->InitDurationKeyframeAnimationValue(property_, durationKeyframes_, lastValue_); in InitValueEstimator()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_value_estimator.h | 202 durationKeyframes_.push_back( in InitDurationKeyframeAnimationValue() 218 if (!(durationKeyframes_.empty())) { in GetAnimationValue() 252 auto preKeyframeValue = std::get<2>(durationKeyframes_.front()); in GetDurationKeyframeAnimationValue() 255 for (const auto& keyframe : durationKeyframes_) { in GetDurationKeyframeAnimationValue() 294 std::vector<std::tuple<float, float, T, std::shared_ptr<RSInterpolator>>> durationKeyframes_; variable
|
H A D | rs_render_keyframe_animation.h | 56 std::shared_ptr<RSInterpolator>>> durationKeyframes_; variable
|