virtual void CreateTableView(void);
virtual void ShowMessageBox(const Tizen::Base::String& title, const Tizen::Base::String& text);
virtual void ItemTypeOneLine(Tizen::Graphics::Rectangle& main);
+ virtual void ItemTypeOneLine(Tizen::Graphics::FloatRectangle& main);
virtual void ItemTypeTwoLine(Tizen::Graphics::Rectangle& main, Tizen::Graphics::Rectangle& sub, int fontSize);
virtual void ItemTypeIconAndOneLine(Tizen::Graphics::Rectangle& icon, Tizen::Graphics::Rectangle& main);
virtual void ItemTypeIconAndTwoLine(Tizen::Graphics::Rectangle& icon, Tizen::Graphics::Rectangle& main, Tizen::Graphics::Rectangle& sub, int fontSize);
class MainMenuForm
: public BaseForm
, public Tizen::Ui::IFocusEventListener
+ , public Tizen::System::ISettingEventListener
{
public:
MainMenuForm(void);
virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);
virtual void OnFocusLost(const Tizen::Ui::Control& source);
virtual void OnFocusGained(const Tizen::Ui::Control& source);
+ virtual void OnSettingChanged(Tizen::Base::String& key);
private:
void FindAppControlScene(int itemIndex);
#define _ST_MANAGE_APPLICATION_INFO_FORM_H_
#include <FSystem.h>
+#include <FUiIme.h>
#include "StBaseForm.h"
class ManageApplicationInfoForm
void DeleteUninstallPopup(void);
void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);
+ bool IsCurrentActiveImeApp(void);
+ result SetDefaultIme(void);
private:
Tizen::Base::Collection::ArrayList* __applicationData;
Tizen::App::Package::PackageManager* __pPackageManager;
Tizen::Security::PrivacyManager* __pPrivacyManager;
Tizen::Base::Collection::ArrayList* __privacyPackageList;
Tizen::Base::Collection::ArrayList* __pLabelArrayList;
+ Tizen::Ui::Controls::Label* __pLabel[50];
};
#endif // _ST_PRIVACY_FORM_H_
\ No newline at end of file
class TimeZoneForm
: public BaseForm
, public Tizen::Ui::Controls::ISearchBarEventListener
+ , public Tizen::Ui::IFocusEventListener
, public Tizen::Ui::IKeypadEventListener
, public Tizen::Ui::ITextEventListener
{
virtual void OnKeypadBoundsChanged(Tizen::Ui::Control& source){}
virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+ virtual void OnFocusLost(const Tizen::Ui::Control& source);
+ virtual void OnFocusGained(const Tizen::Ui::Control& source);
private:
void ResetModeSizeChangedAtOrientationState(void);
void ResizedInTableView(void);
</Descriptions>
<Requirements>
<Feature Name="http://tizen.org/feature/platform.core.cpu.arch">x86</Feature>
+ <Feature Name="http://tizen.org/feature/platform.core.cpu.arch.armv7">true</Feature>
<Feature Name="http://tizen.org/feature/platform.core.fpu.arch">vfpv3</Feature>
+ <Feature Name="http://tizen.org/feature/platform.core.fpu.arch.vfpv3">true</Feature>
<Feature Name="http://tizen.org/feature/screen.coordinate_system.logical">Normal</Feature>
</Requirements>
<Apps>
{
AppLog("Enter");
Node* pNode = null;
+ if (__pGroupItemNodeList)
__pGroupItemNodeList->GetAt(groupIndex, pNode);
- if (pNode->GetType().Equals(ID_APPSETTING_ITEM_TYPE_EXPAND_LIST, false))
+ if (pNode && pNode->GetType().Equals(ID_APPSETTING_ITEM_TYPE_EXPAND_LIST, false))
{
Label* pLabel = static_cast<Label*>(pItem->GetControl(0));
String expandList;
}
if (__pTableView)
{
- __pTableView->RefreshAllItems();
+ //__pTableView->RefreshAllItems();
}
Invalidate(true);
}
}
void
+BaseForm::ItemTypeOneLine(Tizen::Graphics::FloatRectangle& main)
+{
+ Rectangle clientRect = GetClientAreaBounds();
+
+ main.x = X_ITEM_TYPE_1_LABEL;
+ main.y = Y_ITEM_TYPE_1_LABEL;
+ main.width = (clientRect.width - TWO_LINE_ITEM_WIDTH_GAP);
+ main.height = H_ITEM_TYPE_1_LABEL;
+}
+
+void
BaseForm::ItemTypeTwoLine(Tizen::Graphics::Rectangle& main, Tizen::Graphics::Rectangle& sub, int fontSize)
{
Rectangle clientRect = GetClientAreaBounds();
-//
+//
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Flora License, Version 1.1 (the License);
static const int H_ALERT_POPUP_CLIENT_RECT_RESIZE = 470;
static const int W_ALERT_POPUP_CLIENT_RECT_RESIZE = 720;
static const int Y_ALERT_POPUP_ITEM_RECT_LABEL_DEFAULT = 20;
-static const int H_ALERT_POPUP_ITEM_RECT_LABEL_DEFAULT = 340;
+static const int H_ALERT_POPUP_ITEM_RECT_LABEL_DEFAULT = 300;
static const int X_ALERT_POPUP_ITEM_RECT_LHS_BUTTON_DEFAULT = 20;
static const int Y_ALERT_POPUP_ITEM_RECT_LHS_BUTTON_DEFAULT = 350;
static const int W_ALERT_POPUP_ITEM_RECT_LHS_BUTTON_DEFAULT = 310;
itemRectLabel.x = X_ALERT_POPUP_ITEM_RECT_LHS_BUTTON_DEFAULT;
itemRectLabel.y = Y_ALERT_POPUP_ITEM_RECT_LABEL_DEFAULT;
- itemRectLabel.width = clientRect.width;
+ itemRectLabel.width = clientRect.width - (2 * X_ALERT_POPUP_ITEM_RECT_LHS_BUTTON_DEFAULT);
itemRectLabel.height = H_ALERT_POPUP_ITEM_RECT_LABEL_DEFAULT;
itemRectLhsButton.x = X_ALERT_POPUP_ITEM_RECT_LHS_BUTTON_DEFAULT + itemRectLabel.x;
bool automaticUpdate = false;
bool hourFormat = false;
__pTableView->UpdateTableView();
+ if (previousSceneId != IDSCN_TIME_ZONE)
__pTableView->CollapseGroup(ID_GROUP_DATE_AND_TIME_FORMAT_LIST);
__pTableView->RefreshItem(ID_GROUP_DATE_AND_TIME_FORMAT, 0, TABLE_VIEW_REFRESH_TYPE_ITEM_MODIFY);
__pTableView->RefreshItem(ID_GROUP_DATE_AND_TIME_LOCAL_TIME, ID_ITEM_DATE_AND_TIME_DATE_AND_TIME, TABLE_VIEW_REFRESH_TYPE_ITEM_MODIFY);
{
if (itemIndex == ID_ITEM_DATE_AND_TIME_TIME_ZONE)
{
- __pTableView->CollapseGroup(ID_GROUP_DATE_AND_TIME_FORMAT_LIST);
+ //__pTableView->CollapseGroup(ID_GROUP_DATE_AND_TIME_FORMAT_LIST);
pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIME_ZONE, SCENE_TRANSITION_ANIMATION_TYPE_LEFT));
}
else if (itemIndex == ID_ITEM_DATE_AND_TIME_DATE_AND_TIME)
}
__pTableView->SetItemChecked(ID_GROUP_BACKLIGHT_TIME_LIST, GetBackLightTimeIndex(), true);
+ if (previousSceneId != IDSCN_FONT)
__pTableView->CollapseGroup(ID_GROUP_BACKLIGHT_TIME_LIST);
}
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
- __pTableView->CollapseGroup(ID_GROUP_BACKLIGHT_TIME_LIST);
+ //__pTableView->CollapseGroup(ID_GROUP_BACKLIGHT_TIME_LIST);
pSceneManager->GoForward(ForwardSceneTransition(IDSCN_FONT, SCENE_TRANSITION_ANIMATION_TYPE_LEFT), null);
}
break;
{
AppLog("ENTER");
BaseForm::OnOrientationChanged(source, orientationStatus);
- __pTableView->UpdateTableView();
+ __pTableView->RefreshAllItems();
}
void
__pTableView->RefreshItem(i, j, TABLE_VIEW_REFRESH_TYPE_ITEM_MODIFY);
}
}
+ __pTableView->UpdateTableView();
}
char
}
helpTitleRect.x = H_TEXT_GAP;
- helpTitleRect.height = GetHeightForStringArea(itemTitle, helpTitleRect.width - helpTitleRect.x, fontSize) + H_TEXT_GAP;
+ helpTitleRect.height = H_ITEM_TYPE_1_LABEL;
HelpContentsRect.x = H_TEXT_GAP;
HelpContentsRect.y = (helpTitleRect.y + helpTitleRect.height);
HelpContentsRect.height = GetHeightForStringArea(itemHelp, bounds.width - 4, fontSize) + H_TEXT_GAP;
Label* pLabel = new (std::nothrow) Label();
pLabel->Construct(helpTitleRect, itemTitle);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
- pLabel->SetTextVerticalAlignment(ALIGNMENT_TOP);
+ pLabel->SetTextVerticalAlignment(ALIGNMENT_MIDDLE);
pLabel->SetTextConfig(fontSize, LABEL_TEXT_STYLE_BOLD);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
__isNfcSupported = IsNfcSupported();
AddFocusEventListener(*this);
+ SettingInfo::AddSettingEventListener(*this);
return E_SUCCESS;
}
__pTableView = null;
RemoveFocusEventListener(*this);
SetFormBackEventListener(null);
+ SettingInfo::RemoveSettingEventListener(*this);
return E_SUCCESS;
}
if (pAppControl->Start(null, null, pExtraData, null) == E_SUCCESS)
{
+ AppLog("__isRunningAppControl = true");
__isRunningAppControl = true;
}
AppLog("Enter");
__isRunningAppControl = false;
}
+
+void
+MainMenuForm::OnSettingChanged (Tizen::Base::String &key)
+{
+ AppLogDebug("FontForm::key changed [%ls]", key.GetPointer());
+ bool flightModeStatus = false;
+ if(key.CompareTo(SETTING_INFO_KEY_NETWORK_FLIGHTMODE) == 0)
+ {
+ SettingInfo::GetValue(SETTING_INFO_KEY_NETWORK_FLIGHTMODE, flightModeStatus);
+ AppLog("flightMode = %d", flightModeStatus);
+
+ __pTableView->SetItemChecked(ID_GROUP_MODE, 0, flightModeStatus);
+ __pTableView->Invalidate(true);
+ }
+}
void
ManageApplicationForm::OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs)
{
+ AppLog("Enter");
if (previousSceneId.Equals(IDSCN_MANAGE_APPLICATION_INFO, false))
{
if (pArgs != null)
using namespace Tizen::System;
using namespace Tizen::Ui;
using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Ime;
using namespace Tizen::Ui::Scenes;
static const int ID_GROUP_APPLICATION_NAME = 0;
String uninstallable = *(static_cast<String*>(__applicationData->GetAt(DATA_TYPE_APPLICATION_UNINSTALLABLE)));
+ if (((pAppManager->IsRunning(appId) == false) && (uninstallable.Equals(L"0", true))) || appId == homeAppId || appId == lockAppId || !isMenuIconVisible)
+ {
+ pItem->SetEnabled(false);
+ }
pUninstallButton = new (std::nothrow) Button();
pUninstallButton->Construct(uninstallButtonRect, ResourceManager::GetString(L"IDS_ST_BUTTON_UNINSTALL"));
if (uninstallable.Equals(L"0", true) || appId == homeAppId || appId == lockAppId)
{
- pUninstallButton->SetEnabled(false);
- pItem->SetEnabled(false);
+ pUninstallButton->SetEnabled(false);
}
pUninstallButton->SetActionId(IDA_UNINSTALL);
pUninstallButton->AddActionEventListener(*this);
void
ManageApplicationInfoForm::UpdateItem(int groupIndex, int itemIndex, Tizen::Ui::Controls::TableViewItem* pItem)
{
+ AppLog("Enter");
switch (groupIndex)
{
case ID_GROUP_APPLICATION_NAME:
case IDA_UNINSTALL_CONFIRM_OK:
{
+ if(IsCurrentActiveImeApp())
+ {
+ SetDefaultIme();
+ }
String packageId = *(static_cast<String*>(__applicationData->GetAt(DATA_TYPE_APPLICATION_PACKAGE_ID)));
__pPackageManager->UninstallPackage (packageId, null);
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
+ AppLog("PackageId = %S", packageId.GetPointer());
+ String *pPackageID = static_cast<String*>(__applicationData->GetAt(DATA_TYPE_APPLICATION_PACKAGE_ID));
+ if (pPackageID)
+ {
+ AppLog("PackageId = %S", pPackageID->GetPointer());
+ if(pPackageID->CompareTo(packageId) != 0)
+ {
+ return;
+ }
+ }
ArrayList* pUninstallationResult = new (std::nothrow) ArrayList(SingleObjectDeleter);
pUninstallationResult->Construct();
String *pApplicationName = static_cast<String*>(__applicationData->GetAt(DATA_TYPE_APPLICATION_NAME));
{
return false;
}
+bool
+ManageApplicationInfoForm::IsCurrentActiveImeApp(void)
+{
+ App* pApp = App::GetInstance();
+ Tizen::App::AppId appId = pApp->GetAppId();
+
+ String packageId = *(static_cast<String*>(__applicationData->GetAt(DATA_TYPE_APPLICATION_PACKAGE_ID)));
+
+ InputMethodManager* pInputMethodManager = InputMethodManager::GetInstance();
+
+ InputMethodInfo* pInputMethodInfo = pInputMethodManager->GetActiveInputMethodInfoN();
+ Tizen::App::AppId currentActiveImeAppId = pInputMethodInfo->GetAppId();
+
+ if(pInputMethodInfo)
+ {
+ delete pInputMethodInfo;
+ }
+
+ String pkgId = PackageManager::GetPackageIdByAppId(currentActiveImeAppId);
+
+ if (packageId.Equals(pkgId, false))
+ {
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+}
+
+result
+ManageApplicationInfoForm::SetDefaultIme(void)
+{
+ result r = E_SUCCESS;
+
+ InputMethodManager* pInputMethodManager = InputMethodManager::GetInstance();
+ IList* pInputMethodInfoList = pInputMethodManager->GetInputMethodInfoListN();
+ if (pInputMethodInfoList == null)
+ {
+ return E_FAILURE;
+ }
+
+ InputMethodInfo* pInputMethodInfo = null;
+ pInputMethodInfo = static_cast<InputMethodInfo*>(pInputMethodInfoList->GetAt(0));
+ r = pInputMethodManager->SetInputMethod(pInputMethodInfo->GetAppId());//change to default ime
+
+ pInputMethodInfoList->RemoveAll();
+ delete pInputMethodInfoList;
+
+ return r;
+}
__pNfcPredefinedItemPresentationModelInstance = NfcPredefinedItemPresentationModel::GetInstance();
__pNfcPredefinedItemPresentationModelInstance->InitReservedPushCandidatesList();
__pReservedPushCandidatesAppIdList = __pNfcPredefinedItemPresentationModelInstance->GetAllListReservedPushCandidatesAppIdList();
- if(__pReservedPushCandidatesAppIdList == null && __pReservedPushCandidatesAppIdList->GetCount() == 0)
+ if(__pReservedPushCandidatesAppIdList == null)
+ {
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ AppAssert(pSceneManager);
+ pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT), null);
+ delete pItem;
+ return null;
+ }
+ else if(__pReservedPushCandidatesAppIdList->GetCount() == 0)
{
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
__pNfcPredefinedItemPresentationModelInstance = NfcPredefinedItemPresentationModel::GetInstance();
__pNfcPredefinedItemPresentationModelInstance->InitReservedPushCandidatesList();
__pReservedPushCandidatesAppIdList = __pNfcPredefinedItemPresentationModelInstance->GetAllListReservedPushCandidatesAppIdList();
- if(__pReservedPushCandidatesAppIdList == null && __pReservedPushCandidatesAppIdList->GetCount() == 0)
+ if(__pReservedPushCandidatesAppIdList == null)
+ {
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ AppAssert(pSceneManager);
+ pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT), null);
+ return;
+ }
+ else if (__pReservedPushCandidatesAppIdList->GetCount() == 0)
{
SceneManager* pSceneManager = SceneManager::GetInstance();
AppAssert(pSceneManager);
, __privacyPackageList(null)
, __pLabelArrayList(null)
{
+ for(int i = 0; i < 50; i++)
+ {
+ __pLabel[i] = null;
+ }
}
PrivacyForm::~PrivacyForm(void)
labelName.Clear();
labelName = L"LABEL_SUB_";
labelName.Append(itemIndex);
- Label* pSecondLabel = new (std::nothrow) Label();
- pSecondLabel->Construct(itemSubRectangle, itemSubText);
- pSecondLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
- pSecondLabel->SetTextVerticalAlignment(ALIGNMENT_TOP);
- pSecondLabel->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
- pSecondLabel->SetTextColor(COLOR_SUB_TEXT);
- pSecondLabel->AddTouchEventListener(*this);
- pSecondLabel->SetName(labelName);
- __pLabelArrayList->Add(pSecondLabel);
- pItem->AddControl(pSecondLabel);
- relativeLayout.SetMargin(*pSecondLabel, itemSubRectangle.x, 0, 0, 0);
- relativeLayout.SetRelation(*pSecondLabel, pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
- relativeLayout.SetRelation(*pSecondLabel, pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
+ __pLabel[itemIndex] = new (std::nothrow) Label();
+ __pLabel[itemIndex]->Construct(itemSubRectangle, itemSubText);
+ __pLabel[itemIndex]->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
+ __pLabel[itemIndex]->SetTextVerticalAlignment(ALIGNMENT_TOP);
+ __pLabel[itemIndex]->SetTextConfig(FONT_SIZE_SUB_TEXT, LABEL_TEXT_STYLE_NORMAL);
+ __pLabel[itemIndex]->SetTextColor(COLOR_SUB_TEXT);
+ __pLabel[itemIndex]->AddTouchEventListener(*this);
+ __pLabel[itemIndex]->SetName(labelName);
+ //__pLabelArrayList->Add(pSecondLabel);
+ pItem->AddControl(__pLabel[itemIndex]);
+ relativeLayout.SetMargin(*__pLabel[itemIndex], itemSubRectangle.x, 0, 0, 0);
+ relativeLayout.SetRelation(*__pLabel[itemIndex], pItem, RECT_EDGE_RELATION_LEFT_TO_LEFT);
+ relativeLayout.SetRelation(*__pLabel[itemIndex], pItem, RECT_EDGE_RELATION_RIGHT_TO_RIGHT);
pItem->AddKeyEventListener(*this);
AppLog("Exit group[%d] index[%d]", groupIndex, itemIndex);
source.Reverse();
source.IndexOf(L"_", 0, index);
source.SubString(0, index, temp_number);
+ temp_number.Reverse();
Integer::Parse(temp_number, index);
- Label* pLabel = null;
-
- pLabel = static_cast <Label*> (__pLabelArrayList->GetAt(index));
- if (pLabel != null)
+ AppLog("index = %d", index);
+ if(index > 0 && index < GetPackageListCount())
{
- AppLog("Enter setting %ls", pLabel->GetName().GetPointer());
- pLabel->SetTextColor(color);
- pLabel->Invalidate(false);
+ __pLabel[index]->SetTextColor(color);
+ __pLabel[index]->Invalidate(false);
}
AppLog("EXIT");
}
void
LocaleRegionForm::CreateTableView(void)
{
- Rectangle bounds = GetClientAreaBounds();
- Rectangle tableViewBounds = bounds;
+ FloatRectangle bounds = GetClientAreaBoundsF();
+ FloatRectangle tableViewBounds = bounds;
tableViewBounds.y = Y_TABLE_VIEW_AREA;
tableViewBounds.height = (bounds.height - tableViewBounds.y);
__pTableView = new (std::nothrow) GroupedTableView();
- __pTableView->Construct(tableViewBounds, true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
+ __pTableView->Construct(CoordinateSystem::AlignToDevice(tableViewBounds), true, TABLE_VIEW_SCROLL_BAR_STYLE_FADE_OUT);
__pTableView->SetItemProvider(this);
AddControl(__pTableView);
void
LocaleRegionForm::CreateSearchBar(void)
{
- Rectangle bounds = GetClientAreaBounds();
- Rectangle searchbarBounds = bounds;
+ FloatRectangle bounds = GetClientAreaBoundsF();
+ FloatRectangle searchbarBounds = bounds;
searchbarBounds.y = 0;
searchbarBounds.height = H_SEARCH_BAR;
__pSearchBar = new (std::nothrow) SearchBar();
- __pSearchBar->Construct(searchbarBounds, true, KEYPAD_ACTION_SEARCH);
+ __pSearchBar->Construct(CoordinateSystem::AlignToDevice(searchbarBounds), true, KEYPAD_ACTION_SEARCH);
__pSearchBar->SetGuideText(ResourceManager::GetString(L"IDS_COM_BODY_SEARCH"));
__pSearchBar->AddSearchBarEventListener(*this);
__pSearchBar->AddTextEventListener(*this);
{
AppLogDebug("group[%d] index[%d]", groupIndex, itemIndex);
- Rectangle itemMainRectangle;
+ FloatRectangle itemMainRectangle;
TableViewAnnexStyle style = TABLE_VIEW_ANNEX_STYLE_NORMAL;
String* pKey = null;
String itemMainText;
RelativeLayout relativeLayout;
relativeLayout.Construct();
- pItem->Construct(relativeLayout, Dimension(itemWidth, H_GROUP_ITEM_DEFAULT), style);
+ pItem->Construct(relativeLayout, CoordinateSystem::AlignToDevice(FloatDimension(itemWidth, H_GROUP_ITEM_DEFAULT)), style);
pItem->SetBackgroundColor(COLOR_BG_GROUP_ITEM_DEFAULT);
pLabel = new (std::nothrow) Label();
- pLabel->Construct(itemMainRectangle, itemMainText);
+ pLabel->Construct(CoordinateSystem::AlignToDevice(FloatRectangle(itemMainRectangle)), itemMainText);
pLabel->SetTextHorizontalAlignment(ALIGNMENT_LEFT);
pLabel->SetTextConfig(FontSize, LABEL_TEXT_STYLE_NORMAL);
pLabel->SetTextColor(COLOR_MAIN_TEXT);
__pSearchBar->AddTextEventListener(*this);
__pSearchBar->AddKeypadEventListener(*this);
__pSearchBar->SetContentAreaSize(Dimension(0, 0));
+ __pSearchBar->AddFocusEventListener(*this);
AddControl(__pSearchBar);
return;
}
key.Append(pData->GetRegionData() + L"/" + pData->GetCountryData());
+ SetFocus();
+ __pSearchBar->HideKeypad();
if (SettingInfo::SetValue(SETTING_INFO_KEY_LOCALE_TIME_ZONE, key) == E_SUCCESS)
{
__pSearchBar->HideKeypad();
{
return _timeZoneGMT;
}
+
+void
+TimeZoneForm::OnFocusLost(const Tizen::Ui::Control& source)
+{
+ AppLog("Enter");
+ __pSearchBar->HideKeypad();
+}
+
+void
+TimeZoneForm::OnFocusGained(const Tizen::Ui::Control& source)
+{
+ AppLog("Enter");
+}