Home
last modified time | relevance | path

Searched refs:animations (Results 1 - 25 of 55) sorted by relevance

123

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/animation/
H A Drs_transition_test.cpp125 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { in HWTEST_F() local
130 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
131 EXPECT_FALSE(animations[FIRST_ANIMATION] == nullptr); in HWTEST_F()
132 EXPECT_TRUE(animations[FIRST_ANIMATION]->IsRunning()); in HWTEST_F()
140 animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { in HWTEST_F()
145 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
146 EXPECT_FALSE(animations[FIRST_ANIMATION] == nullptr); in HWTEST_F()
147 EXPECT_TRUE(animations[FIRST_ANIMATION]->IsRunning()); in HWTEST_F()
183 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { in HWTEST_F() local
188 EXPECT_TRUE(animations in HWTEST_F()
240 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { HWTEST_F() local
304 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { HWTEST_F() local
370 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { HWTEST_F() local
435 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, [&]() { HWTEST_F() local
627 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
663 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
698 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
[all...]
H A Drs_animation_test.cpp56 auto animations = RSNode::Animate(protocol, curve, [&property]() { in HWTEST_F() local
63 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
64 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
67 auto animation = std::static_pointer_cast<RSSpringAnimation>(animations[FIRST_ANIMATION]); in HWTEST_F()
98 auto animations = RSNode::Animate(protocol, curve, [&property]() { in HWTEST_F() local
104 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
105 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
108 auto animation = std::static_pointer_cast<RSCurveAnimation>(animations[FIRST_ANIMATION]); in HWTEST_F()
137 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, in HWTEST_F() local
144 EXPECT_TRUE(animations in HWTEST_F()
179 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
225 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
268 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
311 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
353 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
393 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
434 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
483 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
530 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
574 auto animations = RSNode::Animate(protocol, curve, [&property]() { HWTEST_F() local
628 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::EASE, HWTEST_F() local
[all...]
H A Drs_animation_group_test.cpp420 auto animations = RSNode::Animate(protocol, RSAnimationTimingCurve::SPRING, in HWTEST_F() local
428 EXPECT_TRUE(animations.size() == CORRECT_GROUP_SIZE); in HWTEST_F()
429 if (animations.size() != CORRECT_GROUP_SIZE) { in HWTEST_F()
432 EXPECT_FALSE(animations[FIRST_ANIMATION] == nullptr); in HWTEST_F()
433 EXPECT_TRUE(animations[FIRST_ANIMATION]->IsRunning()); in HWTEST_F()
434 EXPECT_FALSE(animations[SECOND_ANIMATION] == nullptr); in HWTEST_F()
435 EXPECT_TRUE(animations[SECOND_ANIMATION]->IsRunning()); in HWTEST_F()
H A Drs_keyframe_animation_test.cpp283 auto animations = RSNode::Animate(protocol, curve, [&property]() { in HWTEST_F() local
297 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
298 if (animations.size() == CORRECT_SIZE) { in HWTEST_F()
299 auto animation = std::static_pointer_cast<RSKeyframeAnimation>(animations[FIRST_ANIMATION]); in HWTEST_F()
H A Drs_curve_animation_test.cpp285 auto animations = RSNode::Animate(protocol, curve, [&property]() { in HWTEST_F() local
291 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
292 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
295 auto springAnimation = std::static_pointer_cast<RSCurveAnimation>(animations[FIRST_ANIMATION]); in HWTEST_F()
H A Drs_spring_animation_test.cpp181 auto animations = RSNode::Animate(protocol, curve, [&property]() { in HWTEST_F() local
187 EXPECT_TRUE(animations.size() == CORRECT_SIZE); in HWTEST_F()
188 if (animations.size() != CORRECT_SIZE) { in HWTEST_F()
191 auto springAnimation = std::static_pointer_cast<RSSpringAnimation>(animations[FIRST_ANIMATION]); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_interactive_implict_animator_test.cpp115 std::vector<std::pair<NodeId, AnimationId>> animations; in HWTEST_F() local
116 animations.emplace_back(INVALID_NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F()
117 animations.emplace_back(NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F()
118 animator->AddAnimations(animations); in HWTEST_F()
142 std::vector<std::pair<NodeId, AnimationId>> animations; in HWTEST_F() local
143 animations.emplace_back(NODE_ID, ANIMATION_ID); in HWTEST_F()
144 animator->AddAnimations(animations); in HWTEST_F()
209 std::vector<std::pair<NodeId, AnimationId>> animations; in HWTEST_F() local
210 animations.emplace_back(NODE_ID, ANIMATION_ID); in HWTEST_F()
211 animator->AddAnimations(animations); in HWTEST_F()
276 std::vector<std::pair<NodeId, AnimationId>> animations; HWTEST_F() local
343 std::vector<std::pair<NodeId, AnimationId>> animations; HWTEST_F() local
410 std::vector<std::pair<NodeId, AnimationId>> animations; HWTEST_F() local
[all...]
H A Drs_animation_manager_test.cpp308 auto animations = animationManager.GetParticleAnimations(); in HWTEST_F() local
309 EXPECT_TRUE(animations.size() != 0); in HWTEST_F()
311 animations = animationManager.GetParticleAnimations(); in HWTEST_F()
312 EXPECT_TRUE(animations.size() == 0); in HWTEST_F()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/
H A Danimation_test_base.cpp82 const std::vector<IAnimation::Ptr> animations, uint32_t frames, std::function<void(uint32_t frame)> updateFn) in StepAnimations()
84 StepAnimations(animations, frames, STEPMS, updateFn); in StepAnimations()
87 void AnimationTestBase::StepAnimations(const std::vector<IAnimation::Ptr> animations, uint32_t frames, in StepAnimations() argument
92 for (auto& animation : animations) { in StepAnimations()
81 StepAnimations( const std::vector<IAnimation::Ptr> animations, uint32_t frames, std::function<void(uint32_t frame)> updateFn) StepAnimations() argument
H A Danimation_test_base.h41 void StepAnimations(const std::vector<IAnimation::Ptr> animations, uint32_t frames, int64_t frameStepMs,
45 const std::vector<IAnimation::Ptr> animations, uint32_t frames, std::function<void(uint32_t frame)> updateFn);
/foundation/arkui/ace_engine/test/mock/core/animation/
H A Dmock_animation_manager.cpp62 void PruneAnimation(std::list<RefPtr<MockImplicitAnimation>>& animations) in PruneAnimation() argument
64 for (auto it = animations.begin(); it != animations.end();) { in PruneAnimation()
67 it = animations.erase(it); in PruneAnimation()
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/
H A Drs_animat_cmd_test.cpp198 std::vector<std::pair<NodeId, AnimationId>> animations; in HWTEST_F() local
201 AnimatCommandHelper::InteractiveAnimatorAddAnimations(context, targetId, animations); in HWTEST_F()
207 AnimatCommandHelper::CreateInteractiveAnimator(context, targetId, animations, false); in HWTEST_F()
210 AnimatCommandHelper::InteractiveAnimatorAddAnimations(context, targetId, animations); in HWTEST_F()
214 AnimatCommandHelper::CreateInteractiveAnimator(context, targetId, animations, true); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_animation_command_test.cpp198 std::vector<std::pair<NodeId, AnimationId>> animations; in HWTEST_F() local
201 AnimationCommandHelper::InteractiveAnimatorAddAnimations(context, targetId, animations); in HWTEST_F()
207 AnimationCommandHelper::CreateInteractiveAnimator(context, targetId, animations, false); in HWTEST_F()
210 AnimationCommandHelper::InteractiveAnimatorAddAnimations(context, targetId, animations); in HWTEST_F()
214 AnimationCommandHelper::CreateInteractiveAnimator(context, targetId, animations, true); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_animation_command.cpp114 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations, in CreateInteractiveAnimator()
122 animator->AddAnimations(animations); in CreateInteractiveAnimator()
138 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations) in InteractiveAnimatorAddAnimations()
144 animator->AddAnimations(animations); in InteractiveAnimatorAddAnimations()
113 CreateInteractiveAnimator(RSContext& context, InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations, bool startImmediately) CreateInteractiveAnimator() argument
137 InteractiveAnimatorAddAnimations(RSContext& context, InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations) InteractiveAnimatorAddAnimations() argument
H A Drs_node_showing_command.cpp150 auto& [property, animations] = value; in Process()
159 node->GetAnimationManager().AttemptCancelAnimationByAnimationId(animations); in Process()
/foundation/graphic/graphic_3d/lume/metaobject/test/src/interface/
H A DIntfClassRegistryTest.cpp88 auto animations = classRegistry_.GetAllTypes({ IAnimation::UID }); in HWTEST_F() local
89 EXPECT_THAT(animations, Not(IsEmpty())); in HWTEST_F()
91 EXPECT_THAT(animations, ContainsClass(ClassId::KeyframeAnimation)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_interactive_implict_animator.cpp126 auto animations = implicitAnimator->CloseInterActiveImplicitAnimation(true); in AddImplictAnimation() local
128 for (auto& [animation, nodeId] : animations) { in AddImplictAnimation()
138 return animations.size(); in AddImplictAnimation()
156 auto animations = implicitAnimator->CloseInterActiveImplicitAnimation(false); in AddAnimation() local
158 for (auto& [animation, nodeId] : animations) { in AddAnimation()
168 return animations.size(); in AddAnimation()
179 ROSEN_LOGE("StartAnimation failed, animations size is error"); in StartAnimation()
339 const auto& [propertyValue, animations] = value; in FinishOnCurrent()
H A Drs_symbol_animation.h51 // SetPublicAnimation is interface for animation that can be spliced by atomizated animations
66 // to start animations for one path group
68 const std::shared_ptr<RSNode>& rsNode, std::vector<std::shared_ptr<RSAnimation>>& animations);
90 Drawing::DrawingPiecewiseParameter& scaleParameter, std::vector<std::shared_ptr<RSAnimation>>& animations);
92 std::vector<std::shared_ptr<RSAnimation>>& animations);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_interactive_implict_animator.cpp25 void RSRenderInteractiveImplictAnimator::AddAnimations(std::vector<std::pair<NodeId, AnimationId>> animations) in AddAnimations() argument
32 for (auto& [nodeId, animationId] : animations) { in AddAnimations()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_interactive_implict_animator.h36 void AddAnimations(std::vector<std::pair<NodeId, AnimationId>> animations);
/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_animation_utils.cpp132 auto animations = AnimManager::GetInstance().CloseAnimation(); in StartAnimation() local
134 return std::make_shared<Animation>(std::move(animations)); in StartAnimation()
/foundation/graphic/graphic_3d/3d_widget_adapter/src/
H A Dwidget_adapter.cpp105 animations) in UpdateGLTFAnimations()
108 engine_->UpdateGLTFAnimations(animations); in UpdateGLTFAnimations()
104 UpdateGLTFAnimations(const std::vector<std::shared_ptr<GLTFAnimation>>& animations) UpdateGLTFAnimations() argument
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/
H A Decs_asset_loader.cpp440 if (!resourceData.animations.empty()) { in ImportSceneFromGltf()
443 for (const auto& animationEntity : resourceData.animations) { in ImportSceneFromGltf()
483 ec_.AddSubCollection("animations", {}).AddEntities(importResult.data.animations); in GltfImportFinished()
487 for (auto& current : importResult.data.animations) { in GltfImportFinished()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dtween_option.h351 void ClearListeners(const std::map<T, RefPtr<Animation<U>>>& animations) in ClearListeners() argument
353 for (auto&& [type, animation] : animations) { in ClearListeners()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_animation_command.h128 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations,
132 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations);

Completed in 20 milliseconds

123