/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_animation.cpp | 26 RSRenderAnimation::RSRenderAnimation(AnimationId id) : id_(id) {} in RSRenderAnimation() function in OHOS::Rosen::RSRenderAnimation 113 bool RSRenderAnimation::IsStarted() const in IsStarted() 118 bool RSRenderAnimation::IsRunning() const in IsRunning() 123 bool RSRenderAnimation::IsPaused() const in IsPaused() 128 bool RSRenderAnimation::IsFinished() const in IsFinished() 165 NodeId RSRenderAnimation::GetTargetId() const in GetTargetId() 175 void RSRenderAnimation::Start() in Start() 187 void RSRenderAnimation::Finish() in Finish() 224 void RSRenderAnimation::Pause() in Pause() 234 void RSRenderAnimation::Resume() in Resume() [all …]
|
H A D | rs_render_property_animation.cpp | 27 …const std::shared_ptr<RSRenderPropertyBase>& originValue) : RSRenderAnimation(id), propertyId_(pro… in RSRenderPropertyAnimation() 70 if (!RSRenderAnimation::Marshalling(parcel)) { in Marshalling() 88 if (!RSRenderAnimation::ParseParam(parcel)) { in ParseParam() 181 if (!RSRenderAnimation::isCalcAnimateVelocity_) { in RecordLastAnimateValue() 193 if (!RSRenderAnimation::isCalcAnimateVelocity_ || in UpdateAnimateVelocity()
|
H A D | rs_animation_manager.cpp | 53 void RSAnimationManager::AddAnimation(const std::shared_ptr<RSRenderAnimation>& animation) in AddAnimation() 215 const std::shared_ptr<RSRenderAnimation> RSAnimationManager::GetAnimation(AnimationId id) const in GetAnimation() 225 void RSAnimationManager::OnAnimationFinished(const std::shared_ptr<RSRenderAnimation>& animation) in OnAnimationFinished() 251 std::shared_ptr<RSRenderAnimation> RSAnimationManager::QuerySpringAnimation(PropertyId propertyId) in QuerySpringAnimation() 273 std::shared_ptr<RSRenderAnimation> RSAnimationManager::QueryPathAnimation(PropertyId propertyId) in QueryPathAnimation() 300 std::shared_ptr<RSRenderAnimation> RSAnimationManager::GetParticleAnimation() in GetParticleAnimation()
|
H A D | rs_render_transition.cpp | 26 : RSRenderAnimation(id), effects_(effects), isTransitionIn_(isTransitionIn) in RSRenderTransition() 36 if (!RSRenderAnimation::Marshalling(parcel)) { in Marshalling() 62 if (!RSRenderAnimation::ParseParam(parcel)) { in ParseParam()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_animation.h | 37 class RSB_EXPORT RSRenderAnimation : public Parcelable { 39 RSRenderAnimation(const RSRenderAnimation&) = delete; 40 RSRenderAnimation(const RSRenderAnimation&&) = delete; 41 RSRenderAnimation& operator=(const RSRenderAnimation&) = delete; 42 RSRenderAnimation& operator=(const RSRenderAnimation&&) = delete; 43 ~RSRenderAnimation() override = default; 186 explicit RSRenderAnimation(AnimationId id); 187 RSRenderAnimation() = default;
|
H A D | rs_animation_manager.h | 35 class RSRenderAnimation; variable 48 void AddAnimation(const std::shared_ptr<RSRenderAnimation>& animation); 52 const std::shared_ptr<RSRenderAnimation> GetAnimation(AnimationId id) const; 62 std::shared_ptr<RSRenderAnimation> QuerySpringAnimation(PropertyId propertyId); 66 std::shared_ptr<RSRenderAnimation> QueryPathAnimation(PropertyId propertyId); 71 std::shared_ptr<RSRenderAnimation> GetParticleAnimation(); 80 void OnAnimationFinished(const std::shared_ptr<RSRenderAnimation>& animation); 82 std::unordered_map<AnimationId, std::shared_ptr<RSRenderAnimation>> animations_;
|
H A D | rs_render_property_animation.h | 28 class RSB_EXPORT RSRenderPropertyAnimation : public RSRenderAnimation { 45 RSRenderPropertyAnimation(AnimationId id, const PropertyId& propertyId) : RSRenderAnimation(id) in RSRenderPropertyAnimation()
|
H A D | rs_render_transition.h | 26 class RSB_EXPORT RSRenderTransition : public RSRenderAnimation {
|
H A D | rs_render_spring_animation.h | 36 void InheritSpringAnimation(const std::shared_ptr<RSRenderAnimation>& prevAnimation);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/ |
H A D | rs_modifier_manager.h | 31 class RSRenderAnimation; variable 39 void AddAnimation(const std::shared_ptr<RSRenderAnimation>& animation); 52 std::shared_ptr<RSRenderAnimation> QuerySpringAnimation(PropertyId propertyId); 60 void OnAnimationFinished(const std::shared_ptr<RSRenderAnimation>& animation); 61 const std::shared_ptr<RSRenderAnimation> GetAnimation(AnimationId id) const; 64 std::unordered_map<AnimationId, std::weak_ptr<RSRenderAnimation>> animations_;
|
H A D | rs_modifier_manager.cpp | 50 void RSModifierManager::AddAnimation(const std::shared_ptr<RSRenderAnimation>& animation) in AddAnimation() 158 void RSModifierManager::OnAnimationFinished(const std::shared_ptr<RSRenderAnimation>& animation) in OnAnimationFinished() 185 std::shared_ptr<RSRenderAnimation> RSModifierManager::QuerySpringAnimation(PropertyId propertyId) in QuerySpringAnimation() 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 D | rs_animation_command.h | 75 template<void (RSRenderAnimation::*OP)()> 88 template<void (RSRenderAnimation::*OP)()> 103 template<typename T, void (RSRenderAnimation::*OP)(T)> 117 RSContext& context, NodeId targetId, const std::shared_ptr<RSRenderAnimation>& animation); 144 …ARG(ANIMATION, ANIMATION_START, AnimationCommandHelper::AnimOpReg<&RSRenderAnimation::Start>, Node… 146 …ARG(ANIMATION, ANIMATION_PAUSE, AnimationCommandHelper::AnimOp<&RSRenderAnimation::Pause>, NodeId,… 148 … AnimationCommandHelper::AnimOpReg<&RSRenderAnimation::Resume>, NodeId, AnimationId)) 150 …ARG(ANIMATION, ANIMATION_FINISH, AnimationCommandHelper::AnimOp<&RSRenderAnimation::Finish>, NodeI… 152 …ARG(ANIMATION, ANIMATION_REVERSE, AnimationCommandHelper::AnimOp<bool, &RSRenderAnimation::SetReve… 155 …ARG(ANIMATION, ANIMATION_SET_FRACTION, AnimationCommandHelper::AnimOp<float, &RSRenderAnimation::S…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_animation_test.cpp | 27 class RSRenderAnimationMock : public RSRenderAnimation { 34 RSRenderAnimation::Pause(); in Pause() 38 RSRenderAnimation::Resume(); in Resume() 42 RSRenderAnimation::FinishOnCurrentPosition(); in FinishOnCurrentPosition() 46 return RSRenderAnimation::GetTargetName(); in GetTargeName() 50 explicit RSRenderAnimationMock(AnimationId id) : RSRenderAnimation(id) {} in RSRenderAnimationMock()
|
H A D | rs_render_transition_test.cpp | 73 class RSRenderAnimationMock : public RSRenderAnimation { 75 RSRenderAnimationMock() : RSRenderAnimation() {} in RSRenderAnimationMock() 76 explicit RSRenderAnimationMock(AnimationId id) : RSRenderAnimation(id) {} in RSRenderAnimationMock()
|
H A D | rs_render_curve_animation_test.cpp | 87 std::shared_ptr<RSRenderAnimation>(RSRenderCurveAnimation::Unmarshalling(parcel));
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/ |
H A D | rs_animation_manager_test.cpp | 45 auto animation = std::make_shared<RSRenderAnimation>(); 50 std::shared_ptr<RSRenderAnimation> animation2; 66 auto animation = std::make_shared<RSRenderAnimation>(); 145 auto animation = std::make_shared<RSRenderAnimation>(); 258 auto res = std::make_shared<RSRenderAnimation>(); 300 auto res = std::make_shared<RSRenderAnimation>(); 329 auto animation = std::make_shared<RSRenderAnimation>();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
H A D | rs_animation.h | 48 class RSRenderAnimation; variable 115 void UpdateParamToRenderAnimation(const std::shared_ptr<RSRenderAnimation>& animation); 119 void StartCustomAnimation(const std::shared_ptr<RSRenderAnimation>& animation); 141 std::shared_ptr<RSRenderAnimation> uiAnimation_;
|
H A D | rs_animation.cpp | 504 void RSAnimation::UpdateParamToRenderAnimation(const std::shared_ptr<RSRenderAnimation>& animation) in UpdateParamToRenderAnimation() 527 void RSAnimation::StartCustomAnimation(const std::shared_ptr<RSRenderAnimation>& animation) in StartCustomAnimation()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/pipeline/ |
H A D | rs_render_display_sync.h | 30 explicit RSRenderDisplaySync(std::weak_ptr<RSRenderAnimation> renderAnimation); 53 std::weak_ptr<RSRenderAnimation> renderAnimation_;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/animation/ |
H A D | rs_animation_test.cpp | 264 auto animation = std::make_shared<RSRenderAnimation>(); in HWTEST_F() 277 auto animation = std::make_shared<RSRenderAnimation>(); in HWTEST_F()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_animation_command_test.cpp | 112 std::shared_ptr<RSRenderAnimation> animation = nullptr; 116 animation = std::make_shared<RSRenderAnimation>();
|
H A D | rs_node_showing_command_test.cpp | 305 std::shared_ptr<RSRenderAnimation> animationTest = std::make_shared<RSRenderAnimation>(0);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsmodifiermanager_fuzzer/ |
H A D | rsmodifiermanager_fuzzer.cpp | 81 auto animation = std::make_shared<RSRenderAnimation>(id); in TestModifierManager()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_render_display_sync.cpp | 35 RSRenderDisplaySync::RSRenderDisplaySync(std::weak_ptr<RSRenderAnimation> renderAnimation) in RSRenderDisplaySync()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/command/ |
H A D | rs_animation_command.cpp | 50 RSContext& context, NodeId targetId, const std::shared_ptr<RSRenderAnimation>& animation) in CreateAnimation()
|