Home
last modified time | relevance | path

Searched refs:AddKeyFrame (Results 1 - 25 of 29) sorted by relevance

12

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_keyframe_animation_test.cpp32 * @tc.desc: Verify the AddKeyFrame of KeyframeAnimationTest
40 * @tc.steps: step1. init AddKeyFrame in HWTEST_F()
53 keyframeAnimation->AddKeyFrame(FRACTION_MIN, startProperty, RSAnimationTimingCurve::EASE_OUT); in HWTEST_F()
54 keyframeAnimation->AddKeyFrame(FRACTION_MAX, endProperty, RSAnimationTimingCurve::EASE_IN_OUT); in HWTEST_F()
56 * @tc.steps: step2. start AddKeyFrame test in HWTEST_F()
67 * @tc.desc: Verify the AddKeyFrame of keyframeAnimationTest
74 * @tc.steps: step1. init AddKeyFrame in HWTEST_F()
88 keyframeAnimation->AddKeyFrame(FRACTION_MIN, startProperty, RSAnimationTimingCurve::EASE_OUT); in HWTEST_F()
89 keyframeAnimation->AddKeyFrame(FRACTION_MAX / 2, secondProperty, RSAnimationTimingCurve::EASE_IN); in HWTEST_F()
90 keyframeAnimation->AddKeyFrame(FRACTION_MA in HWTEST_F()
[all...]
H A Drs_animation_group_test.cpp189 boundsAnimation->AddKeyFrame(0.f, boundsStartProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
190 boundsAnimation->AddKeyFrame(0.5f, boundsMiddleProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
191 boundsAnimation->AddKeyFrame(1.f, boundsEndProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
199 alphaAnimation->AddKeyFrame(0.f, boundsStartProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
200 alphaAnimation->AddKeyFrame(0.5f, alphaMiddleProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
201 alphaAnimation->AddKeyFrame(1.f, boundsEndProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
372 boundsAnimation->AddKeyFrame(0.f, boundsStartProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
373 boundsAnimation->AddKeyFrame(0.5f, boundsMiddleProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
374 boundsAnimation->AddKeyFrame(1.f, boundsEndProperty, RSAnimationTimingCurve::DEFAULT); in HWTEST_F()
382 alphaAnimation->AddKeyFrame( in HWTEST_F()
[all...]
H A Drs_node_animate_supplement_test.cpp429 RSNode::AddKeyFrame(0.1f, RSAnimationTimingCurve::LINEAR, callback1); in HWTEST_F()
430 RSNode::AddKeyFrame(0.2f, callback1); in HWTEST_F()
H A Drs_animation_supplement_test.cpp712 animation->AddKeyFrame(-0.1f, value1, RSAnimationTimingCurve::LINEAR); in HWTEST_F()
713 animation->AddKeyFrame(0.2f, value1, RSAnimationTimingCurve::LINEAR); in HWTEST_F()
717 animation->AddKeyFrame(0.3f, value1, RSAnimationTimingCurve::LINEAR); in HWTEST_F()
739 animation->AddKeyFrame(0.2f, value1, RSAnimationTimingCurve::LINEAR); in HWTEST_F()
741 animation->AddKeyFrame(0.f, value1, RSAnimationTimingCurve::LINEAR); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dscheduler.cpp133 void Scheduler::AddKeyFrame( in AddKeyFrame() function in OHOS::Ace::Scheduler
142 return context->AddKeyFrame(fraction, curve, propertyCallback); in AddKeyFrame()
145 void Scheduler::AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) in AddKeyFrame() function in OHOS::Ace::Scheduler
153 return context->AddKeyFrame(fraction, propertyCallback); in AddKeyFrame()
H A Dscheduler.h72 void AddKeyFrame(
75 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback);
H A Dkeyframe_animation.h120 scheduler->AddKeyFrame(
/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_scheduler.cpp48 void Scheduler::AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) in AddKeyFrame() function in OHOS::Ace::Scheduler
51 void Scheduler::AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) {} in AddKeyFrame() function in OHOS::Ace::Scheduler
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dfake_animation_utils.cpp36 void AnimationUtils::AddKeyFrame( in AddKeyFrame() function in OHOS::Ace::AnimationUtils
40 void AnimationUtils::AddKeyFrame(float fraction, const PropertyCallback& callback) in AddKeyFrame() function in OHOS::Ace::AnimationUtils
H A Drosen_animation_utils.cpp146 void AnimationUtils::AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const PropertyCallback& callback) in AddKeyFrame() function in OHOS::Ace::AnimationUtils
148 Rosen::RSNode::AddKeyFrame(fraction, NativeCurveHelper::ToNativeCurve(curve), callback); in AddKeyFrame()
151 void AnimationUtils::AddKeyFrame(float fraction, const PropertyCallback& callback) in AddKeyFrame() function in OHOS::Ace::AnimationUtils
153 Rosen::RSNode::AddKeyFrame(fraction, callback); in AddKeyFrame()
H A Drosen_transition_effect_impl.h73 AnimationUtils::AddKeyFrame(it->first, [this, &it]() { property_->Set(it->second); });
75 AnimationUtils::AddKeyFrame(1.0f, [this]() { property_->Set(identityValue_); });
89 AnimationUtils::AddKeyFrame(it->first, [this, &it]() { property_->Set(it->second); });
91 AnimationUtils::AddKeyFrame(1.0f, [this]() { property_->Set(activeValue_); });
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_keyframe_animation.h39 void AddKeyFrame(float fraction, const std::shared_ptr<RSPropertyBase>& value,
45 void AddKeyFrame(int startDuration, int endDuration, const std::shared_ptr<RSPropertyBase>& value,
H A Drs_keyframe_animation.cpp33 void RSKeyframeAnimation::AddKeyFrame(float fraction, const std::shared_ptr<RSPropertyBase>& value, in AddKeyFrame() function in OHOS::Rosen::RSKeyframeAnimation
57 void RSKeyframeAnimation::AddKeyFrame(int startDuration, int endDuration, in AddKeyFrame() function in OHOS::Rosen::RSKeyframeAnimation
H A Drs_implicit_animation_param.cpp182 keyFrameAnimation->AddKeyFrame(startDuration, startDuration + duration_, endValue, timingCurve_); in CreateAnimation()
184 keyFrameAnimation->AddKeyFrame(fraction_, endValue, timingCurve_); in CreateAnimation()
201 keyframeAnimation->AddKeyFrame(fraction_, endValue, timingCurve_); in AddKeyframe()
214 keyframeAnimation->AddKeyFrame(startDuration, startDuration + duration_, endValue, timingCurve_); in AddKeyframe()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Danimation_utils.h48 static void AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const PropertyCallback& callback);
49 static void AddKeyFrame(float fraction, const PropertyCallback& callback);
/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_animation_utils.cpp105 void AnimationUtils::AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const PropertyCallback& callback) in AddKeyFrame() function in OHOS::Ace::AnimationUtils
111 void AnimationUtils::AddKeyFrame(float fraction, const PropertyCallback& callback) in AddKeyFrame() function in OHOS::Ace::AnimationUtils
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/
H A Dloading_progress_modifier.cpp280 AnimationUtils::AddKeyFrame( in StartRecycleRingAnimation()
287 AnimationUtils::AddKeyFrame( in StartRecycleRingAnimation()
293 AnimationUtils::AddKeyFrame( in StartRecycleRingAnimation()
319 AnimationUtils::AddKeyFrame(STAGE1, curve, in StartRecycleCometAnimation()
331 AnimationUtils::AddKeyFrame(STAGE2, curve, in StartRecycleCometAnimation()
343 AnimationUtils::AddKeyFrame(STAGE3, curve, in StartRecycleCometAnimation()
355 AnimationUtils::AddKeyFrame(STAGE4, curve, in StartRecycleCometAnimation()
367 AnimationUtils::AddKeyFrame(STAGE5, curve, in StartRecycleCometAnimation()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/
H A Drs_keyframe_animation_test.cpp53 rsKeyframeAnimation.AddKeyFrame(1.f, value, timingCurve); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/test/unittest/animation/
H A Drs_animation_test.cpp683 animation->AddKeyFrame(0.1f, 100, RSAnimationTimingCurve::EASE_IN_OUT); in HWTEST_F()
684 animation->AddKeyFrame(0.5f, 200, RSAnimationTimingCurve::EASE_IN_OUT); in HWTEST_F()
685 animation->AddKeyFrame(1.0f, 300, RSAnimationTimingCurve::EASE_IN_OUT); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_modifier.cpp631 AnimationUtils::AddKeyFrame(((float)WRONG_ANIMATION_DURATION_DIMMING / WRONG_ANIMATION_DURATION_FLASH_TWICE), in StartChallengeResultAnimate()
633 AnimationUtils::AddKeyFrame(((float)WRONG_ANIMATION_DURATION_FLASH_ONCE / WRONG_ANIMATION_DURATION_FLASH_TWICE), in StartChallengeResultAnimate()
635 AnimationUtils::AddKeyFrame(((float)(WRONG_ANIMATION_DURATION_FLASH_ONCE + WRONG_ANIMATION_DURATION_DIMMING) / in StartChallengeResultAnimate()
638 AnimationUtils::AddKeyFrame(1.0f, Curves::SHARP, brighteningAnimation); in StartChallengeResultAnimate()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.h167 static void AddKeyFrame(
169 static void AddKeyFrame(float fraction, const PropertyCallback& callback);
/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dpipeline_context.h537 void AddKeyFrame(
540 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) override;
H A Dpipeline_base.h146 virtual void AddKeyFrame(
149 virtual void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) = 0;
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/fuzztest/rsanimation_fuzzer/
H A Drsanimation_fuzzer.cpp181 keyframe->AddKeyFrame(fraction, secondProperty, RSAnimationTimingCurve::DEFAULT); in RsKeyframeAnimationFuzzTest()
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dpipeline_context.h141 void AddKeyFrame(float fraction, const RefPtr<Curve>& curve, const std::function<void()>& propertyCallback) override
144 void AddKeyFrame(float fraction, const std::function<void()>& propertyCallback) override {}

Completed in 26 milliseconds

12