/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | keyframe_animation.h | 44 keyframes_.sort([](const RefPtr<Keyframe<T>>& a, const RefPtr<Keyframe<T>>& b) { in AddKeyframe() 60 keyframes_.emplace_back(keyframe); in AddKeyframe() 74 for (auto& keyframe : keyframes_) { in ReplaceKeyframe() 88 return keyframes_; in GetKeyframes() 97 for (auto& keyframe : keyframes_) { 113 for (const auto& keyframe : keyframes_) { 142 if (keyframes_.empty()) { in Calculate() 145 auto begin = keyframes_.front()->GetKeyValue(); in Calculate() 146 auto end = keyframes_.back()->GetKeyValue(); in Calculate() 156 auto preKeyframe = keyframes_ in Calculate() 193 std::list<RefPtr<Keyframe<T>>> keyframes_; global() member in OHOS::Ace::KeyframeAnimation [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | track_animation.cpp | 44 keyframes_ = GetObjectRegistry().GetPropertyRegister().Create(ClassId::StackProperty, name); in Build() 45 if (keyframes_) { in Build() 46 keyframes_->OnChanged()->AddHandler(updateKf); in Build() 47 AddProperty(keyframes_); in Build() 50 return keyframes_ != nullptr; in Build() 187 keyframes_->SetValue(*kf); in OnPropertyChanged() 189 keyframes_->ResetValue(); in OnPropertyChanged() 201 keyframes_->NotifyChange(); in AddKeyframe() 210 keyframes_->NotifyChange(); in RemoveKeyframe() 222 keyframes_ in RemoveAllKeyframes() [all...] |
H A D | track_animation.h | 43 return keyframes_; 90 IProperty::Ptr keyframes_; // Array property containing the keyframes member in Internal::final
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_keyframe_animation.cpp | 44 keyframes_.push_back({ fraction, value, timingCurve }); in AddKeyFrame() 54 keyframes_ = keyframes; in AddKeyFrames() 93 if (keyframes_.empty()) { in InitInterpolationValue() 97 auto beginKeyframe = keyframes_.front(); in InitInterpolationValue() 99 keyframes_.insert(keyframes_.begin(), { FRACTION_MIN, GetOriginValue(), RSAnimationTimingCurve::LINEAR }); in InitInterpolationValue() 102 startValue_ = std::get<VALUE_INDEX>(keyframes_.front()); in InitInterpolationValue() 103 endValue_ = std::get<VALUE_INDEX>(keyframes_.back()); in InitInterpolationValue() 135 if (keyframes_.empty() && durationKeyframes_.empty()) { in OnStart() 150 for (const auto& [fraction, value, curve] : keyframes_) { in OnStart() [all...] |
H A D | rs_keyframe_animation.h | 61 std::vector<std::tuple<float, std::shared_ptr<RSPropertyBase>, RSAnimationTimingCurve>> keyframes_; member in OHOS::Rosen::RSKeyframeAnimation
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_keyframe_animation.cpp | 58 keyframes_.push_back({ fraction, value, interpolator }); in AddKeyframe() 69 keyframes_ = keyframes; in AddKeyframes() 125 uint32_t size = keyframes_.size(); in Marshalling() 130 for (const auto& [value, property, interpolator] : keyframes_) { in Marshalling() 170 keyframes_.clear(); in ParseParam() 190 keyframes_.emplace_back(std::make_tuple(tupValue0, tupValue1, interpolator)); in ParseParam() 220 if (keyframes_.empty() && durationKeyframes_.empty()) { in OnAnimate() 244 valueEstimator_->InitKeyframeAnimationValue(property_, keyframes_, lastValue_); in InitValueEstimator()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_transition_effect_impl.h | 59 keyframes_ = keyframes; in SetKeyframes() 68 if (keyframes_.empty()) { 72 for (auto it = keyframes_.begin(); it != keyframes_.end(); ++it) { 83 if (keyframes_.empty()) { 88 for (auto it = keyframes_.begin(); it != keyframes_.end(); ++it) { 99 std::vector<std::pair<float, PropertyType>> keyframes_; member in OHOS::Ace::NG::PropertyTransitionEffectTemplate
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_value_estimator.h | 183 keyframes_.push_back({ std::get<0>(keyframe), keyframeValue->Get(), std::get<2>(keyframe) }); 221 float preKeyframeFraction = std::get<0>(keyframes_.front()); in GetAnimationValue() 222 auto preKeyframeValue = std::get<1>(keyframes_.front()); in GetAnimationValue() 223 for (const auto& keyframe : keyframes_) { in GetAnimationValue() 293 std::vector<std::tuple<float, T, std::shared_ptr<RSInterpolator>>> keyframes_; member in OHOS::Rosen::RSKeyframeValueEstimator
|
H A D | rs_render_keyframe_animation.h | 54 std::vector<std::tuple<float, std::shared_ptr<RSRenderPropertyBase>, std::shared_ptr<RSInterpolator>>> keyframes_; member in OHOS::Rosen::RSRenderKeyframeAnimation
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | ecs_animation.cpp | 156 return keyframes_; in Keyframes() 180 keyframes_ = arr.GetProperty(); in Build() 181 if (!keyframes_) { in Build()
|
H A D | ecs_animation.h | 174 META_NS::IProperty::Ptr keyframes_; member in final
|