fix N_SE-56938 tizen_2.2 2.2.1_release
authorGwangbok Kim <gwangbok.kim@samsung.com>
Fri, 1 Nov 2013 06:36:29 +0000 (15:36 +0900)
committerGwangbok Kim <gwangbok.kim@samsung.com>
Fri, 1 Nov 2013 06:36:29 +0000 (15:36 +0900)
Change-Id: I4e1524a8472b12aec5056ec3cd300ec526547382
Signed-off-by: Gwangbok Kim <gwangbok.kim@samsung.com>
project/src/AddressbookListPopup.cpp
project/src/CategoryAddMemberForm.cpp
project/src/CategoryListForm.cpp
project/src/CategoryMemberForm.cpp
project/src/CategoryRemoveMemberForm.cpp
project/src/CreateCategoryForm.cpp
project/src/CreateContactForm.cpp
project/src/DetailViewForm.cpp
project/src/EditContactForm.cpp
project/src/FavoriteListForm.cpp
project/src/MainForm.cpp

index a413f69..7171f5a 100644 (file)
@@ -66,7 +66,7 @@ AddressbookListPopup::Construct(const Form* pForm)
        __pForm = const_cast <Form*> (pForm);
 
        ScrollPanel* pPopupScrollPanel = new (std::nothrow) ScrollPanel();
-       pPopupScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pPopupScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
        AddControl(pPopupScrollPanel);
 
        Button* pButtonCancel = new (std::nothrow) Button();
index 05aaf24..df6ee13 100755 (executable)
@@ -82,7 +82,7 @@ CategoryAddMemberForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        static int UI_X_POSITION = 5;
        static int UI_Y_POSITION = 0;
index 80c0cdc..cee005b 100644 (file)
@@ -80,7 +80,7 @@ CategoryListForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        unsigned int backgroundColor = 0xABABAB;
        Color color(backgroundColor, false);
index cbf4b62..5a8beac 100755 (executable)
@@ -96,7 +96,7 @@ CategoryMemberForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        static int UI_X_POSITION = 5;
        static int UI_Y_POSITION = 0;
index 281242d..4a01d46 100644 (file)
@@ -82,7 +82,7 @@ CategoryRemoveMemberForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        static int UI_X_POSITION = 5;
        static int UI_Y_POSITION = 0;
index 21b803c..a84e74e 100644 (file)
@@ -80,7 +80,7 @@ CreateCategoryForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        static const int UI_X_POSITION_LEFT = 20;
        static const int UI_X_RIGHT_MARGIN = 40;
index 87d2b84..6af3011 100644 (file)
@@ -90,7 +90,7 @@ CreateContactForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        __pAddressbookNameLabel = new (std::nothrow) Label();
        __pAddressbookNameLabel->Construct(Rectangle(0, 0, 500 , 112), L"");
index 42aedbc..523f25b 100644 (file)
@@ -102,7 +102,7 @@ DetailViewForm::OnInitializing(void)
        pFooter->AddActionEventListener(*this);
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
     static const int UI_X_POSITION_LEFT = 20;
     static const int UI_X_MARGIN_RIGHT = 40;
index 23abb67..9908c99 100644 (file)
@@ -104,7 +104,7 @@ EditContactForm::OnInitializing(void)
     int yPosition = 0;
 
     ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-    pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+    pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        Label* pNameLabel = new (std::nothrow) Label();
        pNameLabel->Construct(Rectangle(UI_X_POSITION_LEFT, yPosition += 10, GetClientAreaBounds().width - UI_X_RIGHT_MARGIN , UI_LABEL_HEIGHT), L"Name");
index fa0153e..d28631f 100644 (file)
@@ -66,7 +66,7 @@ FavoriteListForm::OnInitializing(void)
        static int UI_Y_POSITION = 0;
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        __pListView = new (std::nothrow) ListView();
        __pListView->Construct(Rectangle(UI_X_POSITION_LEFT, UI_Y_POSITION, GetClientAreaBounds().width, GetClientAreaBounds().height));
index a2074ba..be8d848 100644 (file)
@@ -88,7 +88,7 @@ MainForm::OnInitializing(void)
        static int UI_X_RIGHT_MARGIN = 0;
 
        ScrollPanel* pScrollPanel = new (std::nothrow) ScrollPanel();
-       pScrollPanel->Construct(Rectangle(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height));
+       pScrollPanel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(0, 0, GetClientAreaBoundsF().width, GetClientAreaBoundsF().height)));
 
        __pListView = new (std::nothrow) ListView();
        __pListView->Construct(Rectangle(UI_X_POSITION_LEFT, UI_Y_POSITION, GetClientAreaBounds().width - UI_X_RIGHT_MARGIN, GetClientAreaBounds().height));