From: Eunki Hong Date: Tue, 6 Feb 2024 14:57:04 +0000 (+0900) Subject: [Tizen] Print log if animation play / stop X-Git-Tag: accepted/tizen/8.0/unified/20240208.163205~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F05%2F305705%2F1;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] Print log if animation play / stop Change-Id: I503a3608e30105e4b00f91f4c2744aeea84641ec Signed-off-by: Eunki Hong --- 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)