Change-Id: I30ff306c58a93aa46120f97de231a634fd704bb0
Signed-off-by: Vinay Sachdeva <v.sachdeva@samsung.com>
This XML file was automatically generated by UiBuilder - do not modify by hand.
-->
<!DOCTYPE Scene SYSTEM "UIForm.dtd">
This XML file was automatically generated by UiBuilder - do not modify by hand.
-->
<!DOCTYPE Scene SYSTEM "UIForm.dtd">
-<Scene Bversion="2.0.0.201308142048" Dversion="20120315">
+
+<Scene Bversion="2.0.0.201310282132" Dversion="20120315">
<LogicalCoordinate>720</LogicalCoordinate>
<Form id="IDL_SETTING_FORM">
<property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
<LogicalCoordinate>720</LogicalCoordinate>
<Form id="IDL_SETTING_FORM">
<property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
- <layout mode="Portrait" style="FORM_STYLE_PORTRAIT_INDICATOR|FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE" type="LAYOUT_RELATIVE"/>
- <layout mode="Landscape" style="FORM_STYLE_PORTRAIT_INDICATOR|FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE" type="LAYOUT_RELATIVE"/>
+ <layout mode="Portrait" style="FORM_STYLE_PORTRAIT_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_PORTRAIT_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_LANDSCAPE_INDICATOR_AUTO_HIDE" type="LAYOUT_RELATIVE"/>
+ <Header>
+ <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="100" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="100" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="false" titleIconPath="" titleText="::IDS_BR_OPT_SETTINGS" titleTextColor=""/>
+ <itemSet/>
+ </Header>
<GroupedListView id="IDC_SETTING_LIST" parent="IDL_SETTING_FORM">
<property backgroundBitmapPath="" backgroundColor="#F9F9F9" backgroundColorOpacity="100" bitmapPathOfEmptyList="" colorOfEmptyListText="" itemDivider="true" itemDividerColor="#8E9AA3" listScrollStyle="SCROLL_STYLE_FADE_OUT" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sectionColor="" sweepEnabled="false" textOfEmptyList=""/>
<GroupedListView id="IDC_SETTING_LIST" parent="IDL_SETTING_FORM">
<property backgroundBitmapPath="" backgroundColor="#F9F9F9" backgroundColorOpacity="100" bitmapPathOfEmptyList="" colorOfEmptyListText="" itemDivider="true" itemDividerColor="#8E9AA3" listScrollStyle="SCROLL_STYLE_FADE_OUT" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sectionColor="" sweepEnabled="false" textOfEmptyList=""/>
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="1220.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SETTING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_SETTING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="IDL_SETTING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0.0" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="1124.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_SETTING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_SETTING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="IDL_SETTING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0.0" y="0"/>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="546.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_SETTING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="IDL_SETTING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="1280.0" x="0" y="0"/>
</GroupedListView>
</Scene>
<layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="546.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_SETTING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="IDL_SETTING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="1280.0" x="0" y="0"/>
</GroupedListView>
</Scene>
switch (actionId)
{
case IDA_AUTOBTN_CLICKED:
switch (actionId)
{
case IDA_AUTOBTN_CLICKED:
+ if(__manualBrightness == false)
+ {
+ break;
+ }
__manualBrightness = false;
__pBrightnessSlider->SetValue(6);
// __pBrightnessSlider->SetShowState(false);
__manualBrightness = false;
__pBrightnessSlider->SetValue(6);
// __pBrightnessSlider->SetShowState(false);
+ AppLog("vinay :: __pGroupData->getcount %d",__pGroupData->GetCount());
pGroupItemClass = dynamic_cast< GroupItemClass* >(__pGroupData->GetAt(groupIndex));
if (pGroupItemClass == null)
{
return;
}
pGroupItemClass = dynamic_cast< GroupItemClass* >(__pGroupData->GetAt(groupIndex));
if (pGroupItemClass == null)
{
return;
}
+ AppLog("vinay :: __pGroupData->getcount %d",pGroupItemClass->GetHistoryData()->GetCount());
History* pHistory1 = dynamic_cast< History* >(pGroupItemClass->GetHistoryData()->GetAt(itemIndex));
if (pHistory1 == null)
{
History* pHistory1 = dynamic_cast< History* >(pGroupItemClass->GetHistoryData()->GetAt(itemIndex));
if (pHistory1 == null)
{
__pGroupedListView->SetBounds(0, __pSearchBar->GetY() + __pSearchBar->GetHeight(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
Invalidate(true);
__searchHistory = false;
__pGroupedListView->SetBounds(0, __pSearchBar->GetY() + __pSearchBar->GetHeight(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
Invalidate(true);
__searchHistory = false;
-// r = __pGroupedListView->UpdateList();
+ r = __pGroupedListView->UpdateList();//needed to update the value of __pGroupData
if (__isNoHistoryPresent == true)
{
GetFooter()->SetItemEnabled(0, false);
if (__isNoHistoryPresent == true)
{
GetFooter()->SetItemEnabled(0, false);
{
AppRegistry* pAppRegistry = App::GetInstance()->GetAppRegistry();
result r = E_SUCCESS;
{
AppRegistry* pAppRegistry = App::GetInstance()->GetAppRegistry();
result r = E_SUCCESS;
int sliderValue = 10;
SettingInfo::GetValue(key,sliderValue);
String sliderKey("SliderValue");
int sliderValue = 10;
SettingInfo::GetValue(key,sliderValue);
String sliderKey("SliderValue");
String url = addBar.GetUrl();
AppLog("MainForm::OnUrlSubmitted url is %ls", url.GetPointer());
String url = addBar.GetUrl();
AppLog("MainForm::OnUrlSubmitted url is %ls", url.GetPointer());
+ {
+ AppLog("Position:: %d, %ls",__pFooterUrlField->GetTextLength(),__pFooterUrlField->GetText().GetPointer());
__pFooterUrlField->SetCursorPosition(__pFooterUrlField->GetTextLength());
__pFooterUrlField->SetCursorPosition(__pFooterUrlField->GetTextLength());
AddressBarCancelledClicked(*__pAddressbar);
LoadUrl(url);
}
AddressBarCancelledClicked(*__pAddressbar);
LoadUrl(url);
}
__pAddressbar->SetUrl(__displayUrl);
}
if(__pFooterUrlField)
__pAddressbar->SetUrl(__displayUrl);
}
if(__pFooterUrlField)
+ {
+ AppLog("Position:: %d, %ls",__pFooterUrlField->GetTextLength(),__pFooterUrlField->GetText().GetPointer());
__pFooterUrlField->SetCursorPosition(__pFooterUrlField->GetTextLength());
__pFooterUrlField->SetCursorPosition(__pFooterUrlField->GetTextLength());
__pFooterUrlField->Invalidate(false);
if(__pAddressbar != NULL && __pAddressbar->HasFocus())
__pAddressbar->Invalidate(true);
__pFooterUrlField->Invalidate(false);
if(__pAddressbar != NULL && __pAddressbar->HasFocus())
__pAddressbar->Invalidate(true);