#include <FBase.h>
#include <FUi.h>
#include "IntConfirmationPopup.h"
+#include "IntNotificationPanel.h"
class EditBookmarkListForm
: public Tizen::Ui::Controls::Form
Tizen::Base::Collection::ArrayList* __pSelectedList;
int __selectedItemCount;
int __fontSize;
+ NotificationPanel* __pNotification;
};
#endif /* _INT_EDIT_BOOKMARK_LIST_FORM_H_ */
<text id="IDS_BR_OPT_VIEW_BY_ABB">Vista por</text>
<text id="IDS_COM_BODY_TUE">Mar.</text>
<text id="IDS_COM_BODY_MON">Lunes</text>
- <text id="IDS_BR_HEADER_MULTI_WINDOW">Multi window</text>
+ <text id="IDS_BR_HEADER_MULTI_WINDOW">Ventana mĂșltiple</text>
<text id="IDS_BR_POP_ALREADY_EXISTS">Ya existe</text>
<text id="IDS_BR_BODY_COPY_URL">Copiar URL</text>
<text id="IDS_BR_BODY_REMEMBER_PREFERENCE">Recordar preferencias</text>
result r = E_FAILURE;
AppLog("ABCD::BookmarkListForm::OnSearchBarModeChanged %d",GetClientAreaBounds().height);
- __pSearchListView->SetBounds(__pSearchListView->GetX(), __pSearchListView->GetY(), __pSearchListView->GetWidth(), GetClientAreaBounds().height - __pSearchBar->GetHeight());
+ if(__pSearchBar)
+ __pSearchListView->SetBounds(__pSearchListView->GetX(), __pSearchListView->GetY(), __pSearchListView->GetWidth(), GetClientAreaBounds().height - __pSearchBar->GetHeight());
__pSearchListView->Invalidate(false);
if (mode == SEARCH_BAR_MODE_NORMAL)
__searchBookmark = false;
r = __pListview->UpdateList();
// __pSearchListView->SetBounds(0,0,GetClientAreaBounds().width,GetClientAreaBounds().height -__pSearchBar->GetHeight());
- __pSearchBar->SetContentAreaSize(Dimension(__pSearchListView->GetWidth(), GetClientAreaBounds().height - __pSearchBar->GetHeight()));
+ if(__pSearchBar)
+ __pSearchBar->SetContentAreaSize(Dimension(__pSearchListView->GetWidth(), GetClientAreaBounds().height - __pSearchBar->GetHeight()));
TryCatch( !IsFailed(r),,"BookmarkListForm::OnSearchBarModeChanged Update list failed %s",GetErrorMessage(r));
CATCH:return;
}
r = pAppRegistry->Set(sliderKey,sliderValue);
FooterItemStatus footerStatus;
GetFooter()->GetItemStatus(0,footerStatus);
- if (footerStatus == FOOTER_ITEM_STATUS_SELECTED)
+ if (footerStatus == FOOTER_ITEM_STATUS_SELECTED || footerStatus == FOOTER_ITEM_STATUS_HIGHLIGHTED)
{
r = pAppRegistry->Set(tabKey,0);
}
r = pAppRegistry->Set(sliderKey,sliderValue);
FooterItemStatus footerStatus;
GetFooter()->GetItemStatus(0,footerStatus);
- if (footerStatus == FOOTER_ITEM_STATUS_SELECTED)
+ if (footerStatus == FOOTER_ITEM_STATUS_SELECTED || footerStatus == FOOTER_ITEM_STATUS_HIGHLIGHTED)
{
r = pAppRegistry->Set(tabKey,0);
}
#include "IntCommonLib.h"
#include "IntEditBookmarkListForm.h"
#include "IntFaviconManager.h"
-#include "IntNotificationPanel.h"
#include "IntSceneRegister.h"
#include "IntTypes.h"
__pConfirmationPopup = null;
__pSelectedList = null;
__fontSize = 44;
+ __pNotification = null;
}
EditBookmarkListForm::~EditBookmarkListForm(void)
__pSelectedList->RemoveAll(false);
delete __pSelectedList;
}
+// if(__pNotification)
+// delete __pNotification;
}
bool
__pInfoPanel->Show();
}
- NotificationPanel* pNotification = new (std::nothrow) NotificationPanel(*this);
+// if(__pNotification)
+// {
+//// delete __pNotification;
+// __pNotification = null;
+// }
+ __pNotification = new (std::nothrow) NotificationPanel(*this);
String notification = CommonUtil::GetString(L"IDS_BR_POP_DELETED");
- pNotification->SetText(notification);
- pNotification->ShowNotification();
+ __pNotification->SetText(notification);
+ __pNotification->ShowNotification();
if(__pConfirmationPopup)
{
int itemCount = 0;
ArrayList* pCheckedItems = NULL ;
+ if(__pNotification)
+ __pNotification->SetShowState(false);
+
if (__pListview != null)
{
AppLog("the list Y axis is %d", __pListview->GetY());
{
__pUrlEditField->AddTextEventListener(*this);
__pUrlEditField->SetOverlayKeypadCommandButtonVisible(false);
+ AppLog("width of editfield edithomepage %d",__pUrlEditField->GetWidth());
}
- AppLog("width of editfield edithomepage %d",__pUrlEditField->GetWidth());
+
return r;
}
HistoryListForm::OnSearchBarModeChanged(SearchBar& source, SearchBarMode mode)
{
result r = E_FAILURE;
- __pSearchListView->SetBounds(__pSearchListView->GetX(), __pSearchListView->GetY(), __pSearchListView->GetWidth(), GetClientAreaBounds().height - __pSearchBar->GetHeight());
+ if(__pSearchBar)
+ __pSearchListView->SetBounds(__pSearchListView->GetX(), __pSearchListView->GetY(), __pSearchListView->GetWidth(), GetClientAreaBounds().height - __pSearchBar->GetHeight());
__pSearchListView->Invalidate(false);
if (mode == SEARCH_BAR_MODE_NORMAL)
void
InternetApp::OnBackground(void)
{
+ AppLog("InternetApp::OnBackground");
Form* pCurrentForm = null;
if(SceneManager::GetInstance()->GetCurrentScene() != null)
pCurrentForm = (SceneManager::GetInstance()->GetCurrentScene()->GetForm());
__pFindWordNext->SetEnabled(false);
__pFindWordPrev->SetEnabled(false);
- __pWebViewer->SearchTextAllAsync(L"",true);
+ if(__pWebViewer)
+ __pWebViewer->SearchTextAllAsync(L"",true);
__pFindWordControl->SetShowState(false);
}
RelayoutControls(false);
return;
}
}
- r = pSceneManager->GoForward(ForwardSceneTransition(pNewWindowInfo->sceneID ,SCENE_TRANSITION_ANIMATION_TYPE_NONE,SCENE_HISTORY_OPTION_ADD_HISTORY,SCENE_DESTROY_OPTION_DESTROY));
+ if(pNewWindowInfo)
+ r = pSceneManager->GoForward(ForwardSceneTransition(pNewWindowInfo->sceneID ,SCENE_TRANSITION_ANIMATION_TYPE_NONE,SCENE_HISTORY_OPTION_ADD_HISTORY,SCENE_DESTROY_OPTION_DESTROY));
break;
}
{
AppLog("Word not found");
//Show error notification to user
- __pFindWordNext->SetEnabled(false);
+ if(__pFindWordNext)
+ __pFindWordNext->SetEnabled(false);
if(__pFindWordCountLabel && __pFindWordCountLabel->GetShowState() == true)
{
__pFindWordCountLabel->SetText(L"0/0");
__pFindWordCountLabelRightToLeft->SetText(L"0/0");
__pFindWordCountLabelRightToLeft->Invalidate(false);
}
- __pFindWordNext->Invalidate(false);
+ if(__pFindWordNext)
+ __pFindWordNext->Invalidate(false);
__pFindWordPrev->Invalidate(false);
return;
if (totalCount == 1 || totalCount == currentOrdinal)
{
- __pFindWordNext->SetEnabled(false);
+ if(__pFindWordNext)
+ __pFindWordNext->SetEnabled(false);
}
else
{
- __pFindWordNext->SetEnabled(true);
+ if(__pFindWordNext)
+ __pFindWordNext->SetEnabled(true);
}
String countStr = L"";
case 4:
text = L" ";
+ __pList->SetItemEnabled(groupIndex,-1,false);
break;
default:
{
AppControl * pControl = dynamic_cast<AppControl*>(__pAppControlList->GetAt(pos));
AppLog("pControl->GetAppName() %ls",pControl->GetAppName().GetPointer());
- if(pControl->GetAppName().Equals(L"Messages",false) == true || pControl->GetAppName().Equals(L"Email",false) == true )
+ if( (pControl->GetAppName().Equals(L"Messages",false) == true && pControl->GetAppId().Equals(L"8r4r5ddzzn.Messages",false) == true) || (pControl->GetAppName().Equals(L"Email",false) == true && pControl->GetAppId().Equals(L"vxqbrefica.Email",false) == true) )
{
+ AppLog("Removed pControl->GetAppName %ls pControl->GetAppId() %ls",pControl->GetAppName().GetPointer(),pControl->GetAppId().GetPointer());
__pAppControlList->RemoveAt(pos,true);
pos--;
count --;