Home
last modified time | relevance | path

Searched refs:Curve (Results 1 - 25 of 176) sorted by relevance

12345678

/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcurve.h32 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 Dcurve_animation.h29 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 Dcubic_curve.h30 class ACE_EXPORT CubicCurve : public Curve {
31 DECLARE_ACE_TYPE(CubicCurve, Curve);
60 bool IsEqual(const RefPtr<Curve>& curve) const override;
H A Dkeyframe.h56 void SetCurve(const RefPtr<Curve>& curve) in SetCurve()
65 const RefPtr<Curve>& GetCurve() const in GetCurve()
73 RefPtr<Curve> curve_ { Curves::EASE };
H A Danimatable.h82 void SetCurve(const RefPtr<Curve>& curve) in SetCurve()
89 const RefPtr<Curve>& GetCurve() const in GetCurve()
96 RefPtr<Curve> curve_ = Curves::LINEAR;
H A Danticipate_curve.h23 class AnticipateCurve : public Curve {
24 DECLARE_ACE_TYPE(AnticipateCurve, Curve);
H A Dspring_curve.h24 class ACE_EXPORT SpringCurve : public Curve {
25 DECLARE_ACE_TYPE(SpringCurve, Curve);
59 bool IsEqual(const RefPtr<Curve>& curve) const override
H A Dscheduler.h64 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 Danimator_info.h62 void SetCurve(const RefPtr<Curve>& curve) in SetCurve()
71 const RefPtr<Curve>& GetCurve() const in GetCurve()
154 RefPtr<Curve> curve_;
H A Dpage_transition_common.h23 class Curve;
55 RefPtr<Curve> curve;
H A Dscheduler.cpp98 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 Dproperty_animation.h42 void SetCurve(const RefPtr<Curve>& curve);
59 RefPtr<Curve> GetCurve() override;
/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_scheduler.cpp31 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 Dswiper_paint_property.h32 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 Danimation_option.h32 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 Dswitch_paint_property.h67 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 Danimation_utils.h42 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 Dparticle_property_animation.h65 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 Dfake_animation_utils.cpp21 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 Dgrid_controller.h47 void AnimateTo(double position, float duration, const RefPtr<Curve>& curve);
49 void AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve);
H A Dgrid_controller.cpp32 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 Dpicker_animation.h34 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 Dutils.cpp25 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 Dstepper_animation_controller.h34 int duration, const RefPtr<Curve>& curve, const AnimationCallback& callback);
59 RefPtr<Curve> curve_;
/foundation/arkui/ace_engine/frameworks/core/components/side_bar/
H A Dside_bar_animation_controller.h35 int duration, const RefPtr<Curve>& curve, AnimationCallback&& callback);
61 RefPtr<Curve> curve_;

Completed in 9 milliseconds

12345678