#include <cmath> // fmod
// INTERNAL INCLUDES
+#include <dali/integration-api/debug.h>
#include <dali/internal/common/memory-pool-object-allocator.h>
#include <dali/internal/render/common/performance-monitor.h>
#include <dali/public-api/math/math-utils.h>
if(mState == Playing)
{
mState = Paused;
+ DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms Pause\n", GetNotifyId(), mDurationSeconds * 1000.0f);
}
}
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);
if(mEndAction != Dali::Animation::DISCARD)
{
Bake(bufferIndex, mEndAction);
+ DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms Stop\n", GetNotifyId(), mDurationSeconds * 1000.0f);
// Animators are automatically set to inactive in Bake
}
mIsStopped = false; ///< Do not make notify.
mPlayedCount = 0;
mCurrentLoop = 0;
+
+ DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms Clear\n", GetNotifyId(), mDurationSeconds * 1000.0f);
}
void Animation::OnDestroy(BufferIndex bufferIndex)
mIsStopped = false; ///< Do not make notify.
mState = Destroyed;
+
+ DALI_LOG_DEBUG_INFO("Animation[%u] with duration %f ms Destroy\n", GetNotifyId(), mDurationSeconds * 1000.0f);
}
void Animation::SetLoopingMode(bool loopingMode)