/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_animation_group.cpp | 41 auto iter = find(animations_.begin(), animations_.end(), animation); in AddAnimation() 42 if (iter != animations_.end()) { in AddAnimation() 47 animations_.emplace_back(animation); in AddAnimation() 67 auto iter = find(animations_.begin(), animations_.end(), animation); in RemoveAnimation() 68 if (iter == animations_.end()) { in RemoveAnimation() 73 animations_.erase(iter); in RemoveAnimation() 78 if (animations_.empty()) { in OnStart() 106 for (auto& animation : animations_) { in OnStart() [all...] |
H A D | rs_interactive_implict_animator.cpp | 135 animations_.emplace_back(weakAnimation, nodeId); in AddImplictAnimation() 165 animations_.emplace_back(weakAnimation, nodeId); in AddAnimation() 178 if (animations_.empty()) { in StartAnimation() 183 for (auto& [item, nodeId] : animations_) { in StartAnimation() 218 for (auto& [item, nodeId] : animations_) { in PauseAnimation() 247 for (auto& [item, nodeId] : animations_) { in ContinueAnimation() 276 for (auto& [item, nodeId] : animations_) { in FinishAnimation() 304 for (auto& [item, nodeId] : animations_) { in FinishOnCurrent() 355 for (auto& [item, nodeId] : animations_) { in ReverseAnimation() 383 for (auto& [item, nodeId] : animations_) { in SetFraction() [all...] |
H A D | rs_animation_group.h | 48 std::list<std::shared_ptr<RSAnimation>> animations_; member in OHOS::Rosen::RSAnimationGroup
|
H A D | rs_interactive_implict_animator.h | 111 std::vector<std::pair<std::weak_ptr<RSAnimation>, NodeId>> animations_; member in OHOS::Rosen::RSInteractiveImplictAnimator
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation_controller.cpp | 46 auto it = animations_.begin(); in UpdateAnimations() 48 while (it != animations_.end()) { in UpdateAnimations() 59 it = animations_.erase(it); in UpdateAnimations() 62 count = animations_.size(); in UpdateAnimations() 91 for (auto& weak : animations_) { in AddAnimation() 97 animations_.emplace_back(animation); in AddAnimation() 111 for (auto it = animations_.begin(); it != animations_.end(); it++) { in RemoveAnimation() 113 animations_.erase(it); in RemoveAnimation() 132 all.swap(animations_); in Clear() [all...] |
H A D | animation_controller.h | 59 mutable BASE_NS::vector<IAnimation::WeakPtr> animations_; // All animations member in final
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_animation_manager.cpp | 37 if (animations_.empty()) { in DumpAnimations() 42 for (auto[id, animation]: animations_) { in DumpAnimations() 60 if (animations_.find(key) != animations_.end()) { in AddAnimation() 70 animations_.emplace(key, animation); in AddAnimation() 75 auto animationItr = animations_.find(keyId); in RemoveAnimation() 76 if (animationItr == animations_.end()) { in RemoveAnimation() 82 animations_.erase(animationItr); in RemoveAnimation() 87 EraseIf(animations_, [id, this](const auto& pair) { in CancelAnimationByPropertyId() 99 bool isErased = EraseIf(animations_, [animationI in AttemptCancelAnimationByAnimationId() [all...] |
H A D | rs_render_interactive_implict_animator.cpp | 31 animations_.clear(); in AddAnimations() 41 animations_.emplace_back(nodeId, animationId); in AddAnimations() 51 for (auto& [nodeId, animationId] : animations_) { in PauseAnimator() 70 for (auto& [nodeId, animationId] : animations_) { in ContinueAnimator() 91 for (auto& [nodeId, animationId] : animations_) { in FinishAnimator() 110 for (auto& [nodeId, animationId] : animations_) { in ReverseAnimator() 130 for (auto& [nodeId, animationId] : animations_) { in SetFractionAnimator()
|
/foundation/arkui/ace_engine/test/mock/core/animation/ |
H A D | mock_animation_manager.cpp | 55 animations_.emplace_back(res.back()); in CloseAnimation() 77 PruneAnimation(animations_); in Tick() 78 const auto anims = animations_; in Tick() 86 PruneAnimation(animations_); in TickByVelocity() 87 const auto anims = animations_; in TickByVelocity() 97 animations_.clear(); in Reset() 105 PruneAnimation(animations_); in AllFinished() 106 return animations_.empty(); in AllFinished()
|
H A D | mock_animation_manager.h | 101 std::list<RefPtr<MockImplicitAnimation>> animations_; member in OHOS::Ace::NG::MockAnimationManager
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_manager.cpp | 53 if (animations_.find(key) != animations_.end()) { in AddAnimation() 57 animations_.emplace(key, animation); in AddAnimation() 67 auto animationItr = animations_.find(keyId); in RemoveAnimation() 68 if (animationItr == animations_.end()) { in RemoveAnimation() 72 animations_.erase(animationItr); in RemoveAnimation() 78 for (auto& iter : animations_) { in HasUIRunningAnimation() 89 RS_TRACE_NAME_FMT("RunningCustomAnimation num:[%d] time:[%lld]", animations_.size(), time); in Animate() 95 EraseIf(animations_, [this, &hasRunningAnimation, time, vsyncPeriod](auto& iter) -> bool { in Animate() 130 for (auto& iter : animations_) { in FlushStartAnimation() [all...] |
H A D | rs_modifier_manager.h | 65 std::unordered_map<AnimationId, std::weak_ptr<RSRenderAnimation>> animations_; member in OHOS::Rosen::RSModifierManager
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_interactive_implict_animator_test.cpp | 181 animator->animations_.emplace_back(INVALID_NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F() 183 animator->animations_.clear(); in HWTEST_F() 184 animator->animations_.emplace_back(NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F() 248 animator->animations_.emplace_back(INVALID_NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F() 250 animator->animations_.clear(); in HWTEST_F() 251 animator->animations_.emplace_back(NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F() 315 animator->animations_.emplace_back(INVALID_NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F() 317 animator->animations_.clear(); in HWTEST_F() 318 animator->animations_.emplace_back(NODE_ID, INVALID_ANIMATION_ID); in HWTEST_F() 382 animator->animations_ in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_animation_utils.cpp | 79 std::vector<std::shared_ptr<OHOS::Rosen::RSAnimation>> animations_; member in OHOS::Ace::AnimationUtils::Animation 169 animation->animations_ = Rosen::RSNode::Animate(timingProtocol, NativeCurveHelper::ToNativeCurve(option.GetCurve()), in StartAnimation() 175 if (!animation->animations_.empty()) { in StartAnimation() 184 if (!animation->animations_.empty()) { in StopAnimation() 185 for (auto& ani : animation->animations_) { in StopAnimation() 188 animation->animations_.clear(); in StopAnimation() 204 for (auto& ani : animation->animations_) { in PauseAnimation() 216 if (animation->animations_.empty()) { in ResumeAnimation() 223 for (auto& ani : animation->animations_) { in ResumeAnimation()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_interactive_implict_animator.h | 51 std::vector<std::pair<NodeId, AnimationId>> animations_ = {}; member in OHOS::Rosen::RSRenderInteractiveImplictAnimator
|
H A D | rs_animation_manager.h | 82 std::unordered_map<AnimationId, std::shared_ptr<RSRenderAnimation>> animations_; member in OHOS::Rosen::RSAnimationManager
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | particle_property.h | 344 animations_ = animations; in SetAnimations() 349 return animations_; in GetAnimations() 366 (animations_ == other.GetAnimations()); in operator ==() 378 if (animations_.size() > 0) { in ToString() 380 for (auto& item : animations_) { in ToString() 393 std::list<ParticlePropertyAnimation<float>> animations_; member
|
/foundation/graphic/graphic_3d/3d_widget_adapter/core/src/lume/ |
H A D | lume_common.cpp | 410 for (auto animation : animations_) { in UnloadSceneModel() 413 animations_.clear(); in UnloadSceneModel() 523 animations_.push_back(playback); in LoadAndImport() 1102 if (animations_.empty()) { in ProcessGLTFAnimations() 1127 for (auto animation : animations_) { in FindGLTFAnimationIndex() 1137 if (index == animations_.size()) { in FindGLTFAnimationIndex() 1160 animations_[index]->SetPlaybackState(state); in UpdateSingleGLTFAnimation() 1163 animations_[index]->SetRepeatCount(-1); // infinite in UpdateSingleGLTFAnimation() 1165 animations_[index]->SetRepeatCount(gltfAnimation->GetRepeatCount()); in UpdateSingleGLTFAnimation() 1169 animations_[inde in UpdateSingleGLTFAnimation() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_node.cpp | 341 for (auto& [animationId, animation] : animations_) { in FallbackAnimationsToRoot() 350 animations_.clear(); in FallbackAnimationsToRoot() 355 animations_.emplace(animation->GetId(), animation); in AddAnimationInner() 369 animations_.erase(animation->GetId()); in RemoveAnimationInner() 374 for (const auto& [animationId, animation] : animations_) { in FinishAnimationByProperty() 393 EraseIf(animations_, [id, &toBeRemoved](const auto& pair) { in CancelAnimationByProperty() 442 if (animations_.find(animationId) != animations_.end()) { in AddAnimation() 468 for (const auto& [id, animation] : animations_) { in RemoveAllAnimations() 480 if (animations_ in RemoveAnimation() [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | scene_holder.h | 424 if (auto animation = animations_.find(entity.id); animation != animations_.cend()) { in GetAnimation() 432 for (auto& animation : animations_) { in GetAnimation() 445 for (auto& animation : animations_) { in GetAnimations() 584 BASE_NS::unordered_map<uint64_t, SCENE_NS::IEcsAnimation::Ptr> animations_; member in SceneHolder
|
H A D | scene_impl.cpp | 322 if (auto it = animations_.find(name.substr(ix)); it != animations_.end()) { 807 animations_.clear(); in DetachScene() 1311 CacheNode<META_NS::IAnimation>("animation", node, animations_, relanim)) { 1398 if (auto ite = animations_.find(name); ite != animations_.end()) { 1400 animations_.erase(ite); 1742 BASE_NS::unordered_map<BASE_NS::string, META_NS::IAnimation::WeakPtr> animations_; member in __anon9836::final
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/ |
H A D | rs_node_showing_cmd_test.cpp | 304 renderNode->animationManager_.animations_.clear(); in HWTEST_F() 307 renderNode->animationManager_.animations_.emplace(0, animationTest); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_node_showing_command_test.cpp | 304 renderNode->animationManager_.animations_.clear(); in HWTEST_F() 307 renderNode->animationManager_.animations_.emplace(0, animationTest); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/ecs/systems/ |
H A D | animation_system.cpp | 774 animations_.clear(); in Uninitialize() 821 animations_.push_back(move(playback)); in CreatePlayback() 828 for (auto it = animations_.cbegin(); it != animations_.cend(); ++it) { in DestroyPlayback() 830 animations_.erase(it); in DestroyPlayback() 838 return animations_.size(); in GetPlaybackCount() 843 if (index < animations_.size()) { in GetPlayback() 844 return animations_[index].get(); in GetPlayback()
|
H A D | animation_system.h | 147 BASE_NS::vector<BASE_NS::unique_ptr<AnimationPlayback>> animations_; member in final
|