--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!--\r
+ This XML file was automatically generated by UiBuilder - do not modify by hand.\r
+-->\r
+<!DOCTYPE ScenePanel SYSTEM "UIForm.dtd">\r
+<ScenePanel Bversion="2.0.0.201304191937" Dversion="20120315">\r
+ <Panel id="IDL_NOTIFICATION_TICKER_PANEL">\r
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
+ <layout height="48.0" mode="Portrait" type="LAYOUT_RELATIVE" width="720.0" x="0.0" y="0.0"/>\r
+ <layout height="48.0" mode="Landscape" type="LAYOUT_RELATIVE" width="1280.0" x="0.0" y="0.0"/>\r
+ </Panel>\r
+ <Label id="IDC_LABEL_NOTIFICATION_TEXT" parent="IDL_NOTIFICATION_TICKER_PANEL">\r
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="#444444" backgroundColorOpacity="100" horizontalAlign="ALIGN_CENTER" leftMargin="0" text="" textColor="#FFFFFF" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="48.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>\r
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="48.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_PARENT" width="1280.0" x="0" y="0"/>\r
+ </Label>\r
+</ScenePanel>\r
tableViewAnnexStyle = TABLE_VIEW_ANNEX_STYLE_MARK;
}
+ if (__pPresentationModel->GetCurrentArtistAlbumIndex() != groupIndex)
+ {
+ __pPresentationModel->InitializeContentList(groupIndex);
+ }
+
TableViewItem* pItem = new (std::nothrow) TableViewItem();
ContentInformation* pContentInfo = __pPresentationModel->GetArtistAlbumContentInfoN(itemIndex);
TryCatch(r == E_SUCCESS, delete pItem, "pItem->Construct(%s)", GetErrorMessage(r));
TryCatch(pContentInfo != null, delete pItem, "pContentInfo is null", GetErrorMessage(GetLastResult()));
- if (__pPresentationModel->GetCurrentArtistAlbumIndex() != groupIndex)
- {
- __pPresentationModel->InitializeContentList(groupIndex);
- }
-
r = CreateTableViewItem(*pItem, *pContentInfo);
TryCatch(r == E_SUCCESS, delete pItem, "CreateTableViewItem failed(%s)", GetErrorMessage(r));
delete pContentInfo;
tempPath.LastIndexOf(L"/", tempPath.GetLength() - 1, indexOf);
tempPath.SubString(indexOf + 1, fileName);
- if (IDS_STORAGE_PHONE_PATH.Contains(filePath))
+ String phonePath = IDS_STORAGE_PHONE_PATH;
+ phonePath.Remove(IDS_STORAGE_PHONE_PATH.GetLength() - 1, 1);
+
+ String sdCardPath = IDS_STORAGE_SDCARD_PATH;
+ phonePath.Remove(IDS_STORAGE_SDCARD_PATH.GetLength() - 1, 1);
+
+ if (filePath.Contains(phonePath))
{
StorageIconBitmap = ResourceManager::GetBitmapN(IDB_STORAGE_PHONE);
}
- else if (IDS_STORAGE_SDCARD_PATH.Contains(filePath))
+ else if (filePath.Contains(sdCardPath))
{
StorageIconBitmap = ResourceManager::GetBitmapN(IDB_STORAGE_SDCARD);
}
contentPath.LastIndexOf(IDS_SEPARATOR_SLASH, contentPath.GetLength() - 1, folderNamePosition);
contentPath.SubString(folderNamePosition + 1, strFolderName);
- if (IDS_STORAGE_PHONE_PATH.Contains(contentPath))
+ String phonePath = IDS_STORAGE_PHONE_PATH;
+ phonePath.Remove(IDS_STORAGE_PHONE_PATH.GetLength() - 1, 1);
+
+ String sdCardPath = IDS_STORAGE_SDCARD_PATH;
+ phonePath.Remove(IDS_STORAGE_SDCARD_PATH.GetLength() - 1, 1);
+
+ if (contentPath.Contains(phonePath))
{
StorageIconBitmap = ResourceManager::GetBitmapN(IDB_STORAGE_PHONE);
}
- else if (IDS_STORAGE_SDCARD_PATH.Contains(contentPath))
+ else if (phonePath.Contains(sdCardPath))
{
StorageIconBitmap = ResourceManager::GetBitmapN(IDB_STORAGE_SDCARD);
}
contentPath.LastIndexOf(IDS_SEPARATOR_SLASH, contentPath.GetLength() - 1, folderNamePosition);
contentPath.SubString(folderNamePosition + 1, strFolderName);
- if (IDS_STORAGE_PHONE_PATH.Contains(contentPath))
+ String phonePath = IDS_STORAGE_PHONE_PATH;
+ phonePath.Remove(IDS_STORAGE_PHONE_PATH.GetLength() - 1, 1);
+
+ String sdCardPath = IDS_STORAGE_SDCARD_PATH;
+ phonePath.Remove(IDS_STORAGE_SDCARD_PATH.GetLength() - 1, 1);
+
+ if (contentPath.Contains(phonePath))
{
StorageIconBitmap = ResourceManager::GetBitmapN(IDB_STORAGE_PHONE);
}
- else if (IDS_STORAGE_SDCARD_PATH.Contains(contentPath))
+ else if (contentPath.Contains(sdCardPath))
{
StorageIconBitmap = ResourceManager::GetBitmapN(IDB_STORAGE_SDCARD);
}
MainFrame::OnFrameRestored(const Tizen::Ui::Controls::Frame& source)
{
AppLogDebug("ENTER");
-#ifdef GO_TO_SCENE_AFTER_FRAME_MODE_FULL_SCREEN_ACTIVATED
+#if 1 //def GO_TO_SCENE_AFTER_FRAME_MODE_FULL_SCREEN_ACTIVATED
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
{\r
__pMinPlayerPlayToggleButton->SetEnabled(true);\r
}\r
+ else if (__pPresentationModel->IsDuringCall() == true)\r
+ {\r
+ __pMinPlayerPlayToggleButton->SetEnabled(false);\r
+ }\r
Invalidate(true);\r
AppLogDebug("EXIT");\r
}\r
// fall through
case PLAYER_SCREEN_STATE_APP_CONTROL:
{
- __pContentsViewToggleButton->SetEnabled(false);
__pShuffleButton->SetEnabled(false);
__pRepeatButton->SetEnabled(false);
__prevRepeatStateRunByAppControl = __pPlayerPresentationModel->GetRepeatState();
SetRepeatButtonImage(IDA_TYPE_REPEAT_A);
+ if (__pContentsListViewPanel->GetShowState() == true)
+ {
+ __pContentsListViewPanel->SetShowState(false);
+ __pContentsViewToggleButton->SetActionId(IDA_BUTTON_CONTENTS_LIST_VIEW);
+ __pContentsAlbumViewPanel->SetShowState(true);
+ }
+ __pContentsViewToggleButton->SetEnabled(false);
+
playerScreenState = PLAYER_SCREEN_STATE_APP_CONTROL;
__isRunByAppControl = true;
}
AppLogDebug("pPath = %ls", pPath->GetPointer());
AppLogDebug("__pCurrentPlayContentPath = %ls", __pCurrentPlayContentPath->GetPointer());
if (__pPlayer->GetState() == PLAYER_STATE_ENDOFCLIP
- || pPath->Equals(*__pCurrentPlayContentPath) == false)
+ || pPath->Equals(*__pCurrentPlayContentPath) == false || __currentContentIndex != contentIndex)
{
ClosePlayer();
InitializeProgress();
{
case IDA_FOOTER_BUTTON_SAVE:
{
- __pPlaylistEditorPresentationModel->SetPlayListName(*(static_cast<String*>(__pPlaylistEditorPresentationModel->GetAllPlayListNameN()->GetAt(__selectedPlaylistIndex))), __playlistName);
- pSceneManager->GoBackward(BackwardSceneTransition());
+ result r = __pPlaylistEditorPresentationModel->SetPlayListName(*(static_cast<String*>(__pPlaylistEditorPresentationModel->GetAllPlayListNameN()->GetAt(__selectedPlaylistIndex))), __playlistName);
+ if (r != E_SUCCESS)
+ {
+ MessageBox messageBox;
+ messageBox.Construct(L"", ResourceManager::GetString(L"IDS_MUSIC_POP_UNABLE_RENAME_PLAYLIST"), MSGBOX_STYLE_NONE, 3000);
+ int modalResult = 0;
+ messageBox.ShowAndWait(modalResult);
+ __pPlaylistEditField->SetFocus();
+ __pPlaylistEditField->ShowKeypad();
+ }
+ else
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
}
break;
{
CommonUtil::SetFooterItemEnabled(*pFooter, false);
}
- else
+ else if (__pPlaylistEditorPresentationModel->IsPlaylistExist(__orignalPlaylistName) == true)
{
CommonUtil::SetFooterItemEnabled(*pFooter, true);
}
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
+ __pSearchTableView->SetItemProvider(static_cast<ITableViewItemProvider*>(null));
pSceneManager->GoForward(ForwardSceneTransition(__pSceneId->GetPointer(), SCENE_TRANSITION_ANIMATION_TYPE_NONE, SCENE_HISTORY_OPTION_NO_HISTORY, SCENE_DESTROY_OPTION_DESTROY));
AppLogDebug("EXIT");
}