Fixed size issue
authorHeeJu Kang <mobum.kang@samsung.com>
Thu, 10 Jan 2013 11:32:48 +0000 (20:32 +0900)
committerHeeJu Kang <mobum.kang@samsung.com>
Thu, 10 Jan 2013 11:32:48 +0000 (20:32 +0900)
Change-Id: Ia7dc3fe6aa7da1b59c643de2a9a86c90189958e7
Signed-off-by: HeeJu Kang <mobum.kang@samsung.com>
src/FShell_LiveboxFrame.cpp
src/FShell_LiveboxFrame.h
src/FShell_LiveboxLayer.cpp
src/FShell_LiveboxLayer.h
src/FShell_LiveboxPopup.cpp
src/FShell_LiveboxPopup.h
src/FShell_LiveboxPopupView.cpp
src/FShell_LiveboxView.cpp
src/FShell_LiveboxViewManager.cpp

index 1ba2640..e027134 100644 (file)
@@ -116,11 +116,13 @@ _LiveboxFrame::Initialize(const Dimension& size)
 
        SetSystemWindow(true);
 
+       __liveboxSize = size;
+
 #if defined(MULTI_WINDOW)
        r = CreateRootVisualElement();
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 #else // MULTI_WINDOW
-       unique_ptr<_LiveboxLayer> pLayer(new (std::nothrow) _LiveboxLayer(*this));\r
+       unique_ptr<_LiveboxLayer> pLayer(new (std::nothrow) _LiveboxLayer(__liveboxSize));
        SysTryReturn(NID_UI_CTRL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");\r
 \r
        pLayer->Construct();\r
@@ -222,7 +224,7 @@ _LiveboxFrame::SetLayerBounds(const Rectangle& bounds)
 result
 _LiveboxFrame::CreateLayer(void)
 {
-       unique_ptr<_LiveboxLayer> pLayer(new (std::nothrow) _LiveboxLayer(*this));
+       unique_ptr<_LiveboxLayer> pLayer(new (std::nothrow) _LiveboxLayer(__liveboxSize));
        SysTryReturn(NID_UI_CTRL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pLayer->Construct();
index a53e992..e3e8d76 100644 (file)
@@ -86,6 +86,7 @@ private:
 #endif // !MULTI_WINDOW
        Tizen::Ui::Animations::_RootVisualElement* __pLiveboxFrameRootVisualElement;
        Tizen::Ui::_IUiEventManager* __pEventManager;
+       Tizen::Graphics::Dimension __liveboxSize;
 }; // _LiveboxFrame
 
 }} // Tizen::Shell
index f2003c1..1939542 100644 (file)
@@ -42,7 +42,8 @@ using namespace Tizen::Ui::Animations;
 using namespace Tizen::Ui;
 using namespace Tizen::Shell;
 
-namespace {
+namespace
+{
 
 void*
 AllocRenderBuffer(void* pData, int size)
@@ -78,11 +79,11 @@ PostRender(void* pData, Evas* pEvas, void* pEventInfo)
 namespace Tizen { namespace Shell
 {
 
-_LiveboxLayer::_LiveboxLayer(const _Window& window)
+_LiveboxLayer::_LiveboxLayer(const Dimension& size)
        : __isReleased(false)
+       , __size(size)
        , __pEcoreEvas(null)
        , __pEvasObject(null)
-       , __pWindow(&window)
        , __providerId(L"")
        , __pRenderBuffer(null)
        , __bufferSize(0)
@@ -92,7 +93,6 @@ _LiveboxLayer::_LiveboxLayer(const _Window& window)
 
 _LiveboxLayer::~_LiveboxLayer(void)
 {
-       __pWindow = null;
        __pRenderBuffer = null;
        __pixmapId = -1;
 }
@@ -102,14 +102,12 @@ _LiveboxLayer::OnConstructed(void)
 {
        result r = E_SUCCESS;
 
-       Rectangle bounds = __pWindow->GetBounds();
-
-       unique_ptr<Ecore_Evas, _EcoreEvasDeleter> pEcoreEvas(ecore_evas_buffer_allocfunc_new(bounds.width, bounds.height, AllocRenderBuffer, FreeRenderBuffer, this));
+       unique_ptr<Ecore_Evas, _EcoreEvasDeleter> pEcoreEvas(ecore_evas_buffer_allocfunc_new(__size.width, __size.height, AllocRenderBuffer, FreeRenderBuffer, this));
        SysTryReturn(NID_UI_CTRL, pEcoreEvas, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        ecore_evas_alpha_set(pEcoreEvas.get(), EINA_TRUE);
        ecore_evas_manual_render_set(pEcoreEvas.get(), EINA_FALSE);
-       ecore_evas_resize(pEcoreEvas.get(), bounds.width, bounds.height);
+       ecore_evas_resize(pEcoreEvas.get(), __size.width, __size.height);
        ecore_evas_activate(pEcoreEvas.get());
 
        Evas* pEvas = ecore_evas_get(pEcoreEvas.get());
@@ -120,7 +118,7 @@ _LiveboxLayer::OnConstructed(void)
        unique_ptr<Evas_Object, _EvasObjectDeleter> pEvasObject(evas_object_rectangle_add(pEvas));
        SysTryReturn(NID_UI_CTRL, pEvasObject, null, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
-       evas_object_resize(pEvasObject.get(), bounds.width, bounds.height);
+       evas_object_resize(pEvasObject.get(), __size.width, __size.height);
        evas_object_color_set(pEvasObject.get(), 0, 0, 0, 255);
 
        r = Initialize(pEvasObject.get());
@@ -132,12 +130,6 @@ _LiveboxLayer::OnConstructed(void)
        return r;
 }
 
-const Tizen::Ui::_Window*
-_LiveboxLayer::GetWindow(void) const
-{
-       return __pWindow;
-}
-
 result
 _LiveboxLayer::SetProviderId(const String& providerId)
 {
@@ -169,7 +161,9 @@ _LiveboxLayer::GetPixmapId(void) const
 void
 _LiveboxLayer::SetLayerBounds(const Rectangle& bounds)
 {
-       ecore_evas_resize(__pEcoreEvas.get(), bounds.width, bounds.height);
+       __size = Dimension(bounds.width, bounds.height);
+
+       ecore_evas_resize(__pEcoreEvas.get(), __size.width, __size.height);
 
        FloatRectangle fBounds(static_cast<float>(bounds.x), static_cast<float>(bounds.y), static_cast<float>(bounds.width), static_cast<float>(bounds.height));
        SetBounds(fBounds);
@@ -212,7 +206,7 @@ _LiveboxLayer::FreeCanvas(void* pCanvas)
 }
 
 result
-_LiveboxLayer::SyncPixmap(const Tizen::Graphics::Rectangle& bounds)
+_LiveboxLayer::SyncPixmap(const Dimension& size)
 {
        SysTryReturn(NID_UI_CTRL, __pRenderBuffer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
@@ -228,9 +222,6 @@ _LiveboxLayer::SyncPixmap(const Tizen::Graphics::Rectangle& bounds)
        Screen* pScreen = null;
        Visual* pVisual = null;
 
-       /*const int bitsPerPixel = 32;
-       int __bufferSize = bounds.width * bounds.height * bitsPerPixel / 8;*/
-       
        xShmSegmentInfo.shmid = shmget(IPC_PRIVATE, __bufferSize, IPC_CREAT | 0666);
        SysTryReturn(NID_UI_CTRL,  xShmSegmentInfo.shmid >= 0, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
@@ -245,7 +236,7 @@ _LiveboxLayer::SyncPixmap(const Tizen::Graphics::Rectangle& bounds)
        SysTryCatch(NID_UI_CTRL, pVisual, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        // XCreatePixmap can only uses 24 bits depth only.
-       pXImage = XShmCreateImage(pDisplay, pVisual, 24, ZPixmap, null, &xShmSegmentInfo, bounds.width, bounds.height);
+       pXImage = XShmCreateImage(pDisplay, pVisual, 24, ZPixmap, null, &xShmSegmentInfo, size.width, size.height);
        SysTryCatch(NID_UI_CTRL, pXImage, , E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        pXImage->data = xShmSegmentInfo.shmaddr;
@@ -258,7 +249,7 @@ _LiveboxLayer::SyncPixmap(const Tizen::Graphics::Rectangle& bounds)
        memcpy(pXImage->data, __pRenderBuffer, __bufferSize);
 
        // Do not send the event. Instead of X event, master will send the updated event to the viewer
-       XShmPutImage(pDisplay, static_cast<Pixmap>(__pixmapId), gc, pXImage, 0, 0, 0, 0, bounds.width, bounds.height, False);
+       XShmPutImage(pDisplay, static_cast<Pixmap>(__pixmapId), gc, pXImage, 0, 0, 0, 0, size.width, size.height, False);
        XSync(pDisplay, False);
 
        XFreeGC(pDisplay, gc);
@@ -305,18 +296,16 @@ CATCH:
 void
 _LiveboxLayer::OnRendered(void)
 {
-       Rectangle bounds = __pWindow->GetBounds();
-
        if (__pixmapId == -1)
        {
                __pixmapId = AcquirePixmap();
                SysTryReturnVoidResult(NID_UI_CTRL, __pixmapId >= 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
        }
 
-       result r = SyncPixmap(bounds);
+       result r = SyncPixmap(__size);
        SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 
-       r = Sync(bounds);
+       r = Sync(__size);
        SysTryReturnVoidResult(NID_UI_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
 }
 
@@ -336,25 +325,20 @@ _LiveboxLayer::AcquirePixmap(void)
 
        int pixmapId = -1;
 
-       const _Window* pWindow = GetWindow();
-       SysTryReturn(NID_UI_CTRL, pWindow, -1, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
-
-       Rectangle bounds = pWindow->GetBounds();
-
-       result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSharedMemoryId(__providerId, bounds.width, bounds.height, pixmapId);
+       result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSharedMemoryId(__providerId, __size.width, __size.height, pixmapId);
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
 
-       SysLog(NID_UI_CTRL, "pixmapId(%d) bounds(%d %d %d %d)", pixmapId, bounds.x, bounds.y, bounds.width, bounds.height);
+       SysLog(NID_UI_CTRL, "pixmapId(%d) size(%d %d)", pixmapId, __size.width, __size.height);
 
        return pixmapId;
 }
 
 result
-_LiveboxLayer::Sync(const Tizen::Graphics::Rectangle& bounds)
+_LiveboxLayer::Sync(const Dimension& size)
 {
        SysTryReturn(NID_UI_CTRL, !__providerId.IsEmpty(), E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The argument is invalid.");
 
-       result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSyncSharedMemory(__providerId, bounds.width, bounds.height);
+       result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSyncSharedMemory(__providerId, size.width, size.height);
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 
        return r;
@@ -371,10 +355,8 @@ _LiveboxLayer::ReleasePixmap(void)
 int
 _LiveboxLayer::OnTouchEventRecevied(int eventType, double timestamp, double x, double y)
 {
-       Rectangle bounds = __pWindow->GetBounds();
-
-       int xPos = bounds.width * x;
-       int yPos = bounds.height * y;
+       int xPos = __size.width * x;
+       int yPos = __size.height * y;
 
        Evas* pEvas = ecore_evas_get(__pEcoreEvas.get());
        SysTryReturn(NID_UI_CTRL, pEvas, 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
index e87dc24..c30bc73 100644 (file)
@@ -47,12 +47,11 @@ class _LiveboxLayer
        , public Tizen::Shell::_ILiveboxTouchEventListener
 {
 public:
-       _LiveboxLayer(const Tizen::Ui::_Window& window);
+       _LiveboxLayer(const Tizen::Graphics::Dimension& size);
        virtual ~_LiveboxLayer(void);
 
        virtual result OnConstructed(void);
        
-       const Tizen::Ui::_Window* GetWindow(void) const;
        result SetProviderId(const Tizen::Base::String& providerId);
        Tizen::Base::String GetProviderId(void) const;
        int GetPixmapId(void) const;
@@ -60,12 +59,12 @@ public:
        void* AllocCanvas(int size);
        void FreeCanvas(void* pCanvas);
        int EventHandler(int eventType, double timestamp, double x, double y);
-       result SyncPixmap(const Tizen::Graphics::Rectangle& bounds);
+       result SyncPixmap(const Tizen::Graphics::Dimension& size);
        void OnRendered(void);
 
        virtual result RegisterTouchEventListener(void);
        virtual int AcquirePixmap(void);
-       virtual result Sync(const Tizen::Graphics::Rectangle& bounds);
+       virtual result Sync(const Tizen::Graphics::Dimension& size);
        virtual void ReleasePixmap(void);
        virtual int OnTouchEventRecevied(int eventType, double timestamp, double x, double y);
        
@@ -75,6 +74,7 @@ private:
 
 protected:
        bool __isReleased;
+       Tizen::Graphics::Dimension __size;
 
 private:
        struct _EcoreEvasDeleter
@@ -95,7 +95,6 @@ private:
 
        std::unique_ptr<Ecore_Evas, _EcoreEvasDeleter> __pEcoreEvas;
        std::unique_ptr<Evas_Object, _EvasObjectDeleter> __pEvasObject;
-       const Tizen::Ui::_Window* __pWindow;
        Tizen::Base::String __providerId;
        void* __pRenderBuffer;
        int __bufferSize;
index ca67738..ef319ba 100644 (file)
@@ -52,7 +52,7 @@ class _LiveboxPopupLayer
        : public _LiveboxLayer
 {
 public:
-       _LiveboxPopupLayer(const _Window& window);
+       _LiveboxPopupLayer(const Dimension& size);
        virtual ~_LiveboxPopupLayer(void);
        
 private:
@@ -61,12 +61,12 @@ private:
 
        virtual result RegisterTouchEventListener(void);
        virtual int AcquirePixmap(void);
-       virtual result Sync(const Tizen::Graphics::Rectangle& bounds);
+       virtual result Sync(const Dimension& size);
        virtual void ReleasePixmap(void);
 };
 
-_LiveboxPopupLayer::_LiveboxPopupLayer(const _Window& window)
-       : _LiveboxLayer(window)
+_LiveboxPopupLayer::_LiveboxPopupLayer(const Dimension& size)
+       : _LiveboxLayer(size)
 {
 }
 
@@ -97,24 +97,19 @@ _LiveboxPopupLayer::AcquirePixmap(void)
 
        int pixmapId = -1;
 
-       const _Window* pWindow = GetWindow();
-       SysTryReturn(NID_UI_CTRL, pWindow, -1, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
-
-       Rectangle bounds = pWindow->GetBounds();
-
-       result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSharedMemoryIdForPD(GetProviderId(), bounds.width, bounds.height, pixmapId);
+       result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSharedMemoryIdForPD(GetProviderId(), __size.width, __size.height, pixmapId);
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, -1, r, "[%s] Propagating.", GetErrorMessage(r));
 
        SystemTime::GetTicks(ticks);
        SysLog(NID_UI_CTRL, "%lld", ticks);
 
-       SysLog(NID_UI_CTRL, "pixmapId(%d) bounds(%d %d %d %d)", pixmapId, bounds.x, bounds.y, bounds.width, bounds.height);
+       SysLog(NID_UI_CTRL, "pixmapId(%d) size(%d %d)", pixmapId, __size.width, __size.height);
 
        return pixmapId;
 }
 
 result
-_LiveboxPopupLayer::Sync(const Tizen::Graphics::Rectangle& bounds)
+_LiveboxPopupLayer::Sync(const Dimension& size)
 {
        result r = _LiveboxProviderManagerImpl::GetInstance()->RequestSyncSharedMemoryForPD(GetProviderId());
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
@@ -184,7 +179,7 @@ _LiveboxPopup::CreateLiveboxPopupN(void)
 }
 
 result
-_LiveboxPopup::Initialize(const Tizen::Graphics::Dimension& size)
+_LiveboxPopup::Initialize(const Dimension& size)
 {
        long long ticks = 0;
        SystemTime::GetTicks(ticks);
@@ -193,13 +188,15 @@ _LiveboxPopup::Initialize(const Tizen::Graphics::Dimension& size)
 
        result r = E_SUCCESS;
 
+       __liveboxSize = size;
+
        SetSystemWindow(true);
 
 #if defined(MULTI_WINDOW)
        r = CreateRootVisualElement();
        SysTryReturn(NID_UI_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
 #else // MULTI_WINDOW
-       unique_ptr<_LiveboxPopupLayer> pLayer(new (std::nothrow) _LiveboxPopupLayer(*this));\r
+       unique_ptr<_LiveboxPopupLayer> pLayer(new (std::nothrow) _LiveboxPopupLayer(__liveboxSize));
        SysTryReturn(NID_UI_CTRL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");\r
 \r
        r = pLayer->Construct();\r
@@ -302,7 +299,7 @@ _LiveboxPopup::SetLayerBounds(const Rectangle& bounds)
 result
 _LiveboxPopup::CreateLayer(void)
 {
-       unique_ptr<_LiveboxPopupLayer> pLayer(new (std::nothrow) _LiveboxPopupLayer(*this));
+       unique_ptr<_LiveboxPopupLayer> pLayer(new (std::nothrow) _LiveboxPopupLayer(__liveboxSize));
        SysTryReturn(NID_UI_CTRL, pLayer, E_OUT_OF_MEMORY, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
        result r = pLayer->Construct();
index 5987014..b73c7fc 100644 (file)
@@ -86,6 +86,7 @@ private:
 #endif // !MULTI_WINDOW
        Tizen::Ui::Animations::_RootVisualElement* __pLiveboxPopupRootVisualElement;
        Tizen::Ui::_IUiEventManager* __pEventManager;
+       Tizen::Graphics::Dimension __liveboxSize;
 }; // _LiveboxPopup
 
 }} // Tizen::Shell
index 6eace4a..ea50cb2 100644 (file)
@@ -468,11 +468,11 @@ _LiveboxPopupView::OnLiveboxUpdated(int pixmap)
 
                evas_object_image_native_surface_set(__pPixmapObject.get(), &surface);
 
-               __pixmapDamage.reset(ecore_x_damage_new(pixmap, ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES));
+               /*__pixmapDamage.reset(ecore_x_damage_new(pixmap, ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES));
                SysTryReturnVoidResult(NID_UI_CTRL, __pixmapDamage.get() != 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                __pPixmapEventHandler.reset(ecore_event_handler_add(ECORE_X_EVENT_DAMAGE_NOTIFY, OnPixmapDamaged, (void*)this));
-               SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
+               SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");*/
 
                SysLog(NID_UI_CTRL, "[0x%x]", surface.data.x11.pixmap);
        }
index 2a1550e..c2eca13 100644 (file)
@@ -475,14 +475,14 @@ _LiveboxView::OnLiveboxUpdated(int pixmap)
                surface.data.x11.pixmap = pixmap;
 
                evas_object_image_native_surface_set(__pPixmapObject.get(), &surface);
-
+/*
                __pixmapDamage.reset(ecore_x_damage_new(pixmap, ECORE_X_DAMAGE_REPORT_RAW_RECTANGLES));
                SysTryReturnVoidResult(NID_UI_CTRL, __pixmapDamage.get() != 0, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
 
                __pPixmapEventHandler.reset(ecore_event_handler_add(ECORE_X_EVENT_DAMAGE_NOTIFY, OnPixmapDamaged, (void*)this));
                SysTryReturnVoidResult(NID_UI_CTRL, __pPixmapEventHandler, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
-
-               SysLog(NID_UI_CTRL, "[0x%x]", surface.data.x11.pixmap);
+*/
+               SysLog(NID_UI_CTRL, "[0x%x][%d %d]", surface.data.x11.pixmap, absoluteBounds.x, absoluteBounds.y);
        }
 
        SysLog(NID_UI_CTRL, "[%d %d %d %d]", x, y, width, height);
index 6bfaa10..5b1cdb8 100644 (file)
@@ -400,7 +400,7 @@ _LiveboxViewManager::GetLiveboxSize(livebox* pLivebox) const
        int type = livebox_size(pLivebox);
        livebox_service_get_size(type, &width, &height);
 
-       SysLog(NID_UI_CTRL, "size [%d %d]", width, height);
+//     SysLog(NID_UI_CTRL, "size [%d %d]", width, height);
 
        return Dimension(width, height);
 }
@@ -415,7 +415,7 @@ _LiveboxViewManager::GetLiveboxPopupSize(livebox* pLivebox) const
 
        livebox_get_pdsize(pLivebox, &width, &height);
 
-       SysLog(NID_UI_CTRL, "size [%d %d]", width, height);
+//     SysLog(NID_UI_CTRL, "size [%d %d]", width, height);
 
        return Dimension(width, height);
 }
@@ -591,7 +591,7 @@ _LiveboxViewManager::OnLiveboxUpdated(livebox* pLivebox)
 
        int type = livebox_lb_type(pLivebox);
 
-       SysLog(NID_UI_CTRL, "type (%d)", type);
+//     SysLog(NID_UI_CTRL, "type (%d)", type);
 
        switch (type)
        {
@@ -637,7 +637,6 @@ _LiveboxViewManager::OnLiveboxUpdated(livebox* pLivebox)
                        SysTryReturnVoidResult(NID_UI_CTRL, pBuffer, E_SYSTEM, "[E_SYSTEM] A system error occured.");
 
                        Dimension sourceSize = GetLiveboxSize(pLivebox);
-                       SysLog(NID_UI_CTRL, "size [%d %d]", sourceSize.width, sourceSize.height);
 
                        unique_ptr<Bitmap> pBitmap(GetBitmapN(pBuffer, sourceSize));
                        SysTryReturnVoidResult(NID_UI_CTRL, pBitmap, E_OUT_OF_MEMORY, "[E_OUT_OF_MEMORY] Memory is insufficient.");
@@ -674,7 +673,7 @@ _LiveboxViewManager::OnLiveboxPopupUpdated(livebox* pLivebox)
 
        int type = livebox_pd_type(pLivebox);
 
-       SysLog(NID_UI_CTRL, "type (%d)", type);
+//     SysLog(NID_UI_CTRL, "type (%d)", type);
 
        switch (type)
        {