/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | curve.h | 33 DECLARE_ACE_TYPE(Curve, AceType); 36 Curve() = default; 37 ~Curve() override = default; 62 class ReverseCurve final : public Curve { 63 DECLARE_ACE_TYPE(ReverseCurve, Curve); 81 const RefPtr<Curve> curve_; 103 const RefPtr<Curve> curve_; 121 class LinearCurve final : public Curve { 150 class SineCurve final : public Curve { 151 DECLARE_ACE_TYPE(SineCurve, 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 in SetCurve() 58 void SetReverseCurve(const RefPtr<Curve>& reverseCurve) in SetReverseCurve() 92 RefPtr<Curve> GetCurve() override in GetCurve() 94 return curve_ != nullptr ? curve_ : AceType::DynamicCast<Curve>(Curves::EASE_IN_OUT); in GetCurve() 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 | 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 in IsEqual()
|
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);
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-traditional-curve.md | 16 public curve: Curve; 19 constructor(title: string, curve: Curve, color: Color | string = '') { 27 new MyCurve(' Linear', Curve.Linear, '#317AF7'), 28 new MyCurve(' Ease', Curve.Ease, '#D94838'), 29 new MyCurve(' EaseIn', Curve.EaseIn, '#DB6B42'), 30 new MyCurve(' EaseOut', Curve.EaseOut, '#5BA854'), 31 new MyCurve(' EaseInOut', Curve.EaseInOut, '#317AF7'), 32 new MyCurve(' FastOutSlowIn', Curve.FastOutSlowIn, '#D94838')
|
H A D | arkts-fixes-style-dialog.md | 360 .animation({ duration: 3000, curve: Curve.Sharp }) 361 …bine(TransitionEffect.scale({ x: 1.5, y: 1.5 }).animation({ duration: 3000, curve: Curve.Sharp })), 362 TransitionEffect.OPACITY.animation({ duration: 100, curve: Curve.Smooth }) 363 …ine(TransitionEffect.scale({ x: 0.5, y: 0.5 }).animation({ duration: 100, curve: Curve.Smooth }))), 427 .animation({ duration: 3000, curve: Curve.Sharp }) 428 …bine(TransitionEffect.scale({ x: 1.5, y: 1.5 }).animation({ duration: 3000, curve: Curve.Sharp })), 429 TransitionEffect.OPACITY.animation({ duration: 100, curve: Curve.Smooth }) 431 .animation({ duration: 100, curve: Curve.Smooth }))),
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-traditional-curve.md | 1 # Traditional Curve 16 public curve: Curve; 19 constructor(title: string, curve: Curve, color: Color | string = '') { 27 new MyCurve(' Linear', Curve.Linear, '#317AF7'), 28 new MyCurve(' Ease', Curve.Ease, '#D94838'), 29 new MyCurve(' EaseIn', Curve.EaseIn, '#DB6B42'), 30 new MyCurve(' EaseOut', Curve.EaseOut, '#5BA854'), 31 new MyCurve(' EaseInOut', Curve.EaseInOut, '#317AF7'), 32 new MyCurve(' FastOutSlowIn', Curve.FastOutSlowIn, '#D94838') 42 // Curve example
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-particle-animation.md | 285 curve?: Curve | ICurve; 649 curve:Curve.EaseIn 656 curve:Curve.EaseIn 671 curve:Curve.EaseIn 678 curve:Curve.EaseIn 944 curve:Curve.EaseIn 1065 curve:Curve.EaseIn 1156 curve:Curve.EaseIn 1163 curve:Curve.EaseIn 1178 curve:Curve.EaseIn [all …]
|
H A D | ts-transition-animation-shared-elements.md | 32 … [Curve](ts-appendix-enums.md#curve) \| string \| [ICurve](../js-apis-curve.… 54 .sharedTransition('sharedImage', { duration: 800, curve: Curve.Linear, delay: 100 }) 72 .sharedTransition('sharedImage', { duration: 800, curve: Curve.Linear, delay: 100 })
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | animation_practice.md | 191 animateTo({ curve: Curve.Sharp, duration: 1000 }, () => { 197 animateTo({ curve: Curve.Sharp, duration: 1000 }, () => { 230 animateTo({ curve: Curve.Sharp, duration: 1000 }, () => { 283 animateTo({ curve: Curve.Sharp, duration: 1000 }, () => { 287 animateTo({ curve: Curve.Linear, duration: 2000 }, () => { 324 animateTo({ curve: Curve.Sharp, duration: 1000 }, () => { 327 animateTo({ curve: Curve.Linear, duration: 2000 }, () => { 361 animateTo({ curve: Curve.Sharp, duration: 1000 }, () => { 364 animateTo({ curve: Curve.Linear, duration: 2000 }, () => {
|
/ohos5.0/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_RE…
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | property-animation.md | 238 curve: Curve.Friction 261 curve: Curve.Friction 289 ArkUI中,曲线动画有两种使用方式,一种是直接使用Curve类型的枚举,一种是导入ohos.curve模块并使用模块内定义的接口/属性。 293 1. Curve类型的枚举: 314 curve: Curve.Linear, 320 curve: Curve.EaseInOut, 326 curve: Curve.Smooth, 429 curve: Curve.Linear, 435 curve: Curve.EaseInOut, 441 curve: Curve.Smooth, [all …]
|
H A D | transition-animation.md | 180 PageTransitionExit({ duration: 600, curve: Curve.Smooth }).slide(SlideEffect.Bottom); 269 PageTransitionEnter({ duration: 600, curve: Curve.Smooth }) 275 PageTransitionExit({ duration: 600, curve: Curve.Smooth }) 531 curve: Curve.Smooth, 605 curve: Curve.Smooth, 690 PageTransitionEnter({ duration: 600, curve: Curve.Smooth }).slide(SlideEffect.Bottom); 692 PageTransitionExit({ duration: 600, curve: Curve.Smooth }).slide(SlideEffect.Bottom); 752 PageTransitionEnter({ duration: 600, curve: Curve.Smooth }) 758 PageTransitionExit({ duration: 600, curve: Curve.Smooth }) 869 curve: Curve.Smooth, [all …]
|
/ohos5.0/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()>& finishCall… in OpenImplicitAnimation() 48 void Scheduler::AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const std::function<void()>… in AddKeyFrame()
|
/ohos5.0/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()>& finishCall… 47 …static void AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const PropertyCallback& callba… 49 …static void AddDurationKeyFrame(int duration, const RefPtr<Curve>& curve, const PropertyCallback& … 62 …enderContext>& renderContext, const Color& endColor, int32_t duration, const RefPtr<Curve>& curve);
|
/ohos5.0/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_;
|
/ohos5.0/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() 108 RefPtr<Curve> SpringMotionCreator(const std::vector<std::string>& params) in SpringMotionCreator() 245 RefPtr<Curve> CreateBuiltinCurve(const std::string& aniTimFunc) in CreateBuiltinCurve() 248 static const LinearMapNode<RefPtr<Curve>> aniTimFuncMap[] = { in CreateBuiltinCurve() 311 RefPtr<Curve> CreateCustomCurve(const std::string& aniTimFunc) in CreateCustomCurve() 355 RefPtr<Curve> CreateCurve(const std::function<float(float)>& jsFunc) in CreateCurve() 363 RefPtr<Curve> CreateCurve(const std::string& aniTimFunc, bool useDefault) in CreateCurve() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-particle-animation.md | 314 curve?: Curve | ICurve; 493 curve:Curve.EaseIn 500 curve:Curve.EaseIn 515 curve:Curve.EaseIn 522 curve:Curve.EaseIn 788 curve:Curve.EaseIn 909 curve:Curve.EaseIn 999 curve:Curve.EaseIn 1006 curve:Curve.EaseIn 1021 curve:Curve.EaseIn [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-curve.md | 19 initCurve(curve?: Curve): ICurve 31 | curve | [Curve](#curve枚举说明) | 否 | 曲线类型。<br/>默认值:Curve.Linear | 39 ## Curve枚举说明 67 curves.initCurve(Curve.EaseIn) // 创建一个默认先慢后快插值曲线 332 let curveValue = curves.initCurve(Curve.EaseIn) // 创建一个默认先慢后快插值曲线 339 init(curve?: Curve): string 350 | curve | [Curve](#curve枚举说明) | 否 | 曲线类型。<br/>默认值:Curve.Linear |
|
/ohos5.0/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_RE…
|
/ohos5.0/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_;
|
/ohos5.0/base/sensors/miscdevice/test/unittest/vibrator/native/resource/json_file/ |
H A D | Jet_N2O.he | 19 "Curve": [ 88 "Curve": [ 162 "Curve": [
|