Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 763) sorted by relevance

12345678910>>...31

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/test/unittest/animation/
H A Drs_animation_test.cpp67 animation->SetDuration(data);
121 animation->SetSpeed(data);
173 animation->SetAutoReverse(true);
227 animation->SetDirection(true);
229 animation->SetDirection(false);
251 animation->SetDuration(1000);
259 animation->Start(node);
261 animation->Pause();
263 animation->Resume();
265 animation->Finish();
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_animation_group.cpp26 if (animation == nullptr) { in AddAnimation()
36 if (animation->IsStarted()) { in AddAnimation()
47 animations_.emplace_back(animation); in AddAnimation()
52 if (animation == nullptr) { in RemoveAnimation()
62 if (animation->IsStarted()) { in RemoveAnimation()
107 int duration = duration_ < animation->GetDuration() ? duration_ : animation->GetDuration(); in OnStart()
113 animation->Start(target); in OnStart()
125 animation->Pause(); in OnPause()
137 animation->Resume(); in OnResume()
149 animation->Finish(); in OnFinish()
[all …]
H A Drs_interactive_implict_animator.cpp184 auto animation = item.lock(); in StartAnimation() local
187 animation->InteractiveContinue(); in StartAnimation()
219 auto animation = item.lock(); in PauseAnimation() local
222 animation->InteractivePause(); in PauseAnimation()
248 auto animation = item.lock(); in ContinueAnimation() local
277 auto animation = item.lock(); in FinishAnimation() local
305 auto animation = item.lock(); in FinishOnCurrent() local
310 if (!node->HasPropertyAnimation(animation->GetPropertyId()) || animation->IsUiAnimation()) { in FinishOnCurrent()
356 auto animation = item.lock(); in ReverseAnimation() local
359 animation->InteractiveReverse(); in ReverseAnimation()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dsvg_animate.cpp64 if (!animation) { in CreateKeyframe()
74 animation->AddKeyframe(keyframe); in CreateKeyframe()
80 if (!animation) { in CreateFirstKeyframe()
85 animation->AddKeyframe(keyframe); in CreateFirstKeyframe()
117 animation->AddListener(callback); in CreateMotionAnimate()
219 if (!animation) { in DiscreteWithValues()
245 if (!animation) { in DiscreteWithKeyTimes()
348 if (!animation) { in LinearWithValues()
372 if (!animation) { in LinearWithKeyTimes()
516 if (!animation) { in SplineWithKeySplines()
[all …]
H A Danimatable_properties.cpp39 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
56 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
73 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
90 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
118 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
146 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
163 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
180 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
197 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
215 if (animation && animation->GetInit() == nullptr) { in UpdatePropAnimation()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_animation_supplement_test.cpp224 animation->Finish();
225 animation->Pause();
228 animation->Resume();
229 animation->Pause();
231 animation->Resume();
233 animation->Finish();
239 animation->Pause();
241 animation->Resume();
243 animation->Finish();
266 animation->Pause();
[all …]
H A Drs_animation_test.cpp68 if (animation != nullptr) {
196 animation->Finish();
241 animation->Finish();
284 animation->Finish();
450 animation->Pause();
453 animation->Resume();
457 animation->Finish();
499 animation->Pause();
502 animation->Resume();
506 animation->Finish();
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Dnode_transition_test.cpp92 animation = nullptr;
117 animation = nullptr;
143 animation = nullptr;
172 animation = nullptr;
242 animation = nullptr;
268 animation = nullptr;
295 animation = nullptr;
325 animation = nullptr;
395 animation = nullptr;
421 animation = nullptr;
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/transition/0809/
H A Dindex.css41 animation-duration: 3s;
44 animation-delay: 1000ms;
49 animation-duration: 3s;
52 animation-delay: 1000ms;
57 animation-duration: 3s;
60 animation-delay: 1000ms;
65 animation-duration: 3s;
68 animation-delay: 1000ms;
73 animation-duration: 3s;
76 animation-delay: 1000ms;
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/transition/0405/
H A Dindex.css41 animation-duration: 2s;
43 animation-fill-mode: none;
44 animation-delay: 500ms;
51 animation-fill-mode: none;
52 animation-delay: 500ms;
57 animation-duration: -1;
60 animation-delay: 500ms;
65 animation-duration: 1000;
68 animation-delay: 500ms;
73 animation-duration: 2;
[all …]
/ohos5.0/base/sensors/miscdevice/test/unittest/light/
H A Dlight_agent_test.cpp176 animation.onTime = 50;
177 animation.offTime = 50;
200 animation.onTime = 50;
222 animation.mode = -1;
223 animation.onTime = 50;
246 animation.onTime = -1;
269 animation.onTime = 50;
292 animation.onTime = 2;
293 animation.offTime = 2;
316 animation.onTime = 2;
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_node_showing_command_test.cpp122 animation.Process(context);
129 animation.Process(context);
132 animation.targetId_ = 1;
133 animation.Process(context);
211 animation.Process(context);
220 animation.Process(context);
228 animation.Process(context);
285 animation.Process(context);
298 animation.nodeId_ = 0;
299 animation.animationId_ = 0;
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnode_transition.cpp100 if (effectOption->animation) { in ConvertToEffectOption()
102 toEffectOption->animation.duration = effectOption->animation->duration; in ConvertToEffectOption()
103 toEffectOption->animation.tempo = effectOption->animation->tempo; in ConvertToEffectOption()
104 toEffectOption->animation.curve = effectOption->animation->curve; in ConvertToEffectOption()
105 if (effectOption->animation->iCurve) { in ConvertToEffectOption()
106 toEffectOption->animation.iCurve = effectOption->animation->iCurve->curve; in ConvertToEffectOption()
107 toEffectOption->animation.curveType = effectOption->animation->iCurve->type; in ConvertToEffectOption()
109 toEffectOption->animation.iCurve = nullptr; in ConvertToEffectOption()
111 toEffectOption->animation.delay = effectOption->animation->delay; in ConvertToEffectOption()
112 toEffectOption->animation.iterations = effectOption->animation->iterations; in ConvertToEffectOption()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_manager.cpp57 animations_.emplace(key, animation); in AddAnimation()
78 auto animation = iter.second.lock(); in HasUIRunningAnimation() local
79 if (animation && animation->IsRunning()) { in HasUIRunningAnimation()
95 auto animation = iter.second.lock(); in Animate() local
96 if (animation == nullptr) { in Animate()
108 OnAnimationFinished(animation); in Animate()
112 animation->GetAnimateVelocity(), animation->GetFrameRateRange()); in Animate()
124 auto animation = iter.second.lock(); in FlushStartAnimation() local
125 if (animation && animation->GetNeedUpdateStartTime()) { in FlushStartAnimation()
126 animation->SetStartTime(time); in FlushStartAnimation()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/transition/0203/
H A Dindex.css41 animation-duration: 3s;
43 animation-fill-mode: none;
44 animation-delay: 2s;
49 animation-duration: 3s;
51 animation-fill-mode: none;
52 animation-delay: 1000ms;
57 animation-duration: 3s;
59 animation-fill-mode: none;
60 animation-delay: 00000;
65 animation-duration: 3s;
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/transition/0607/
H A Dindex.css41 animation-duration: 3s;
43 animation-fill-mode: none;
44 animation-delay: 1000ms;
49 animation-duration: 3s;
51 animation-fill-mode: none;
52 animation-delay: 1000ms;
57 animation-duration: 3s;
59 animation-fill-mode: none;
60 animation-delay: 1000ms;
65 animation-duration: 3s;
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/
H A Djs-components-common-methods.md68 The **animation** attributes are as follows.
74animation:<br>- **idle**: The animation is not running (playback ended or not started).<br>- **run…
77 The **animation** methods are as follows.
81 | play | - | Plays the animation.|
82 | finish | - | Ends the animation.|
83 | pause | - | Pauses the animation.|
84 | cancel | - | Cancels the animation.|
87 The **animation** events are as follows.
144 animation: '',
173 this.animation.play();
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-animate-dynamic-effects.md50 animation: null
64 this.animation = animator.createAnimator(options)// Create an animation.
71 this.animation.play();
161 animation: null
187 _this.animation.play();
199 this.animation.play();
209 this.animation.play();// Play this animation.
212 this.animation.pause();// Pause this animation.
222 this.animation.finish(); // Finish this animation.
225 this.animation.cancel(); // Cancel this animation.
[all …]
H A Dui-js-building-ui-animation.md4 …are classified into [Static Animation](#static-animation) and [Continuous Animation](#continuous-a…
62 **Figure 1** Static animation
75 - **animation-delay** and **animation-duration**: element delay and duration after the animation is…
77 - **animation-timing-function**: speed curve of an animation, which makes the animation more fluent
79 - **animation-iteration-count**: number of animation playback times
81 - **animation-fill-mode**: whether to restore the initial state after the animation is executed
120 animation-name: Color;
121 animation-duration: 8000ms;
124 animation-name: Opacity;
125 animation-duration: 8000ms;
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/
H A Djs-lite-components-common-animation.md10 | animation-name | string | - | \@keyframes rule. …
11 | animation-delay | &lt;time&gt; | 0 | Delay for playing …
12animation-duration | &lt;time&gt; | 0 | Animation duration,…
13animation-iteration-count | number \| infinite | 1 | Number of times that an animation
14animation-timing-function | string | <br>linear | Speed curve of an an…
15animation-fill-mode | string | none | Start and end style…
35 … &lt;color&gt; | - | Background color applied to the component after the animation is played. |
36 … | &lt;length&gt; | - | Width value applied to the component after the animation is played. |
37 … | &lt;length&gt; | - | Height value applied to the component after the animation is played. |
41 If there is no default value for when an animation will start or end, use **from** and **to** to sp…
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_interactive_implict_animator.cpp38 if (animation == nullptr) { in AddAnimations()
57 if (animation == nullptr) { in PauseAnimator()
60 animation->Pause(); in PauseAnimator()
76 if (animation == nullptr) { in ContinueAnimator()
79 animation->Resume(); in ContinueAnimator()
97 if (animation == nullptr) { in FinishAnimator()
100 animation->FinishOnPosition(finishPos); in FinishAnimator()
116 if (animation == nullptr) { in ReverseAnimator()
119 animation->SetReversedAndContinue(); in ReverseAnimator()
136 if (animation == nullptr) { in SetFractionAnimator()
[all …]
H A Drs_animation_manager.cpp42 for (auto[id, animation]: animations_) { in DumpAnimations()
43 if (!animation) { in DumpAnimations()
46 animation->DumpAnimation(out); in DumpAnimations()
55 if (animation == nullptr) { in AddAnimation()
59 AnimationId key = animation->GetAnimationId(); in AddAnimation()
70 animations_.emplace(key, animation); in AddAnimation()
157 auto& animation = iter.second; in Animate() local
166 animation->Finish(); in Animate()
171 OnAnimationFinished(animation); in Animate()
183 …rateDecider_.AddDecisionElement(animation->GetPropertyId(), animation->GetAnimateVelocity(), range… in Animate()
[all …]
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/animation/animation5/
H A Danimation5.css30 animation-duration: 3000ms;
32 animation-fill-mode: none;
33 animation-iteration-count: 1;
37 animation-duration: 3000ms;
39 animation-fill-mode: none;
40 animation-iteration-count: 1;
44 animation-duration: 3000ms;
46 animation-fill-mode: none;
47 animation-iteration-count: 1;
51 animation-duration: 3000ms;
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Dnative__animate_8h.md6 Defines a set of animation APIs of ArkUI on the native side.
24 …cted_frame_rate_range.md) | Defines a struct for the expected frame rate range of the animation. |
25 …lete_callback.md) | Defines a struct for the callback type for when the animation playback is comp…
26 …PI_1](_ark_u_i___native_animate_a_p_i__1.md) | Defines a struct for the animation APIs of ArkUI on…
61 …rk_u_i___native_module.md#arkui_curvehandle) value) | Sets the animation curve for an animation. |
62 …__native_module.md#arkui_animateoption) \*option) | Obtains the animation curve of an animation. |
65 …alue) | Sets the overall delay of a keyframe animation, in milliseconds. By default, the keyframe
66animation is played. By default, the animation is played once. The value **-1** indicates that the…
74 …option) \*option, int32_t index) | Obtains the animation curve of a specific state in a keyframe a…
79 …mber of times that an animation is played. The value **0** means not to play the animation, and **…
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/
H A Drs_animation_group_test.cpp54 rsAnimationGroup.AddAnimation(animation); in HWTEST_F()
66 auto animation = nullptr; in HWTEST_F() local
68 rsAnimationGroup.AddAnimation(animation); in HWTEST_F()
85 animation->RSAnimation::IsStarted(); in HWTEST_F()
86 rsAnimationGroup.AddAnimation(animation); in HWTEST_F()
98 auto animation = nullptr; in HWTEST_F() local
103 rsAnimationGroup.RemoveAnimation(animation); in HWTEST_F()
115 auto animation = nullptr; in HWTEST_F() local
117 rsAnimationGroup.RemoveAnimation(animation); in HWTEST_F()
134 animation->RSAnimation::IsStarted(); in HWTEST_F()
[all …]

12345678910>>...31