Home
last modified time | relevance | path

Searched refs:propertyId (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_animation_manager_test.cpp229 PropertyId propertyId = 0; variable
232 ASSERT_NE(propertyId, 10);
243 PropertyId propertyId = 0; variable
246 ASSERT_NE(propertyId, 10);
257 PropertyId propertyId = 0; variable
271 PropertyId propertyId = 0; variable
274 ASSERT_NE(propertyId, 10);
285 PropertyId propertyId = 0; variable
288 ASSERT_NE(propertyId, 10);
299 PropertyId propertyId = 0; variable
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_animation_manager.cpp238 void RSAnimationManager::RegisterSpringAnimation(PropertyId propertyId, AnimationId animId) in RegisterSpringAnimation() argument
240 springAnimations_[propertyId] = animId; in RegisterSpringAnimation()
245 auto it = springAnimations_.find(propertyId); in UnregisterSpringAnimation()
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()
275 auto it = pathAnimations_.find(propertyId); in QueryPathAnimation()
284 particleAnimations_[propertyId] = animId; in RegisterParticleAnimation()
[all …]
H A Drs_render_path_animation.cpp26 RSRenderPathAnimation::RSRenderPathAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderPathAnimation() argument
30 …const std::shared_ptr<RSPath>& animationPath) : RSRenderPropertyAnimation(id, propertyId, originPo… in RSRenderPathAnimation()
243 auto propertyId = GetPropertyId(); in OnAttach() local
244 auto prevAnimation = target->GetAnimationManager().QueryPathAnimation(propertyId); in OnAttach()
245 target->GetAnimationManager().RegisterPathAnimation(propertyId, GetAnimationId()); in OnAttach()
263 auto propertyId = GetPropertyId(); in OnDetach() local
265 target->GetAnimationManager().UnregisterPathAnimation(propertyId, id); in OnDetach()
H A Drs_animation_trace_utils.cpp142 …const uint64_t propertyId, const uint64_t animationId, const int animationType, const int property… in addAnimationCreateTrace() argument
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() argument
165 nodeName.c_str(), propertyId, animationId, fraction, propertyValue.c_str(), time); in addAnimationFrameTrace()
169 void RSAnimationTraceUtils::addSpringInitialVelocityTrace(const uint64_t propertyId, const uint64_t… in addSpringInitialVelocityTrace() argument
176 propertyId, animationId, propertyValue.c_str()); in addSpringInitialVelocityTrace()
H A Drs_render_spring_animation.cpp35 RSRenderSpringAnimation::RSRenderSpringAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderSpringAnimation() argument
39 …: RSRenderPropertyAnimation(id, propertyId, originValue), startValue_(startValue), endValue_(endVa… in RSRenderSpringAnimation()
184 auto propertyId = GetPropertyId(); in OnAttach() local
185 auto prevAnimation = target->GetAnimationManager().QuerySpringAnimation(propertyId); in OnAttach()
186 target->GetAnimationManager().RegisterSpringAnimation(propertyId, GetAnimationId()); in OnAttach()
245 auto propertyId = GetPropertyId(); in OnDetach() local
247 target->GetAnimationManager().UnregisterSpringAnimation(propertyId, id); in OnDetach()
H A Drs_render_particle_animation.cpp30 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 Drs_render_curve_animation.cpp24 RSRenderCurveAnimation::RSRenderCurveAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderCurveAnimation() argument
26 …ared_ptr<RSRenderPropertyBase>& endValue) : RSRenderPropertyAnimation(id, propertyId, originValue), in RSRenderCurveAnimation()
H A Drs_render_keyframe_animation.cpp28 RSRenderKeyframeAnimation::RSRenderKeyframeAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderKeyframeAnimation() argument
30 : RSRenderPropertyAnimation(id, propertyId, originValue) in RSRenderKeyframeAnimation()
H A Drs_render_property_animation.cpp26 RSRenderPropertyAnimation::RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderPropertyAnimation() argument
27 …d::shared_ptr<RSRenderPropertyBase>& originValue) : RSRenderAnimation(id), propertyId_(propertyId), in RSRenderPropertyAnimation()
H A Drs_render_interpolating_spring_animation.cpp32 …SpringAnimation::RSRenderInterpolatingSpringAnimation(AnimationId id, const PropertyId& propertyId, in RSRenderInterpolatingSpringAnimation() argument
35 …: RSRenderPropertyAnimation(id, propertyId, originValue), RSSpringModel<float>(), startValue_(star… in RSRenderInterpolatingSpringAnimation()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_animation_manager.h60 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 Drs_animation_trace_utils.h34 …AnimationCreateTrace(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>& valu…
44 void addSpringInitialVelocityTrace(const uint64_t propertyId, const uint64_t animationId,
H A Drs_render_property_animation.h43 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId,
45 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId) : RSRenderAnimation(id) in RSRenderPropertyAnimation() argument
47 propertyId_ = propertyId; in RSRenderPropertyAnimation()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_modifier_manager.cpp172 void RSModifierManager::RegisterSpringAnimation(PropertyId propertyId, AnimationId animId) in RegisterSpringAnimation() argument
174 springAnimations_[propertyId] = animId; in RegisterSpringAnimation()
177 void RSModifierManager::UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId) in UnregisterSpringAnimation() argument
179 auto it = springAnimations_.find(propertyId); in UnregisterSpringAnimation()
185 std::shared_ptr<RSRenderAnimation> RSModifierManager::QuerySpringAnimation(PropertyId propertyId) in QuerySpringAnimation() argument
187 auto it = springAnimations_.find(propertyId); in QuerySpringAnimation()
H A Drs_modifier_manager.h50 void RegisterSpringAnimation(PropertyId propertyId, AnimationId animId);
51 void UnregisterSpringAnimation(PropertyId propertyId, AnimationId animId);
52 std::shared_ptr<RSRenderAnimation> QuerySpringAnimation(PropertyId propertyId);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_modifier_manager_test.cpp131 PropertyId propertyId = 0; variable
133 rsModifierManager.UnregisterSpringAnimation(propertyId, animId);
134 ASSERT_NE(propertyId, 10);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_node_command_test.cpp47 PropertyId propertyId = static_cast<PropertyId>(1); variable
48 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId);
148 PropertyId propertyId = 0; variable
149 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId);
153 RSNodeCommandHelper::RemoveModifier(context, nodeId, propertyId);
H A Drs_node_showing_command_test.cpp205 PropertyId propertyId = 0; variable
209 newEntry(std::make_pair(nodeId, propertyId), std::make_pair(renderProperty, animationIds));
224 propertyId = 1;
226 entry(std::make_pair(nodeId, propertyId), std::make_pair(renderProperty, animationIds));
H A Drs_animation_command_test.cpp170 PropertyId propertyId = 1; variable
171 AnimationCommandHelper::CancelAnimation(context, targetId, propertyId);
175 AnimationCommandHelper::CancelAnimation(context, targetId, propertyId);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/
H A Drs_animation_command.cpp88 auto propertyId = animation->GetPropertyId(); in CreateParticleAnimation() local
91 animation->GetRenderParticle(), propertyId); in CreateParticleAnimation()
102 …AnimationCommandHelper::CancelAnimation(RSContext& context, NodeId targetId, PropertyId propertyId) in CancelAnimation() argument
110 animationManager.CancelAnimationByPropertyId(propertyId); in CancelAnimation()
H A Drs_node_command.cpp36 void RSNodeCommandHelper::RemoveModifier(RSContext& context, NodeId nodeId, PropertyId propertyId) in RemoveModifier() argument
41 node->RemoveModifier(propertyId); in RemoveModifier()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/fuzztest/rsanimationbase_fuzzer/
H A Drsanimationbase_fuzzer.cpp111 PropertyId propertyId = GetData<PropertyId>(); in RSAnimationManagerFuzzerTest() local
120 animationManager->RegisterSpringAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest()
121 animationManager->UnregisterSpringAnimation(propertyId, animId); in RSAnimationManagerFuzzerTest()
122 animationManager->QuerySpringAnimation(propertyId); in RSAnimationManagerFuzzerTest()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_spring_animation.cpp127 auto propertyId = GetPropertyId(); in StartUIAnimation() local
128 auto prevAnimation = modifierManager->QuerySpringAnimation(propertyId); in StartUIAnimation()
129 modifierManager->RegisterSpringAnimation(propertyId, GetId()); in StartUIAnimation()
H A Drs_implicit_animation_param.cpp114 const auto& [nodeId, propertyId] = key; in ExecuteSyncPropertiesTask()
120 auto modifier = node->GetModifier(propertyId); in ExecuteSyncPropertiesTask()
130 node->CancelAnimationByProperty(propertyId, !property->GetIsCustom()); in ExecuteSyncPropertiesTask()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsextendedmodifier_fuzzer/
H A Drsextendedmodifier_fuzzer.cpp90 PropertyId propertyId = GetData<PropertyId>(); in DoCreateRenderModifier() local
92 RSExtendedModifierHelper::CreateRenderModifier(ctx, propertyId, type); in DoCreateRenderModifier()

123