From 5e323a60b4ac02852d829879e6d0dc4a64acb1fc Mon Sep 17 00:00:00 2001 From: Eunki Hong Date: Tue, 6 Feb 2024 23:57:04 +0900 Subject: [PATCH] [Tizen] Print log if animation play / stop Change-Id: I503a3608e30105e4b00f91f4c2744aeea84641ec Signed-off-by: Eunki Hong --- dali/internal/update/animation/scene-graph-animation.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dali/internal/update/animation/scene-graph-animation.cpp b/dali/internal/update/animation/scene-graph-animation.cpp index 78657f9..24f543f 100644 --- a/dali/internal/update/animation/scene-graph-animation.cpp +++ b/dali/internal/update/animation/scene-graph-animation.cpp @@ -221,6 +221,7 @@ void Animation::Pause() if(mState == Playing) { mState = Paused; + DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms Paused\n", GetNotifyId(), mDurationSeconds * 1000.0f); } } @@ -243,6 +244,7 @@ void Animation::Bake(BufferIndex bufferIndex, EndAction action) void Animation::SetAnimatorsActive(bool active) { + DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms %s\n", GetNotifyId(), mDurationSeconds * 1000.0f, active ? "Play" : "Stop"); for(auto&& item : mAnimators) { item->SetActive(active); @@ -297,6 +299,7 @@ void Animation::OnDestroy(BufferIndex bufferIndex) } mState = Destroyed; + DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms Destroyed\n", GetNotifyId(), mDurationSeconds * 1000.0f); } void Animation::SetLoopingMode(bool loopingMode) -- 2.7.4