/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | curve.h | 32 class ACE_FORCE_EXPORT Curve : public AceType { class 33 DECLARE_ACE_TYPE(Curve, AceType); 36 Curve() = default; 37 ~Curve() override = default; 54 virtual bool IsEqual(const RefPtr<Curve>& curve) const in IsEqual() 62 class ReverseCurve final : public Curve { 63 DECLARE_ACE_TYPE(ReverseCurve, Curve); 66 explicit ReverseCurve(const RefPtr<Curve>& curve) : curve_(curve) {} in ReverseCurve() 81 const RefPtr<Curve> curve_; 84 class ComplementaryCurve final : public Curve { [all...] |
H A D | curve_animation.h | 29 CurveAnimation(const T& begin, const T& end, const RefPtr<Curve>& curve) in CurveAnimation() 48 void SetCurve(const RefPtr<Curve>& curve) override 58 void SetReverseCurve(const RefPtr<Curve>& reverseCurve) in SetReverseCurve() 92 RefPtr<Curve> GetCurve() override 94 return curve_ != nullptr ? curve_ : AceType::DynamicCast<Curve>(Curves::EASE_IN_OUT); 100 void Calculate(float time, const RefPtr<Curve>& curve) in Calculate() 127 RefPtr<Curve> curve_; 128 RefPtr<Curve> reverseCurve_;
|
H A D | cubic_curve.h | 30 class ACE_EXPORT CubicCurve : public Curve { 31 DECLARE_ACE_TYPE(CubicCurve, Curve); 60 bool IsEqual(const RefPtr<Curve>& curve) const override;
|
H A D | keyframe.h | 56 void SetCurve(const RefPtr<Curve>& curve) in SetCurve() 65 const RefPtr<Curve>& GetCurve() const in GetCurve() 73 RefPtr<Curve> curve_ { Curves::EASE };
|
H A D | animatable.h | 82 void SetCurve(const RefPtr<Curve>& curve) in SetCurve() 89 const RefPtr<Curve>& GetCurve() const in GetCurve() 96 RefPtr<Curve> curve_ = Curves::LINEAR;
|
H A D | anticipate_curve.h | 23 class AnticipateCurve : public Curve { 24 DECLARE_ACE_TYPE(AnticipateCurve, Curve);
|
H A D | spring_curve.h | 24 class ACE_EXPORT SpringCurve : public Curve { 25 DECLARE_ACE_TYPE(SpringCurve, Curve); 59 bool IsEqual(const RefPtr<Curve>& curve) const override
|
H A D | scheduler.h | 64 bool Animate(const AnimationOption& option, const RefPtr<Curve>& curve, 67 void OpenImplicitAnimation(const AnimationOption& option, const RefPtr<Curve>& curve, 73 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback);
|
H A D | animator_info.h | 62 void SetCurve(const RefPtr<Curve>& curve) in SetCurve() 71 const RefPtr<Curve>& GetCurve() const in GetCurve() 154 RefPtr<Curve> curve_;
|
H A D | page_transition_common.h | 23 class Curve; 55 RefPtr<Curve> curve;
|
H A D | scheduler.cpp | 98 bool Scheduler::Animate(const AnimationOption& option, const RefPtr<Curve>& curve, in Animate() 110 void Scheduler::OpenImplicitAnimation(const AnimationOption& option, const RefPtr<Curve>& curve, in OpenImplicitAnimation() 134 float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame()
|
H A D | property_animation.h | 42 void SetCurve(const RefPtr<Curve>& curve); 59 RefPtr<Curve> GetCurve() override;
|
/foundation/arkui/ace_engine/test/mock/core/animation/ |
H A D | mock_scheduler.cpp | 31 bool Scheduler::Animate(const AnimationOption& option, const RefPtr<Curve>& curve, in Animate() 38 const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()>& finishCallBack) in OpenImplicitAnimation() 48 void Scheduler::AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_paint_property.h | 32 ACE_DEFINE_PROPERTY_GROUP_ITEM(Curve, RefPtr<Curve>); 73 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(SwiperAnimationStyle, Curve, RefPtr<Curve>, PROPERTY_UPDATE_RENDER);
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animation_option.h | 32 AnimationOption(const RefPtr<Curve>& curve, int32_t duration) : duration_(duration), curve_(curve) {} in AnimationOption() 55 void SetCurve(const RefPtr<Curve>& curve) in SetCurve() 100 const RefPtr<Curve>& GetCurve() const in GetCurve() 183 RefPtr<Curve> curve_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_paint_property.h | 67 ACE_DEFINE_PROPERTY_GROUP_ITEM(Curve, RefPtr<Curve>); 107 ACE_DEFINE_PROPERTY_ITEM_WITH_GROUP(SwitchAnimationStyle, Curve, RefPtr<Curve>, PROPERTY_UPDATE_RENDER);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | animation_utils.h | 42 const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()>& finishCallback); 48 static void AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const PropertyCallback& callback); 50 static void AddDurationKeyFrame(int duration, const RefPtr<Curve>& curve, const PropertyCallback& callback); 63 RefPtr<NG::RenderContext>& renderContext, const Color& endColor, int32_t duration, const RefPtr<Curve>& curve);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property_animation.h | 65 RefPtr<Curve> GetCurve() const in GetCurve() 70 void SetCurve(RefPtr<Curve> curve) in SetCurve() 97 RefPtr<Curve> curve_;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | fake_animation_utils.cpp | 21 const AnimationOption& option, const RefPtr<Curve>& curve, const std::function<void()>& wrapFinishCallback) in OpenImplicitAnimation() 37 float fraction, const RefPtr<Curve>& curve, const PropertyCallback& callback) in AddKeyFrame()
|
/foundation/arkui/ace_engine/frameworks/core/components/grid/ |
H A D | grid_controller.h | 47 void AnimateTo(double position, float duration, const RefPtr<Curve>& curve); 49 void AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve);
|
H A D | grid_controller.cpp | 32 void GridController::AnimateTo(double position, float duration, const RefPtr<Curve>& curve) in AnimateTo() 52 void GridController::AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve) in AnimateTo()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_animation.h | 34 const RefPtr<Curve>& curve, const std::function<void(double)>& callback) in PickerAnimation() 68 RefPtr<Curve> curve_;
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
H A D | utils.cpp | 25 using CustomCurveCreator = RefPtr<Curve> (*)(const std::vector<std::string>&); 50 RefPtr<Curve> StepsCurveCreator(const std::vector<std::string>& params) in StepsCurveCreator() 72 RefPtr<Curve> CubicCurveCreator(const std::vector<std::string>& params) in CubicCurveCreator() 84 RefPtr<Curve> SpringCurveCreator(const std::vector<std::string>& params) in SpringCurveCreator() 96 RefPtr<Curve> InterpolatingSpringCreator(const std::vector<std::string>& params) in InterpolatingSpringCreator() 108 RefPtr<Curve> SpringMotionCreator(const std::vector<std::string>& params) in SpringMotionCreator() 123 RefPtr<Curve> ResponsiveSpringMotionCreator(const std::vector<std::string>& params) in ResponsiveSpringMotionCreator() 245 RefPtr<Curve> CreateBuiltinCurve(const std::string& aniTimFunc) in CreateBuiltinCurve() 248 static const LinearMapNode<RefPtr<Curve>> aniTimFuncMap[] = { in CreateBuiltinCurve() 311 RefPtr<Curve> CreateCustomCurv [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/stepper/ |
H A D | stepper_animation_controller.h | 34 int duration, const RefPtr<Curve>& curve, const AnimationCallback& callback); 59 RefPtr<Curve> curve_;
|
/foundation/arkui/ace_engine/frameworks/core/components/side_bar/ |
H A D | side_bar_animation_controller.h | 35 int duration, const RefPtr<Curve>& curve, AnimationCallback&& callback);
61 RefPtr<Curve> curve_;
|