</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
</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
</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
<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>
__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();
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);
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");
}
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);
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");
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();
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);
{
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");
\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
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();
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();
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);
{
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");
}
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);
messageBox.ShowAndWait(modalResult);
pList = new (std::nothrow) ArrayList();
pList->Construct();
+ pList->Add(new (std::nothrow) Integer(1));
}
else
{
{
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");
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);