Home
last modified time | relevance | path

Searched refs:AnimationId (Results 1 – 25 of 66) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_animation_manager.h49 void RemoveAnimation(AnimationId keyId);
52 const std::shared_ptr<RSRenderAnimation> GetAnimation(AnimationId id) const;
60 void RegisterSpringAnimation(PropertyId propertyId, AnimationId animId);
61 void UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId);
64 void RegisterPathAnimation(PropertyId propertyId, AnimationId animId);
65 void UnregisterPathAnimation(PropertyId propertyId, AnimationId animId);
68 void RegisterParticleAnimation(PropertyId propertyId, AnimationId animId);
83 std::unordered_map<PropertyId, AnimationId> springAnimations_;
84 std::unordered_map<PropertyId, AnimationId> pathAnimations_;
85 std::unordered_map<PropertyId, AnimationId> particleAnimations_;
[all …]
H A Drs_render_animation.h44 AnimationId GetAnimationId() const;
63 void SetAnimationId(AnimationId id) in SetAnimationId()
186 explicit RSRenderAnimation(AnimationId id);
244 AnimationId id_ = 0;
H A Drs_render_interactive_implict_animator.h36 void AddAnimations(std::vector<std::pair<NodeId, AnimationId>> animations);
51 std::vector<std::pair<NodeId, AnimationId>> animations_ = {};
H A Drs_render_property_animation.h43 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId,
45 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId) : RSRenderAnimation(id) in RSRenderPropertyAnimation()
H A Drs_render_transition.h29AnimationId id, const std::vector<std::shared_ptr<RSRenderTransitionEffect>>& effects, bool isTran…
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_manager.h40 void RemoveAnimation(const AnimationId keyId);
50 void RegisterSpringAnimation(PropertyId propertyId, AnimationId animId);
51 void UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId);
54 bool JudgeAnimateWhetherSkip(AnimationId animId, int64_t time, int64_t vsyncPeriod);
61 const std::shared_ptr<RSRenderAnimation> GetAnimation(AnimationId id) const;
64 std::unordered_map<AnimationId, std::weak_ptr<RSRenderAnimation>> animations_;
65 std::unordered_map<PropertyId, AnimationId> springAnimations_;
70 std::unordered_map<AnimationId, std::shared_ptr<RSRenderDisplaySync>> displaySyncs_;
H A Drs_modifier_manager.cpp52 AnimationId key = animation->GetAnimationId(); in AddAnimation()
64 void RSModifierManager::RemoveAnimation(AnimationId keyId) in RemoveAnimation()
102 AnimationId animId = animation->GetAnimationId(); in Animate()
131 bool RSModifierManager::JudgeAnimateWhetherSkip(AnimationId animId, int64_t time, int64_t vsyncPeri… in JudgeAnimateWhetherSkip()
161 AnimationId animationId = animation->GetAnimationId(); in OnAnimationFinished()
172 void RSModifierManager::RegisterSpringAnimation(PropertyId propertyId, AnimationId animId) in RegisterSpringAnimation()
177 void RSModifierManager::UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId) in UnregisterSpringAnimation()
195 const std::shared_ptr<RSRenderAnimation> RSModifierManager::GetAnimation(AnimationId id) const in GetAnimation()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/command/
H A Drs_animation_command.h76 static void AnimOp(RSContext& context, NodeId nodeId, AnimationId animId) in AnimOp()
89 static void AnimOpReg(RSContext& context, NodeId nodeId, AnimationId animId) in AnimOpReg()
104 static void AnimOp(RSContext& context, NodeId nodeId, AnimationId animId, T param) in AnimOp()
121 using AnimationCallbackProcessor = void (*)(NodeId, AnimationId, AnimationCallbackEvent);
123 … NodeId targetId, AnimationId animId, AnimationCallbackEvent event);
128 … InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations,
132 … InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations);
153 AnimationId, bool))
156 NodeId, AnimationId, float))
162 AnimationCommandHelper::AnimationCallback, NodeId, AnimationId, AnimationCallbackEvent))
[all …]
H A Drs_node_showing_command.h75 std::pair<std::shared_ptr<RSRenderPropertyBase>, std::vector<AnimationId>>>;
106 …explicit RSNodeGetAnimationsValueFraction(uint64_t timeoutNS, NodeId nodeId, AnimationId animation… in RSNodeGetAnimationsValueFraction()
127 AnimationId animationId_;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_manager.cpp59 AnimationId key = animation->GetAnimationId(); in AddAnimation()
73 void RSAnimationManager::RemoveAnimation(AnimationId keyId) in RemoveAnimation()
215 const std::shared_ptr<RSRenderAnimation> RSAnimationManager::GetAnimation(AnimationId id) const in GetAnimation()
228 AnimationId animationId = animation->GetAnimationId(); in OnAnimationFinished()
238 void RSAnimationManager::RegisterSpringAnimation(PropertyId propertyId, AnimationId animId) in RegisterSpringAnimation()
243 void RSAnimationManager::UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId) in UnregisterSpringAnimation()
260 void RSAnimationManager::RegisterPathAnimation(PropertyId propertyId, AnimationId animId) in RegisterPathAnimation()
265 void RSAnimationManager::UnregisterPathAnimation(PropertyId propertyId, AnimationId animId) in UnregisterPathAnimation()
282 void RSAnimationManager::RegisterParticleAnimation(PropertyId propertyId, AnimationId animId) in RegisterParticleAnimation()
287 void RSAnimationManager::UnregisterParticleAnimation(PropertyId propertyId, AnimationId animId) in UnregisterParticleAnimation()
[all …]
H A Drs_render_particle_animation.cpp30 RSRenderParticleAnimation::RSRenderParticleAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderParticleAnimation()
186 AnimationId id = 0; in ParseParam()
H A Drs_render_interpolating_spring_animation.cpp32 RSRenderInterpolatingSpringAnimation::RSRenderInterpolatingSpringAnimation(AnimationId id, const Pr… in RSRenderInterpolatingSpringAnimation()
250 AnimationId animationId = GetAnimationId(); in CallLogicallyFinishCallback()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_animation_manager_test.cpp80 AnimationId keyId = 0;
132 AnimationId id = 0;
230 AnimationId animId = 0;
244 AnimationId animId = 0;
272 AnimationId animId = 0;
286 AnimationId animId = 0;
314 AnimationId animId = 0;
328 AnimationId animId = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_animation_command_test.cpp29 static void TestProcessor(NodeId, AnimationId, AnimationCallbackEvent);
36 void RSAnimationCommandTest::TestProcessor(NodeId nodeId, AnimationId animId, AnimationCallbackEven… in TestProcessor()
47 AnimationId animId = static_cast<AnimationId>(1);
90 AnimationId animId = static_cast<AnimationId>(1);
95 …AnimationCommandHelper::AnimationCallbackProcessor processor = [](NodeId nodeId, AnimationId animI…
191 std::vector<std::pair<NodeId, AnimationId>> animations;
H A Drs_node_showing_command_test.cpp207 std::vector<AnimationId> animationIds = { 0 };
208 …ir<NodeId, PropertyId>, std::pair<std::shared_ptr<RSRenderPropertyBase>, std::vector<AnimationId>>>
225 …ir<NodeId, PropertyId>, std::pair<std::shared_ptr<RSRenderPropertyBase>, std::vector<AnimationId>>>
277 std::vector<AnimationId> animationIdsTest1 = { 0 };
278 std::vector<AnimationId> animationIdsTest2 = { 0 };
279 std::vector<AnimationId> animationIdsTest3 = { 0 };
280 std::vector<AnimationId> animationIdsTest4 = { 0 };
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_interactive_implict_animator_test.cpp37 static constexpr AnimationId ANIMATION_ID = 10003;
57 std::vector<std::pair<NodeId, AnimationId>> animations1;
63 std::vector<std::pair<NodeId, AnimationId>> animations2;
73 std::vector<std::pair<NodeId, AnimationId>> animations3;
91 std::vector<std::pair<NodeId, AnimationId>> animations1;
117 std::vector<std::pair<NodeId, AnimationId>> animations;
160 std::vector<std::pair<NodeId, AnimationId>> animations;
203 std::vector<std::pair<NodeId, AnimationId>> animations;
246 std::vector<std::pair<NodeId, AnimationId>> animations;
289 std::vector<std::pair<NodeId, AnimationId>> animations;
H A Drs_render_transition_test.cpp35 static constexpr AnimationId ANIMATION_ID = 12345;
46AnimationId id, const std::vector<std::shared_ptr<RSRenderTransitionEffect>>& effects, bool isTran… in RSRenderTransitionMock()
76 explicit RSRenderAnimationMock(AnimationId id) : RSRenderAnimation(id) {} in RSRenderAnimationMock()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp104 AnimationId keyId = GetData<AnimationId>(); in RSAnimationManagerFuzzerTest()
105 AnimationId id = GetData<AnimationId>(); in RSAnimationManagerFuzzerTest()
112 AnimationId animId = GetData<AnimationId>(); in RSAnimationManagerFuzzerTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/pipeline/
H A Drs_node_map.h43 bool RegisterAnimationInstanceId(AnimationId animId, NodeId id, int32_t instanceId);
45 void UnregisterAnimation(AnimationId animId);
72 std::unordered_map<AnimationId, std::pair<NodeId, int32_t>> animationNodeIdInstanceIdMap_;
H A Drs_node_map.cpp95 bool RSNodeMap::RegisterAnimationInstanceId(AnimationId animId, NodeId id, int32_t instanceId) in RegisterAnimationInstanceId()
102 void RSNodeMap::UnregisterAnimation(AnimationId animId) in UnregisterAnimation()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_modifier_manager_test.cpp83 AnimationId key = renderCurveAnimation->GetAnimationId();
116 AnimationId animId = 0;
132 AnimationId animId = 0;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_animation.h54 AnimationId GetId() const;
123 static AnimationId GenerateId();
124 const AnimationId id_;
H A Drs_animation.cpp33 AnimationId RSAnimation::GenerateId() in GenerateId()
44 return ((AnimationId)pid_ << 32) | (currentId); in GenerateId()
111 AnimationId RSAnimation::GetId() const in GetId()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_animation_command.cpp37 RSContext& context, NodeId targetId, AnimationId animId, AnimationCallbackEvent event) in AnimationCallback()
114 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations, in CreateInteractiveAnimator()
138 InteractiveImplictAnimatorId targetId, std::vector<std::pair<NodeId, AnimationId>> animations) in InteractiveAnimatorAddAnimations()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/
H A Drs_context.h165 void AddSyncFinishAnimationList(NodeId nodeId, AnimationId animationId);
184 std::vector<std::pair<NodeId, AnimationId>> needSyncFinishAnimationList_;

123