/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/animat/ |
H A D | rs_animat_manager_test.cpp | 228 PropertyId propertyId = 0; in HWTEST_F() local 230 rsAnimationManager.UnregisterSpringAnimation(propertyId, animId); in HWTEST_F() 231 ASSERT_NE(propertyId, 10); in HWTEST_F() 242 PropertyId propertyId = 0; in HWTEST_F() local 244 rsAnimationManager.RegisterSpringAnimation(propertyId, animId); in HWTEST_F() 245 ASSERT_NE(propertyId, 10); in HWTEST_F() 256 PropertyId propertyId = 0; in HWTEST_F() local 258 rsAnimationManager.RegisterPathAnimation(propertyId, animId); in HWTEST_F() 259 ASSERT_NE(propertyId, 10); in HWTEST_F() 270 PropertyId propertyId in HWTEST_F() local 284 PropertyId propertyId = 0; HWTEST_F() local 298 PropertyId propertyId = 0; HWTEST_F() local 313 PropertyId propertyId = 0; HWTEST_F() local 329 PropertyId propertyId = 0; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_animation_manager_test.cpp | 228 PropertyId propertyId = 0; in HWTEST_F() local 230 rsAnimationManager.RegisterSpringAnimation(propertyId, animId); in HWTEST_F() 231 ASSERT_NE(propertyId, 10); in HWTEST_F() 242 PropertyId propertyId = 0; in HWTEST_F() local 244 rsAnimationManager.UnregisterSpringAnimation(propertyId, animId); in HWTEST_F() 245 ASSERT_NE(propertyId, 10); in HWTEST_F() 256 PropertyId propertyId = 0; in HWTEST_F() local 258 rsAnimationManager.QuerySpringAnimation(propertyId); in HWTEST_F() 270 PropertyId propertyId = 0; in HWTEST_F() local 272 rsAnimationManager.RegisterPathAnimation(propertyId, animI in HWTEST_F() 284 PropertyId propertyId = 0; HWTEST_F() local 298 PropertyId propertyId = 0; HWTEST_F() local 312 PropertyId propertyId = 0; HWTEST_F() local 326 PropertyId propertyId = 0; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_animation_manager.h | 60 void RegisterSpringAnimation(PropertyId propertyId, AnimationId animId); 61 void UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId); 62 std::shared_ptr<RSRenderAnimation> QuerySpringAnimation(PropertyId propertyId); 64 void RegisterPathAnimation(PropertyId propertyId, AnimationId animId); 65 void UnregisterPathAnimation(PropertyId propertyId, AnimationId animId); 66 std::shared_ptr<RSRenderAnimation> QueryPathAnimation(PropertyId propertyId); 68 void RegisterParticleAnimation(PropertyId propertyId, AnimationId animId); 69 void UnregisterParticleAnimation(PropertyId propertyId, AnimationId animId);
|
H A D | rs_render_property_animation.h | 43 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId, 45 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId) : RSRenderAnimation(id) in RSRenderPropertyAnimation() argument 47 propertyId_ = propertyId; in RSRenderPropertyAnimation()
|
H A D | rs_animation_trace_utils.h | 34 void addAnimationCreateTrace(const uint64_t nodeId, const std::string& nodeName, const uint64_t propertyId, 40 const uint64_t propertyId, const float fraction, const std::shared_ptr<RSRenderPropertyBase>& value, 44 void addSpringInitialVelocityTrace(const uint64_t propertyId, const uint64_t animationId,
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_animation_manager.cpp | 238 void RSAnimationManager::RegisterSpringAnimation(PropertyId propertyId, AnimationId animId) in RegisterSpringAnimation() argument 240 springAnimations_[propertyId] = animId; in RegisterSpringAnimation() 243 void RSAnimationManager::UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId) in UnregisterSpringAnimation() argument 245 auto it = springAnimations_.find(propertyId); in UnregisterSpringAnimation() 251 std::shared_ptr<RSRenderAnimation> RSAnimationManager::QuerySpringAnimation(PropertyId propertyId) in QuerySpringAnimation() argument 253 auto it = springAnimations_.find(propertyId); in QuerySpringAnimation() 260 void RSAnimationManager::RegisterPathAnimation(PropertyId propertyId, AnimationId animId) in RegisterPathAnimation() argument 262 pathAnimations_[propertyId] = animId; in RegisterPathAnimation() 265 void RSAnimationManager::UnregisterPathAnimation(PropertyId propertyId, AnimationId animId) in UnregisterPathAnimation() argument 267 auto it = pathAnimations_.find(propertyId); in UnregisterPathAnimation() 273 QueryPathAnimation(PropertyId propertyId) QueryPathAnimation() argument 282 RegisterParticleAnimation(PropertyId propertyId, AnimationId animId) RegisterParticleAnimation() argument 287 UnregisterParticleAnimation(PropertyId propertyId, AnimationId animId) UnregisterParticleAnimation() argument [all...] |
H A D | rs_animation_trace_utils.cpp | 142 const uint64_t propertyId, const uint64_t animationId, const int animationType, const int propertyType, in addAnimationCreateTrace() 152 nodeId, nodeName.c_str(), propertyId, animationId, animationType, propertyType, startStr.c_str(), in addAnimationCreateTrace() 158 const uint64_t animationId, const uint64_t propertyId, const float fraction, in addAnimationFrameTrace() 164 "time[%lld], dur[%d], repeat[%d]", nodeId, nodeName.c_str(), propertyId, animationId, fraction, in addAnimationFrameTrace() 169 void RSAnimationTraceUtils::addSpringInitialVelocityTrace(const uint64_t propertyId, const uint64_t animationId, in addSpringInitialVelocityTrace() argument 176 propertyId, animationId, propertyValue.c_str()); in addSpringInitialVelocityTrace() 141 addAnimationCreateTrace(const uint64_t nodeId, const std::string& nodeName, const uint64_t propertyId, const uint64_t animationId, const int animationType, const int propertyType, const std::shared_ptr<RSRenderPropertyBase>& startValue, const std::shared_ptr<RSRenderPropertyBase>& endValue, const int animationDelay, const int animationDur, const int repeat) const addAnimationCreateTrace() argument 157 addAnimationFrameTrace(const uint64_t nodeId, const std::string& nodeName, const uint64_t animationId, const uint64_t propertyId, const float fraction, const std::shared_ptr<RSRenderPropertyBase>& value, const int64_t time, const int dur, const int repeat) const addAnimationFrameTrace() argument
|
H A D | rs_render_spring_animation.cpp | 36 RSRenderSpringAnimation::RSRenderSpringAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderSpringAnimation() argument 40 : RSRenderPropertyAnimation(id, propertyId, originValue), startValue_(startValue), endValue_(endValue) in RSRenderSpringAnimation() 194 auto propertyId = GetPropertyId(); in OnAttach() local 195 auto prevAnimation = target->GetAnimationManager().QuerySpringAnimation(propertyId); in OnAttach() 196 target->GetAnimationManager().RegisterSpringAnimation(propertyId, GetAnimationId()); in OnAttach() 255 auto propertyId = GetPropertyId(); in OnDetach() local 257 target->GetAnimationManager().UnregisterSpringAnimation(propertyId, id); in OnDetach()
|
H A D | rs_render_path_animation.cpp | 27 RSRenderPathAnimation::RSRenderPathAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderPathAnimation() argument 31 const std::shared_ptr<RSPath>& animationPath) : RSRenderPropertyAnimation(id, propertyId, originPosition), in RSRenderPathAnimation() 244 auto propertyId = GetPropertyId(); in OnAttach() local 245 auto prevAnimation = target->GetAnimationManager().QueryPathAnimation(propertyId); in OnAttach() 246 target->GetAnimationManager().RegisterPathAnimation(propertyId, GetAnimationId()); in OnAttach() 264 auto propertyId = GetPropertyId(); in OnDetach() local 266 target->GetAnimationManager().UnregisterPathAnimation(propertyId, id); in OnDetach()
|
H A D | rs_render_particle_animation.cpp | 30 RSRenderParticleAnimation::RSRenderParticleAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderParticleAnimation() argument 32 : RSRenderPropertyAnimation(id, propertyId), particlesRenderParams_(particlesRenderParams), in RSRenderParticleAnimation() 150 auto propertyId = GetPropertyId(); in OnDetach() local 152 target->GetAnimationManager().UnregisterParticleAnimation(propertyId, id); in OnDetach()
|
H A D | rs_render_curve_animation.cpp | 25 RSRenderCurveAnimation::RSRenderCurveAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderCurveAnimation() argument 27 const std::shared_ptr<RSRenderPropertyBase>& endValue) : RSRenderPropertyAnimation(id, propertyId, originValue), in RSRenderCurveAnimation()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/ |
H A D | rsanimationbase_fuzzer.cpp | 135 PropertyId propertyId = GetData<PropertyId>(); in RSAnimationManagerFuzzerTest() local 141 animationManager->CancelAnimationByPropertyId(propertyId); in RSAnimationManagerFuzzerTest() 147 animationManager->RegisterSpringAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest() 148 animationManager->UnregisterSpringAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest() 149 animationManager->QuerySpringAnimation(propertyId); in RSAnimationManagerFuzzerTest() 150 animationManager->RegisterPathAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest() 151 animationManager->UnregisterPathAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest() 152 animationManager->QueryPathAnimation(propertyId); in RSAnimationManagerFuzzerTest() 153 animationManager->RegisterParticleAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest() 154 animationManager->UnregisterParticleAnimation(propertyId, animI in RSAnimationManagerFuzzerTest() 204 const uint64_t propertyId = GetData<uint64_t>(); RSAnimationTraceUtilsFuzzerTest() local 309 auto propertyId = GetData<PropertyId>(); RSRenderCurveAnimationFuzzerTest() local 359 auto propertyId = GetData<PropertyId>(); RSRenderInterpolatingSpringAnimationFuzzerTest() local 386 auto propertyId = GetData<PropertyId>(); RSRenderKeyframeAnimationFuzzerTest() local 418 auto propertyId = GetData<PropertyId>(); RSRenderPathAnimationFuzzerTest() local 642 PropertyId propertyId = GetData<PropertyId>(); RSRenderSpringAnimationFuzzerTest() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_manager.cpp | 179 void RSModifierManager::RegisterSpringAnimation(PropertyId propertyId, AnimationId animId) in RegisterSpringAnimation() argument 181 springAnimations_[propertyId] = animId; in RegisterSpringAnimation() 184 void RSModifierManager::UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId) in UnregisterSpringAnimation() argument 186 auto it = springAnimations_.find(propertyId); in UnregisterSpringAnimation() 192 std::shared_ptr<RSRenderAnimation> RSModifierManager::QuerySpringAnimation(PropertyId propertyId) in QuerySpringAnimation() argument 194 auto it = springAnimations_.find(propertyId); in QuerySpringAnimation()
|
H A D | rs_modifier_manager.h | 51 void RegisterSpringAnimation(PropertyId propertyId, AnimationId animId); 52 void UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId); 53 std::shared_ptr<RSRenderAnimation> QuerySpringAnimation(PropertyId propertyId);
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/ |
H A D | rs_modifier_manager_test.cpp | 131 PropertyId propertyId = 0; in HWTEST_F() local 133 rsModifierManager.UnregisterSpringAnimation(propertyId, animId); in HWTEST_F() 134 ASSERT_NE(propertyId, 10); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_spring_animation.cpp | 126 auto propertyId = GetPropertyId(); in StartUIAnimation() local 127 auto prevAnimation = modifierManager->QuerySpringAnimation(propertyId); in StartUIAnimation() 128 modifierManager->RegisterSpringAnimation(propertyId, GetId()); in StartUIAnimation()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/ |
H A D | rs_animation_command.cpp | 88 auto propertyId = animation->GetPropertyId(); in CreateParticleAnimation() local 91 animation->GetRenderParticle(), propertyId); in CreateParticleAnimation() 102 void AnimationCommandHelper::CancelAnimation(RSContext& context, NodeId targetId, PropertyId propertyId) in CancelAnimation() argument 110 animationManager.CancelAnimationByPropertyId(propertyId); in CancelAnimation()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsextendedmodifier_fuzzer/ |
H A D | rsextendedmodifier_fuzzer.cpp | 90 PropertyId propertyId = GetData<PropertyId>();
in DoCreateRenderModifier() local 92 RSExtendedModifierHelper::CreateRenderModifier(ctx, propertyId, type);
in DoCreateRenderModifier()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/cmd/ |
H A D | rs_node_cmd_test.cpp | 59 PropertyId propertyId = static_cast<PropertyId>(1); in HWTEST_F() local 60 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F() 125 PropertyId propertyId = 0; in HWTEST_F() local 126 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F() 130 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F()
|
H A D | rs_node_command_test.cpp | 59 PropertyId propertyId = static_cast<PropertyId>(1); in HWTEST_F() local 60 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F() 125 PropertyId propertyId = 0; in HWTEST_F() local 126 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F() 130 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F()
|
H A D | rs_animat_cmd_test.cpp | 154 PropertyId propertyId = 1; in HWTEST_F() local 155 AnimatCommandHelper::CancelAnimation(context, targetId, propertyId); in HWTEST_F() 159 AnimatCommandHelper::CancelAnimation(context, targetId, propertyId); in HWTEST_F()
|
H A D | rs_node_showing_cmd_test.cpp | 191 PropertyId propertyId = 0; in HWTEST_F() local 195 newEntry(std::make_pair(nodeId, propertyId), std::make_pair(renderProperty, animationIds)); in HWTEST_F() 210 propertyId = 1; in HWTEST_F() 212 entry(std::make_pair(nodeId, propertyId), std::make_pair(renderProperty, animationIds)); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_node_command_test.cpp | 46 PropertyId propertyId = static_cast<PropertyId>(1); in HWTEST_F() local 47 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F() 143 PropertyId propertyId = 0; in HWTEST_F() local 144 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F() 148 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId); in HWTEST_F()
|
H A D | rs_animation_command_test.cpp | 177 PropertyId propertyId = 1; in HWTEST_F() local 178 AnimationCommandHelper::CancelAnimation(context, targetId, propertyId); in HWTEST_F() 182 AnimationCommandHelper::CancelAnimation(context, targetId, propertyId); in HWTEST_F()
|
H A D | rs_node_showing_command_test.cpp | 205 PropertyId propertyId = 0; in HWTEST_F() local 209 newEntry(std::make_pair(nodeId, propertyId), std::make_pair(renderProperty, animationIds)); in HWTEST_F() 224 propertyId = 1; in HWTEST_F() 226 entry(std::make_pair(nodeId, propertyId), std::make_pair(renderProperty, animationIds)); in HWTEST_F()
|