Fixed Jira issues 50249, 50683, 50387
authorDivya Jain <divya.jain@samsung.com>
Tue, 3 Sep 2013 11:36:45 +0000 (17:06 +0530)
committerDivya Jain <divya.jain@samsung.com>
Tue, 3 Sep 2013 11:36:45 +0000 (17:06 +0530)
Change-Id: Id5539b162ee63a8e86cfc0b5b8135c79fe621641
Signed-off-by: Divya Jain <divya.jain@samsung.com>
17 files changed:
res/screen-size-normal/IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL_FONT_SIZE_GIANT.xml
res/screen-size-normal/IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL_FONT_SIZE_HUGE.xml
res/screen-size-normal/IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL_FONT_SIZE_LARGE.xml
res/screen-size-normal/IDL_MINI_PLYAER_PANEL.xml
src/MpAlbumContentListForm.cpp
src/MpAlbumListEditorPanel.cpp
src/MpAllListEditorPanel.cpp
src/MpArtistContentListForm.cpp
src/MpArtistListEditorPanel.cpp
src/MpContentEditPanel.cpp
src/MpContentListForm.cpp
src/MpFolderContentListForm.cpp
src/MpFolderListEditorPanel.cpp
src/MpPlaylistContentListForm.cpp
src/MpPlaylistCreatorForm.cpp
src/MpPlaylistPickerPopup.cpp
src/MpUserPlaylistContentListForm.cpp

index 9fe17c0..5bca35b 100644 (file)
@@ -21,8 +21,8 @@
     </Label>\r
     <Button id="IDC_BUTTON_EDIT" parent="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL">\r
         <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="630" y="38"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="1190" y="38"/>\r
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="630" y="70.5"/>\r
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="1190" y="70.5"/>\r
     </Button>\r
     <Label id="IDC_CONTENTS_TITLE_NAME" parent="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL">\r
         <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="#000000" textSize="106" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_MIDDLE"/>\r
index f10ba91..12f4e80 100644 (file)
@@ -21,8 +21,8 @@
     </Label>\r
     <Button id="IDC_BUTTON_EDIT" parent="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL">\r
         <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="630" y="38"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="1190" y="38"/>\r
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="630" y="56"/>\r
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="1190" y="56"/>\r
     </Button>\r
     <Label id="IDC_CONTENTS_TITLE_NAME" parent="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL">\r
         <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="#000000" textSize="81" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_MIDDLE"/>\r
index eb795fe..9b37ab2 100644 (file)
@@ -21,8 +21,8 @@
     </Label>\r
     <Button id="IDC_BUTTON_EDIT" parent="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL">\r
         <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0" highlightedBitmapY="0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="32" verticalAlign="ALIGN_MIDDLE"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="630" y="38"/>\r
-        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="1190" y="38"/>\r
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="true" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Portrait" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="630" y="46.5"/>\r
+        <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="26" marginTop="0" mode="Landscape" rightRelation="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="64" x="1190" y="46.5"/>\r
     </Button>\r
     <Label id="IDC_CONTENTS_TITLE_NAME" parent="IDL_CONTENTS_PLAYLIST_EDITOR_ITEM_PANEL">\r
         <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="#000000" textSize="64" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_MIDDLE"/>\r
index e2b25f6..216b033 100644 (file)
@@ -40,7 +40,7 @@
         <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="38.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="412.0" marginRight="26.0" marginTop="26.0" mode="Landscape" rightRelation="IDC_PREVIOUS_CONTROL_BUTTON" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="IDL_MINI_PLYAER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="183.0" x="631.0" y="26.0"/>
     </Label>
     <Label id="IDC_CONTENTS_TITLE_NAME" parent="IDL_MINI_PLYAER_PANEL">
-        <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="#000000" textSize="30.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+        <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="#000000" textSize="28.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
         <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_THUMBNAIL_INNER_STROKE" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="8.0" marginRight="16.0" marginTop="24.0" mode="Portrait" rightRelation="IDC_NOW_PLAYING_STATE" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="IDL_MINI_PLYAER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="511.0" x="118.0" y="24.0"/>
         <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="38.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_THUMBNAIL_INNER_STROKE" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="26.0" marginRight="0.0" marginTop="26.0" mode="Landscape" rightRelation="IDC_CONTENTS_ARTIST_NAME" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="IDL_MINI_PLYAER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="413.0" x="218.0" y="26.0"/>
     </Label>
index 2f3f9cb..b319679 100644 (file)
@@ -208,6 +208,10 @@ AlbumContentListForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previo
                        __ablumName = *(static_cast<String*>(pArgs->GetAt(DATA_ITEM_CONTENT_NAME)));
                        __currentAlbumIndex = __pPresentationModel->searchAlbumIndex(__ablumName);
                }
+               else if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false))
+               {
+                       SetItemCheckedAll(false);
+               }
                else
                {
                        __currentAlbumIndex = static_cast<Integer*>(pArgs->GetAt(DATA_ITEM_CONTENT_TYPE))->ToInt();
index 3521081..b6a6adc 100644 (file)
@@ -152,6 +152,30 @@ AlbumListEditorPanel::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previo
 
        UpdateContentEditScreenState();
 
+       if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, true))
+       {
+               if (pArgs != null)
+               {
+                       int totalCount = 0;
+                       __pContentTableView->UpdateTableView();
+                       __checkedItemCount = INIT_VALUE;
+                       SetCheckedCountBallonTooltip(__checkedItemCount);
+
+                       totalCount = __pPresentationModel->GetAllAlbumCount();
+                       for (int count = 0; count < totalCount; count++)
+                       {
+                               __pContentTableView->SetItemChecked(count, false);
+                       }
+               }
+               else
+               {
+                       if (pFooter != null)
+                       {
+                               CommonUtil::SetFooterItemEnabled(*pFooter, true);
+                       }
+               }
+       }
+
        if (pArgs != null)
        {
                pArgs->RemoveAll(true);
@@ -170,23 +194,27 @@ AlbumListEditorPanel::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& curre
        Form* pForm = dynamic_cast<Form*>(GetParent());
        AppAssert(pForm);
 
-       Footer* pFooter = pForm->GetFooter();
-
-       if (pFooter != null)
+       if (!(nextSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false)))
        {
-               pFooter->RemoveAllButtons();
-               pFooter->RemoveAllItems();
-               pFooter->RemoveActionEventListener(*this);
-       }
+               Footer* pFooter = pForm->GetFooter();
 
-       __checkedItemCount = INIT_VALUE;
-       SetCheckedCountBallonTooltip(__checkedItemCount);
+               if (pFooter != null)
+               {
+                       pFooter->RemoveAllButtons();
+                       pFooter->RemoveAllItems();
+                       pFooter->RemoveActionEventListener(*this);
+               }
 
-       int totalCount = __pPresentationModel->GetAllAlbumCount();
-       for (int iCount = 0; iCount < totalCount; iCount++)
-       {
-               __pContentTableView->SetItemChecked(iCount, false);
+               __checkedItemCount = INIT_VALUE;
+               SetCheckedCountBallonTooltip(__checkedItemCount);
+
+               int totalCount = __pPresentationModel->GetAllAlbumCount();
+               for (int iCount = 0; iCount < totalCount; iCount++)
+               {
+                       __pContentTableView->SetItemChecked(iCount, false);
+               }
        }
+
        CancelAllThumbnailRequest();
        AppLogDebug("EXIT");
 }
index 2812b26..d1ab2df 100644 (file)
@@ -171,6 +171,30 @@ AllListEditorPanel::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previous
 
        UpdateContentEditScreenState();
 
+       if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, true))
+       {
+               if (pArgs != null)
+               {
+                       int totalCount = 0;
+                       __pContentTableView->UpdateTableView();
+                       __checkedItemCount = INIT_VALUE;
+                       SetCheckedCountBallonTooltip(__checkedItemCount);
+
+                       totalCount = __pPresentationModel->GetTotalCount();
+                       for (int count = 0; count < totalCount; count++)
+                       {
+                               __pContentTableView->SetItemChecked(count, false);
+                       }
+               }
+               else
+               {
+                       if (pFooter != null)
+                       {
+                               CommonUtil::SetFooterItemEnabled(*pFooter, true);
+                       }
+               }
+       }
+
        if (pArgs != null)
        {
                pArgs->RemoveAll(true);
@@ -186,21 +210,24 @@ AllListEditorPanel::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& current
        AppLogDebug("ENTER");
        ContentPanel::OnSceneDeactivated(currentSceneId, nextSceneId);
 
-       Footer* pFooter = GetFooter();
-       if (pFooter != null)
+       if (!(nextSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false)))
        {
-               pFooter->RemoveAllButtons();
-               pFooter->RemoveAllItems();
-               pFooter->RemoveActionEventListener(*this);
-       }
+               Footer* pFooter = GetFooter();
+               if (pFooter != null)
+               {
+                       pFooter->RemoveAllButtons();
+                       pFooter->RemoveAllItems();
+                       pFooter->RemoveActionEventListener(*this);
+               }
 
-       __checkedItemCount = INIT_VALUE;
-       SetCheckedCountBallonTooltip(__checkedItemCount);
+               __checkedItemCount = INIT_VALUE;
+               SetCheckedCountBallonTooltip(__checkedItemCount);
 
-       int totalCount = __pPresentationModel->GetTotalCount();
-       for (int iCount = 0; iCount < totalCount; iCount++)
-       {
-               __pContentTableView->SetItemChecked(iCount, false);
+               int totalCount = __pPresentationModel->GetTotalCount();
+               for (int iCount = 0; iCount < totalCount; iCount++)
+               {
+                       __pContentTableView->SetItemChecked(iCount, false);
+               }
        }
        CancelAllThumbnailRequest();
        AppLogDebug("EXIT");
index 0764f74..fcfd618 100644 (file)
@@ -134,15 +134,21 @@ ArtistContentListForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previ
        AppLogDebug("ENTER");
        if (pArgs != null)
        {
-               __prevSceneId.Clear();
-               __headerTitle.Clear();
-               __prevSceneId.Append(*static_cast<String*>(pArgs->GetAt(DATA_ITEM_SCENE_NAME)));
-               __headerTitle.Append(*static_cast<String*>(pArgs->GetAt(DATA_ITEM_CONTENT_NAME)));
-               __artistName = __headerTitle;
-               __pPresentationModel->UpdateArtistList();
-               __pPresentationModel->InitializeArtistAlbumList(__artistName);
-               __pPresentationModel->InitializeContentList(INIT_VALUE);
-
+               if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false))
+               {
+                       SetItemCheckedAll(false);
+               }
+               else
+               {
+                       __prevSceneId.Clear();
+                       __headerTitle.Clear();
+                       __prevSceneId.Append(*static_cast<String*>(pArgs->GetAt(DATA_ITEM_SCENE_NAME)));
+                       __headerTitle.Append(*static_cast<String*>(pArgs->GetAt(DATA_ITEM_CONTENT_NAME)));
+                       __artistName = __headerTitle;
+                       __pPresentationModel->UpdateArtistList();
+                       __pPresentationModel->InitializeArtistAlbumList(__artistName);
+                       __pPresentationModel->InitializeContentList(INIT_VALUE);
+               }
                SetHeader();
                UpdateScreenState();
                UpdateTableView();
index 68ce57a..ac7c3f1 100644 (file)
@@ -151,6 +151,30 @@ ArtistListEditorPanel::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previ
 
        UpdateContentEditScreenState();
 
+       if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, true))
+       {
+               if (pArgs != null)
+               {
+                       int totalCount = 0;
+                       __pContentTableView->UpdateTableView();
+                       __checkedItemCount = INIT_VALUE;
+                       SetCheckedCountBallonTooltip(__checkedItemCount);
+
+                       totalCount = __pPresentationModel->GetArtistListCount();
+                       for (int count = 0; count < totalCount; count++)
+                       {
+                               __pContentTableView->SetItemChecked(count, false);
+                       }
+               }
+               else
+               {
+                       if (pFooter != null)
+                       {
+                               CommonUtil::SetFooterItemEnabled(*pFooter, true);
+                       }
+               }
+       }
+
        if (pArgs != null)
        {
                pArgs->RemoveAll(true);
@@ -165,21 +189,23 @@ ArtistListEditorPanel::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& curr
 {
        AppLogDebug("ENTER");
        ContentPanel::OnSceneDeactivated(currentSceneId, nextSceneId);
-
-       Footer* pFooter = GetFooter();
-       if (pFooter != null)
+       if (!(nextSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false)))
        {
-               pFooter->RemoveAllButtons();
-               pFooter->RemoveAllItems();
-               pFooter->RemoveActionEventListener(*this);
-       }
+               Footer* pFooter = GetFooter();
+               if (pFooter != null)
+               {
+                       pFooter->RemoveAllButtons();
+                       pFooter->RemoveAllItems();
+                       pFooter->RemoveActionEventListener(*this);
+               }
 
-       __checkedItemCount = INIT_VALUE;
-       SetCheckedCountBallonTooltip(__checkedItemCount);
-       int totalCount = __pPresentationModel->GetArtistListCount();
-       for (int iCount = 0; iCount < totalCount; iCount++)
-       {
-               __pContentTableView->SetItemChecked(iCount, false);
+               __checkedItemCount = INIT_VALUE;
+               SetCheckedCountBallonTooltip(__checkedItemCount);
+               int totalCount = __pPresentationModel->GetArtistListCount();
+               for (int iCount = 0; iCount < totalCount; iCount++)
+               {
+                       __pContentTableView->SetItemChecked(iCount, false);
+               }
        }
        CancelAllThumbnailRequest();
        AppLogDebug("EXIT");
index 6c53ad7..c329628 100644 (file)
@@ -335,13 +335,15 @@ ContentEditPanel::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collect
 \r
        if (pArgs != null)\r
        {\r
-               Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));\r
-\r
-               if (pIsInitialize->Equals(true))\r
+               if (requestId == ID_DESTORY_PLAY_LIST_PICKER_POPUP)\r
                {\r
-                       SetItemCheckedAll(false);\r
-               }\r
+                       Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));\r
 \r
+                       if (pIsInitialize->Equals(true))\r
+                       {\r
+                               SetItemCheckedAll(false);\r
+                       }\r
+               }\r
                pArgs->RemoveAll(true);\r
                delete pArgs;\r
        }\r
index b398b0a..88592c3 100644 (file)
@@ -402,11 +402,15 @@ ContentListForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collecti
        if (GetScreenState() != SCREEN_STATE_NORMAL && pArgs != null)
        {
                Integer* pLaunchRes = null;
-               Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));
-               
-               if (pIsInitialize->Equals(true))
+
+               if (requestId == ID_DESTORY_PLAY_LIST_PICKER_POPUP)
                {
-                       SetItemCheckedAll(false);
+                       Boolean* pIsInitialize = static_cast<Boolean*>(pArgs->GetAt(0));
+
+                       if (pIsInitialize->Equals(true))
+                       {
+                               SetItemCheckedAll(false);
+                       }
                }
 
                RemovePlayListPicker();
index 81b001f..400ddf0 100644 (file)
@@ -122,30 +122,37 @@ FolderContentListForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previ
        AppLogDebug("ENTER");
        if (pArgs != null)
        {
-               __prevSceneId.Append(*static_cast<String*>(pArgs->GetAt(DATA_ITEM_SCENE_NAME)));
-               __currentFolderIndex = static_cast<Integer*>(pArgs->GetAt(DATA_ITEM_CONTENT_TYPE))->ToInt();
-               __pCurrentFolderPath = new (std::nothrow) String(*(static_cast<String*>(pArgs->GetAt(DATA_ITEM_CONTENT_NAME))));
+               if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false))
+               {
+                       SetItemCheckedAll(false);
+               }
+               else
+               {
+                       __prevSceneId.Append(*static_cast<String*>(pArgs->GetAt(DATA_ITEM_SCENE_NAME)));
+                       __currentFolderIndex = static_cast<Integer*>(pArgs->GetAt(DATA_ITEM_CONTENT_TYPE))->ToInt();
+                       __pCurrentFolderPath = new (std::nothrow) String(*(static_cast<String*>(pArgs->GetAt(DATA_ITEM_CONTENT_NAME))));
 
-               __pPresentationModel = FolderListPresentationModel::GetInstance();
-               __pPresentationModel->UpdateFolderPathList();
-               __pPresentationModel->InitializeContentList(__currentFolderIndex);
+                       __pPresentationModel = FolderListPresentationModel::GetInstance();
+                       __pPresentationModel->UpdateFolderPathList();
+                       __pPresentationModel->InitializeContentList(__currentFolderIndex);
 
-               int position = INIT_VALUE;
-               __pCurrentFolderPath->LastIndexOf(IDS_SEPARATOR_SLASH, __pCurrentFolderPath->GetLength() - 1, position);
-               __pCurrentFolderPath->SubString(position + 1, __headerTitle);
+                       int position = INIT_VALUE;
+                       __pCurrentFolderPath->LastIndexOf(IDS_SEPARATOR_SLASH, __pCurrentFolderPath->GetLength() - 1, position);
+                       __pCurrentFolderPath->SubString(position + 1, __headerTitle);
 
-               String ellipisiPath = CommonUtil::SetHighDepthToEllipsisPath(*__pCurrentFolderPath);
-               Rectangle rect(INIT_VALUE, INIT_VALUE, GetWidth(), 42);
+                       String ellipisiPath = CommonUtil::SetHighDepthToEllipsisPath(*__pCurrentFolderPath);
+                       Rectangle rect(INIT_VALUE, INIT_VALUE, GetWidth(), 42);
 
-               Label* pAdditionalInfo = new (std::nothrow) Label();
-               if (!IsFailed(pAdditionalInfo->Construct(rect, ellipisiPath)))
-               {
-                       pAdditionalInfo->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
-                       pAdditionalInfo->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
-                       pAdditionalInfo->SetTextConfig(32, LABEL_TEXT_STYLE_BOLD);
-                       pAdditionalInfo->SetTextColor(COLOR_ITEM_SUB_TEXT);
+                       Label* pAdditionalInfo = new (std::nothrow) Label();
+                       if (!IsFailed(pAdditionalInfo->Construct(rect, ellipisiPath)))
+                       {
+                               pAdditionalInfo->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
+                               pAdditionalInfo->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
+                               pAdditionalInfo->SetTextConfig(32, LABEL_TEXT_STYLE_BOLD);
+                               pAdditionalInfo->SetTextColor(COLOR_ITEM_SUB_TEXT);
 
-                       SetExtraInformaionArea(*pAdditionalInfo);
+                               SetExtraInformaionArea(*pAdditionalInfo);
+                       }
                }
 
                SetHeader();
index 7aee855..481ce33 100644 (file)
@@ -140,6 +140,30 @@ FolderListEditorPanel::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previ
 
        UpdateContentEditScreenState();
 
+       if (previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, true))
+       {
+               if (pArgs != null)
+               {
+                       int totalCount = 0;
+                       __pContentTableView->UpdateTableView();
+                       __checkedItemCount = INIT_VALUE;
+                       SetCheckedCountBallonTooltip(__checkedItemCount);
+
+                       totalCount = __pPresentationModel->GetAllFolderCount();
+                       for (int count = 0; count < totalCount; count++)
+                       {
+                               __pContentTableView->SetItemChecked(count, false);
+                       }
+               }
+               else
+               {
+                       if (pFooter != null)
+                       {
+                               CommonUtil::SetFooterItemEnabled(*pFooter, true);
+                       }
+               }
+       }
+
        if (pArgs != null)
        {
                pArgs->RemoveAll(true);
@@ -154,23 +178,25 @@ FolderListEditorPanel::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& curr
 {
        AppLogDebug("ENTER");
        ContentPanel::OnSceneDeactivated(currentSceneId, nextSceneId);
-
-       Footer* pFooter = GetFooter();
-
-       if (pFooter != null)
+       if (!(nextSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false)))
        {
-               pFooter->RemoveAllButtons();
-               pFooter->RemoveAllItems();
-               pFooter->RemoveActionEventListener(*this);
-       }
+               Footer* pFooter = GetFooter();
 
-       __checkedItemCount = INIT_VALUE;
-       SetCheckedCountBallonTooltip(__checkedItemCount);
+               if (pFooter != null)
+               {
+                       pFooter->RemoveAllButtons();
+                       pFooter->RemoveAllItems();
+                       pFooter->RemoveActionEventListener(*this);
+               }
 
-       int totalCount = __pPresentationModel->GetAllFolderCount();
-       for (int iCount = 0; iCount < totalCount; iCount++)
-       {
-               __pContentTableView->SetItemChecked(iCount, false);
+               __checkedItemCount = INIT_VALUE;
+               SetCheckedCountBallonTooltip(__checkedItemCount);
+
+               int totalCount = __pPresentationModel->GetAllFolderCount();
+               for (int iCount = 0; iCount < totalCount; iCount++)
+               {
+                       __pContentTableView->SetItemChecked(iCount, false);
+               }
        }
        AppLogDebug("EXIT");
 }
index e9852b6..27aaa6f 100644 (file)
@@ -247,6 +247,12 @@ PlaylistContentListForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& pre
                pArgs->RemoveAll(true);
                delete pArgs;
        }
+       else if (pArgs != null && previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, true) == true)
+       {
+               SetItemCheckedAll(false);
+               pArgs->RemoveAll(true);
+               delete pArgs;
+       }
 
        __pPresentationModel = PlaylistListPresentationModel::GetInstance();
        __pPresentationModel->UpdatePlaylistContentList(__currentContentType, __headerTitle);
index 3e065e5..d23a8bf 100644 (file)
@@ -314,6 +314,7 @@ PlaylistCreatorForm::OnActionPerformed(const Tizen::Ui::Control& source, int act
                                messageBox.ShowAndWait(modalResult);
                                pList = new (std::nothrow) ArrayList();
                                pList->Construct();
+                pList->Add(new (std::nothrow) Integer(1));
                        }
                        else
                        {
index 1c00b88..8200a0e 100644 (file)
@@ -129,7 +129,7 @@ PlayListPickerPopup::OnActionPerformed(const Tizen::Ui::Control& source, int act
                {
                        pSceneManager->GoForward(ForwardSceneTransition(IDSCN_PLAYLIST_CREATOR));
                }
-               pDataList->Add(*(new (std::nothrow) Boolean(true)));
+               pDataList->Add(*(new (std::nothrow) Boolean(false)));
                __pControl->SendUserEvent(ID_DESTORY_PLAY_LIST_PICKER_POPUP, pDataList);
        }
        AppLogDebug("EXIT");
index 620674b..eb665cc 100644 (file)
@@ -247,6 +247,12 @@ UserPlaylistContentListForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId&
                pArgs->RemoveAll(true);
                delete pArgs;
        }
+       else if (pArgs != null && previousSceneId.Equals(IDSCN_PLAYLIST_CREATOR, false))
+       {
+               SetItemCheckedAll(false);
+               pArgs->RemoveAll(true);
+               delete pArgs;
+       }
        else if (!(__headerTitle.Equals(L"", false)))
        {
                __pPresentationModel->UpdatePlaylistContentList(USER_CONTENT, __headerTitle);