#include "FUiAnim_TransactionNode.h"
#include "FUiAnim_AnimationGroupNode.h"
#include "FUiAnim_VisualElementAnimationVariantInterpolator.h"
-
#include "FUiAnim_AnimationManager.h"
#include "FUiAnim_DisplayManager.h"
-#include "FUiAnim_Debug.h"
-
-#if 0
-class ElapsedTime
-{
-public:
- ElapsedTime(const char* tag = null)
- {
- struct timeval tv;
-
- tagName = tag;
-
- gettimeofday(&tv, null);
- start_time = (long long)tv.tv_sec * 1000000LL + (long long)tv.tv_usec / 1LL;
- }
-
- ~ElapsedTime(void)
- {
- long long end_time;
- struct timeval tv;
- gettimeofday(&tv, null);
- end_time = (long long)tv.tv_sec * 1000000LL + (long long)tv.tv_usec / 1LL;
- }
-
-public:
- long long start_time;
- const char* tagName;
-};
-#endif
Ecore_Animator* pAnimator = null;
namespace Tizen { namespace Ui { namespace Animations
{
-#ifdef VE_DEBUG_MODULE
-Eina_Bool
-__SigProcUser(void* pData, int type, void* pEvent)
-{
- DumpVeTree();
- DumpEvasTree();
- DumpAllEvas();
- DumpVeLayout();
-
- return ECORE_CALLBACK_PASS_ON;
-}
-#endif
-
-
// default transaction event listener
class _TransactionEventListener
: public IAnimationTransactionEventListener
{
result r = E_SUCCESS;
-#ifdef VE_DEBUG_MODULE
- ecore_event_handler_add(ECORE_EVENT_SIGNAL_USER, __SigProcUser, null);
-#endif
-
__pRootTransaction = new (std::nothrow) _TransactionNode();
SysTryReturnResult(NID_UI_ANIM, (__pRootTransaction != null), E_OUT_OF_MEMORY, "Memory allocation failed. Failed to create root transaction");