extern const wchar_t* IDC_BUTTON8;
extern const wchar_t* IDC_BUTTON9;
extern const wchar_t* IDC_BUTTON_CLR;
+extern const wchar_t* IDC_BUTTON_FRI;
+extern const wchar_t* IDC_BUTTON_HOUR;
extern const wchar_t* IDC_BUTTON_HOURS;
extern const wchar_t* IDC_BUTTON_HOUR_DISPLAY;
+extern const wchar_t* IDC_BUTTON_MIN;
extern const wchar_t* IDC_BUTTON_MINUTES;
extern const wchar_t* IDC_BUTTON_MINUTE_DISPLAY;
+extern const wchar_t* IDC_BUTTON_MON;
+extern const wchar_t* IDC_BUTTON_MORE;
extern const wchar_t* IDC_BUTTON_RESET;
extern const wchar_t* IDC_BUTTON_RESTART;
+extern const wchar_t* IDC_BUTTON_SAT;
extern const wchar_t* IDC_BUTTON_SECONDS;
extern const wchar_t* IDC_BUTTON_SECOND_DISPLAY;
extern const wchar_t* IDC_BUTTON_START;
extern const wchar_t* IDC_BUTTON_STOP;
+extern const wchar_t* IDC_BUTTON_SUN;
+extern const wchar_t* IDC_BUTTON_THU;
+extern const wchar_t* IDC_BUTTON_TOGGLE;
+extern const wchar_t* IDC_BUTTON_TUE;
+extern const wchar_t* IDC_BUTTON_WED;
+extern const wchar_t* IDC_EDITFIELD1;
extern const wchar_t* IDC_EDITFIELD2;
extern const wchar_t* IDC_EDITFIELD3;
+extern const wchar_t* IDC_GROUPEDLISTVIEW1;
extern const wchar_t* IDC_INPUT_PANEL;
+extern const wchar_t* IDC_LABEL;
extern const wchar_t* IDC_LABEL1;
extern const wchar_t* IDC_LABEL2;
extern const wchar_t* IDC_LABEL3;
+extern const wchar_t* IDC_LABEL4;
+extern const wchar_t* IDC_LABEL_AM;
+extern const wchar_t* IDC_LABEL_PM;
extern const wchar_t* IDC_LABEL_TIMER;
+extern const wchar_t* IDC_LABEL_TITLE;
+extern const wchar_t* IDC_LISTVIEW1;
extern const wchar_t* IDC_LISTVIEW_ALARM;
+extern const wchar_t* IDC_PANEL;
extern const wchar_t* IDC_PANEL1;
+extern const wchar_t* IDC_PANEL_DAYS;
+extern const wchar_t* IDC_PANEL_EDITTIME;
+extern const wchar_t* IDC_PANEL_LIST;
extern const wchar_t* IDC_PANEL_TIMER_STARTED;
+extern const wchar_t* IDC_SCROLLPANEL1;
extern const wchar_t* IDC_SELECT_ALL;
+extern const wchar_t* IDC_SLIDER_VOLUME;
extern const wchar_t* IDC_TIMER_PANEL;
+extern const wchar_t* IDL_ALARM_EDITOR_FORM;
extern const wchar_t* IDL_ALARM_RINGING_FORM;
extern const wchar_t* IDL_ALARM_RINGING_LOCK_FORM;
extern const wchar_t* IDL_CITY_LIST;
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarm.h\r
- * @brief This is the header file contains the declarations of the %Alarm class.\r
- *\r
- */\r
-#ifndef _CLK_ALARM_H_\r
-#define _CLK_ALARM_H_\r
-\r
-\r
-/**\r
- * @enum AlarmType\r
- *\r
- * AlarmType enum is used to define type of alarm\r
- *\r
- */\r
-enum type\r
-{\r
- ALARM_TYPE_MELODY = 0,\r
- ALARM_TYPE_VIBRATION,\r
- ALARM_TYPE_MELODY_AND_VIBRATION\r
-};\r
-\r
-/**\r
- * @class Alarm\r
- * @brief This is a model class which contains all the properties of Alarm class\r
- * and the methods to get and set the values for those properties\r
- */\r
-class AlarmData\r
-: public Tizen::Base::Object\r
-{\r
-public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmData(void);\r
-\r
- /**\r
- *@brief Initialises the instance the class Alarm with the specified parameter\r
- */\r
- AlarmData(const AlarmData& alarm);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- ~AlarmData(void);\r
-\r
- /**\r
- *@brief "=" operator overloading\r
- */\r
- AlarmData& operator =(const AlarmData& pAlarm);\r
-\r
- /**\r
- * This function gets the created time of all the alarms\r
- *\r
- * @return DateTime\r
- * @param No parameter\r
- */\r
- Tizen::Base::DateTime GetAlarmCreatedtime(void) const;\r
-\r
- /**\r
- * This function gets the alarm id\r
- *\r
- * @return An Integer\r
- * @param No parameter\r
- */\r
- int GetAlarmId(void) const;\r
-\r
- /**\r
- * This function gets the alarm name\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- Tizen::Base::String GetAlarmName(void) const;\r
-\r
- /**\r
- * This function gets the alarm on state\r
- *\r
- * @return An Integer\r
- * @param No parameter\r
- */\r
- int GetAlarmOnState(void) const;\r
-\r
- /**\r
- * This function gets the alarm time\r
- *\r
- * @return DateTime\r
- * @param No parameter\r
- */\r
- Tizen::Base::DateTime GetAlarmTime(void) const;\r
-\r
- /**\r
- * This function gets the last ringing time of all the alarms\r
- *\r
- * @return DateTime\r
- * @param No parameter\r
- */\r
- Tizen::Base::DateTime GetLastRingingTime(void) const;\r
-\r
- /**\r
- * This function gets the next ringing time of all the alarms\r
- *\r
- * @return DateTime\r
- * @param No parameter\r
- */\r
- Tizen::Base::DateTime GetNextRingingTime(void);\r
-\r
- /**\r
- * This function gets the state of repetition on friday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEveryFridayFlag(void) const;\r
-\r
- /**\r
- * This function gets the state of repetition on monday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEveryMondayFlag(void) const;\r
-\r
- /**\r
- * This function gets the state of repetition on saturday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEverySaturdayFlag(void) const;\r
-\r
- /**\r
- * This function gets the state of repetition on sunday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEverySundayFlag(void) const;\r
-\r
- /**\r
- * This function gets the state of repetition on thursday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEveryThursdayFlag(void) const;\r
-\r
- /**\r
- * This function gets the state of repetition on tuesday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEveryTuesdayFlag(void) const;\r
-\r
- /**\r
- * This function gets the state of repetition on wednesday for the alarm object\r
- *\r
- * @return bool type, true if repetition is set else false\r
- * @param No parameter\r
- */\r
- bool GetRepeatEveryWednesdayFlag(void) const;\r
-\r
- /**\r
- * This function gets the flags for the alarm to be stored in order of the days(SMTWTFS)\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- Tizen::Base::String GetRepeatFlags(void);\r
-\r
- /**\r
- * This function gets the Ring tone file path for the alarm object\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- Tizen::Base::String GetRingTone(void) const;\r
-\r
- /**\r
- * This function gets the Ring type for the alarm object\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- type GetRingType(void) const;\r
-\r
- /**\r
- * This function gets the ringing volume for the alarm object\r
- *\r
- * @return An Integer\r
- * @param No parameter\r
- */\r
- int GetRingVolume(void) const;\r
-\r
- /**\r
- * This function gets the duration of snooze for the alarm object\r
- *\r
- * @return An Integer\r
- * @param No parameter\r
- */\r
- int GetSnoozeDuration(void) const;\r
-\r
- /**\r
- * This function gets the state of snooze for the alarm object\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool GetSnoozeOn(void) const;\r
-\r
- /**\r
- * This function gets the repeat count of snooze for the alarm object\r
- *\r
- * @return An Integer\r
- * @param No parameter\r
- */\r
- int GetSnoozeRepeat(void) const;\r
-\r
- /**\r
- * This function gets the present snooze repeat count of the alarm\r
- *\r
- * @return Integer\r
- * @param No parameter\r
- */\r
- int GetSnoozeRepeatCount(void) const;\r
-\r
- /**\r
- * This function sets the created time for the alarm object\r
- *\r
- * @return No return type\r
- * @param alarmCreatedTime The last ringing time for the Alarm object\r
- */\r
- void SetAlarmCreatedTime(const Tizen::Base::DateTime& alarmCreatedTime);\r
-\r
- /**\r
- * This function sets the alarmId for the alarm object\r
- *\r
- * @return No return type\r
- * @param alarmId The ID for the alarm object\r
- */\r
- void SetAlarmId(const int& alarmId);\r
-\r
- /**\r
- * This function sets the alarmName for the alarm object\r
- *\r
- * @return No return type\r
- * @param alarmName The alarmName for the alarm object\r
- */\r
- void SetAlarmName(const Tizen::Base::String& alarmName);\r
-\r
- /**\r
- * This function sets the alarmOnState for the alarm object\r
- *\r
- * @return No return type\r
- * @param alarmId The ID for the alarm object\r
- */\r
- void SetAlarmOnState(const int& alarmOnState);\r
-\r
- /**\r
- * This function sets the createdTime for the alarm object\r
- *\r
- * @return No return type\r
- * @param alarmTime The time for the Alarm\r
- */\r
- void SetAlarmTime(const Tizen::Base::DateTime& alarmTime);\r
-\r
- /**\r
- * This function sets the last ringing time for the alarm object\r
- *\r
- * @return No return type\r
- * @param lastRingingTime The last ringing time for the Alarm object\r
- */\r
- void SetLastRingingTime(const Tizen::Base::DateTime& lastRingingTime);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on friday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on friday else false\r
- */\r
- void SetRepeatedEveryFriday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on monday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on monday else false\r
- */\r
- void SetRepeatedEveryMonday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on sataurday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on sataurday else false\r
- */\r
- void SetRepeatedEverySaturday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on sunday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on sunday else false\r
- */\r
- void SetRepeatedEverySunday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on thursday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on thursday else false\r
- */\r
- void SetRepeatedEveryThursday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on tuesday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on tuesday else false\r
- */\r
- void SetRepeatedEveryTuesday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored on wednesday\r
- *\r
- * @return No return type\r
- * @param repeat True if alarm to be stored on wednesday else false\r
- */\r
- void SetRepeatedEveryWednesday(const bool repeat);\r
-\r
- /**\r
- * This function sets the flags for the alarm to be stored in order of the days(SMTWTFS)\r
- *\r
- * @return No return type\r
- * @param repeat The alarm to be stored in order of the days(SMTWTFS)\r
- */\r
- void SetRepeatedFlags(const Tizen::Base::String& repeat);\r
-\r
- /**\r
- * This function sets the ring tone file path for the alarm object\r
- *\r
- * @return No return type\r
- * @param path The ring tone file path for the alarm object\r
- */\r
- void SetRingTone(const Tizen::Base::String& path);\r
-\r
- /**\r
- * This function sets the ring type for the alarm object\r
- *\r
- * @return No return type\r
- * @param ringType The volume for the alarm object\r
- */\r
- void SetRingType(const type& ringType);\r
-\r
- /**\r
- * This function sets the ring volume for the alarm object\r
- *\r
- * @return No return type\r
- * @param volume The volume for the alarm object\r
- */\r
- void SetRingVolume(const int& volume);\r
-\r
- /**\r
- * This function sets the duration of snooze time for the alarm object\r
- *\r
- * @return No return type\r
- * @param duration The duration of snooze time\r
- */\r
- void SetSnoozeDuration(const int& duration);\r
-\r
- /**\r
- * This function sets the state of snooze for the alarm object\r
- *\r
- * @return No return type\r
- * @param snooze The state for snooze\r
- */\r
- void SetSnoozeOn(const bool snooze);\r
-\r
- /**\r
- * This function sets the repeat count for snooze\r
- *\r
- * @return No return type\r
- * @param repeat The repeat count for snooze\r
- */\r
- void SetSnoozeRepeat(const int& repeat);\r
-\r
- /**\r
- * This function sets the present snooze repeat count\r
- *\r
- * @return No return type\r
- * @param count The present snooze repeat count to be set\r
- */\r
- void SetSnoozeRepeatCount(const int& count);\r
-\r
-private:\r
- Tizen::Base::DateTime __alarmCreatedTime;\r
- int __alarmId;\r
- Tizen::Base::String __alarmName;\r
- int __isOn;\r
- Tizen::Base::DateTime __lastRingingTime;\r
- bool __repeatEveryFriday;\r
- bool __repeatEveryMonday;\r
- bool __repeatEverySaturday;\r
- bool __repeatEverySunday;\r
- bool __repeatEveryThursday;\r
- bool __repeatEveryTuesday;\r
- bool __repeatEveryWednesday;\r
- Tizen::Base::String __repeatFlags;\r
- Tizen::Base::String __ringTone;\r
- type __ringType;\r
- int __ringVolume;\r
- int __snoozeDuration;\r
- bool __snoozeOn;\r
- int __snoozeRepeat;\r
- int __snoozeRepeatCount;\r
- Tizen::Base::DateTime __time;\r
-\r
-};\r
-\r
-#endif //_CLK_ALARM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarm.h
+ * @brief This is the header file contains the declarations of the %Alarm class.
+ *
+ */
+#ifndef _CLK_ALARM_H_
+#define _CLK_ALARM_H_
+
+
+/**
+ * @enum AlarmType
+ *
+ * AlarmType enum is used to define type of alarm
+ *
+ */
+enum type
+{
+ ALARM_TYPE_MELODY = 0,
+ ALARM_TYPE_VIBRATION,
+ ALARM_TYPE_MELODY_AND_VIBRATION
+};
+
+/**
+ * @class Alarm
+ * @brief This is a model class which contains all the properties of Alarm class
+ * and the methods to get and set the values for those properties
+ */
+class AlarmData
+: public Tizen::Base::Object
+{
+public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmData(void);
+
+ /**
+ *@brief Initialises the instance the class Alarm with the specified parameter
+ */
+ AlarmData(const AlarmData& alarm);
+
+ /**
+ *@brief Default destructor
+ */
+ ~AlarmData(void);
+
+ /**
+ *@brief "=" operator overloading
+ */
+ AlarmData& operator =(const AlarmData& pAlarm);
+
+ /**
+ * This function gets the created time of all the alarms
+ *
+ * @return DateTime
+ * @param No parameter
+ */
+ Tizen::Base::DateTime GetAlarmCreatedtime(void) const;
+
+ /**
+ * This function gets the alarm id
+ *
+ * @return An Integer
+ * @param No parameter
+ */
+ int GetAlarmId(void) const;
+
+ /**
+ * This function gets the alarm name
+ *
+ * @return A String
+ * @param No parameter
+ */
+ Tizen::Base::String GetAlarmName(void) const;
+
+ /**
+ * This function gets the alarm on state
+ *
+ * @return An Integer
+ * @param No parameter
+ */
+ int GetAlarmOnState(void) const;
+
+ /**
+ * This function gets the alarm time
+ *
+ * @return DateTime
+ * @param No parameter
+ */
+ Tizen::Base::DateTime GetAlarmTime(void) const;
+
+ /**
+ * This function gets the last ringing time of all the alarms
+ *
+ * @return DateTime
+ * @param No parameter
+ */
+ Tizen::Base::DateTime GetLastRingingTime(void) const;
+
+ /**
+ * This function gets the next ringing time of all the alarms
+ *
+ * @return DateTime
+ * @param No parameter
+ */
+ Tizen::Base::DateTime GetNextRingingTime(void);
+
+ /**
+ * This function gets the state of repetition on friday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEveryFridayFlag(void) const;
+
+ /**
+ * This function gets the state of repetition on monday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEveryMondayFlag(void) const;
+
+ /**
+ * This function gets the state of repetition on saturday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEverySaturdayFlag(void) const;
+
+ /**
+ * This function gets the state of repetition on sunday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEverySundayFlag(void) const;
+
+ /**
+ * This function gets the state of repetition on thursday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEveryThursdayFlag(void) const;
+
+ /**
+ * This function gets the state of repetition on tuesday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEveryTuesdayFlag(void) const;
+
+ /**
+ * This function gets the state of repetition on wednesday for the alarm object
+ *
+ * @return bool type, true if repetition is set else false
+ * @param No parameter
+ */
+ bool GetRepeatEveryWednesdayFlag(void) const;
+
+ /**
+ * This function gets the flags for the alarm to be stored in order of the days(SMTWTFS)
+ *
+ * @return A String
+ * @param No parameter
+ */
+ Tizen::Base::String GetRepeatFlags(void);
+
+ /**
+ * This function gets the Ring tone file path for the alarm object
+ *
+ * @return A String
+ * @param No parameter
+ */
+ Tizen::Base::String GetRingTone(void) const;
+
+ /**
+ * This function gets the Ring type for the alarm object
+ *
+ * @return A String
+ * @param No parameter
+ */
+ type GetRingType(void) const;
+
+ /**
+ * This function gets the ringing volume for the alarm object
+ *
+ * @return An Integer
+ * @param No parameter
+ */
+ int GetRingVolume(void) const;
+
+ /**
+ * This function gets the duration of snooze for the alarm object
+ *
+ * @return An Integer
+ * @param No parameter
+ */
+ int GetSnoozeDuration(void) const;
+
+ /**
+ * This function gets the state of snooze for the alarm object
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool GetSnoozeOn(void) const;
+
+ /**
+ * This function gets the repeat count of snooze for the alarm object
+ *
+ * @return An Integer
+ * @param No parameter
+ */
+ int GetSnoozeRepeat(void) const;
+
+ /**
+ * This function gets the present snooze repeat count of the alarm
+ *
+ * @return Integer
+ * @param No parameter
+ */
+ int GetSnoozeRepeatCount(void) const;
+
+ /**
+ * This function sets the created time for the alarm object
+ *
+ * @return No return type
+ * @param alarmCreatedTime The last ringing time for the Alarm object
+ */
+ void SetAlarmCreatedTime(const Tizen::Base::DateTime& alarmCreatedTime);
+
+ /**
+ * This function sets the alarmId for the alarm object
+ *
+ * @return No return type
+ * @param alarmId The ID for the alarm object
+ */
+ void SetAlarmId(const int& alarmId);
+
+ /**
+ * This function sets the alarmName for the alarm object
+ *
+ * @return No return type
+ * @param alarmName The alarmName for the alarm object
+ */
+ void SetAlarmName(const Tizen::Base::String& alarmName);
+
+ /**
+ * This function sets the alarmOnState for the alarm object
+ *
+ * @return No return type
+ * @param alarmId The ID for the alarm object
+ */
+ void SetAlarmOnState(const int& alarmOnState);
+
+ /**
+ * This function sets the createdTime for the alarm object
+ *
+ * @return No return type
+ * @param alarmTime The time for the Alarm
+ */
+ void SetAlarmTime(const Tizen::Base::DateTime& alarmTime);
+
+ /**
+ * This function sets the last ringing time for the alarm object
+ *
+ * @return No return type
+ * @param lastRingingTime The last ringing time for the Alarm object
+ */
+ void SetLastRingingTime(const Tizen::Base::DateTime& lastRingingTime);
+
+ /**
+ * This function sets the flags for the alarm to be stored on friday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on friday else false
+ */
+ void SetRepeatedEveryFriday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored on monday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on monday else false
+ */
+ void SetRepeatedEveryMonday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored on sataurday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on sataurday else false
+ */
+ void SetRepeatedEverySaturday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored on sunday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on sunday else false
+ */
+ void SetRepeatedEverySunday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored on thursday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on thursday else false
+ */
+ void SetRepeatedEveryThursday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored on tuesday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on tuesday else false
+ */
+ void SetRepeatedEveryTuesday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored on wednesday
+ *
+ * @return No return type
+ * @param repeat True if alarm to be stored on wednesday else false
+ */
+ void SetRepeatedEveryWednesday(const bool repeat);
+
+ /**
+ * This function sets the flags for the alarm to be stored in order of the days(SMTWTFS)
+ *
+ * @return No return type
+ * @param repeat The alarm to be stored in order of the days(SMTWTFS)
+ */
+ void SetRepeatedFlags(const Tizen::Base::String& repeat);
+
+ /**
+ * This function sets the ring tone file path for the alarm object
+ *
+ * @return No return type
+ * @param path The ring tone file path for the alarm object
+ */
+ void SetRingTone(const Tizen::Base::String& path);
+
+ /**
+ * This function sets the ring type for the alarm object
+ *
+ * @return No return type
+ * @param ringType The volume for the alarm object
+ */
+ void SetRingType(const type& ringType);
+
+ /**
+ * This function sets the ring volume for the alarm object
+ *
+ * @return No return type
+ * @param volume The volume for the alarm object
+ */
+ void SetRingVolume(const int& volume);
+
+ /**
+ * This function sets the duration of snooze time for the alarm object
+ *
+ * @return No return type
+ * @param duration The duration of snooze time
+ */
+ void SetSnoozeDuration(const int& duration);
+
+ /**
+ * This function sets the state of snooze for the alarm object
+ *
+ * @return No return type
+ * @param snooze The state for snooze
+ */
+ void SetSnoozeOn(const bool snooze);
+
+ /**
+ * This function sets the repeat count for snooze
+ *
+ * @return No return type
+ * @param repeat The repeat count for snooze
+ */
+ void SetSnoozeRepeat(const int& repeat);
+
+ /**
+ * This function sets the present snooze repeat count
+ *
+ * @return No return type
+ * @param count The present snooze repeat count to be set
+ */
+ void SetSnoozeRepeatCount(const int& count);
+
+private:
+ Tizen::Base::DateTime __alarmCreatedTime;
+ int __alarmId;
+ Tizen::Base::String __alarmName;
+ int __isOn;
+ Tizen::Base::DateTime __lastRingingTime;
+ bool __repeatEveryFriday;
+ bool __repeatEveryMonday;
+ bool __repeatEverySaturday;
+ bool __repeatEverySunday;
+ bool __repeatEveryThursday;
+ bool __repeatEveryTuesday;
+ bool __repeatEveryWednesday;
+ Tizen::Base::String __repeatFlags;
+ Tizen::Base::String __ringTone;
+ type __ringType;
+ int __ringVolume;
+ int __snoozeDuration;
+ bool __snoozeOn;
+ int __snoozeRepeat;
+ int __snoozeRepeatCount;
+ Tizen::Base::DateTime __time;
+
+};
+
+#endif //_CLK_ALARM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmDeleteListForm.h\r
- * @brief This is the header file contains the declarations of the %AlarmDeleteListForm class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_ALARM_DELETE_LIST_FORM_H_\r
-#define _CLK_ALARM_DELETE_LIST_FORM_H_\r
-\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-class AlarmDeleteListForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::System::ISettingEventListener\r
- {\r
- public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmDeleteListForm(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmDeleteListForm(void);\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- virtual Tizen::Ui::Controls::ListItemBase * CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){}\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){}\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){}\r
-\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- virtual void OnSettingChanged(Tizen::Base::String& key);\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
- private:\r
- bool __isNoAlarmPresent;\r
- Tizen::Base::Collection::ArrayList* __pData;\r
- Tizen::Ui::Controls::ListView* __pListView; // The GroupedListView which contains the history lists\r
- Tizen::Ui::Controls::CheckButton* __pSelectAllCheck;\r
- Tizen::Ui::Controls::Label* __pSelectedLabel;\r
- int __selectedCount;\r
- int __selectedItemCount;\r
- Tizen::Base::Collection::ArrayList __selectedItemList;\r
-\r
- public:\r
- bool is24HourFormat;\r
- \r
-};\r
-\r
-#endif // _CLK_ALARM_DELETE_LIST_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmDeleteListForm.h
+ * @brief This is the header file contains the declarations of the %AlarmDeleteListForm class.
+ *
+ */
+
+#ifndef _CLK_ALARM_DELETE_LIST_FORM_H_
+#define _CLK_ALARM_DELETE_LIST_FORM_H_
+
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+class AlarmDeleteListForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::System::ISettingEventListener
+ {
+ public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmDeleteListForm(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmDeleteListForm(void);
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool Initialize(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+
+ virtual Tizen::Ui::Controls::ListItemBase * CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){}
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){}
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){}
+
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ virtual void OnSettingChanged(Tizen::Base::String& key);
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+ private:
+ bool __isNoAlarmPresent;
+ Tizen::Base::Collection::ArrayList* __pData;
+ Tizen::Ui::Controls::ListView* __pListView; // The GroupedListView which contains the history lists
+ Tizen::Ui::Controls::CheckButton* __pSelectAllCheck;
+ Tizen::Ui::Controls::Label* __pSelectedLabel;
+ int __selectedCount;
+ int __selectedItemCount;
+ Tizen::Base::Collection::ArrayList __selectedItemList;
+
+ public:
+ bool is24HourFormat;
+
+};
+
+#endif // _CLK_ALARM_DELETE_LIST_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file clkAlarmEditorForm.h\r
- * @brief This is the header file contains the declarations of the %AlarmEditorForm class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_ALARM_EDITOR_FORM_H_\r
-#define _CLK_ALARM_EDITOR_FORM_H_\r
-\r
-#include <FMedia.h>\r
-#include <FSystem.h>\r
-\r
-class AlarmEditorForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::App::IAppControlResponseListener\r
- , public Tizen::Media::IPlayerEventListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IGroupedListViewItemProvider\r
- , public Tizen::Ui::Controls::IGroupedListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::Controls::ISliderEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IClipboardPopupEventListener\r
- , public Tizen::Ui::IKeypadEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::ITextEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::System::ISettingEventListener\r
- , public Tizen::Ui::ITouchEventListener\r
- {\r
- public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmEditorForm(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmEditorForm(void);\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IAppControlEventListener\r
- virtual void OnAppControlCompleteResponseReceived(const Tizen::App::AppId& appId, const Tizen::Base::String& operationId, Tizen::App::AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //IOrientationEventListener\r
- void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- //ISliderEventListener\r
- virtual void OnSliderBarMoved(Tizen::Ui::Controls::Slider& source, int value);\r
-\r
- //ITouchEventListener\r
- void OnTouchCanceled(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {};\r
- void OnTouchDoublePressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {};\r
- void OnTouchFocusIn(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo){};\r
- void OnTouchFocusOut(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo){};\r
- void OnTouchLongPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {};\r
- void OnTouchMoved(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo){};\r
- void OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo & touchInfo);\r
- void OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
-\r
- //ListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IGroupedListViewItemProvider\r
- Tizen::Ui::Controls::GroupItem* CreateGroupItem(int groupIndex, int itemWidth);\r
- Tizen::Ui::Controls::ListItemBase* CreateItem(int groupIndex, int itemIndex, int itemWidth);\r
- bool DeleteGroupItem(int groupIndex, Tizen::Ui::Controls::GroupItem* pItem, int itemWidth);\r
-\r
- //IListViewItemProvider\r
- bool DeleteItem(int groupIndex, int itemIndex, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);\r
- int GetGroupCount(void);\r
- int GetItemCount(int groupIndex);\r
-\r
- //IGroupedListViewItemEventListener\r
- void OnGroupedListViewContextItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};\r
- void OnGroupedListViewItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- void OnGroupedListViewItemSwept(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, Tizen::Ui::Controls::SweepDirection direction){};\r
-\r
- //IKeypadListener\r
- virtual void OnKeypadActionPerformed(Tizen::Ui::Control& source, Tizen::Ui::KeypadAction keypadAction){};\r
- virtual void OnKeypadClosed(Tizen::Ui::Control& source);\r
- virtual void OnKeypadOpened(Tizen::Ui::Control& source);\r
- virtual void OnKeypadWillOpen(Tizen::Ui::Control& source);\r
-\r
- //IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
-\r
- //ITextEventListener\r
- virtual void OnTextValueChanged(const Tizen::Ui::Control& source);\r
- virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source);\r
-\r
- // IPlayerEventListener\r
- virtual void OnPlayerOpened(result r) {}\r
- virtual void OnPlayerEndOfClip(void) {}\r
- virtual void OnPlayerBuffering(int percent) {}\r
- virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}\r
- virtual void OnPlayerInterrupted(void) {}\r
- virtual void OnPlayerReleased(void) {}\r
- virtual void OnPlayerSeekCompleted(result r) {}\r
-\r
- //IClipboardPopupEventListener\r
- virtual void OnClipboardPopupClosed(const Tizen::Ui::ClipboardItem* pClipboardItem);\r
-\r
- virtual void OnSettingChanged(Tizen::Base::String& key);\r
-\r
- virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);\r
-\r
- private:\r
- /**\r
- * This function rearranges all the controls of the form\r
- *\r
- * @return No return type\r
- * @param No parameter\r
- */\r
- void RearrangeControls(void);\r
-\r
- private:\r
- Tizen::Base::String __alarmName;\r
- Tizen::Base::String __audioFilePath;\r
- Tizen::Base::String __defaultEditFieldValue;\r
- Tizen::Base::String __defaultToggleValue;\r
- Tizen::Base::Integer* __pDuration;\r
- int __fontValue;\r
- bool __isPlaying;\r
- bool __isSnoozeOn;\r
- int __modalMsgBoxResult;\r
- AlarmData* __pAlarm;\r
- Tizen::Ui::Controls::Button* __pBtnDayFri;\r
- Tizen::Ui::Controls::Button* __pBtnDayMon;\r
- Tizen::Ui::Controls::Button* __pBtnDaySat;\r
- Tizen::Ui::Controls::Button* __pBtnDaySun;\r
- Tizen::Ui::Controls::Button* __pBtnDayThu;\r
- Tizen::Ui::Controls::Button* __pBtnDayTue;\r
- Tizen::Ui::Controls::Button* __pBtnDayWed;\r
- Tizen::Ui::Controls::Button* __pBtnHourDisplay;\r
- Tizen::Ui::Controls::Button* __pBtnMinDisplay;\r
- Tizen::Ui::Controls::Button* __pBtnMore;\r
- Tizen::Ui::Controls::Button* __pBtnToggle;\r
- Tizen::Ui::Controls::EditField* __pEditField;\r
- Tizen::Ui::Controls::EditField* __pEditFieldHour;\r
- Tizen::Ui::Controls::Label* __pLabelAm;\r
- Tizen::Ui::Controls::Label* __pLabelPm;\r
- Tizen::Ui::Controls::Label* __pLabelEditfieldTitle;\r
- Tizen::Ui::Controls::Label* __pLabelTitle;\r
- Tizen::Media::Player* __player;\r
- Tizen::Ui::Controls::ListView* __pListView;\r
- Tizen::Ui::Controls::GroupedListView* __pGroupedListView;\r
- Tizen::Ui::Controls::MessageBox __pMsgBox;\r
- Tizen::Ui::Controls::Panel* __pPanelDays;\r
- Tizen::Ui::Controls::Panel* __pPanelEditTime;\r
- Tizen::Ui::Controls::Panel* __pPanelList;\r
- Tizen::Ui::Controls::Popup* __pResetPopup;\r
- Tizen::Ui::Controls::ScrollPanel* __pScrollPanel;\r
- Tizen::Ui::Controls::Slider* __pSlider;\r
- Tizen::Base::Integer* __pRepeat;\r
- Tizen::Base::String __repeatName;\r
- int __selectedIndex;\r
- Tizen::Base::Collection::ArrayList __selectedIndexValues;\r
- bool __showRepeat;\r
- bool __showType;\r
- int __sliderDefaultValue;\r
- Tizen::Base::String __snoozeDurationValue;\r
- int __snoozeValue;\r
- int __typeName;\r
- Tizen::Base::String __typeNameValue;\r
- Tizen::Base::Collection::StackT<int> __sliderValues;\r
-\r
- public:\r
- bool is24HourFormat;\r
- bool isHourClicked;\r
-\r
- };\r
-\r
-#endif // _CLK_ALARM_EDITOR_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file clkAlarmEditorForm.h
+ * @brief This is the header file contains the declarations of the %AlarmEditorForm class.
+ *
+ */
+
+#ifndef _CLK_ALARM_EDITOR_FORM_H_
+#define _CLK_ALARM_EDITOR_FORM_H_
+
+#include <FMedia.h>
+#include <FSystem.h>
+
+class AlarmEditorForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::App::IAppControlResponseListener
+ , public Tizen::Media::IPlayerEventListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IGroupedListViewItemProvider
+ , public Tizen::Ui::Controls::IGroupedListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Controls::ISliderEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IClipboardPopupEventListener
+ , public Tizen::Ui::IKeypadEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::ITextEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::System::ISettingEventListener
+ , public Tizen::Ui::ITouchEventListener
+ {
+ public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmEditorForm(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmEditorForm(void);
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool Initialize(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IAppControlEventListener
+ virtual void OnAppControlCompleteResponseReceived(const Tizen::App::AppId& appId, const Tizen::Base::String& operationId, Tizen::App::AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //IOrientationEventListener
+ void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ //ISliderEventListener
+ virtual void OnSliderBarMoved(Tizen::Ui::Controls::Slider& source, int value);
+
+ //ITouchEventListener
+ void OnTouchCanceled(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {};
+ void OnTouchDoublePressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {};
+ void OnTouchFocusIn(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo){};
+ void OnTouchFocusOut(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo){};
+ void OnTouchLongPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {};
+ void OnTouchMoved(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo){};
+ void OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo & touchInfo);
+ void OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+
+ //ListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IGroupedListViewItemProvider
+ Tizen::Ui::Controls::GroupItem* CreateGroupItem(int groupIndex, int itemWidth);
+ Tizen::Ui::Controls::ListItemBase* CreateItem(int groupIndex, int itemIndex, int itemWidth);
+ bool DeleteGroupItem(int groupIndex, Tizen::Ui::Controls::GroupItem* pItem, int itemWidth);
+
+ //IListViewItemProvider
+ bool DeleteItem(int groupIndex, int itemIndex, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
+ int GetGroupCount(void);
+ int GetItemCount(int groupIndex);
+
+ //IGroupedListViewItemEventListener
+ void OnGroupedListViewContextItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};
+ void OnGroupedListViewItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ void OnGroupedListViewItemSwept(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, Tizen::Ui::Controls::SweepDirection direction){};
+
+ //IKeypadListener
+ virtual void OnKeypadActionPerformed(Tizen::Ui::Control& source, Tizen::Ui::KeypadAction keypadAction){};
+ virtual void OnKeypadClosed(Tizen::Ui::Control& source);
+ virtual void OnKeypadOpened(Tizen::Ui::Control& source);
+ virtual void OnKeypadWillOpen(Tizen::Ui::Control& source);
+
+ //IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+
+ //ITextEventListener
+ virtual void OnTextValueChanged(const Tizen::Ui::Control& source);
+ virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source);
+
+ // IPlayerEventListener
+ virtual void OnPlayerOpened(result r) {}
+ virtual void OnPlayerEndOfClip(void) {}
+ virtual void OnPlayerBuffering(int percent) {}
+ virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}
+ virtual void OnPlayerInterrupted(void) {}
+ virtual void OnPlayerReleased(void) {}
+ virtual void OnPlayerSeekCompleted(result r) {}
+
+ //IClipboardPopupEventListener
+ virtual void OnClipboardPopupClosed(const Tizen::Ui::ClipboardItem* pClipboardItem);
+
+ virtual void OnSettingChanged(Tizen::Base::String& key);
+
+ virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);
+
+ void StartAudio(void);
+
+ private:
+ /**
+ * This function rearranges all the controls of the form
+ *
+ * @return No return type
+ * @param No parameter
+ */
+ void RearrangeControls(void);
+
+ private:
+ Tizen::Base::String __alarmName;
+ Tizen::Base::String __audioFilePath;
+ Tizen::Base::String __defaultEditFieldValue;
+ Tizen::Base::String __defaultToggleValue;
+ Tizen::Base::Integer* __pDuration;
+ int __fontValue;
+ bool __isPlaying;
+ bool __isSnoozeOn;
+ int __modalMsgBoxResult;
+ AlarmData* __pAlarm;
+ Tizen::Ui::Controls::Button* __pBtnDayFri;
+ Tizen::Ui::Controls::Button* __pBtnDayMon;
+ Tizen::Ui::Controls::Button* __pBtnDaySat;
+ Tizen::Ui::Controls::Button* __pBtnDaySun;
+ Tizen::Ui::Controls::Button* __pBtnDayThu;
+ Tizen::Ui::Controls::Button* __pBtnDayTue;
+ Tizen::Ui::Controls::Button* __pBtnDayWed;
+ Tizen::Ui::Controls::Button* __pBtnHourDisplay;
+ Tizen::Ui::Controls::Button* __pBtnMinDisplay;
+ Tizen::Ui::Controls::Button* __pBtnMore;
+ Tizen::Ui::Controls::Button* __pBtnToggle;
+ Tizen::Ui::Controls::EditField* __pEditField;
+ Tizen::Ui::Controls::EditField* __pEditFieldHour;
+ Tizen::Ui::Controls::Label* __pLabelAm;
+ Tizen::Ui::Controls::Label* __pLabelPm;
+ Tizen::Ui::Controls::Label* __pLabelEditfieldTitle;
+ Tizen::Ui::Controls::Label* __pLabelTitle;
+ Tizen::Media::Player* __player;
+ Tizen::Ui::Controls::ListView* __pListView;
+ Tizen::Ui::Controls::GroupedListView* __pGroupedListView;
+ Tizen::Ui::Controls::MessageBox __pMsgBox;
+ Tizen::Ui::Controls::Panel* __pPanelDays;
+ Tizen::Ui::Controls::Panel* __pPanelEditTime;
+ Tizen::Ui::Controls::Panel* __pPanelList;
+ Tizen::Ui::Controls::Popup* __pResetPopup;
+ Tizen::Ui::Controls::ScrollPanel* __pScrollPanel;
+ Tizen::Ui::Controls::Slider* __pSlider;
+ Tizen::Base::Integer* __pRepeat;
+ Tizen::Base::String __repeatName;
+ int __selectedIndex;
+ Tizen::Base::Collection::ArrayList __selectedIndexValues;
+ bool __showRepeat;
+ bool __showType;
+ int __sliderDefaultValue;
+ Tizen::Base::String __snoozeDurationValue;
+ int __snoozeValue;
+ int __typeName;
+ Tizen::Base::String __typeNameValue;
+ Tizen::Base::Collection::StackT<int> __sliderValues;
+
+ public:
+ bool is24HourFormat;
+ bool isHourClicked;
+ int systemVolume;
+
+ };
+
+#endif // _CLK_ALARM_EDITOR_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmListForm.h\r
- * @brief This is the header file contains the declarations of the %AlarmListForm class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_ALARM_LIST_FORM_H_\r
-#define _CLK_ALARM_LIST_FORM_H_\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkSortByPopUp.h"\r
-\r
-class AlarmListForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::System::ISettingEventListener\r
- , public ISortByEventListener\r
- {\r
- public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmListForm(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmListForm(void);\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- //result OnDraw(void);\r
-\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- /**\r
- * This function is used to add the contextmenu on the footer.\r
- *\r
- * @return result type\r
- * @param pt Point type\r
- */\r
- result InitContextMenu(const Tizen::Graphics::Point& point);\r
-\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
-\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};\r
-\r
- virtual void OnSortByPopUpItemSelected(SortBy sortby);\r
-\r
- virtual void OnSettingChanged(Tizen::Base::String& key);\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- private:\r
- SortBy __alarmSortbyType;\r
- AlarmData* __pAlarm;\r
- Tizen::App::AppRegistry* __pAppRegistry;\r
- Tizen::Base::Collection::ArrayList* __pData;\r
- Tizen::Ui::Controls::ListContextItem* __pItemContext;\r
- Tizen::Ui::Controls::ListContextItem* __pItemContextLandscape;\r
- bool __noAlarms;\r
- Tizen::Ui::Controls::ListView* __pListview;\r
- Tizen::Ui::Controls::ContextMenu* __pMenu;\r
- SortByPopUp* __pPopUp;\r
- Tizen::Base::String __sortByOption;\r
- int __timerResetFlag;\r
- Tizen::Base::String __timerResetKey;\r
-\r
- public:\r
- bool is24HourFormat;\r
- };\r
-\r
-#endif // _CLK_ALARM_LIST_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmListForm.h
+ * @brief This is the header file contains the declarations of the %AlarmListForm class.
+ *
+ */
+
+#ifndef _CLK_ALARM_LIST_FORM_H_
+#define _CLK_ALARM_LIST_FORM_H_
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FSystem.h>
+
+#include "ClkAlarm.h"
+#include "ClkSortByPopUp.h"
+
+class AlarmListForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::System::ISettingEventListener
+ , public ISortByEventListener
+ {
+ public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmListForm(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmListForm(void);
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool Initialize(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+
+ //result OnDraw(void);
+
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ /**
+ * This function is used to add the contextmenu on the footer.
+ *
+ * @return result type
+ * @param pt Point type
+ */
+ result InitContextMenu(const Tizen::Graphics::Point& point);
+
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};
+
+ virtual void OnSortByPopUpItemSelected(SortBy sortby);
+
+ virtual void OnSettingChanged(Tizen::Base::String& key);
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ private:
+ SortBy __alarmSortbyType;
+ AlarmData* __pAlarm;
+ Tizen::App::AppRegistry* __pAppRegistry;
+ Tizen::Base::Collection::ArrayList* __pData;
+ Tizen::Ui::Controls::ListContextItem* __pItemContext;
+ Tizen::Ui::Controls::ListContextItem* __pItemContextLandscape;
+ bool __noAlarms;
+ Tizen::Ui::Controls::ListView* __pListview;
+ Tizen::Ui::Controls::ContextMenu* __pMenu;
+ SortByPopUp* __pPopUp;
+ Tizen::Base::String __sortByOption;
+ int __timerResetFlag;
+ Tizen::Base::String __timerResetKey;
+
+ public:
+ bool is24HourFormat;
+ };
+
+#endif // _CLK_ALARM_LIST_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-//\r
-/**\r
- * @file ClkAlarmPresentationModel.h\r
- * @brief This is the header file for AlarmPresentationModel class\r
- */\r
-\r
-\r
-#ifndef _CLK_ALARM_PRESENTATION_MODEL_H_\r
-#define _CLK_ALARM_PRESENTATION_MODEL_H_\r
-\r
-\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkDataServiceProvider.h"\r
-\r
-/**\r
- * @class AlarmPresentationModel\r
- * @brief This class declares functions which will manage database\r
- */\r
-class AlarmPresentationModel\r
-{\r
-public:\r
-\r
- /**\r
- * Initialize AlarmPresentaion Model\r
- */\r
- result Initialize(void);\r
-\r
- /**\r
- * This function sets the listener class for IAlarmEventListener\r
- *\r
- * @return An error code\r
- * @param pListener listener of type IAlarmEventListener\r
- */\r
- void AddEventListener(Tizen::System::IAlarmEventListener* pListener);\r
-\r
- /*\r
- * This function creates the list of alarms\r
- *\r
- * @return An error code\r
- * @param nAlarmCount The no of Alarm present\r
- * @param alarmList An ArrayList where the Alarm will be stored\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful as the list is not being created\r
- * @remarks To work properly , the alarm count and and existing list should be passed\r
- */\r
- result CreateAlarmListN(int alarmCount, Tizen::Base::Collection::ArrayList& alarmList);\r
-\r
- /**\r
- * This function gets the sort all alarms based on createdTime\r
- *\r
- * @return An error code\r
- * @param alarmTimeList list of alarms after sorting\r
- */\r
- void CreatedTimeSort(Tizen::Base::Collection::ArrayList& alarmTimeList);\r
-\r
- /**\r
- * This function gets the recent Alarm out of all the alarms\r
- *\r
- * @return An error code\r
- * @param alarmTimeList list of alarms after sorting\r
- */\r
- void DateTimeSort(Tizen::Base::Collection::ArrayList& alarmTimeList);\r
-\r
- /*\r
- * This function deletes the alarm from the alarm table\r
- *\r
- * @return An error code\r
- * @param alarmId The alarm id\r
- * @exception E_SUCCESS The alarm is successfully deleted\r
- * @exception E_FAILURE The alarm deletion is unsuccessful\r
- */\r
- result DeleteAlarm(int alarmId);\r
-\r
- /*\r
- * This function deletes the alarms from the alarm table\r
- *\r
- * @return An error code\r
- * @param alarmList The list of alarms to delete\r
- * @exception E_SUCCESS The alarms are successfully deleted\r
- * @exception E_FAILURE The alarm deletion is unsuccessful\r
- */\r
- result DeleteAlarm(Tizen::Base::Collection::ArrayList& alarmList);\r
-\r
- /*\r
- * This function selects the alarm from the table\r
- *\r
- * @return An error code\r
- * @param startIndex the OFFSET value\r
- * @param limit The LIMIT till which the select statement will be executed\r
- * @param bookmarkList The arraylist where the selected alarm will be retrieved\r
- */\r
- result GetAlarm(const int startIndex, const int limit, Tizen::Base::Collection::ArrayList& alarmList);\r
-\r
- /**\r
- * This function returns the number of Alarms\r
- *\r
- * @return An error code\r
- * @param count output parameter to get alarm count\r
- */\r
- result GetAlarmCount(int& count) const;\r
-\r
- /**\r
- * This function returns the instance of AlarmPresentationModel\r
- *\r
- * @return The instance of AlarmPresentationModel\r
- */\r
- static AlarmPresentationModel* GetInstance(void);\r
-\r
- /**\r
- * This function gets the recent Alarm out of all the alarms \r
- *\r
- * @return An error code\r
- * @param recentAlarm the next alarm time out of all the alarms\r
- */\r
- result GetRecentAlarm(Tizen::Base::DateTime& recentAlarmTime, AlarmData& recentAlarm);\r
-\r
- /**\r
- * This function adds the alarm to the alarm table\r
- *\r
- * @return An error code\r
- * @param alarm Alarm object\r
- * @exception E_SUCCESS The alarm is inserted successfully to the table\r
- * @exception E_FAILURE The alarm is not inserted successfully\r
- */\r
- result SaveAlarm(AlarmData& alarm);\r
-\r
- void SetAlarm(const AlarmData& alarm);\r
-\r
- /**\r
- * This function sets the listener class for Form\r
- *\r
- * @return An error code\r
- * @param pForm listener of type Form\r
- */\r
- void SetCurrentForm(Tizen::Ui::Controls::Form* pForm);\r
-\r
- AlarmData* GetAlarm(void) const;\r
-\r
-private:\r
- /**\r
- * Default constructor\r
- */\r
- AlarmPresentationModel(void);\r
-\r
- /**\r
- *@brief Initialises the instance the class Alarm with the specified parameter\r
- */\r
- AlarmPresentationModel(const AlarmPresentationModel& alarmPresentationModel);\r
-\r
- /**\r
- *@brief "=" operator overloading\r
- */\r
- AlarmPresentationModel& operator =(const AlarmPresentationModel& alarmPresentationModel);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- ~AlarmPresentationModel(void);\r
-\r
- /**\r
- * This function constructs the instance of AlarmPresentationModel\r
- *\r
- */\r
- result Construct(void);\r
-\r
- /**\r
- * This function creates the instance of AlarmPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void CreateInstance(void);\r
-\r
- /**\r
- * This function destroys the instance of AlarmPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void DestroyInstance(void);\r
-\r
-\r
-\r
-\r
-private:\r
- AlarmData* __pAlarm;\r
- Tizen::Ui::Controls::Form* __pForm;\r
- static AlarmPresentationModel* __pInstance;\r
- Tizen::System::IAlarmEventListener* __pListener;\r
- Tizen::System::Alarm* __pSystemAlarm;\r
- };\r
-\r
-#endif //_CLK_ALARM_PRESENTATION_MODEL_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+//
+/**
+ * @file ClkAlarmPresentationModel.h
+ * @brief This is the header file for AlarmPresentationModel class
+ */
+
+
+#ifndef _CLK_ALARM_PRESENTATION_MODEL_H_
+#define _CLK_ALARM_PRESENTATION_MODEL_H_
+
+
+#include <FSystem.h>
+#include <FUi.h>
+
+#include "ClkAlarm.h"
+#include "ClkDataServiceProvider.h"
+
+/**
+ * @class AlarmPresentationModel
+ * @brief This class declares functions which will manage database
+ */
+class AlarmPresentationModel
+{
+public:
+
+ /**
+ * Initialize AlarmPresentaion Model
+ */
+ result Initialize(void);
+
+ /**
+ * This function sets the listener class for IAlarmEventListener
+ *
+ * @return An error code
+ * @param pListener listener of type IAlarmEventListener
+ */
+ void AddEventListener(Tizen::System::IAlarmEventListener* pListener);
+
+ /*
+ * This function creates the list of alarms
+ *
+ * @return An error code
+ * @param nAlarmCount The no of Alarm present
+ * @param alarmList An ArrayList where the Alarm will be stored
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful as the list is not being created
+ * @remarks To work properly , the alarm count and and existing list should be passed
+ */
+ result CreateAlarmListN(int alarmCount, Tizen::Base::Collection::ArrayList& alarmList);
+
+ /**
+ * This function gets the sort all alarms based on createdTime
+ *
+ * @return An error code
+ * @param alarmTimeList list of alarms after sorting
+ */
+ void CreatedTimeSort(Tizen::Base::Collection::ArrayList& alarmTimeList);
+
+ /**
+ * This function gets the recent Alarm out of all the alarms
+ *
+ * @return An error code
+ * @param alarmTimeList list of alarms after sorting
+ */
+ void DateTimeSort(Tizen::Base::Collection::ArrayList& alarmTimeList);
+
+ /*
+ * This function deletes the alarm from the alarm table
+ *
+ * @return An error code
+ * @param alarmId The alarm id
+ * @exception E_SUCCESS The alarm is successfully deleted
+ * @exception E_FAILURE The alarm deletion is unsuccessful
+ */
+ result DeleteAlarm(int alarmId);
+
+ /*
+ * This function deletes the alarms from the alarm table
+ *
+ * @return An error code
+ * @param alarmList The list of alarms to delete
+ * @exception E_SUCCESS The alarms are successfully deleted
+ * @exception E_FAILURE The alarm deletion is unsuccessful
+ */
+ result DeleteAlarm(Tizen::Base::Collection::ArrayList& alarmList);
+
+ /*
+ * This function selects the alarm from the table
+ *
+ * @return An error code
+ * @param startIndex the OFFSET value
+ * @param limit The LIMIT till which the select statement will be executed
+ * @param bookmarkList The arraylist where the selected alarm will be retrieved
+ */
+ result GetAlarm(const int startIndex, const int limit, Tizen::Base::Collection::ArrayList& alarmList);
+
+ /**
+ * This function returns the number of Alarms
+ *
+ * @return An error code
+ * @param count output parameter to get alarm count
+ */
+ result GetAlarmCount(int& count) const;
+
+ /**
+ * This function returns the instance of AlarmPresentationModel
+ *
+ * @return The instance of AlarmPresentationModel
+ */
+ static AlarmPresentationModel* GetInstance(void);
+
+ /**
+ * This function gets the recent Alarm out of all the alarms
+ *
+ * @return An error code
+ * @param recentAlarm the next alarm time out of all the alarms
+ */
+ result GetRecentAlarm(Tizen::Base::DateTime& recentAlarmTime, AlarmData& recentAlarm);
+
+ /**
+ * This function adds the alarm to the alarm table
+ *
+ * @return An error code
+ * @param alarm Alarm object
+ * @exception E_SUCCESS The alarm is inserted successfully to the table
+ * @exception E_FAILURE The alarm is not inserted successfully
+ */
+ result SaveAlarm(AlarmData& alarm);
+
+ void SetAlarm(const AlarmData& alarm);
+
+ /**
+ * This function sets the listener class for Form
+ *
+ * @return An error code
+ * @param pForm listener of type Form
+ */
+ void SetCurrentForm(Tizen::Ui::Controls::Form* pForm);
+
+ AlarmData* GetAlarm(void) const;
+
+private:
+ /**
+ * Default constructor
+ */
+ AlarmPresentationModel(void);
+
+ /**
+ *@brief Initialises the instance the class Alarm with the specified parameter
+ */
+ AlarmPresentationModel(const AlarmPresentationModel& alarmPresentationModel);
+
+ /**
+ *@brief "=" operator overloading
+ */
+ AlarmPresentationModel& operator =(const AlarmPresentationModel& alarmPresentationModel);
+
+ /**
+ * Default destructor
+ */
+ ~AlarmPresentationModel(void);
+
+ /**
+ * This function constructs the instance of AlarmPresentationModel
+ *
+ */
+ result Construct(void);
+
+ /**
+ * This function creates the instance of AlarmPresentationModel
+ *
+ * @return No return value
+ */
+ static void CreateInstance(void);
+
+ /**
+ * This function destroys the instance of AlarmPresentationModel
+ *
+ * @return No return value
+ */
+ static void DestroyInstance(void);
+
+
+
+
+private:
+ AlarmData* __pAlarm;
+ Tizen::Ui::Controls::Form* __pForm;
+ static AlarmPresentationModel* __pInstance;
+ Tizen::System::IAlarmEventListener* __pListener;
+ Tizen::System::Alarm* __pSystemAlarm;
+ };
+
+#endif //_CLK_ALARM_PRESENTATION_MODEL_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRepeatCustomItem.h\r
- * @brief The %AlarmRepeatCustomItem defines Alarmrepeat custom item.\r
- */\r
-\r
-#ifndef _CLK_ALARM_REPEAT_CUSTOM_ITEM_H_\r
-#define _CLK_ALARM_REPEAT_CUSTOM_ITEM_H_\r
-\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarm.h"\r
-\r
-class AlarmRepeatCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- AlarmRepeatCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~AlarmRepeatCustomItem(void);\r
- /**\r
- * @brief Initializes this instance of %DropDownCustomItem.\r
- *\r
- * @return An error code\r
- * @param[in] width The width of the Custom Item\r
- * @param[in] height The height of the Custom Item\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Construct(int width, int height, bool itemChecked, bool is24Format);\r
-\r
- //getter and setter methods for Text\r
- /**\r
- * This function gets the repeat flag for the alarm object\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- Tizen::Base::String GetRepeatFlag(void) const;\r
-\r
- /**\r
- * @brief The method used to get the text of CustomItem\r
- * @return A String\r
- * @param No parameter\r
- */\r
- Tizen::Base::String GetText(void) const;\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- *\r
- * @return An error code\r
- * @param[in] void An instance of the Rectangle class @n\r
- * This instance represents the x and y coordinates of the top-left corner of the created window along with\r
- * the width and height of the window.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result MakeAlarmRepeatCustomItem(void);\r
-\r
- /**\r
- * @brief The method used to set alarm\r
- * @return no return value\r
- * @param[in] alarm The alarm object\r
- */\r
- void SetAlarm(const AlarmData& alarm);\r
-\r
- /**\r
- * @brief The method used to set repeat flag for alarm\r
- * @return no return value\r
- * @param[in] flag The flag to be set for alarm\r
- */\r
- void SetRepeatFlags(const Tizen::Base::String& flag);\r
-\r
- /**\r
- * @brief The method used to set the text of CustomItem\r
- * @return no return value\r
- * @param[in] text The text to be set on CustomItem\r
- */\r
- void SetText(const Tizen::Base::String& text);\r
-\r
-private:\r
- int __height;\r
- bool __isItemChecked;\r
- bool __is24HourFormat;\r
- AlarmData* __pAlarm;\r
- Tizen::Base::String __repeatFlags;\r
- Tizen::Base::String __text;\r
- int __width;\r
-\r
-};\r
-\r
-#endif /* _CLK_ALARM_REPEAT_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRepeatCustomItem.h
+ * @brief The %AlarmRepeatCustomItem defines Alarmrepeat custom item.
+ */
+
+#ifndef _CLK_ALARM_REPEAT_CUSTOM_ITEM_H_
+#define _CLK_ALARM_REPEAT_CUSTOM_ITEM_H_
+
+#include <FUi.h>
+
+#include "ClkAlarm.h"
+
+class AlarmRepeatCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ AlarmRepeatCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~AlarmRepeatCustomItem(void);
+ /**
+ * @brief Initializes this instance of %DropDownCustomItem.
+ *
+ * @return An error code
+ * @param[in] width The width of the Custom Item
+ * @param[in] height The height of the Custom Item
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Construct(int width, int height, bool itemChecked, bool is24Format);
+
+ //getter and setter methods for Text
+ /**
+ * This function gets the repeat flag for the alarm object
+ *
+ * @return A String
+ * @param No parameter
+ */
+ Tizen::Base::String GetRepeatFlag(void) const;
+
+ /**
+ * @brief The method used to get the text of CustomItem
+ * @return A String
+ * @param No parameter
+ */
+ Tizen::Base::String GetText(void) const;
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ *
+ * @return An error code
+ * @param[in] void An instance of the Rectangle class @n
+ * This instance represents the x and y coordinates of the top-left corner of the created window along with
+ * the width and height of the window.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result MakeAlarmRepeatCustomItem(void);
+
+ /**
+ * @brief The method used to set alarm
+ * @return no return value
+ * @param[in] alarm The alarm object
+ */
+ void SetAlarm(const AlarmData& alarm);
+
+ /**
+ * @brief The method used to set repeat flag for alarm
+ * @return no return value
+ * @param[in] flag The flag to be set for alarm
+ */
+ void SetRepeatFlags(const Tizen::Base::String& flag);
+
+ /**
+ * @brief The method used to set the text of CustomItem
+ * @return no return value
+ * @param[in] text The text to be set on CustomItem
+ */
+ void SetText(const Tizen::Base::String& text);
+
+private:
+ int __height;
+ bool __isItemChecked;
+ bool __is24HourFormat;
+ AlarmData* __pAlarm;
+ Tizen::Base::String __repeatFlags;
+ Tizen::Base::String __text;
+ int __width;
+
+};
+
+#endif /* _CLK_ALARM_REPEAT_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRingingForm.h\r
- * @brief This header file contains the declarations of the AlarmRingingForm class.\r
- *\r
- */\r
-\r
-#ifndef CLKALARMRINGINGFORM_H_\r
-#define CLKALARMRINGINGFORM_H_\r
-\r
-#include <FTelCallManager.h>\r
-\r
-#include "ClkAlarm.h"\r
-\r
-class AlarmRingingForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Media::IPlayerEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::Telephony::ITelephonyCallEventListener\r
-{\r
-public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmRingingForm();\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmRingingForm();\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- result OnInitializing(void);\r
-\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- virtual void OnPlayerOpened(result r) {}\r
- virtual void OnPlayerEndOfClip(void) {}\r
- virtual void OnPlayerBuffering(int percent) {}\r
- virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}\r
- virtual void OnPlayerInterrupted(void) {}\r
- virtual void OnPlayerReleased(void) {}\r
- virtual void OnPlayerSeekCompleted(result r) {}\r
-\r
- void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);\r
-\r
- virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);\r
-\r
- /**\r
- * @brief This will be called every second to ensure clock feature is achieved\r
- *\r
- * @return No return type\r
- * @param[in] void\r
- */\r
- void ShowClock(void);\r
-\r
- /**\r
- * @brief This method is used to start audio playing when alarm rings.\r
- *\r
- * @return No return type\r
- * @param[in] void\r
- */\r
- result StartAudio(Tizen::Base::String& path, int volume);\r
-\r
- /**\r
- * @brief This method is used to start vibrator when alarm rings and the type is in vibrator.\r
- *\r
- * @return No return type\r
- * @param[in] void\r
- */\r
- result StartVibrator(void);\r
-\r
-private:\r
- int __hours;\r
- int __minutes;\r
- AlarmData* __pAlarm;\r
- Tizen::Ui::Controls::Label* __pAlarmTimeLabel;\r
- Tizen::Ui::Controls::Label* __pAlarmTitleLabel;\r
- Tizen::Ui::Controls::Label* __pClockLabel;\r
- Tizen::Ui::Controls::Label* __pCurrentTimeLabel;\r
- Tizen::Ui::Controls::Button* __pSnoozeButton;\r
- Tizen::Ui::Controls::Button* __pStopButton;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Telephony::CallManager __callManager;\r
- Tizen::Media::Player* __pPlayer;\r
- Tizen::System::Vibrator* __pVibrator;\r
-};\r
-\r
-#endif /* CLKALARMRINGINGFORM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRingingForm.h
+ * @brief This header file contains the declarations of the AlarmRingingForm class.
+ *
+ */
+
+#ifndef CLKALARMRINGINGFORM_H_
+#define CLKALARMRINGINGFORM_H_
+
+#include <FTelCallManager.h>
+
+#include "ClkAlarm.h"
+
+class AlarmRingingForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Media::IPlayerEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::System::ISettingEventListener
+ , public Tizen::Telephony::ITelephonyCallEventListener
+{
+public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmRingingForm();
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmRingingForm();
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool Initialize(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ result OnInitializing(void);
+
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ virtual void OnPlayerOpened(result r) {}
+ virtual void OnPlayerEndOfClip(void) {}
+ virtual void OnPlayerBuffering(int percent) {}
+ virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}
+ virtual void OnPlayerInterrupted(void) {}
+ virtual void OnPlayerReleased(void) {}
+ virtual void OnPlayerSeekCompleted(result r) {}
+
+ void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);
+
+ virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);
+
+ /**
+ * @brief This will be called every second to ensure clock feature is achieved
+ *
+ * @return No return type
+ * @param[in] void
+ */
+ void ShowClock(void);
+
+ /**
+ * @brief This method is used to start audio playing when alarm rings.
+ *
+ * @return No return type
+ * @param[in] void
+ */
+ result StartAudio(Tizen::Base::String& path, int volume);
+
+ /**
+ * @brief This method is used to start vibrator when alarm rings and the type is in vibrator.
+ *
+ * @return No return type
+ * @param[in] void
+ */
+ result StartVibrator(void);
+
+ virtual void OnSettingChanged(Tizen::Base::String& key);
+
+private:
+ int __hours;
+ int __minutes;
+ AlarmData* __pAlarm;
+ Tizen::Ui::Controls::Label* __pAlarmTimeLabel;
+ Tizen::Ui::Controls::Label* __pAlarmTitleLabel;
+ Tizen::Ui::Controls::Label* __pClockLabel;
+ Tizen::Ui::Controls::Label* __pCurrentTimeLabel;
+ Tizen::Ui::Controls::Button* __pSnoozeButton;
+ Tizen::Ui::Controls::Button* __pStopButton;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Telephony::CallManager __callManager;
+ Tizen::Media::Player* __pPlayer;
+ Tizen::System::Vibrator* __pVibrator;
+
+public:
+ bool is24HourFormat;
+};
+
+#endif /* CLKALARMRINGINGFORM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRingingLockForm.h\r
- * @brief This is the header file for AlarmRingingLockForm class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_ALARM_RINGING_LOCK_FORM_H_\r
-#define _CLK_ALARM_RINGING_LOCK_FORM_H_\r
-\r
-#include <FTelCallManager.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkAlarmRingingLockPanel.h"\r
-#include "ClkAlarmRingingSnoozeOffPanel.h"\r
-#include "ClkTypes.h"\r
-\r
-class AlarmRingingLockForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Media::IPlayerEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::Telephony::ITelephonyCallEventListener\r
- , public IAlarmRingingLockPanelEvent\r
-{\r
-public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmRingingLockForm();\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmRingingLockForm();\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- result OnInitializing(void);\r
-\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- virtual void OnAlarmRingingLockEvent(AlarmRingingCommandId commandId);\r
-\r
- virtual void OnPlayerOpened(result r) {}\r
- virtual void OnPlayerEndOfClip(void) {}\r
- virtual void OnPlayerBuffering(int percent) {}\r
- virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}\r
- virtual void OnPlayerInterrupted(void) {}\r
- virtual void OnPlayerReleased(void) {}\r
- virtual void OnPlayerSeekCompleted(result r) {}\r
-\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);\r
-\r
- /**\r
- * @brief This will be called every second to ensure clock feature is achieved\r
- *\r
- * @return No return type\r
- * @param[in] void\r
- *\r
- */\r
- void ShowClock(void);\r
-\r
- /**\r
- * @brief This method is used to start audio playing when alarm rings.\r
- *\r
- * @return No return type\r
- * @param[in] void\r
- */\r
- result StartAudio(Tizen::Base::String& path, int volume);\r
-\r
- /**\r
- * @brief This method is used to start vibrator when alarm rings and the type is in vibrator.\r
- *\r
- * @return No return type\r
- * @param[in] void\r
- */\r
- result StartVibrator(void);\r
-\r
-private:\r
- int __hours;\r
- int __minutes;\r
- AlarmData* __pAlarm;\r
- AlarmRingingLockPanel* __pAlarmRingPanel;\r
- AlarmRingingSnoozeOffPanel* __pAlarmRingingSnoozeOffPanel;\r
- Tizen::Ui::Controls::Label* __pAlarmTimeLabel;\r
- Tizen::Ui::Controls::Label* __pAlarmTitleLabel;\r
- Tizen::Ui::Controls::Label* __pClockLabel;\r
- Tizen::Ui::Controls::Label* __pCurrentTimeLabel;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Telephony::CallManager __callManager;\r
- Tizen::Media::Player* __pPlayer;\r
- Tizen::System::Vibrator* __pVibrator;\r
-\r
-};\r
-\r
-#endif // _CLK_ALARM_RINGING_LOCK_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRingingLockForm.h
+ * @brief This is the header file for AlarmRingingLockForm class.
+ *
+ */
+
+#ifndef _CLK_ALARM_RINGING_LOCK_FORM_H_
+#define _CLK_ALARM_RINGING_LOCK_FORM_H_
+
+#include <FTelCallManager.h>
+
+#include "ClkAlarm.h"
+#include "ClkAlarmRingingLockPanel.h"
+#include "ClkAlarmRingingSnoozeOffPanel.h"
+#include "ClkTypes.h"
+
+class AlarmRingingLockForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Media::IPlayerEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::Telephony::ITelephonyCallEventListener
+ , public IAlarmRingingLockPanelEvent
+{
+public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmRingingLockForm();
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmRingingLockForm();
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool Initialize(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ result OnInitializing(void);
+
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ virtual void OnAlarmRingingLockEvent(AlarmRingingCommandId commandId);
+
+ virtual void OnPlayerOpened(result r) {}
+ virtual void OnPlayerEndOfClip(void) {}
+ virtual void OnPlayerBuffering(int percent) {}
+ virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}
+ virtual void OnPlayerInterrupted(void) {}
+ virtual void OnPlayerReleased(void) {}
+ virtual void OnPlayerSeekCompleted(result r) {}
+
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);
+
+ /**
+ * @brief This will be called every second to ensure clock feature is achieved
+ *
+ * @return No return type
+ * @param[in] void
+ *
+ */
+ void ShowClock(void);
+
+ /**
+ * @brief This method is used to start audio playing when alarm rings.
+ *
+ * @return No return type
+ * @param[in] void
+ */
+ result StartAudio(Tizen::Base::String& path, int volume);
+
+ /**
+ * @brief This method is used to start vibrator when alarm rings and the type is in vibrator.
+ *
+ * @return No return type
+ * @param[in] void
+ */
+ result StartVibrator(void);
+
+private:
+ int __hours;
+ int __minutes;
+ AlarmData* __pAlarm;
+ AlarmRingingLockPanel* __pAlarmRingPanel;
+ AlarmRingingSnoozeOffPanel* __pAlarmRingingSnoozeOffPanel;
+ Tizen::Ui::Controls::Label* __pAlarmTimeLabel;
+ Tizen::Ui::Controls::Label* __pAlarmTitleLabel;
+ Tizen::Ui::Controls::Label* __pClockLabel;
+ Tizen::Ui::Controls::Label* __pCurrentTimeLabel;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Telephony::CallManager __callManager;
+ Tizen::Media::Player* __pPlayer;
+ Tizen::System::Vibrator* __pVibrator;
+
+};
+
+#endif // _CLK_ALARM_RINGING_LOCK_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRingingLockPanel.h\r
- * @brief This header file contains the declarations of the %AlarmRingingLockPanel class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_ALARM_RINGING_LOCKPANEL_H_\r
-#define _CLK_ALARM_RINGING_LOCKPANEL_H_\r
-\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-enum AlarmRingingCommandId\r
-{\r
- ALARM_RINGING_PANEL_SNOOZE = 0,\r
- ALARM_RINGING_PANEL_STOP,\r
- ALARM_RINGING_PANEL_COUNT\r
-};\r
-\r
-class IAlarmRingingLockPanelEvent\r
-{\r
-public:\r
- virtual ~IAlarmRingingLockPanelEvent(void){}\r
- virtual void OnAlarmRingingLockEvent(AlarmRingingCommandId commandId) = 0;\r
-};\r
-class AlarmRingingLockPanel\r
- : public Tizen::Ui::Controls::Panel\r
- , public Tizen::Ui::ITouchEventListener\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
-{\r
-public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmRingingLockPanel();\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmRingingLockPanel();\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return result type\r
- * @param controlRect Rectangle\r
- */\r
- result Construct(Tizen::Graphics::Rectangle controlRect);\r
-\r
- //IAlarmRingingLockPanelEvent\r
- void SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener);\r
-\r
- //ITouchEventListener\r
- virtual void OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
- virtual void OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
- virtual void OnTouchMoved(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
- virtual void OnTouchFocusIn(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}\r
- virtual void OnTouchFocusOut(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
-private:\r
- AlarmRingingCommandId __commandId;\r
- Tizen::Graphics::Point __controlRestPosition;\r
- bool __isDragging;\r
- IAlarmRingingLockPanelEvent* __pEventListener;\r
- Tizen::Graphics::Bitmap* __pSnoozeArrowBitmap;\r
- Tizen::Graphics::Bitmap* __pSnoozeArrowPressedBitmap;\r
- Tizen::Ui::Controls::Label* __pSnoozeLabel;\r
- Tizen::Ui::Controls::Panel* __pSnoozePanel;\r
- Tizen::Graphics::Bitmap* __pStopArrowBitmap;\r
- Tizen::Graphics::Bitmap* __pStopArrowPressedBitmap;\r
- Tizen::Ui::Controls::Label* __pStopLabel;\r
- Tizen::Ui::Controls::Panel* __pStopPanel;\r
- Tizen::Base::Runtime::Timer* __pUpdateTimer;\r
-};\r
-\r
-#endif /* _CLK_ALARM_RINGING_LOCKPANEL_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRingingLockPanel.h
+ * @brief This header file contains the declarations of the %AlarmRingingLockPanel class.
+ *
+ */
+
+#ifndef _CLK_ALARM_RINGING_LOCKPANEL_H_
+#define _CLK_ALARM_RINGING_LOCKPANEL_H_
+
+#include <FBase.h>
+#include <FUi.h>
+
+enum AlarmRingingCommandId
+{
+ ALARM_RINGING_PANEL_SNOOZE = 0,
+ ALARM_RINGING_PANEL_STOP,
+ ALARM_RINGING_PANEL_COUNT
+};
+
+class IAlarmRingingLockPanelEvent
+{
+public:
+ virtual ~IAlarmRingingLockPanelEvent(void){}
+ virtual void OnAlarmRingingLockEvent(AlarmRingingCommandId commandId) = 0;
+};
+class AlarmRingingLockPanel
+ : public Tizen::Ui::Controls::Panel
+ , public Tizen::Ui::ITouchEventListener
+ , public Tizen::Base::Runtime::ITimerEventListener
+{
+public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmRingingLockPanel();
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmRingingLockPanel();
+
+ /**
+ * This function constructs the form
+ *
+ * @return result type
+ * @param controlRect Rectangle
+ */
+ result Construct(Tizen::Graphics::Rectangle controlRect);
+
+ //IAlarmRingingLockPanelEvent
+ void SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener);
+
+ //ITouchEventListener
+ virtual void OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+ virtual void OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+ virtual void OnTouchMoved(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+ virtual void OnTouchFocusIn(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}
+ virtual void OnTouchFocusOut(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+private:
+ AlarmRingingCommandId __commandId;
+ Tizen::Graphics::Point __controlRestPosition;
+ bool __isDragging;
+ IAlarmRingingLockPanelEvent* __pEventListener;
+ Tizen::Graphics::Bitmap* __pSnoozeArrowBitmap;
+ Tizen::Graphics::Bitmap* __pSnoozeArrowPressedBitmap;
+ Tizen::Ui::Controls::Label* __pSnoozeLabel;
+ Tizen::Ui::Controls::Panel* __pSnoozePanel;
+ Tizen::Graphics::Bitmap* __pStopArrowBitmap;
+ Tizen::Graphics::Bitmap* __pStopArrowPressedBitmap;
+ Tizen::Ui::Controls::Label* __pStopLabel;
+ Tizen::Ui::Controls::Panel* __pStopPanel;
+ Tizen::Base::Runtime::Timer* __pUpdateTimer;
+};
+
+#endif /* _CLK_ALARM_RINGING_LOCKPANEL_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file AlarmRingingSnoozeOffPanel.h\r
- * @brief This header file contains the declarations of the AlarmRingingSnoozeOffPanel class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_ALARM_RINGING_SNOOZE_OFF_PANEL_H_\r
-#define _CLK_ALARM_RINGING_SNOOZE_OFF_PANEL_H_\r
-\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-#include "ClkAlarmRingingLockPanel.h"\r
-\r
-class AlarmRingingSnoozeOffPanel\r
- : public Tizen::Ui::Controls::Panel\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Ui::ITouchEventListener\r
-{\r
-public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- AlarmRingingSnoozeOffPanel();\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~AlarmRingingSnoozeOffPanel();\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return result type\r
- * @param controlRect Rectangle\r
- */\r
- result Construct(Tizen::Graphics::Rectangle controlRect);\r
-\r
- //IAlarmRingingLockPanelEvent\r
- void SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener);\r
-\r
- //ITouchEventListener\r
- virtual void OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
- virtual void OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
- virtual void OnTouchMoved(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);\r
- virtual void OnTouchFocusIn(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}\r
- virtual void OnTouchFocusOut(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
-private:\r
- AlarmRingingCommandId __commandId;\r
- bool __isDragging;\r
- IAlarmRingingLockPanelEvent* __pEventListener;\r
- Tizen::Graphics::Bitmap* __pStopBitmap;\r
- Tizen::Ui::Controls::Label* __pStopLabel;\r
- Tizen::Graphics::Bitmap* __pStopPressedBitmap;\r
- Tizen::Base::Runtime::Timer* __pUpdateTimer;\r
-\r
-};\r
-\r
-#endif // _CLK_ALARM_RINGING_SNOOZE_OFF_PANEL_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file AlarmRingingSnoozeOffPanel.h
+ * @brief This header file contains the declarations of the AlarmRingingSnoozeOffPanel class.
+ *
+ */
+
+#ifndef _CLK_ALARM_RINGING_SNOOZE_OFF_PANEL_H_
+#define _CLK_ALARM_RINGING_SNOOZE_OFF_PANEL_H_
+
+#include <FBase.h>
+#include <FUi.h>
+#include "ClkAlarmRingingLockPanel.h"
+
+class AlarmRingingSnoozeOffPanel
+ : public Tizen::Ui::Controls::Panel
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Ui::ITouchEventListener
+{
+public:
+ /**
+ * @brief Default constructor
+ */
+ AlarmRingingSnoozeOffPanel();
+ /**
+ *@brief Default destructor
+ */
+ virtual ~AlarmRingingSnoozeOffPanel();
+ /**
+ * This function constructs the form
+ *
+ * @return result type
+ * @param controlRect Rectangle
+ */
+ result Construct(Tizen::Graphics::Rectangle controlRect);
+
+ //IAlarmRingingLockPanelEvent
+ void SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener);
+
+ //ITouchEventListener
+ virtual void OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+ virtual void OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+ virtual void OnTouchMoved(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo);
+ virtual void OnTouchFocusIn(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}
+ virtual void OnTouchFocusOut(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo& touchInfo) {}
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+private:
+ AlarmRingingCommandId __commandId;
+ bool __isDragging;
+ IAlarmRingingLockPanelEvent* __pEventListener;
+ Tizen::Graphics::Bitmap* __pStopBitmap;
+ Tizen::Ui::Controls::Label* __pStopLabel;
+ Tizen::Graphics::Bitmap* __pStopPressedBitmap;
+ Tizen::Base::Runtime::Timer* __pUpdateTimer;
+
+};
+
+#endif // _CLK_ALARM_RINGING_SNOOZE_OFF_PANEL_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkRadioCustomItem.h\r
- * @brief The %ClkRadioCustomItem defines radio custom item.\r
- *\r
- */\r
-\r
-#ifndef _CLK_CHECKBOX_CUSTOM_ITEM_H_\r
-#define _CLK_CHECKBOX_CUSTOM_ITEM_H_\r
-\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-\r
-class CheckBoxCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- CheckBoxCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~CheckBoxCustomItem(void);\r
-\r
- /**\r
- * @brief Initializes this instance of CheckBoxCustomItem .\r
- *\r
- * @return An error code\r
- * @param[in] width The width of the Custom Item\r
- * @param[in] height The height of the Custom Item\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Construct(int width, int height);\r
-\r
- //getter and setter methods for Text\r
- /**\r
- * @brief The method used to get selection state of the CheckBoxCustomItem\r
- * @return True if selected or false if unselected\r
- */\r
- bool GetSelected(void);\r
-\r
- /**\r
- * @brief The method used to get the text of CustomItem\r
- * @return An error code\r
- */\r
- Tizen::Base::String GetText(void);\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- *\r
- * @return An error code\r
- * @param[in] void An instance of the Rectangle class @n\r
- * This instance represents the x and y coordinates of the top-left corner of the created window along with\r
- * the width and height of the window.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Make(void);\r
-\r
- /**\r
- * @brief The method used to set the selection state of the Radio Button\r
- * @return void\r
- */\r
- void SetSelected(bool selectedValue);\r
-\r
- /**\r
- * @brief The method used to set the text of CustomItem\r
- * @return An error code\r
- */\r
- void SetText(Tizen::Base::String& text);\r
-\r
-private:\r
- int __height; ///Height of the CheckBoxCustomItem Instance\r
- bool __isSelected;\r
- Tizen::Base::String __text; ///The Text for the CheckBoxCustomItem\r
- int __width; ///Width of the CheckBoxCustomItem Instance\r
-};\r
-\r
-#endif /* _CLK_CHECKBOX_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkRadioCustomItem.h
+ * @brief The %ClkRadioCustomItem defines radio custom item.
+ *
+ */
+
+#ifndef _CLK_CHECKBOX_CUSTOM_ITEM_H_
+#define _CLK_CHECKBOX_CUSTOM_ITEM_H_
+
+#include <FBase.h>
+#include <FGraphics.h>
+
+class CheckBoxCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ CheckBoxCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~CheckBoxCustomItem(void);
+
+ /**
+ * @brief Initializes this instance of CheckBoxCustomItem .
+ *
+ * @return An error code
+ * @param[in] width The width of the Custom Item
+ * @param[in] height The height of the Custom Item
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Construct(int width, int height);
+
+ //getter and setter methods for Text
+ /**
+ * @brief The method used to get selection state of the CheckBoxCustomItem
+ * @return True if selected or false if unselected
+ */
+ bool GetSelected(void);
+
+ /**
+ * @brief The method used to get the text of CustomItem
+ * @return An error code
+ */
+ Tizen::Base::String GetText(void);
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ *
+ * @return An error code
+ * @param[in] void An instance of the Rectangle class @n
+ * This instance represents the x and y coordinates of the top-left corner of the created window along with
+ * the width and height of the window.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Make(void);
+
+ /**
+ * @brief The method used to set the selection state of the Radio Button
+ * @return void
+ */
+ void SetSelected(bool selectedValue);
+
+ /**
+ * @brief The method used to set the text of CustomItem
+ * @return An error code
+ */
+ void SetText(Tizen::Base::String& text);
+
+private:
+ int __height; ///Height of the CheckBoxCustomItem Instance
+ bool __isSelected;
+ Tizen::Base::String __text; ///The Text for the CheckBoxCustomItem
+ int __width; ///Width of the CheckBoxCustomItem Instance
+};
+
+#endif /* _CLK_CHECKBOX_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file CityListCustomItem\r
- * @brief This class defines common behaviour of custom Item.\r
- *\r
- */\r
-\r
-#ifndef _CLK_CITY_LIST_CUSTOM_ITEM_H_\r
-#define _CLK_CITY_LIST_CUSTOM_ITEM_H_\r
-\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUi.h>\r
-\r
-\r
-class CityListCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- CityListCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~CityListCustomItem(void);\r
-\r
-public:\r
-\r
- /**\r
- * @brief Initializes this instance of %DropDownCustomItem.\r
- */\r
- result Construct(int width, int height, bool searchBarModeOn);\r
-\r
- //getter and setter methods for Text\r
-\r
- /**\r
- * @brief The method used to get the subtext of CustomItem\r
- */\r
- Tizen::Base::String GetRightSubText(void);\r
-\r
- /**\r
- * @brief The method used to get the subtext of CustomItem\r
- */\r
- Tizen::Base::String GetSubText(void);\r
-\r
- /**\r
- * @brief The method used to get the text of CustomItem\r
- */\r
- Tizen::Base::String GetText(void);\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- */\r
- result Make(Tizen::Base::String& searchText);\r
-\r
- /**\r
- * @brief The method used to set the subtext of CustomItem\r
- */\r
- void SetRightSubText(Tizen::Base::String& text);\r
-\r
- /**\r
- * @brief The method used to set the subtext of CustomItem\r
- */\r
- void SetSubText(Tizen::Base::String& text);\r
-\r
- /**\r
- * @brief The method used to set the text of CustomItem\r
- */\r
- void SetText(Tizen::Base::String& text);\r
-\r
-private:\r
- int __height; ///Height of the SettingToggleCustomItem Instance\r
- Tizen::Base::String __rightSubText;\r
- Tizen::Base::String __subText;\r
- Tizen::Base::String __text; ///The Text for the Toggle Button\r
- int __width; ///Width of the SettingToggleCustomItem Instance\r
- bool searchBarModeInput;\r
-\r
-\r
-};\r
-\r
-#endif /* _CLK_CITY_LIST_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file CityListCustomItem
+ * @brief This class defines common behaviour of custom Item.
+ *
+ */
+
+#ifndef _CLK_CITY_LIST_CUSTOM_ITEM_H_
+#define _CLK_CITY_LIST_CUSTOM_ITEM_H_
+
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUi.h>
+
+
+class CityListCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ CityListCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~CityListCustomItem(void);
+
+public:
+
+ /**
+ * @brief Initializes this instance of %DropDownCustomItem.
+ */
+ result Construct(int width, int height, bool searchBarModeOn);
+
+ //getter and setter methods for Text
+
+ /**
+ * @brief The method used to get the subtext of CustomItem
+ */
+ Tizen::Base::String GetRightSubText(void);
+
+ /**
+ * @brief The method used to get the subtext of CustomItem
+ */
+ Tizen::Base::String GetSubText(void);
+
+ /**
+ * @brief The method used to get the text of CustomItem
+ */
+ Tizen::Base::String GetText(void);
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ */
+ result Make(Tizen::Base::String& searchText);
+
+ /**
+ * @brief The method used to set the subtext of CustomItem
+ */
+ void SetRightSubText(Tizen::Base::String& text);
+
+ /**
+ * @brief The method used to set the subtext of CustomItem
+ */
+ void SetSubText(Tizen::Base::String& text);
+
+ /**
+ * @brief The method used to set the text of CustomItem
+ */
+ void SetText(Tizen::Base::String& text);
+
+private:
+ int __height; ///Height of the SettingToggleCustomItem Instance
+ Tizen::Base::String __rightSubText;
+ Tizen::Base::String __subText;
+ Tizen::Base::String __text; ///The Text for the Toggle Button
+ int __width; ///Width of the SettingToggleCustomItem Instance
+ bool searchBarModeInput;
+
+
+};
+
+#endif /* _CLK_CITY_LIST_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file clkCityListForm.h\r
- * @brief This header file contains the declarations of the CityListForm class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_CITY_LIST_FORM_H_\r
-#define _CLK_CITY_LIST_FORM_H_\r
-\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkAlarm.h"\r
-\r
-class NameComparer: public Tizen::Base::Collection::IComparer\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- NameComparer();\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~NameComparer();\r
-\r
- //IComparer\r
- result Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const;\r
-};\r
-\r
-class TimeComparer: public Tizen::Base::Collection::IComparer\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- TimeComparer();\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~TimeComparer();\r
-\r
- //IComparer\r
- result Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const;\r
-};\r
-\r
-class CityListForm\r
-: public Tizen::Ui::Controls::Form\r
- , public Tizen::Ui::Controls::IFastScrollListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::Controls::ISearchBarEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IKeypadEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::Ui::ITextEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- CityListForm(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~CityListForm(void);\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param No parameter\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- /**\r
- * @brief Shows alert message.\r
- */\r
- void CreateMessage(Tizen::Base::String& str);\r
-\r
- public:\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IFastScrollListener\r
- virtual void OnFastScrollIndexSelected(Tizen::Ui::Control& source, Tizen::Base::String& index);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //IKeypadEventListener\r
- virtual void OnKeypadWillOpen(Tizen::Ui::Control& source);\r
- virtual void OnKeypadOpened(Tizen::Ui::Control& source);\r
- virtual void OnKeypadClosed(Tizen::Ui::Control& source);\r
- virtual void OnKeypadActionPerformed(Tizen::Ui::Control& source, Tizen::Ui::KeypadAction keypadAction);\r
-\r
- // IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback);\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction);\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- virtual void OnSearchBarModeChanged(Tizen::Ui::Controls::SearchBar& source, Tizen::Ui::Controls::SearchBarMode mode);\r
-\r
- virtual void OnTextValueChanged(const Tizen::Ui::Control& source);\r
- virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source) {};\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- private:\r
- NameComparer nameComparer;\r
- Tizen::Base::Collection::ArrayList* __pDataList;\r
- Tizen::Ui::Controls::MessageBox* __pMsgBox;\r
- Tizen::Ui::Controls::ListView* __pNameListview;\r
- Tizen::Ui::Controls::SearchBar* __pSearchBar;\r
- Tizen::Ui::Controls::ListView* __pTimeListview;\r
- Tizen::Base::String __searchText;\r
- TimeComparer timeComparer;\r
-\r
- };\r
-\r
-#endif // _CLK_CITY_LIST_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file clkCityListForm.h
+ * @brief This header file contains the declarations of the CityListForm class.
+ *
+ */
+
+#ifndef _CLK_CITY_LIST_FORM_H_
+#define _CLK_CITY_LIST_FORM_H_
+
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+#include <FUiScenes.h>
+
+#include "ClkAlarm.h"
+
+class NameComparer: public Tizen::Base::Collection::IComparer
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ NameComparer();
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~NameComparer();
+
+ //IComparer
+ result Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const;
+};
+
+class TimeComparer: public Tizen::Base::Collection::IComparer
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ TimeComparer();
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~TimeComparer();
+
+ //IComparer
+ result Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const;
+};
+
+class CityListForm
+: public Tizen::Ui::Controls::Form
+ , public Tizen::Ui::Controls::IFastScrollListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Controls::ISearchBarEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IKeypadEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::Ui::ITextEventListener
+ {
+ public:
+ /**
+ * @brief The Default Constructor
+ */
+ CityListForm(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~CityListForm(void);
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param No parameter
+ */
+ bool Initialize(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+
+ /**
+ * @brief Shows alert message.
+ */
+ void CreateMessage(Tizen::Base::String& str);
+
+ public:
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IFastScrollListener
+ virtual void OnFastScrollIndexSelected(Tizen::Ui::Control& source, Tizen::Base::String& index);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //IKeypadEventListener
+ virtual void OnKeypadWillOpen(Tizen::Ui::Control& source);
+ virtual void OnKeypadOpened(Tizen::Ui::Control& source);
+ virtual void OnKeypadClosed(Tizen::Ui::Control& source);
+ virtual void OnKeypadActionPerformed(Tizen::Ui::Control& source, Tizen::Ui::KeypadAction keypadAction);
+
+ // IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback);
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction);
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ virtual void OnSearchBarModeChanged(Tizen::Ui::Controls::SearchBar& source, Tizen::Ui::Controls::SearchBarMode mode);
+
+ virtual void OnTextValueChanged(const Tizen::Ui::Control& source);
+ virtual void OnTextValueChangeCanceled(const Tizen::Ui::Control& source) {};
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ private:
+ NameComparer nameComparer;
+ Tizen::Base::Collection::ArrayList* __pDataList;
+ Tizen::Ui::Controls::MessageBox* __pMsgBox;
+ Tizen::Ui::Controls::ListView* __pNameListview;
+ Tizen::Ui::Controls::SearchBar* __pSearchBar;
+ Tizen::Ui::Controls::ListView* __pTimeListview;
+ Tizen::Base::String __searchText;
+ TimeComparer timeComparer;
+
+ };
+
+#endif // _CLK_CITY_LIST_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkClockApp.h\r
- * @brief This header file contains the declarations of the ClockApp class.\r
- *\r
- */\r
-\r
-#ifndef _CLOCK_H_\r
-#define _CLOCK_H_\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarm.h"\r
-\r
-/**\r
- * [ClockApp] UiApp must inherit from UiApp class\r
- * which provides basic features necessary to define an UiApp.\r
- */\r
-class ClockApp\r
- : public Tizen::App::UiApp\r
- , public Tizen::System::IAlarmEventListener\r
- , public Tizen::System::ISettingEventListener\r
- , public Tizen::App::IAppLaunchConditionEventListener\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- ClockApp(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual~ClockApp(void);\r
-\r
- /**\r
- * [Test] UiApp must have a factory method that creates an instance of itself.\r
- */\r
- static Tizen::App::UiApp* CreateInstance(void);\r
-\r
- //IAlarmEventListener\r
- virtual void OnAlarmExpired(Tizen::System::Alarm& alarm);\r
-\r
- // Called when the UiApp is initializing.\r
- bool OnAppInitializing(Tizen::App::AppRegistry& appRegistry);\r
-\r
- // Called when the UiApp initializing is finished. \r
- bool OnAppInitialized(void); \r
-\r
- // Called when the UiApp is terminating.\r
- bool OnAppTerminating(Tizen::App::AppRegistry& appRegistry, bool forcedTermination = false);\r
-\r
- // Called when the UiApp is requested to terminate.\r
- bool OnAppWillTerminate(void);\r
-\r
- // Called when this UiApp's frame is moved from top of the screen to the background.\r
- void OnBackground(void);\r
-\r
- // Called when the battery level changes.\r
- void OnBatteryLevelChanged(Tizen::System::BatteryLevel batteryLevel);\r
-\r
- // Called when the UiApp's frame moves to the top of the screen.\r
- void OnForeground(void);\r
-\r
- // Called when the system memory is not sufficient to run the UiApp any further.\r
- void OnLowMemory(void);\r
-\r
- void ShowAlarmRingingForm(void);\r
-\r
- virtual void OnSettingChanged(Tizen::Base::String& key);\r
-\r
- virtual void OnAppLaunchConditionMetN (const Tizen::Base::String &condition, Tizen::Base::Object *pExtraData, Tizen::Base::Collection::IList *pArguments);\r
-\r
-private:\r
- Tizen::Base::String __nameKey;\r
- Tizen::App::AppRegistry* __pAppRegistry;\r
- AlarmData* __pAlarm;\r
- Tizen::Ui::Scenes::SceneId __sceneId;\r
- Tizen::Base::String __timerTimeKey;\r
- Tizen::Base::DateTime __timerTimeReached;\r
- Tizen::Base::String __timerResetKey;\r
- int __timerResetValue;\r
- bool __isLaunchedAutomatically;\r
- bool __isTimerLaunchedAutomatically;\r
-/*\r
-public:\r
- static Tizen::Base::DateTime __timerTime;\r
-*/\r
-\r
-};\r
-\r
-#endif // _CLOCK_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkClockApp.h
+ * @brief This header file contains the declarations of the ClockApp class.
+ *
+ */
+
+#ifndef _CLOCK_H_
+#define _CLOCK_H_
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+#include "ClkAlarm.h"
+
+/**
+ * [ClockApp] UiApp must inherit from UiApp class
+ * which provides basic features necessary to define an UiApp.
+ */
+class ClockApp
+ : public Tizen::App::UiApp
+ , public Tizen::System::IAlarmEventListener
+ , public Tizen::System::ISettingEventListener
+ , public Tizen::App::IAppLaunchConditionEventListener
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ ClockApp(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual~ClockApp(void);
+
+ /**
+ * [Test] UiApp must have a factory method that creates an instance of itself.
+ */
+ static Tizen::App::UiApp* CreateInstance(void);
+
+ //IAlarmEventListener
+ virtual void OnAlarmExpired(Tizen::System::Alarm& alarm);
+
+ // Called when the UiApp is initializing.
+ bool OnAppInitializing(Tizen::App::AppRegistry& appRegistry);
+
+ // Called when the UiApp initializing is finished.
+ bool OnAppInitialized(void);
+
+ // Called when the UiApp is terminating.
+ bool OnAppTerminating(Tizen::App::AppRegistry& appRegistry, bool forcedTermination = false);
+
+ // Called when the UiApp is requested to terminate.
+ bool OnAppWillTerminate(void);
+
+ // Called when this UiApp's frame is moved from top of the screen to the background.
+ void OnBackground(void);
+
+ // Called when the battery level changes.
+ void OnBatteryLevelChanged(Tizen::System::BatteryLevel batteryLevel);
+
+ // Called when the UiApp's frame moves to the top of the screen.
+ void OnForeground(void);
+
+ // Called when the system memory is not sufficient to run the UiApp any further.
+ void OnLowMemory(void);
+
+ void ShowAlarmRingingForm(void);
+
+ void ShowTimerRingingForm(void);
+
+ virtual void OnSettingChanged(Tizen::Base::String& key);
+
+ virtual void OnAppLaunchConditionMetN (const Tizen::Base::String &condition, Tizen::Base::Object *pExtraData, Tizen::Base::Collection::IList *pArguments);
+
+private:
+ Tizen::Base::String __nameKey;
+ Tizen::App::AppRegistry* __pAppRegistry;
+ AlarmData* __pAlarm;
+ Tizen::Ui::Scenes::SceneId __sceneId;
+ Tizen::Base::String __timerTimeKey;
+ Tizen::Base::DateTime __timerTimeReached;
+ Tizen::Base::String __timerResetKey;
+ Tizen::Base::String __userSetValueKey;
+ int __timerResetValue;
+ bool __isAlarmLaunchedAutomatically;
+ bool __isTimerLaunchedAutomatically;
+/*
+public:
+ static Tizen::Base::DateTime __timerTime;
+*/
+
+};
+
+#endif // _CLOCK_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkCommonLib.h\r
- * @brief To define the common method of Clock application\r
- */\r
-\r
-#ifndef _CLK_COMMON_LIB_H_\r
-#define _CLK_COMMON_LIB_H_\r
-\r
-#include <FGraphics.h>\r
-\r
-/**\r
-* @struct CommonBitmapTable\r
-*\r
-* Defines the table to store a bitmap\r
-*\r
-*/\r
-struct CommonBitmapTable\r
-{\r
- Tizen::Base::String filename;\r
- int height;\r
- Tizen::Graphics::Bitmap* ptr;\r
- int refcount;\r
- int width;\r
-\r
-};\r
-\r
-/**\r
-* @enum CommonBitmapId\r
-*\r
-* Defines a ID for a Bitmap path\r
-*\r
-*/\r
-enum CommonBitmapId\r
-{\r
-\r
-};\r
-\r
-/**\r
- * @class CommonUtil\r
- * @brief This file declares common methods to be used\r
- */\r
-class CommonUtil\r
-{\r
-public:\r
-\r
- /**\r
- * Returns a pointer to a bitmap value using ID\r
- *\r
- * @return Pointer to a bitmap value\r
- * @param[in] CommonBitmapId The ID of the Bitmap\r
- * @remarks To work properly, the existing CommonBitmapId has to be passed.\r
- */\r
- static Tizen::Graphics::Bitmap* GetBitmap(CommonBitmapId id);\r
-\r
- /**\r
- * Returns a pointer to a bitmap value using bitmap path, bitmap width and bitmap height\r
- *\r
- * @return Pointer to a bitmap value\r
- * @param[in] strPath The path of the existing bitmap stored in res folder\r
- * @param[in] width The width of the existing bitmap stored in res folder\r
- * @param[in] height The height of the existing bitmap stored in res folder\r
- * @remarks To work properly, the existing strPath, its width and height has to be passed.\r
- */\r
- static Tizen::Graphics::Bitmap* GetBitmapN(const Tizen::Base::String& strPath, const int width, const int height);\r
-\r
- /**\r
- * Releases a bitmap using ID assigned to it.\r
- *\r
- * @return no return value\r
- * @param[in] no input parameters\r
- * @remarks Releases all the bitmaps stored\r
- */\r
- static Tizen::Graphics::Bitmap* GetNinepatchedBitmap(const Tizen::Base::String& strPath, const int width, const int height);\r
-\r
- /**\r
- * Returns the string value using ID\r
- *\r
- * @return String\r
- * @param[in] resourceId The ID of the resource string\r
- * @remarks To work properly, the existing resourceId has to be passed.\r
- */\r
- static Tizen::Base::String GetString(Tizen::Base::String resourceId);\r
-\r
- /**\r
- * Releases a bitmap using ID assigned to it.\r
- *\r
- * @return no return value\r
- * @param[in] no input parameters\r
- * @remarks Releases all the bitmaps stored\r
- */\r
- static void ReleaseAllBitmap(void);\r
-\r
- /**\r
- * Releases a bitmap using ID assigned to it.\r
- *\r
- * @return no return value\r
- * @param[in] CommonBitmapId The ID of the Bitmap to be released\r
- * @remarks To work properly, the existing CommonBitmapId has to be passed.\r
- */\r
- static void ReleaseBitmap(CommonBitmapId id);\r
-\r
- /**\r
- * Releases a bitmap using ID assigned to it.\r
- *\r
- * @return no return value\r
- * @param[in] ptr The pointer to a bitmap that has to released\r
- * @remarks To work properly, the pointer to a existing Bitmap has to be passed.\r
- */\r
- static void ReleaseBitmap(Tizen::Graphics::Bitmap* ptr);\r
-\r
-private:\r
- static CommonBitmapTable __commonBitmapTable[];\r
-\r
-};\r
-\r
-#endif //_CLK_COMMON_LIB_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkCommonLib.h
+ * @brief To define the common method of Clock application
+ */
+
+#ifndef _CLK_COMMON_LIB_H_
+#define _CLK_COMMON_LIB_H_
+
+#include <FGraphics.h>
+
+/**
+* @struct CommonBitmapTable
+*
+* Defines the table to store a bitmap
+*
+*/
+struct CommonBitmapTable
+{
+ Tizen::Base::String filename;
+ int height;
+ Tizen::Graphics::Bitmap* ptr;
+ int refcount;
+ int width;
+
+};
+
+/**
+* @enum CommonBitmapId
+*
+* Defines a ID for a Bitmap path
+*
+*/
+enum CommonBitmapId
+{
+
+};
+
+/**
+ * @class CommonUtil
+ * @brief This file declares common methods to be used
+ */
+class CommonUtil
+{
+public:
+
+ /**
+ * Returns a pointer to a bitmap value using ID
+ *
+ * @return Pointer to a bitmap value
+ * @param[in] CommonBitmapId The ID of the Bitmap
+ * @remarks To work properly, the existing CommonBitmapId has to be passed.
+ */
+ static Tizen::Graphics::Bitmap* GetBitmap(CommonBitmapId id);
+
+ /**
+ * Returns a pointer to a bitmap value using bitmap path, bitmap width and bitmap height
+ *
+ * @return Pointer to a bitmap value
+ * @param[in] strPath The path of the existing bitmap stored in res folder
+ * @param[in] width The width of the existing bitmap stored in res folder
+ * @param[in] height The height of the existing bitmap stored in res folder
+ * @remarks To work properly, the existing strPath, its width and height has to be passed.
+ */
+ static Tizen::Graphics::Bitmap* GetBitmapN(const Tizen::Base::String& strPath, const int width, const int height);
+
+ /**
+ * Releases a bitmap using ID assigned to it.
+ *
+ * @return no return value
+ * @param[in] no input parameters
+ * @remarks Releases all the bitmaps stored
+ */
+ static Tizen::Graphics::Bitmap* GetNinepatchedBitmap(const Tizen::Base::String& strPath, const int width, const int height);
+
+ /**
+ * Returns the string value using ID
+ *
+ * @return String
+ * @param[in] resourceId The ID of the resource string
+ * @remarks To work properly, the existing resourceId has to be passed.
+ */
+ static Tizen::Base::String GetString(Tizen::Base::String resourceId);
+
+ /**
+ * Releases a bitmap using ID assigned to it.
+ *
+ * @return no return value
+ * @param[in] no input parameters
+ * @remarks Releases all the bitmaps stored
+ */
+ static void ReleaseAllBitmap(void);
+
+ /**
+ * Releases a bitmap using ID assigned to it.
+ *
+ * @return no return value
+ * @param[in] CommonBitmapId The ID of the Bitmap to be released
+ * @remarks To work properly, the existing CommonBitmapId has to be passed.
+ */
+ static void ReleaseBitmap(CommonBitmapId id);
+
+ /**
+ * Releases a bitmap using ID assigned to it.
+ *
+ * @return no return value
+ * @param[in] ptr The pointer to a bitmap that has to released
+ * @remarks To work properly, the pointer to a existing Bitmap has to be passed.
+ */
+ static void ReleaseBitmap(Tizen::Graphics::Bitmap* ptr);
+
+private:
+ static CommonBitmapTable __commonBitmapTable[];
+
+};
+
+#endif //_CLK_COMMON_LIB_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkCustomColors.h\r
- * @brief This is the header file for Custom Colors\r
- */\r
-\r
-#ifndef _CLK_CUSTOM_COLORS_H_\r
-#define _CLK_CUSTOM_COLORS_H_\r
-\r
-static const unsigned int CUSTOM_COLOR_GREY = Tizen::Graphics::Color32<153,153,153>::Value;\r
-static const unsigned int CUSTOM_COLOR_DARK_GREY = Tizen::Graphics::Color32<128,128,128>::Value;\r
-static const unsigned int CUSTOM_COLOR_TRANSPARENT = Tizen::Graphics::Color32<0,0,0>::Value;\r
-static const unsigned int CUSTOM_COLOR_RADIO_NORMAL = Tizen::Graphics::Color32<236, 240, 242>::Value;\r
-static const unsigned int CUSTOM_COLOR_RADIO_PRESSED = Tizen::Graphics::Color32<42, 137, 194>::Value;\r
-static const unsigned int CUSTOM_COLOR_LIST_VIEW_NORMAL = Tizen::Graphics::Color32<248,246,239>::Value;\r
-\r
-\r
-#endif // _CLK_CUSTOM_COLORS_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkCustomColors.h
+ * @brief This is the header file for Custom Colors
+ */
+
+#ifndef _CLK_CUSTOM_COLORS_H_
+#define _CLK_CUSTOM_COLORS_H_
+
+static const unsigned int CUSTOM_COLOR_GREY = Tizen::Graphics::Color32<153,153,153>::Value;
+static const unsigned int CUSTOM_COLOR_DARK_GREY = Tizen::Graphics::Color32<128,128,128>::Value;
+static const unsigned int CUSTOM_COLOR_TRANSPARENT = Tizen::Graphics::Color32<0,0,0>::Value;
+static const unsigned int CUSTOM_COLOR_RADIO_NORMAL = Tizen::Graphics::Color32<236, 240, 242>::Value;
+static const unsigned int CUSTOM_COLOR_RADIO_PRESSED = Tizen::Graphics::Color32<42, 137, 194>::Value;
+static const unsigned int CUSTOM_COLOR_LIST_VIEW_NORMAL = Tizen::Graphics::Color32<248,246,239>::Value;
+
+
+#endif // _CLK_CUSTOM_COLORS_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkPresentationModelBase.h\r
- * @brief This is the header file for PresentationModelBase class\r
- */\r
-\r
-#ifndef _CLK_DATA_SERVICE_PROVIDER_H_\r
-#define _CLK_DATA_SERVICE_PROVIDER_H_\r
-\r
-#include <FIo.h>\r
-\r
-#include "ClkTypes.h"\r
-\r
-/**\r
- * @class DataServiceProvider\r
- * @brief This class declares functions which will manage database\r
- */\r
-class DataServiceProvider\r
-{\r
-public:\r
- /**\r
- * Initialize storage service\r
- */\r
- static result Initialize(void);\r
-\r
- /**\r
- * Deinitialize storage service\r
- */\r
- static result UnInitialize(void);\r
-\r
-public:\r
- /**\r
- * This function deletes the database\r
- *\r
- * @return An error code\r
- * @param No parameter\r
- * @exception E_SUCCESS The database closed successfully\r
- * @exception E_FAILURE The database is not closed successfully\r
- */\r
- static result CloseDb(void);\r
-\r
- /**\r
- * This function commits the database\r
- *\r
- * @return An error code\r
- * @param No parameter\r
- * @exception E_SUCCESS The database closed successfully\r
- * @exception E_FAILURE The database is not closed successfully\r
- */\r
- static result CommitDb(void);\r
-\r
- /**\r
- * This function creates the table in database\r
- *\r
- * @return An error code\r
- * @param tableType The name of the table\r
- * @exception E_SUCCESS The table is created successfully in database\r
- * @exception E_FAILURE The table creation in database is not successful\r
- */\r
- static result CreateDBTables(ClockDbTableTypes tableType);\r
-\r
- /**\r
- * This function finds the next row present in the database or not.\r
- *\r
- * @return An error code\r
- * @param nextRowpresent true/false : the next row present or not.\r
- * @exception E_SUCCESS The table is dropped successfully from database\r
- * @exception E_FAILURE The table drop is unsuccessful\r
- */\r
- static result DbIsNextRowPresent(bool& nextRowpresent);\r
-\r
- /**\r
- * This function drops the existing tables from database\r
- *\r
- * @return An error code\r
- * @param No parameter\r
- * @exception E_SUCCESS The table is dropped successfully from database\r
- * @exception E_FAILURE The table drop is unsuccessful\r
- */\r
- static result DropDBTables(void);\r
-\r
- /**\r
- * This function drops the existing tables from database\r
- *\r
- * @return An error code\r
- * @param No parameter\r
- * @exception E_SUCCESS The table is dropped successfully from database\r
- * @exception E_FAILURE The table drop is unsuccessful\r
- */\r
- static result ExecuteQuery(const Tizen::Base::String pszFormatQuery, int& nRowCount);\r
-\r
- /**\r
- * This function returns the instance of WorldClockPresentationModel\r
- *\r
- * @return The instance of WorldClockPresentationModel\r
- */\r
- static DataServiceProvider* GetInstance();\r
-\r
- /**\r
- * This function gives the last inserted row id\r
- *\r
- * @return An error code\r
- * @param tableName The name of the table\r
- * @param rowId The rowId in which last inserted rowId will be saved.\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful\r
- * @remarks To work properly , the table name should be passed properly\r
- */\r
- result GetLastInsertedId(Tizen::Base::String& tableName, int& rowId);\r
-\r
- /**\r
- * This function creates the database and constructs it.\r
- *\r
- * @return An error code\r
- * @param No parameter\r
- * @exception E_SUCCESS The database created successfully\r
- * @exception E_FAILURE The database creation is failed\r
- */\r
- static result OpenDb(void);\r
-\r
- /**\r
- * This function calls the CreateDBTables function for all the tables\r
- *\r
- * @return An error code\r
- * @param No parameter\r
- */\r
- static result InitializeDBTables(void);\r
-\r
-\r
-\r
- static result IsNullColumn(int nIndex, bool& isColumNull);\r
- static result GetColumn(int nIndex, Tizen::Base::String& strVal);\r
- static result GetColumn(int nIndex, int& nIntVal);\r
- static result GetColumn(int nIndex, double& dblVal);\r
- static result GetColumn(int nIndex, Tizen::Base::DateTime& dtVal);\r
- static result RollbackDb(void);\r
-\r
- static bool GetCurrentDateTime(Tizen::Base::DateTime& dt);\r
-\r
-private:\r
- /**\r
- * Default constructor\r
- */\r
- DataServiceProvider(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- ~DataServiceProvider(void);\r
-\r
- /**\r
- * This function constructs the instance of DataServiceProvider\r
- *\r
- */\r
- result Construct(void);\r
-\r
- /**\r
- * This function creates the instance of DataServiceProvider\r
- *\r
- * @return No return value\r
- */\r
- static void CreateInstance(void);\r
-\r
- /**\r
- * This function destroys the instance of DataServiceProvider\r
- *\r
- * @return No return value\r
- */\r
- static void DestroyInstance(void);\r
-\r
-public:\r
- static Tizen::Base::String DB_FILE_PATH;\r
-\r
-private:\r
- static bool __isBeginTransaction;\r
- static Tizen::Io::Database* __pDataBase;\r
- static Tizen::Io::DbEnumerator* __pDbEnum;\r
- static Tizen::Io::DbStatement* __pDbStatement;\r
- static DataServiceProvider* __pInstance;\r
-};\r
-\r
- #endif //_CLK_DATA_SERVICE_PROVIDER_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkPresentationModelBase.h
+ * @brief This is the header file for PresentationModelBase class
+ */
+
+#ifndef _CLK_DATA_SERVICE_PROVIDER_H_
+#define _CLK_DATA_SERVICE_PROVIDER_H_
+
+#include <FIo.h>
+
+#include "ClkTypes.h"
+
+/**
+ * @class DataServiceProvider
+ * @brief This class declares functions which will manage database
+ */
+class DataServiceProvider
+{
+public:
+ /**
+ * Initialize storage service
+ */
+ static result Initialize(void);
+
+ /**
+ * Deinitialize storage service
+ */
+ static result UnInitialize(void);
+
+public:
+ /**
+ * This function deletes the database
+ *
+ * @return An error code
+ * @param No parameter
+ * @exception E_SUCCESS The database closed successfully
+ * @exception E_FAILURE The database is not closed successfully
+ */
+ static result CloseDb(void);
+
+ /**
+ * This function commits the database
+ *
+ * @return An error code
+ * @param No parameter
+ * @exception E_SUCCESS The database closed successfully
+ * @exception E_FAILURE The database is not closed successfully
+ */
+ static result CommitDb(void);
+
+ /**
+ * This function creates the table in database
+ *
+ * @return An error code
+ * @param tableType The name of the table
+ * @exception E_SUCCESS The table is created successfully in database
+ * @exception E_FAILURE The table creation in database is not successful
+ */
+ static result CreateDBTables(ClockDbTableTypes tableType);
+
+ /**
+ * This function finds the next row present in the database or not.
+ *
+ * @return An error code
+ * @param nextRowpresent true/false : the next row present or not.
+ * @exception E_SUCCESS The table is dropped successfully from database
+ * @exception E_FAILURE The table drop is unsuccessful
+ */
+ static result DbIsNextRowPresent(bool& nextRowpresent);
+
+ /**
+ * This function drops the existing tables from database
+ *
+ * @return An error code
+ * @param No parameter
+ * @exception E_SUCCESS The table is dropped successfully from database
+ * @exception E_FAILURE The table drop is unsuccessful
+ */
+ static result DropDBTables(void);
+
+ /**
+ * This function drops the existing tables from database
+ *
+ * @return An error code
+ * @param No parameter
+ * @exception E_SUCCESS The table is dropped successfully from database
+ * @exception E_FAILURE The table drop is unsuccessful
+ */
+ static result ExecuteQuery(const Tizen::Base::String pszFormatQuery, int& nRowCount);
+
+ /**
+ * This function returns the instance of WorldClockPresentationModel
+ *
+ * @return The instance of WorldClockPresentationModel
+ */
+ static DataServiceProvider* GetInstance();
+
+ /**
+ * This function gives the last inserted row id
+ *
+ * @return An error code
+ * @param tableName The name of the table
+ * @param rowId The rowId in which last inserted rowId will be saved.
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful
+ * @remarks To work properly , the table name should be passed properly
+ */
+ result GetLastInsertedId(Tizen::Base::String& tableName, int& rowId);
+
+ /**
+ * This function creates the database and constructs it.
+ *
+ * @return An error code
+ * @param No parameter
+ * @exception E_SUCCESS The database created successfully
+ * @exception E_FAILURE The database creation is failed
+ */
+ static result OpenDb(void);
+
+ /**
+ * This function calls the CreateDBTables function for all the tables
+ *
+ * @return An error code
+ * @param No parameter
+ */
+ static result InitializeDBTables(void);
+
+
+
+ static result IsNullColumn(int nIndex, bool& isColumNull);
+ static result GetColumn(int nIndex, Tizen::Base::String& strVal);
+ static result GetColumn(int nIndex, int& nIntVal);
+ static result GetColumn(int nIndex, double& dblVal);
+ static result GetColumn(int nIndex, Tizen::Base::DateTime& dtVal);
+ static result RollbackDb(void);
+
+ static bool GetCurrentDateTime(Tizen::Base::DateTime& dt);
+
+private:
+ /**
+ * Default constructor
+ */
+ DataServiceProvider(void);
+
+ /**
+ * Default destructor
+ */
+ ~DataServiceProvider(void);
+
+ /**
+ * This function constructs the instance of DataServiceProvider
+ *
+ */
+ result Construct(void);
+
+ /**
+ * This function creates the instance of DataServiceProvider
+ *
+ * @return No return value
+ */
+ static void CreateInstance(void);
+
+ /**
+ * This function destroys the instance of DataServiceProvider
+ *
+ * @return No return value
+ */
+ static void DestroyInstance(void);
+
+public:
+ static Tizen::Base::String DB_FILE_PATH;
+
+private:
+ static bool __isBeginTransaction;
+ static Tizen::Io::Database* __pDataBase;
+ static Tizen::Io::DbEnumerator* __pDbEnum;
+ static Tizen::Io::DbStatement* __pDbStatement;
+ static DataServiceProvider* __pInstance;
+};
+
+ #endif //_CLK_DATA_SERVICE_PROVIDER_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/**\r
- * @file DaylightSavingPopUp.h\r
- * @brief This header file contains the declarations of the DaylightSavingPopUp\r
- *\r
- */\r
-\r
-#ifndef _CLK_DST_POPUP_H_\r
-#define _CLK_DST_POPUP_H_\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-\r
-class IDstTimeEventListener\r
-{\r
-public:\r
- IDstTimeEventListener();\r
- virtual ~IDstTimeEventListener();\r
-\r
- virtual void OnDaylightSavingPopUpItemSelected(int DstTime ) = 0 ;\r
-};\r
-\r
-class DaylightSavingPopUp\r
- : public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::Controls::Popup\r
- , public Tizen::Ui::IActionEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- DaylightSavingPopUp(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- ~DaylightSavingPopUp(void);\r
-\r
- /**\r
- * @brief Initializes this SettingForm Form.\r
- *\r
- * @return An error code\r
- * @exception true The method is succeIOrientationEventListenerssful.\r
- * @exception false An error Occured.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- public:\r
-\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- // IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};\r
-\r
- void SetDstIndex(int index);\r
-\r
- void SetEventListner(IDstTimeEventListener* listner);\r
-\r
- private:\r
- Tizen::Ui::Controls::ListView* __pList;\r
- IDstTimeEventListener* __pListener;\r
- };\r
-\r
-\r
-#endif /* _CLK_DST_POPUP_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/**
+ * @file DaylightSavingPopUp.h
+ * @brief This header file contains the declarations of the DaylightSavingPopUp
+ *
+ */
+
+#ifndef _CLK_DST_POPUP_H_
+#define _CLK_DST_POPUP_H_
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FUi.h>
+
+
+class IDstTimeEventListener
+{
+public:
+ IDstTimeEventListener();
+ virtual ~IDstTimeEventListener();
+
+ virtual void OnDaylightSavingPopUpItemSelected(int DstTime ) = 0 ;
+};
+
+class DaylightSavingPopUp
+ : public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Controls::Popup
+ , public Tizen::Ui::IActionEventListener
+ {
+ public:
+ /**
+ * @brief The Default Constructor
+ */
+ DaylightSavingPopUp(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ ~DaylightSavingPopUp(void);
+
+ /**
+ * @brief Initializes this SettingForm Form.
+ *
+ * @return An error code
+ * @exception true The method is succeIOrientationEventListenerssful.
+ * @exception false An error Occured.
+ */
+ bool Initialize(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+
+ public:
+
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ // IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+
+ void SetDstIndex(int index);
+
+ void SetEventListner(IDstTimeEventListener* listner);
+
+ private:
+ Tizen::Ui::Controls::ListView* __pList;
+ IDstTimeEventListener* __pListener;
+ };
+
+
+#endif /* _CLK_DST_POPUP_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file DefaultCustomItem\r
- * @brief This class defines common behaviour of custom Item.\r
- *\r
- */\r
-\r
-#ifndef _CLK_DEFAULT_CUSTOM_ITEM_H_\r
-#define _CLK_DEFAULT_CUSTOM_ITEM_H_\r
-\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUi.h>\r
-\r
-\r
-class DefaultCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- DefaultCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~DefaultCustomItem(void);\r
-\r
-public:\r
-\r
- /**\r
- * @brief Initializes this instance of %DropDownCustomItem.\r
- */\r
- result Construct(int width, int height);\r
-\r
- //getter and setter methods for Text\r
-\r
- /**\r
- * @brief The method used to get the subtext of CustomItem\r
- */\r
- Tizen::Base::String GetRightSubText(void);\r
-\r
- /**\r
- * @brief The method used to get the subtext of CustomItem\r
- */\r
- Tizen::Base::String GetSubText(void);\r
-\r
- /**\r
- * @brief The method used to get the text of CustomItem\r
- */\r
- Tizen::Base::String GetText(void);\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- */\r
- result Make(void);\r
-\r
- /**\r
- * @brief The method used to set the subtext of CustomItem\r
- */\r
- void SetRightSubText(Tizen::Base::String& text);\r
-\r
- /**\r
- * @brief The method used to set the subtext of CustomItem\r
- */\r
- void SetSubText(Tizen::Base::String& text);\r
-\r
- /**\r
- * @brief The method used to set the text of CustomItem\r
- */\r
- void SetText(Tizen::Base::String& text);\r
-\r
-private:\r
- int __height; ///Height of the SettingToggleCustomItem Instance\r
- Tizen::Base::String __rightSubText;\r
- Tizen::Base::String __subText;\r
- Tizen::Base::String __text; ///The Text for the Toggle Button\r
- int __width; ///Width of the SettingToggleCustomItem Instance\r
-\r
-\r
-};\r
-\r
-#endif /* _CLK_DEFAULT_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file DefaultCustomItem
+ * @brief This class defines common behaviour of custom Item.
+ *
+ */
+
+#ifndef _CLK_DEFAULT_CUSTOM_ITEM_H_
+#define _CLK_DEFAULT_CUSTOM_ITEM_H_
+
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUi.h>
+
+
+class DefaultCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ DefaultCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~DefaultCustomItem(void);
+
+public:
+
+ /**
+ * @brief Initializes this instance of %DropDownCustomItem.
+ */
+ result Construct(int width, int height);
+
+ //getter and setter methods for Text
+
+ /**
+ * @brief The method used to get the subtext of CustomItem
+ */
+ Tizen::Base::String GetRightSubText(void);
+
+ /**
+ * @brief The method used to get the subtext of CustomItem
+ */
+ Tizen::Base::String GetSubText(void);
+
+ /**
+ * @brief The method used to get the text of CustomItem
+ */
+ Tizen::Base::String GetText(void);
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ */
+ result Make(void);
+
+ /**
+ * @brief The method used to set the subtext of CustomItem
+ */
+ void SetRightSubText(Tizen::Base::String& text);
+
+ /**
+ * @brief The method used to set the subtext of CustomItem
+ */
+ void SetSubText(Tizen::Base::String& text);
+
+ /**
+ * @brief The method used to set the text of CustomItem
+ */
+ void SetText(Tizen::Base::String& text);
+
+private:
+ int __height; ///Height of the SettingToggleCustomItem Instance
+ Tizen::Base::String __rightSubText;
+ Tizen::Base::String __subText;
+ Tizen::Base::String __text; ///The Text for the Toggle Button
+ int __width; ///Width of the SettingToggleCustomItem Instance
+
+
+};
+
+#endif /* _CLK_DEFAULT_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file DropDownCustomItem\r
- * @brief This class defines common behaviour of Drop down custom Item.\r
- *\r
- */\r
-\r
-#ifndef _CLK_DROPDOWN_CUSTOM_ITEM_H_\r
-#define _CLK_DROPDOWN_CUSTOM_ITEM_H_\r
-\r
-\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUi.h>\r
-\r
-\r
-enum DropDownItemState\r
-{\r
- DROP_DOWN_ITEM_STATE_OPENED = 0,\r
- DROP_DOWN_ITEM_STATE_CLOSED\r
-};\r
-\r
-class DropDownCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-\r
-public:\r
- /**\r
- * @brief The Default constructor\r
- */\r
- DropDownCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~DropDownCustomItem(void);\r
-\r
- /**\r
- * Initializes this instance of DropDownCustomItem.\r
- */\r
- result Construct(int width);\r
-\r
- //getter and setter methods for Main Text\r
-\r
- /**\r
- * @brief The method used to get the Title text of CustomItem\r
- */\r
- DropDownItemState GetCurState(void) const;\r
-\r
- /**\r
- * @brief The method used to get the Title text of CustomItem\r
- */\r
- Tizen::Base::String GetMainText(void) const;\r
-\r
- /**\r
- * @brief The method used to get the Sub text of CustomItem\r
- */\r
- Tizen::Base::String GetSubText(void) const;\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- *\r
- */\r
- result MakeElements(void);\r
-\r
- /**\r
- * @brief The method used to set the Title text of CustomItem\r
- */\r
- void SetCurState(const DropDownItemState state);\r
-\r
- /**\r
- * @brief The method used to set the Title text of CustomItem\r
- */\r
- void SetMainText(const Tizen::Base::String& text);\r
-\r
- /**\r
- * @brief The method used to set the Sub text of CustomItem\r
- */\r
- void SetSubText(const Tizen::Base::String& text);\r
-\r
-private:\r
- DropDownItemState currentState;\r
- int __height; ///Height of the SettingToggleCustomItem Instance\r
- Tizen::Base::String __mainText; ///The MainText for the Toggle Button\r
- Tizen::Base::String __subText; ///The SubText for the Toggle Button\r
- int __width; ///Width of the SettingToggleCustomItem Instance\r
-\r
-};\r
-\r
-#endif /* _CLK_DROPDOWN_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file DropDownCustomItem
+ * @brief This class defines common behaviour of Drop down custom Item.
+ *
+ */
+
+#ifndef _CLK_DROPDOWN_CUSTOM_ITEM_H_
+#define _CLK_DROPDOWN_CUSTOM_ITEM_H_
+
+
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUi.h>
+
+
+enum DropDownItemState
+{
+ DROP_DOWN_ITEM_STATE_OPENED = 0,
+ DROP_DOWN_ITEM_STATE_CLOSED
+};
+
+class DropDownCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+
+public:
+ /**
+ * @brief The Default constructor
+ */
+ DropDownCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~DropDownCustomItem(void);
+
+ /**
+ * Initializes this instance of DropDownCustomItem.
+ */
+ result Construct(int width);
+
+ //getter and setter methods for Main Text
+
+ /**
+ * @brief The method used to get the Title text of CustomItem
+ */
+ DropDownItemState GetCurState(void) const;
+
+ /**
+ * @brief The method used to get the Title text of CustomItem
+ */
+ Tizen::Base::String GetMainText(void) const;
+
+ /**
+ * @brief The method used to get the Sub text of CustomItem
+ */
+ Tizen::Base::String GetSubText(void) const;
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ *
+ */
+ result MakeElements(void);
+
+ /**
+ * @brief The method used to set the Title text of CustomItem
+ */
+ void SetCurState(const DropDownItemState state);
+
+ /**
+ * @brief The method used to set the Title text of CustomItem
+ */
+ void SetMainText(const Tizen::Base::String& text);
+
+ /**
+ * @brief The method used to set the Sub text of CustomItem
+ */
+ void SetSubText(const Tizen::Base::String& text);
+
+private:
+ DropDownItemState currentState;
+ int __height; ///Height of the SettingToggleCustomItem Instance
+ Tizen::Base::String __mainText; ///The MainText for the Toggle Button
+ Tizen::Base::String __subText; ///The SubText for the Toggle Button
+ int __width; ///Width of the SettingToggleCustomItem Instance
+
+};
+
+#endif /* _CLK_DROPDOWN_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file DropdownAndRepeatCustomItem\r
- * @brief This class defines common behaviour of Drop down and repeat custom Item.\r
- *\r
- */\r
-\r
-#ifndef _CLK_DROPDOWN_AND_REPEAT_CUSTOM_ITEM_H_\r
-#define _CLK_DROPDOWN_AND_REPEAT_CUSTOM_ITEM_H_\r
-\r
-\r
-enum DropDownAndRepeatItemState\r
-{\r
- DROP_DOWN_AND_REPEAT_ITEM_STATE_OPENED = 0,\r
- DROP_DOWN_AND_REPEAT_ITEM_STATE_CLOSED\r
-};\r
-\r
-class DropdownAndRepeatCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-\r
-public:\r
- /**\r
- * @brief The Default constructor\r
- */\r
- DropdownAndRepeatCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~DropdownAndRepeatCustomItem(void);\r
-\r
- /**\r
- * Initializes this instance of DropDownCustomItem.\r
- */\r
- result Construct(int width);\r
-\r
- //getter and setter methods for Main Text\r
-\r
- /**\r
- * @brief The method used to get the Title text of CustomItem\r
- */\r
- DropDownAndRepeatItemState GetCurState(void) const;\r
-\r
- /**\r
- * @brief The method used to get the Title text of CustomItem\r
- */\r
- Tizen::Base::String GetMainText(void) const;\r
-\r
- /**\r
- * This function gets the repeat flag for the alarm object\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- Tizen::Base::String GetRepeatFlag(void) const;\r
-\r
- /**\r
- * @brief The method used to get the Sub text of CustomItem\r
- */\r
- Tizen::Base::String GetSubText(void) const;\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- *\r
- */\r
- result MakeElements(void);\r
-\r
- /**\r
- * @brief The method used to set the Title text of CustomItem\r
- */\r
- void SetCurState(const DropDownAndRepeatItemState state);\r
-\r
- /**\r
- * @brief The method used to set the Title text of CustomItem\r
- */\r
- void SetMainText(const Tizen::Base::String& text);\r
-\r
- /**\r
- * @brief The method used to set repeat flag for alarm\r
- * @return no return value\r
- * @param[in] flag The flag to be set for alarm\r
- */\r
- void SetRepeatFlags(const Tizen::Base::String& flag);\r
-\r
- /**\r
- * @brief The method used to set the Sub text of CustomItem\r
- */\r
- void SetSubText(const Tizen::Base::String& text);\r
-\r
-private:\r
- DropDownAndRepeatItemState currentState;\r
- int __height; ///Height of the SettingToggleCustomItem Instance\r
- Tizen::Base::String __mainText; ///The MainText for the Toggle Button\r
- Tizen::Base::String __repeatFlags;\r
- Tizen::Base::String __subText; ///The SubText for the Toggle Button\r
- int __width; ///Width of the SettingToggleCustomItem Instance\r
-\r
-};\r
-\r
-#endif /* _CLK_DROPDOWN_AND_REPEAT_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file DropdownAndRepeatCustomItem
+ * @brief This class defines common behaviour of Drop down and repeat custom Item.
+ *
+ */
+
+#ifndef _CLK_DROPDOWN_AND_REPEAT_CUSTOM_ITEM_H_
+#define _CLK_DROPDOWN_AND_REPEAT_CUSTOM_ITEM_H_
+
+
+enum DropDownAndRepeatItemState
+{
+ DROP_DOWN_AND_REPEAT_ITEM_STATE_OPENED = 0,
+ DROP_DOWN_AND_REPEAT_ITEM_STATE_CLOSED
+};
+
+class DropdownAndRepeatCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+
+public:
+ /**
+ * @brief The Default constructor
+ */
+ DropdownAndRepeatCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~DropdownAndRepeatCustomItem(void);
+
+ /**
+ * Initializes this instance of DropDownCustomItem.
+ */
+ result Construct(int width);
+
+ //getter and setter methods for Main Text
+
+ /**
+ * @brief The method used to get the Title text of CustomItem
+ */
+ DropDownAndRepeatItemState GetCurState(void) const;
+
+ /**
+ * @brief The method used to get the Title text of CustomItem
+ */
+ Tizen::Base::String GetMainText(void) const;
+
+ /**
+ * This function gets the repeat flag for the alarm object
+ *
+ * @return A String
+ * @param No parameter
+ */
+ Tizen::Base::String GetRepeatFlag(void) const;
+
+ /**
+ * @brief The method used to get the Sub text of CustomItem
+ */
+ Tizen::Base::String GetSubText(void) const;
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ *
+ */
+ result MakeElements(void);
+
+ /**
+ * @brief The method used to set the Title text of CustomItem
+ */
+ void SetCurState(const DropDownAndRepeatItemState state);
+
+ /**
+ * @brief The method used to set the Title text of CustomItem
+ */
+ void SetMainText(const Tizen::Base::String& text);
+
+ /**
+ * @brief The method used to set repeat flag for alarm
+ * @return no return value
+ * @param[in] flag The flag to be set for alarm
+ */
+ void SetRepeatFlags(const Tizen::Base::String& flag);
+
+ /**
+ * @brief The method used to set the Sub text of CustomItem
+ */
+ void SetSubText(const Tizen::Base::String& text);
+
+private:
+ DropDownAndRepeatItemState currentState;
+ int __height; ///Height of the SettingToggleCustomItem Instance
+ Tizen::Base::String __mainText; ///The MainText for the Toggle Button
+ Tizen::Base::String __repeatFlags;
+ Tizen::Base::String __subText; ///The SubText for the Toggle Button
+ int __width; ///Width of the SettingToggleCustomItem Instance
+
+};
+
+#endif /* _CLK_DROPDOWN_AND_REPEAT_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkEditSnoozeForm.h\r
- * @brief The %ClkEditSnoozeForm defines settings.\r
- *\r
- */\r
-\r
-#ifndef _CLK_EDIT_SNOOZE_FORM_H_\r
-#define _CLK_EDIT_SNOOZE_FORM_H_\r
-\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-\r
-class EditSnoozeForm\r
- : public Tizen::Ui::Controls::Form\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IGroupedListViewItemEventListener\r
- , public Tizen::Ui::Controls::IGroupedListViewItemProvider\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- EditSnoozeForm(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~EditSnoozeForm(void);\r
-\r
- /**\r
- * @brief Initializes this EditSnoozeForm Form.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for EditSnoozeForm.\r
- */\r
- result OnInitializing(void);\r
-\r
- //IGroupedListViewItemProvider\r
- Tizen::Ui::Controls::GroupItem* CreateGroupItem(int groupIndex, int itemWidth);\r
- Tizen::Ui::Controls::ListItemBase* CreateItem(int groupIndex, int itemIndex, int itemWidth);\r
- bool DeleteGroupItem(int groupIndex, Tizen::Ui::Controls::GroupItem* pItem, int itemWidth);\r
- bool DeleteItem(int groupIndex, int itemIndex, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);\r
- int GetGroupCount(void);\r
- int GetItemCount(int groupIndex);\r
-\r
- //IActionEventListener\r
- void OnActionPerformed(const Tizen::Ui::Control& source, int actionId){};\r
-\r
- //IFormBackEventListener\r
- void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //IGroupedListViewItemEventListener\r
- void OnGroupedListViewContextItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};\r
- void OnGroupedListViewItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- void OnGroupedListViewItemSwept(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, Tizen::Ui::Controls::SweepDirection direction){};\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
-private:\r
- int __durationName;\r
- int __durationSelectedIndex;\r
- Tizen::Ui::Controls::GroupedListView* __pListView;\r
- int __repeatName;\r
- int __repeatSelectedIndex;\r
- bool __showSnoozeDuration;\r
- bool __showSnoozeRepeat;\r
-};\r
-\r
-\r
-#endif /* _CLK_EDIT_SNOOZE_FORM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkEditSnoozeForm.h
+ * @brief The %ClkEditSnoozeForm defines settings.
+ *
+ */
+
+#ifndef _CLK_EDIT_SNOOZE_FORM_H_
+#define _CLK_EDIT_SNOOZE_FORM_H_
+
+#include <FBase.h>
+#include <FUi.h>
+
+
+class EditSnoozeForm
+ : public Tizen::Ui::Controls::Form
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IGroupedListViewItemEventListener
+ , public Tizen::Ui::Controls::IGroupedListViewItemProvider
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ EditSnoozeForm(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~EditSnoozeForm(void);
+
+ /**
+ * @brief Initializes this EditSnoozeForm Form.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for EditSnoozeForm.
+ */
+ result OnInitializing(void);
+
+ //IGroupedListViewItemProvider
+ Tizen::Ui::Controls::GroupItem* CreateGroupItem(int groupIndex, int itemWidth);
+ Tizen::Ui::Controls::ListItemBase* CreateItem(int groupIndex, int itemIndex, int itemWidth);
+ bool DeleteGroupItem(int groupIndex, Tizen::Ui::Controls::GroupItem* pItem, int itemWidth);
+ bool DeleteItem(int groupIndex, int itemIndex, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
+ int GetGroupCount(void);
+ int GetItemCount(int groupIndex);
+
+ //IActionEventListener
+ void OnActionPerformed(const Tizen::Ui::Control& source, int actionId){};
+
+ //IFormBackEventListener
+ void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //IGroupedListViewItemEventListener
+ void OnGroupedListViewContextItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};
+ void OnGroupedListViewItemStateChanged(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ void OnGroupedListViewItemSwept(Tizen::Ui::Controls::GroupedListView& listView, int groupIndex, int itemIndex, Tizen::Ui::Controls::SweepDirection direction){};
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+private:
+ int __durationName;
+ int __durationSelectedIndex;
+ Tizen::Ui::Controls::GroupedListView* __pListView;
+ int __repeatName;
+ int __repeatSelectedIndex;
+ bool __showSnoozeDuration;
+ bool __showSnoozeRepeat;
+};
+
+
+#endif /* _CLK_EDIT_SNOOZE_FORM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkMainFrame.h\r
- * @brief This header file contains the declarations of the MainFrame class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_MAINFRAME_H_\r
-#define _CLK_MAINFRAME_H_\r
-\r
-\r
-class MainFrame\r
- : public Tizen::Ui::Controls::Frame\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- MainFrame(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~MainFrame(void);\r
-\r
- /**\r
- * This function initializes all the controls of the form\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-};\r
-\r
-#endif //_CLK_MAINFRAME_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkMainFrame.h
+ * @brief This header file contains the declarations of the MainFrame class.
+ *
+ */
+
+#ifndef _CLK_MAINFRAME_H_
+#define _CLK_MAINFRAME_H_
+
+
+class MainFrame
+ : public Tizen::Ui::Controls::Frame
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ MainFrame(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~MainFrame(void);
+
+ /**
+ * This function initializes all the controls of the form
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+};
+
+#endif //_CLK_MAINFRAME_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkNotification.h\r
- * @brief This header file contains the declarations of the Notification\r
- *\r
- */\r
-\r
-#ifndef _CLK_NOTIFICATION_H_\r
-#define _CLK_NOTIFICATION_H_\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-class Notification\r
- : public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Ui::Controls::Panel\r
- {\r
- public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- Notification(Tizen::Ui::Controls::Form& aForm);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- ~Notification(void);\r
-\r
- // ITimerEventListener\r
- void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- /**\r
- * This function displays the Notification\r
- *\r
- * @return No return type.\r
- * @param none.\r
- */\r
- void ShowNotification(void);\r
-\r
- /**\r
- * This function gets the Sets the text of the Notification\r
- *\r
- * @return No return type.\r
- * @param message The Notification Message.\r
- */\r
- void SetText(Tizen::Base::String& message);\r
-\r
- private:\r
- Tizen::Ui::Controls::Form& __form;\r
- Tizen::Ui::Controls::Label* __pLabel;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
-\r
- };\r
-\r
-#endif /* _CLK_NOTIFICATION_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkNotification.h
+ * @brief This header file contains the declarations of the Notification
+ *
+ */
+
+#ifndef _CLK_NOTIFICATION_H_
+#define _CLK_NOTIFICATION_H_
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FUi.h>
+
+class Notification
+ : public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Ui::Controls::Panel
+ {
+ public:
+ /**
+ * @brief The Default Constructor
+ */
+ Notification(Tizen::Ui::Controls::Form& aForm);
+
+ /**
+ * @brief The Default Destructor
+ */
+ ~Notification(void);
+
+ // ITimerEventListener
+ void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ /**
+ * This function displays the Notification
+ *
+ * @return No return type.
+ * @param none.
+ */
+ void ShowNotification(void);
+
+ /**
+ * This function gets the Sets the text of the Notification
+ *
+ * @return No return type.
+ * @param message The Notification Message.
+ */
+ void SetText(Tizen::Base::String& message);
+
+ private:
+ Tizen::Ui::Controls::Form& __form;
+ Tizen::Ui::Controls::Label* __pLabel;
+ Tizen::Base::Runtime::Timer* __pTimer;
+
+ };
+
+#endif /* _CLK_NOTIFICATION_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkNumberSelectorControl.h\r
- * @brief This header file contains the declarations of the NumberSelectorControl\r
- *\r
- */\r
-\r
-#ifndef _CLK_NUMBER_SELECTOR_CONTROL_H_\r
-#define _CLK_NUMBER_SELECTOR_CONTROL_H_\r
-\r
-class NumberSelectorControl;\r
-\r
-class INumberSelectorEventListener\r
-{\r
-public:\r
- INumberSelectorEventListener();\r
- virtual ~INumberSelectorEventListener();\r
-\r
- virtual void OnNumberSelected(const NumberSelectorControl&, int number) = 0;\r
-};\r
-\r
-class NumberSelectorControl\r
-:public Tizen::Ui::Controls::Panel\r
- ,public Tizen::Ui::IActionEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- NumberSelectorControl(Tizen::Ui::Controls::ScrollPanel&);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- ~NumberSelectorControl(void);\r
-\r
- /**\r
- * This function constructs the form\r
- *\r
- * @return bool type\r
- * @param limit integer type\r
- */\r
- result Initialize(int limit, int startIndex);\r
-\r
- public:\r
- /**\r
- * This function gets the anchor position.\r
- *\r
- * @return Point the anchor position.\r
- * @param No parameter\r
- */\r
- Tizen::Graphics::Point GetAnchorPosition(void);\r
-\r
- /**\r
- * This function gets the number selected.\r
- *\r
- * @return int type\r
- * @param No parameter\r
- */\r
- int GetNumber(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- /**\r
- * This function sets the anchor position.\r
- *\r
- * @return No Return type\r
- * @param Point the anchor position.\r
- */\r
- void SetAnchorPosition(Tizen::Graphics::Point);\r
-\r
- /**\r
- * This function sets the number selected.\r
- *\r
- * @return no return type\r
- * @param int type\r
- */\r
- void SetNumber(int);\r
-\r
- //INumberSelectorEventListener\r
- INumberSelectorEventListener* GetEventListner(void);\r
- void SetEventListner(INumberSelectorEventListener*);\r
-\r
- private:\r
- void __SetNumber(int);\r
-\r
- private:\r
- int __actionIdOffset;\r
- Tizen::Graphics::Point __anchorPosition;\r
- int __noLimit;\r
- Tizen::Ui::Controls::Label* __pAnchorLabel;\r
- Tizen::Ui::Controls::ScrollPanel& __parentForm;\r
- INumberSelectorEventListener *__pListener;\r
- Tizen::Ui::Controls::ScrollPanel *__pNewScroll;\r
- int __selectedValue;\r
- };\r
-\r
-#endif /* _CLK_NUMBER_SELECTOR_CONTROL_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkNumberSelectorControl.h
+ * @brief This header file contains the declarations of the NumberSelectorControl
+ *
+ */
+
+#ifndef _CLK_NUMBER_SELECTOR_CONTROL_H_
+#define _CLK_NUMBER_SELECTOR_CONTROL_H_
+
+class NumberSelectorControl;
+
+class INumberSelectorEventListener
+{
+public:
+ INumberSelectorEventListener();
+ virtual ~INumberSelectorEventListener();
+
+ virtual void OnNumberSelected(const NumberSelectorControl&, int number) = 0;
+};
+
+class NumberSelectorControl
+:public Tizen::Ui::Controls::Panel
+ ,public Tizen::Ui::IActionEventListener
+ {
+ public:
+ /**
+ * @brief The Default Constructor
+ */
+ NumberSelectorControl(Tizen::Ui::Controls::ScrollPanel&);
+
+ /**
+ * @brief The Default Destructor
+ */
+ ~NumberSelectorControl(void);
+
+ /**
+ * This function constructs the form
+ *
+ * @return bool type
+ * @param limit integer type
+ */
+ result Initialize(int limit, int startIndex);
+
+ public:
+ /**
+ * This function gets the anchor position.
+ *
+ * @return Point the anchor position.
+ * @param No parameter
+ */
+ Tizen::Graphics::Point GetAnchorPosition(void);
+
+ /**
+ * This function gets the number selected.
+ *
+ * @return int type
+ * @param No parameter
+ */
+ int GetNumber(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ /**
+ * This function sets the anchor position.
+ *
+ * @return No Return type
+ * @param Point the anchor position.
+ */
+ void SetAnchorPosition(Tizen::Graphics::Point);
+
+ /**
+ * This function sets the number selected.
+ *
+ * @return no return type
+ * @param int type
+ */
+ void SetNumber(int);
+
+ //INumberSelectorEventListener
+ INumberSelectorEventListener* GetEventListner(void);
+ void SetEventListner(INumberSelectorEventListener*);
+
+ private:
+ void __SetNumber(int);
+
+ private:
+ int __actionIdOffset;
+ Tizen::Graphics::Point __anchorPosition;
+ int __noLimit;
+ Tizen::Ui::Controls::Label* __pAnchorLabel;
+ Tizen::Ui::Controls::ScrollPanel& __parentForm;
+ INumberSelectorEventListener *__pListener;
+ Tizen::Ui::Controls::ScrollPanel *__pNewScroll;
+ int __selectedValue;
+ };
+
+#endif /* _CLK_NUMBER_SELECTOR_CONTROL_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkRadioCustomItem.h\r
- * @brief The %ClkRadioCustomItem defines radio custom item.\r
- *\r
- */\r
-\r
-#ifndef _CLK_RADIO_CUSTOM_ITEM_H_\r
-#define _CLK_RADIO_CUSTOM_ITEM_H_\r
-\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUi.h>\r
-\r
-\r
-class RadioCustomItem\r
- : public Tizen::Ui::Controls::CustomItem\r
-{\r
-public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- RadioCustomItem(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- virtual ~RadioCustomItem(void);\r
-\r
- /**\r
- * @brief Initializes this instance of %DropDownCustomItem.\r
- *\r
- * @return An error code\r
- * @param[in] width The width of the Custom Item\r
- * @param[in] height The height of the Custom Item\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Construct(int width, int height);\r
-\r
-public:\r
- //getter and setter methods for Text\r
- /**\r
- * @brief The method used to get selection state of the Radio Button\r
- * @return True if selected or false if unselected\r
- */\r
- const bool GetSelected(void);\r
-\r
- /**\r
- * @brief The method used to get the text of CustomItem\r
- * @return An error code\r
- */\r
- const Tizen::Base::String GetText(void);\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- *\r
- * @return An error code\r
- * @param[in] void An instance of the Rectangle class @n\r
- * This instance represents the x and y coordinates of the top-left corner of the created window along with\r
- * the width and height of the window.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Make(void);\r
-\r
- //getter and setter methods for Text\r
- /**\r
- * @brief The method used to set the selection state of the Radio Button\r
- * @return void\r
- */\r
- void SetSelected(const bool selectedValue);\r
-\r
- /**\r
- * @brief The method used to set the text of CustomItem\r
- * @return An error code\r
- */\r
- void SetText(const Tizen::Base::String& text);\r
-\r
-private:\r
-\r
- int __height; ///Height of the SettingToggleCustomItem Instance\r
- bool __isSelected;\r
- Tizen::Base::String __text; ///The Text for the Toggle Button\r
- int __width; ///Width of the SettingToggleCustomItem Instance\r
-};\r
-\r
-#endif /* _CLK_RADIO_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkRadioCustomItem.h
+ * @brief The %ClkRadioCustomItem defines radio custom item.
+ *
+ */
+
+#ifndef _CLK_RADIO_CUSTOM_ITEM_H_
+#define _CLK_RADIO_CUSTOM_ITEM_H_
+
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUi.h>
+
+
+class RadioCustomItem
+ : public Tizen::Ui::Controls::CustomItem
+{
+public:
+ /**
+ * @brief The Default Constructor
+ */
+ RadioCustomItem(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ virtual ~RadioCustomItem(void);
+
+ /**
+ * @brief Initializes this instance of %DropDownCustomItem.
+ *
+ * @return An error code
+ * @param[in] width The width of the Custom Item
+ * @param[in] height The height of the Custom Item
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Construct(int width, int height);
+
+public:
+ //getter and setter methods for Text
+ /**
+ * @brief The method used to get selection state of the Radio Button
+ * @return True if selected or false if unselected
+ */
+ const bool GetSelected(void);
+
+ /**
+ * @brief The method used to get the text of CustomItem
+ * @return An error code
+ */
+ const Tizen::Base::String GetText(void);
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ *
+ * @return An error code
+ * @param[in] void An instance of the Rectangle class @n
+ * This instance represents the x and y coordinates of the top-left corner of the created window along with
+ * the width and height of the window.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Make(void);
+
+ //getter and setter methods for Text
+ /**
+ * @brief The method used to set the selection state of the Radio Button
+ * @return void
+ */
+ void SetSelected(const bool selectedValue);
+
+ /**
+ * @brief The method used to set the text of CustomItem
+ * @return An error code
+ */
+ void SetText(const Tizen::Base::String& text);
+
+private:
+
+ int __height; ///Height of the SettingToggleCustomItem Instance
+ bool __isSelected;
+ Tizen::Base::String __text; ///The Text for the Toggle Button
+ int __width; ///Width of the SettingToggleCustomItem Instance
+};
+
+#endif /* _CLK_RADIO_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/**\r
- * @file ClkSceneFactory.h\r
- * @brief SceneFactory class helps in creating appropriate forms with a specified form ID.\r
- * It Should be derived from Tizen::Ui::Scenes::IFormFactory class\r
- */\r
-\r
-\r
-#ifndef _CLK_SCENE_FACTORY_H_\r
-#define _CLK_SCENE_FACTORY_H_\r
-\r
-#include <FUiScenes.h>\r
-\r
-/// Use 'extern' to eliminate duplicate data allocation.\r
-extern const wchar_t* IDL_FORM_ALARM_LIST;\r
-extern const wchar_t* IDL_FORM_ALARM_DELETE_LIST;\r
-extern const wchar_t* IDL_FORM_CREATE_ALARM;\r
-extern const wchar_t* IDL_FORM_CITY_LIST;\r
-extern const wchar_t* IDL_FORM_EDIT_SNOOZE;\r
-extern const wchar_t* IDL_FORM_ALARM_RINGING;\r
-extern const wchar_t* IDL_FORM_WORLD_CLOCK_LIST;\r
-extern const wchar_t* IDL_FORM_WORLD_CLOCK_DELETE_LIST;\r
-extern const wchar_t* IDL_FORM_STOP_WATCH;\r
-extern const wchar_t* IDL_FORM_TIMER_VIEW;\r
-extern const wchar_t* IDL_FORM_TIMER_RINGING;\r
-extern const wchar_t* IDL_FORM_WORLD_CLOCK_REORDER ;\r
-extern const wchar_t* IDL_FORM_ALARM_RINGING_LOCK;\r
-extern const wchar_t* IDL_FORM_TIMER_RINGING_LOCK;\r
-\r
-/**\r
- * @class SceneFactory\r
- * @brief SceneFactory class helps in creating appropriate forms with a specified form ID.\r
- * It Should be derived from Tizen::Ui::Scenes::IFormFactory class\r
- */\r
-class SceneFactory\r
- : public Tizen::Ui::Scenes::IFormFactory\r
-{\r
-public:\r
- /**\r
- * Default constructor\r
- */\r
- SceneFactory(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- virtual ~SceneFactory(void);\r
-\r
- /**\r
- * Called with a form ID and scene ID when an instance of Form control is required.\r
- *\r
- * @return Pointer to a form\r
- * @param[in] formId The ID of the form\r
- * @param[in] sceneId The ID of the scene\r
- * @remarks To work properly, the existing formId and sceneId has to be passed.\r
- */\r
- virtual Tizen::Ui::Controls::Form* CreateFormN(const Tizen::Base::String& formId, const Tizen::Ui::Scenes::SceneId& sceneId);\r
-};\r
-\r
-#endif // _CLK_SCENE_FACTORY_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/**
+ * @file ClkSceneFactory.h
+ * @brief SceneFactory class helps in creating appropriate forms with a specified form ID.
+ * It Should be derived from Tizen::Ui::Scenes::IFormFactory class
+ */
+
+
+#ifndef _CLK_SCENE_FACTORY_H_
+#define _CLK_SCENE_FACTORY_H_
+
+#include <FUiScenes.h>
+
+/// Use 'extern' to eliminate duplicate data allocation.
+extern const wchar_t* IDL_FORM_ALARM_LIST;
+extern const wchar_t* IDL_FORM_ALARM_DELETE_LIST;
+extern const wchar_t* IDL_FORM_CREATE_ALARM;
+extern const wchar_t* IDL_FORM_CITY_LIST;
+extern const wchar_t* IDL_FORM_EDIT_SNOOZE;
+extern const wchar_t* IDL_FORM_ALARM_RINGING;
+extern const wchar_t* IDL_FORM_WORLD_CLOCK_LIST;
+extern const wchar_t* IDL_FORM_WORLD_CLOCK_DELETE_LIST;
+extern const wchar_t* IDL_FORM_STOP_WATCH;
+extern const wchar_t* IDL_FORM_TIMER_VIEW;
+extern const wchar_t* IDL_FORM_TIMER_RINGING;
+extern const wchar_t* IDL_FORM_WORLD_CLOCK_REORDER ;
+extern const wchar_t* IDL_FORM_ALARM_RINGING_LOCK;
+extern const wchar_t* IDL_FORM_TIMER_RINGING_LOCK;
+
+/**
+ * @class SceneFactory
+ * @brief SceneFactory class helps in creating appropriate forms with a specified form ID.
+ * It Should be derived from Tizen::Ui::Scenes::IFormFactory class
+ */
+class SceneFactory
+ : public Tizen::Ui::Scenes::IFormFactory
+{
+public:
+ /**
+ * Default constructor
+ */
+ SceneFactory(void);
+
+ /**
+ * Default destructor
+ */
+ virtual ~SceneFactory(void);
+
+ /**
+ * Called with a form ID and scene ID when an instance of Form control is required.
+ *
+ * @return Pointer to a form
+ * @param[in] formId The ID of the form
+ * @param[in] sceneId The ID of the scene
+ * @remarks To work properly, the existing formId and sceneId has to be passed.
+ */
+ virtual Tizen::Ui::Controls::Form* CreateFormN(const Tizen::Base::String& formId, const Tizen::Ui::Scenes::SceneId& sceneId);
+};
+
+#endif // _CLK_SCENE_FACTORY_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file SceneRegister.h\r
- * @brief This header file contains the declarations of the SceneRegister class.\r
- *\r
- */\r
-\r
-#ifndef _CLK_SCENE_REGISTER_H_\r
-#define _CLK_SCENE_REGISTER_H_\r
-\r
-/// Use 'extern' to eliminate duplicate data allocation.\r
-extern const wchar_t* IDSCN_ALARM_LIST;\r
-extern const wchar_t* IDSCN_ALARM_DELETE_LIST;\r
-extern const wchar_t* IDSCN_CREATE_ALARM;\r
-extern const wchar_t* IDSCN_CITY_LIST;\r
-extern const wchar_t* IDSCN_EDIT_SNOOZE;\r
-extern const wchar_t* IDSCN_ALARM_RINGING;\r
-extern const wchar_t* IDSCN_ALARM_RINGING_LOCK;\r
-extern const wchar_t* IDSCN_WORLD_CLOCK_LIST;\r
-extern const wchar_t* IDSCN_WORLD_CLOCK_DELETE_LIST;\r
-extern const wchar_t* IDSCN_STOP_WATCH;\r
-extern const wchar_t* IDSCN_TIMER_VIEW;\r
-extern const wchar_t* IDSCN_TIMER_RINGING;\r
-extern const wchar_t* IDSCN_WORLD_CLOCK_REORDER ;\r
-extern const wchar_t* IDSCN_TIMER_RINGING_LOCK;\r
-\r
-\r
-class SceneRegister\r
-{\r
-public:\r
-\r
- /**\r
- * Unregister and destroy the scene\r
- *\r
- * @return An error code\r
- * @param[in] sceneID The sceneID of new view.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OBJ_ALREADY_EXIST The specified @c sceneId already exists.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_INVALID_STATE This instance has not been constructed as yet.\r
- * @remarks Unregister and destroy the scene\r
- */\r
- static result DestroyAndUnRegisterScene(const Tizen::Base::String& sceneID);\r
-\r
- /**\r
- * Registers all the scenes using Register~SceneRegisterScene() method of the SceneManager class\r
- *\r
- */\r
- static void RegisterAllScenes(void);\r
-\r
- /**\r
- * Registers New main view scene for multi window\r
- *\r
- * @return no return value\r
- * @param[in] sceneID The sceneID of new view.\r
- * @param[in] formID The formID of new View.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OBJ_ALREADY_EXIST The specified @c sceneId already exists.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_INVALID_STATE This instance has not been constructed as yet.\r
- * @remarks Register the new main view in scenemanager.\r
- */\r
- static result RegisterNewMainView(const Tizen::Base::String& sceneID, const Tizen::Base::String& FormID);\r
-\r
-private:\r
- /**\r
- * Default constructor\r
- */\r
- SceneRegister(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- ~SceneRegister(void);\r
-};\r
-\r
-#endif // _CLK_SCENE_REGISTER_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file SceneRegister.h
+ * @brief This header file contains the declarations of the SceneRegister class.
+ *
+ */
+
+#ifndef _CLK_SCENE_REGISTER_H_
+#define _CLK_SCENE_REGISTER_H_
+
+/// Use 'extern' to eliminate duplicate data allocation.
+extern const wchar_t* IDSCN_ALARM_LIST;
+extern const wchar_t* IDSCN_ALARM_DELETE_LIST;
+extern const wchar_t* IDSCN_CREATE_ALARM;
+extern const wchar_t* IDSCN_CITY_LIST;
+extern const wchar_t* IDSCN_EDIT_SNOOZE;
+extern const wchar_t* IDSCN_ALARM_RINGING;
+extern const wchar_t* IDSCN_ALARM_RINGING_LOCK;
+extern const wchar_t* IDSCN_WORLD_CLOCK_LIST;
+extern const wchar_t* IDSCN_WORLD_CLOCK_DELETE_LIST;
+extern const wchar_t* IDSCN_STOP_WATCH;
+extern const wchar_t* IDSCN_TIMER_VIEW;
+extern const wchar_t* IDSCN_TIMER_RINGING;
+extern const wchar_t* IDSCN_WORLD_CLOCK_REORDER ;
+extern const wchar_t* IDSCN_TIMER_RINGING_LOCK;
+
+
+class SceneRegister
+{
+public:
+
+ /**
+ * Unregister and destroy the scene
+ *
+ * @return An error code
+ * @param[in] sceneID The sceneID of new view.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OBJ_ALREADY_EXIST The specified @c sceneId already exists.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_INVALID_STATE This instance has not been constructed as yet.
+ * @remarks Unregister and destroy the scene
+ */
+ static result DestroyAndUnRegisterScene(const Tizen::Base::String& sceneID);
+
+ /**
+ * Registers all the scenes using Register~SceneRegisterScene() method of the SceneManager class
+ *
+ */
+ static void RegisterAllScenes(void);
+
+ /**
+ * Registers New main view scene for multi window
+ *
+ * @return no return value
+ * @param[in] sceneID The sceneID of new view.
+ * @param[in] formID The formID of new View.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OBJ_ALREADY_EXIST The specified @c sceneId already exists.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_INVALID_STATE This instance has not been constructed as yet.
+ * @remarks Register the new main view in scenemanager.
+ */
+ static result RegisterNewMainView(const Tizen::Base::String& sceneID, const Tizen::Base::String& FormID);
+
+private:
+ /**
+ * Default constructor
+ */
+ SceneRegister(void);
+
+ /**
+ * Default destructor
+ */
+ ~SceneRegister(void);
+};
+
+#endif // _CLK_SCENE_REGISTER_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkSortByPopUp.h\r
- * @brief This header file contains the declarations of the SortByPopUp\r
- *\r
- */\r
-\r
-#ifndef _CLK_SORTBY_POPUP_H_\r
-#define _CLK_SORTBY_POPUP_H_\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-enum SortBy\r
-{\r
- SORTBY_RECENT,\r
- SORTBY_TIME\r
-};\r
-\r
-class ISortByEventListener\r
-{\r
-public:\r
- ISortByEventListener();\r
- virtual ~ISortByEventListener();\r
-\r
- virtual void OnSortByPopUpItemSelected(SortBy sortby ) = 0;\r
-};\r
-\r
-class SortByPopUp\r
- : public Tizen::Ui::Controls::Popup\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::IActionEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default Constructor\r
- */\r
- SortByPopUp(void);\r
-\r
- /**\r
- * @brief The Default Destructor\r
- */\r
- ~SortByPopUp(void);\r
-\r
- /**\r
- * @brief Initializes this SettingForm Form.\r
- *\r
- * @return An error code\r
- * @exception true The method is succeIOrientationEventListenerssful.\r
- * @exception false An error Occured.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * This function terminates all the controls\r
- *\r
- * @return result type\r
- * @param No parameter\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- public:\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- // IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};\r
-\r
- //ISortByEventListener\r
- ISortByEventListener* GetEventListner(void);\r
- void SetEventListner(ISortByEventListener*);\r
-\r
- void SetDstIndex(int index);\r
-\r
- private:\r
- Tizen::Ui::Controls::ListView* __pList;\r
- ISortByEventListener *__pListener;\r
- Tizen::Base::Collection::ArrayList* __pShareList;\r
-\r
- };\r
-\r
-#endif /* _CLK_SORTBY_POPUP_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkSortByPopUp.h
+ * @brief This header file contains the declarations of the SortByPopUp
+ *
+ */
+
+#ifndef _CLK_SORTBY_POPUP_H_
+#define _CLK_SORTBY_POPUP_H_
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FUi.h>
+
+enum SortBy
+{
+ SORTBY_RECENT,
+ SORTBY_TIME
+};
+
+class ISortByEventListener
+{
+public:
+ ISortByEventListener();
+ virtual ~ISortByEventListener();
+
+ virtual void OnSortByPopUpItemSelected(SortBy sortby ) = 0;
+};
+
+class SortByPopUp
+ : public Tizen::Ui::Controls::Popup
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::IActionEventListener
+ {
+ public:
+ /**
+ * @brief The Default Constructor
+ */
+ SortByPopUp(void);
+
+ /**
+ * @brief The Default Destructor
+ */
+ ~SortByPopUp(void);
+
+ /**
+ * @brief Initializes this SettingForm Form.
+ *
+ * @return An error code
+ * @exception true The method is succeIOrientationEventListenerssful.
+ * @exception false An error Occured.
+ */
+ bool Initialize(void);
+
+ /**
+ * This function terminates all the controls
+ *
+ * @return result type
+ * @param No parameter
+ */
+ virtual result OnTerminating(void);
+
+ public:
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase* pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ // IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus state){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+
+ //ISortByEventListener
+ ISortByEventListener* GetEventListner(void);
+ void SetEventListner(ISortByEventListener*);
+
+ void SetDstIndex(int index);
+
+ private:
+ Tizen::Ui::Controls::ListView* __pList;
+ ISortByEventListener *__pListener;
+ Tizen::Base::Collection::ArrayList* __pShareList;
+
+ };
+
+#endif /* _CLK_SORTBY_POPUP_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/*\r
- * @file ClkStopWatchForm.h\r
- * @brief This header file contains the declarations of the StopWatchForm Class.\r
- */\r
-\r
-#ifndef _CLK_STOP_WATCH_FORM_H_\r
-#define _CLK_STOP_WATCH_FORM_H_\r
-\r
-class StopWatchForm\r
-: public Tizen::Ui::Controls::Form\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default constructor\r
- */\r
- StopWatchForm(void);\r
-\r
- /**\r
- * @brief The Default destructor\r
- */\r
- virtual ~StopWatchForm(void);\r
-\r
- /**\r
- * @brief Initializes this StopWatchForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for StopWatchForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * @brief Terminates the controls of the UI for StopWatchForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- public:\r
- // To create the stop,start,reset and lap button\r
- void CreateButtons(void);\r
-\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- // Adds item in the list when lap button is clicked\r
- void InsertItem(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};\r
-\r
- //ITimerEventListener\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- // sets buutons based on state\r
- void SetButtonState(void);\r
-\r
- // sets the timer\r
- void SetTimer(void);\r
-\r
- // Display the timer\r
- void DisplayTimer(void);\r
-\r
- private:\r
- bool __checkFlag;\r
- Tizen::Base::String __lapTimeText;\r
- Tizen::Base::String __milliSecondsField;\r
- Tizen::Ui::Controls::Button* __pBtnLap;\r
- Tizen::Ui::Controls::Button* __pBtnReset;\r
- Tizen::Ui::Controls::Button* __pBtnRestart;\r
- Tizen::Ui::Controls::Button* __pBtnStart;\r
- Tizen::Ui::Controls::Button* __pBtnStop;\r
- Tizen::Ui::Controls::Label* __pDisplayLabel;\r
- Tizen::Ui::Controls::Label* __pEighthDigit;\r
- Tizen::Ui::Controls::Label* __pFifthDigit;\r
- Tizen::Ui::Controls::Label* __pFirstDigit;\r
- Tizen::Ui::Controls::Label* __pFourthDigit;\r
- Tizen::Base::Collection::ArrayList* __pLapTimeTextList;\r
- Tizen::Ui::Controls::ListView* __pList;\r
- Tizen::Ui::Controls::Label* __pMillisecondLabel;\r
- Tizen::Ui::Controls::Label* __pSecondDigit;\r
- Tizen::Ui::Controls::Label* __pSeventhDigit;\r
- Tizen::Ui::Controls::Label* __pSixthDigit;\r
- Tizen::Ui::Controls::Label* __pThirdDigit;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Base::Collection::ArrayList* __pWatchTextList;\r
- long long __restartTick;\r
- long long __startTick;\r
- int __status;\r
- long long __stopTick;\r
- long long __temp;\r
- int __timerResetFlag;\r
- Tizen::Base::String __timerResetKey;\r
- long long __tmpTick;\r
- long long __tmpTicker;\r
- Tizen::Base::String __watchText;\r
- };\r
-\r
-#endif // _CLK_STOP_WATCH_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/*
+ * @file ClkStopWatchForm.h
+ * @brief This header file contains the declarations of the StopWatchForm Class.
+ */
+
+#ifndef _CLK_STOP_WATCH_FORM_H_
+#define _CLK_STOP_WATCH_FORM_H_
+
+class StopWatchForm
+: public Tizen::Ui::Controls::Form
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ {
+ public:
+ /**
+ * @brief The Default constructor
+ */
+ StopWatchForm(void);
+
+ /**
+ * @brief The Default destructor
+ */
+ virtual ~StopWatchForm(void);
+
+ /**
+ * @brief Initializes this StopWatchForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for StopWatchForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * @brief Terminates the controls of the UI for StopWatchForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ */
+ virtual result OnTerminating(void);
+
+ public:
+ // To create the stop,start,reset and lap button
+ void CreateButtons(void);
+
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ // Adds item in the list when lap button is clicked
+ void InsertItem(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};
+
+ //ITimerEventListener
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ // sets buutons based on state
+ void SetButtonState(void);
+
+ // sets the timer
+ void SetTimer(void);
+
+ // Display the timer
+ void DisplayTimer(void);
+
+ private:
+ bool __checkFlag;
+ Tizen::Base::String __lapTimeText;
+ Tizen::Base::String __milliSecondsField;
+ Tizen::Ui::Controls::Button* __pBtnLap;
+ Tizen::Ui::Controls::Button* __pBtnReset;
+ Tizen::Ui::Controls::Button* __pBtnRestart;
+ Tizen::Ui::Controls::Button* __pBtnStart;
+ Tizen::Ui::Controls::Button* __pBtnStop;
+ Tizen::Ui::Controls::Label* __pDisplayLabel;
+ Tizen::Ui::Controls::Label* __pEighthDigit;
+ Tizen::Ui::Controls::Label* __pFifthDigit;
+ Tizen::Ui::Controls::Label* __pFirstDigit;
+ Tizen::Ui::Controls::Label* __pFourthDigit;
+ Tizen::Base::Collection::ArrayList* __pLapTimeTextList;
+ Tizen::Ui::Controls::ListView* __pList;
+ Tizen::Ui::Controls::Label* __pMillisecondLabel;
+ Tizen::Ui::Controls::Label* __pSecondDigit;
+ Tizen::Ui::Controls::Label* __pSeventhDigit;
+ Tizen::Ui::Controls::Label* __pSixthDigit;
+ Tizen::Ui::Controls::Label* __pThirdDigit;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Base::Collection::ArrayList* __pWatchTextList;
+ long long __restartTick;
+ long long __startTick;
+ int __status;
+ long long __stopTick;
+ long long __temp;
+ int __timerResetFlag;
+ Tizen::Base::String __timerResetKey;
+ long long __tmpTick;
+ long long __tmpTicker;
+ Tizen::Base::String __watchText;
+ };
+
+#endif // _CLK_STOP_WATCH_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/*\r
- * @file ClkStopWatchPresentationModel.h\r
- * @brief This header file contains the declarations of the StopWatchPresentationModel Class.\r
- */\r
-\r
-\r
-#ifndef CLKSTOPWATCHPRESENTATIONMODEL_H_\r
-#define CLKSTOPWATCHPRESENTATIONMODEL_H_\r
-\r
-class StopWatchPresentationModel\r
-{\r
-public:\r
-\r
- /**\r
- * This function returns the instance of StopWatchPresentationModel\r
- *\r
- * @return The instance of StopWatchPresentationModel\r
- */\r
- static StopWatchPresentationModel* GetInstance();\r
-\r
- /**\r
- * This function gets the stopwatch lap values\r
- *\r
- * @return No return type\r
- * @param lapsList The list of watchText values\r
- * lapTimeTextList The list of lapTimeList values\r
- * tempTicker A string\r
- * checkFlag An integer\r
- */\r
- void GetStopWatchLaps(Tizen::Base::Collection::ArrayList& lapsList, Tizen::Base::Collection::ArrayList& lapTimeTextList, Tizen::Base::String& tempTicker, int& checkFlag);\r
-\r
- /**\r
- * This function gets the stopwatch values and its status\r
- *\r
- * @return No return type\r
- * @param status The status of Timer\r
- * startTick Time at which start button is clicked\r
- * tempTick difference between stopTick and restartTick\r
- * restartTick Time at which restart button is clicked\r
- * stopTick Time at which stop button is clicked\r
- * milliSecondText milliSeconds when the app is terminated\r
- * watchText watchText when the app is terminated\r
- */\r
- void GetStopWatchValue(int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& milliSecondText, Tizen::Base::String& watchText);\r
-\r
- /**\r
- * This function sets the stopwatch lap values\r
- *\r
- * @return No return type\r
- * @param watchTextList The list of watchText values\r
- * lapTimeTextList The list of lapTimeList values\r
- * tempTicker A string\r
- * checkFlag An Integer\r
- */\r
- void SetStopWatchLaps(Tizen::Base::Collection::ArrayList& watchTextList, Tizen::Base::Collection::ArrayList& lapTimeTextList, Tizen::Base::String& tempTicker, int& checkFlag);\r
-\r
- /**\r
- * This function sets the stopwatch values and its status\r
- *\r
- * @return No return type\r
- * @param status The status of StopWatch\r
- * startTick Time at which start button is clicked\r
- * tempTick difference between stopTick and restartTick\r
- * restartTick Time at which restart button is clicked\r
- * stopTick Time at which stop button is clicked\r
- * milliSecondText milliSeconds when the app is terminated\r
- * watchText watchText when the app is terminated\r
- */\r
- void SetStopWatchValue(int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& milliSecondText, Tizen::Base::String& watchText);\r
-\r
-private:\r
- /**\r
- * Default constructor\r
- */\r
- StopWatchPresentationModel(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- ~StopWatchPresentationModel(void);\r
-\r
- /**\r
- * This function constructs the instance of StopWatchPresentationModel\r
- *\r
- */\r
- result Construct(void);\r
-\r
- /**\r
- * This function creates the instance of StopWatchPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void CreateInstance(void);\r
-\r
- /**\r
- * This function destroys the instance of StopWatchPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void DestroyInstance(void);\r
-\r
-private:\r
- Tizen::Base::String __checkFlagKey;\r
- Tizen::Base::String __LapCountKey;\r
- Tizen::Base::String __millisecondTextKey;\r
- Tizen::App::AppRegistry* __pAppRegistry;\r
- static StopWatchPresentationModel* __pInstance;\r
- Tizen::Base::String __restartTick;\r
- Tizen::Base::String __startTick;\r
- Tizen::Base::String __statusKey;\r
- Tizen::Base::String __stopTick;\r
- Tizen::Base::String __tempTick;\r
- Tizen::Base::String __tmpTicker;\r
- Tizen::Base::String __watchTextKey;\r
-};\r
-\r
-#endif /* CLKSTOPWATCHPRESENTATIONMODEL_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/*
+ * @file ClkStopWatchPresentationModel.h
+ * @brief This header file contains the declarations of the StopWatchPresentationModel Class.
+ */
+
+
+#ifndef CLKSTOPWATCHPRESENTATIONMODEL_H_
+#define CLKSTOPWATCHPRESENTATIONMODEL_H_
+
+class StopWatchPresentationModel
+{
+public:
+
+ /**
+ * This function returns the instance of StopWatchPresentationModel
+ *
+ * @return The instance of StopWatchPresentationModel
+ */
+ static StopWatchPresentationModel* GetInstance();
+
+ /**
+ * This function gets the stopwatch lap values
+ *
+ * @return No return type
+ * @param lapsList The list of watchText values
+ * lapTimeTextList The list of lapTimeList values
+ * tempTicker A string
+ * checkFlag An integer
+ */
+ void GetStopWatchLaps(Tizen::Base::Collection::ArrayList& lapsList, Tizen::Base::Collection::ArrayList& lapTimeTextList, Tizen::Base::String& tempTicker, int& checkFlag);
+
+ /**
+ * This function gets the stopwatch values and its status
+ *
+ * @return No return type
+ * @param status The status of Timer
+ * startTick Time at which start button is clicked
+ * tempTick difference between stopTick and restartTick
+ * restartTick Time at which restart button is clicked
+ * stopTick Time at which stop button is clicked
+ * milliSecondText milliSeconds when the app is terminated
+ * watchText watchText when the app is terminated
+ */
+ void GetStopWatchValue(int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& milliSecondText, Tizen::Base::String& watchText);
+
+ /**
+ * This function sets the stopwatch lap values
+ *
+ * @return No return type
+ * @param watchTextList The list of watchText values
+ * lapTimeTextList The list of lapTimeList values
+ * tempTicker A string
+ * checkFlag An Integer
+ */
+ void SetStopWatchLaps(Tizen::Base::Collection::ArrayList& watchTextList, Tizen::Base::Collection::ArrayList& lapTimeTextList, Tizen::Base::String& tempTicker, int& checkFlag);
+
+ /**
+ * This function sets the stopwatch values and its status
+ *
+ * @return No return type
+ * @param status The status of StopWatch
+ * startTick Time at which start button is clicked
+ * tempTick difference between stopTick and restartTick
+ * restartTick Time at which restart button is clicked
+ * stopTick Time at which stop button is clicked
+ * milliSecondText milliSeconds when the app is terminated
+ * watchText watchText when the app is terminated
+ */
+ void SetStopWatchValue(int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& milliSecondText, Tizen::Base::String& watchText);
+
+private:
+ /**
+ * Default constructor
+ */
+ StopWatchPresentationModel(void);
+
+ /**
+ * Default destructor
+ */
+ ~StopWatchPresentationModel(void);
+
+ /**
+ * This function constructs the instance of StopWatchPresentationModel
+ *
+ */
+ result Construct(void);
+
+ /**
+ * This function creates the instance of StopWatchPresentationModel
+ *
+ * @return No return value
+ */
+ static void CreateInstance(void);
+
+ /**
+ * This function destroys the instance of StopWatchPresentationModel
+ *
+ * @return No return value
+ */
+ static void DestroyInstance(void);
+
+private:
+ Tizen::Base::String __checkFlagKey;
+ Tizen::Base::String __LapCountKey;
+ Tizen::Base::String __millisecondTextKey;
+ Tizen::App::AppRegistry* __pAppRegistry;
+ static StopWatchPresentationModel* __pInstance;
+ Tizen::Base::String __restartTick;
+ Tizen::Base::String __startTick;
+ Tizen::Base::String __statusKey;
+ Tizen::Base::String __stopTick;
+ Tizen::Base::String __tempTick;
+ Tizen::Base::String __tmpTicker;
+ Tizen::Base::String __watchTextKey;
+};
+
+#endif /* CLKSTOPWATCHPRESENTATIONMODEL_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/*\r
- * @file ClkTimerForm.h\r
- * @brief This header file contains the declarations of the TimerForm Class.\r
- */\r
-\r
-#ifndef _CLK_TIMER_FORM_H_\r
-#define _CLK_TIMER_FORM_H_\r
-\r
-class TimerForm\r
-: public Tizen::Ui::Controls::Form\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- {\r
- public:\r
- /**\r
- * Default constructor\r
- */\r
- TimerForm(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- virtual ~TimerForm(void);\r
-\r
- /**\r
- * @brief Displays the time\r
- *\r
- * @return No return value\r
- */\r
- void DisplayTimer(void);\r
-\r
- /**\r
- * @brief Initializes %TimerForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for %TimerForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * @brief Terminates the controls of the UI for %TimerForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- /**\r
- * @brief Enable the buttons based on state value\r
- *\r
- * @return No return value\r
- */\r
- void SetButtonState(void);\r
-\r
- /**\r
- * @brief Updates the timer\r
- *\r
- * @return No return value\r
- * @param[in] inputval\r
- */\r
- void SetTimer(const Tizen::Base::String &inputval);\r
-\r
- public:\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};\r
-\r
- //ITimerEventListener\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
- private:\r
- Tizen::Base::String __inputText;\r
- bool __isHourSelected;\r
- bool __isMinuteSelected;\r
- bool __isSecondSelected;\r
- bool __isTimerUp;\r
- Tizen::App::AppRegistry* __pAppRegistry;\r
- Tizen::Ui::Controls::Button* __pBtnHourDisplay;\r
- Tizen::Ui::Controls::Button* __pBtnMinuteDisplay;\r
- Tizen::Ui::Controls::Button* __pBtnReset;\r
- Tizen::Ui::Controls::Button* __pBtnRestart;\r
- Tizen::Ui::Controls::Button* __pBtnSecondDisplay;\r
- Tizen::Ui::Controls::Button* __pBtnSetHours;\r
- Tizen::Ui::Controls::Button* __pBtnSetMinutes;\r
- Tizen::Ui::Controls::Button* __pBtnSetSeconds;\r
- Tizen::Ui::Controls::Button* __pBtnStart;\r
- Tizen::Ui::Controls::Button* __pBtnStop;\r
- Tizen::Ui::Controls::Button* __pButton0;\r
- Tizen::Ui::Controls::Button* __pButton1;\r
- Tizen::Ui::Controls::Button* __pButton2;\r
- Tizen::Ui::Controls::Button* __pButton3;\r
- Tizen::Ui::Controls::Button* __pButton4;\r
- Tizen::Ui::Controls::Button* __pButton5;\r
- Tizen::Ui::Controls::Button* __pButton6;\r
- Tizen::Ui::Controls::Button* __pButton7;\r
- Tizen::Ui::Controls::Button* __pButton8;\r
- Tizen::Ui::Controls::Button* __pButton9;\r
- Tizen::Ui::Controls::Button* __pButtonClr;\r
- Tizen::Ui::Controls::Label* __pDisplayLabel;\r
- Tizen::Ui::Controls::Panel* __pInputPanel;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Ui::Controls::Panel* __pTimerPanel;\r
- Tizen::Ui::Controls::Panel* __pTimerStartedPanel;\r
- long long __restartTick;\r
- int __spanHours;\r
- int __spanMinutes;\r
- int __spanSeconds;\r
- long long __startTick;\r
- int __status;\r
- long long __stopTick;\r
- int __timerResetFlag;\r
- Tizen::Base::String __timerResetKey;\r
- long long __tmpTick;\r
- Tizen::Base::String __userSetValue;\r
- Tizen::Base::DateTime __registeredTime;\r
- };\r
-\r
-#endif // _CLK_TIMER_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/*
+ * @file ClkTimerForm.h
+ * @brief This header file contains the declarations of the TimerForm Class.
+ */
+
+#ifndef _CLK_TIMER_FORM_H_
+#define _CLK_TIMER_FORM_H_
+
+class TimerForm
+: public Tizen::Ui::Controls::Form
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ {
+ public:
+ /**
+ * Default constructor
+ */
+ TimerForm(void);
+
+ /**
+ * Default destructor
+ */
+ virtual ~TimerForm(void);
+
+ /**
+ * @brief Displays the time
+ *
+ * @return No return value
+ */
+ void DisplayTimer(void);
+
+ /**
+ * @brief Initializes %TimerForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for %TimerForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * @brief Terminates the controls of the UI for %TimerForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ virtual result OnTerminating(void);
+
+ /**
+ * @brief Enable the buttons based on state value
+ *
+ * @return No return value
+ */
+ void SetButtonState(void);
+
+ /**
+ * @brief Updates the timer
+ *
+ * @return No return value
+ * @param[in] inputval
+ */
+ void SetTimer(const Tizen::Base::String &inputval);
+
+ public:
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ //ITimerEventListener
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+ private:
+ Tizen::Base::String __inputText;
+ bool __isHourSelected;
+ bool __isMinuteSelected;
+ bool __isSecondSelected;
+ bool __isTimerUp;
+ Tizen::App::AppRegistry* __pAppRegistry;
+ Tizen::Ui::Controls::Button* __pBtnHourDisplay;
+ Tizen::Ui::Controls::Button* __pBtnMinuteDisplay;
+ Tizen::Ui::Controls::Button* __pBtnReset;
+ Tizen::Ui::Controls::Button* __pBtnRestart;
+ Tizen::Ui::Controls::Button* __pBtnSecondDisplay;
+ Tizen::Ui::Controls::Button* __pBtnSetHours;
+ Tizen::Ui::Controls::Button* __pBtnSetMinutes;
+ Tizen::Ui::Controls::Button* __pBtnSetSeconds;
+ Tizen::Ui::Controls::Button* __pBtnStart;
+ Tizen::Ui::Controls::Button* __pBtnStop;
+ Tizen::Ui::Controls::Button* __pButton0;
+ Tizen::Ui::Controls::Button* __pButton1;
+ Tizen::Ui::Controls::Button* __pButton2;
+ Tizen::Ui::Controls::Button* __pButton3;
+ Tizen::Ui::Controls::Button* __pButton4;
+ Tizen::Ui::Controls::Button* __pButton5;
+ Tizen::Ui::Controls::Button* __pButton6;
+ Tizen::Ui::Controls::Button* __pButton7;
+ Tizen::Ui::Controls::Button* __pButton8;
+ Tizen::Ui::Controls::Button* __pButton9;
+ Tizen::Ui::Controls::Button* __pButtonClr;
+ Tizen::Ui::Controls::Label* __pDisplayLabel;
+ Tizen::Ui::Controls::Panel* __pInputPanel;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Ui::Controls::Panel* __pTimerPanel;
+ Tizen::Ui::Controls::Panel* __pTimerStartedPanel;
+ long long __restartTick;
+ int __spanHours;
+ int __spanMinutes;
+ int __spanSeconds;
+ long long __startTick;
+ int __status;
+ long long __stopTick;
+ int __timerResetFlag;
+ Tizen::Base::String __timerResetKey;
+ long long __tmpTick;
+ Tizen::Base::String __userSetValue;
+ Tizen::Base::DateTime __registeredTime;
+ };
+
+#endif // _CLK_TIMER_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/*\r
- * @file ClkTimerPresentationModel.h\r
- * @brief This header file contains the declarations of the TimerPresentationModel Class.\r
- */\r
-\r
-#ifndef CLKTIMERPRESENTATIONMODEL_H_\r
-#define CLKTIMERPRESENTATIONMODEL_H_\r
-\r
-class TimerPresentationModel\r
-{\r
-public:\r
- /**\r
- * This function returns the instance of TimerPresentationModel\r
- *\r
- * @return The instance of TimerPresentationModel\r
- */\r
- static TimerPresentationModel* GetInstance();\r
-\r
- /**\r
- * This function gets the timer value and its status\r
- *\r
- * @return No return type\r
- * @param timerValue The current Timer value\r
- * status The status of Timer\r
- * startTick Time at which start button is clicked\r
- * tempTick difference between stopTick and restartTick\r
- * restartTick Time at which restart button is clicked\r
- * stopTick Time at which stop button is clicked\r
- * userSetValue The timer value set by user\r
- */\r
- void GetTimerValue(Tizen::Base::DateTime& timerValue, Tizen::Base::String& remainingTime, int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& userSetValue, Tizen::Base::String& registeredValue);\r
-\r
- /**\r
- * This function sets the timer value and its status\r
- *\r
- * @return No return type\r
- * @param remainingTime The remaining time of Timer\r
- * status The status of Timer\r
- * startTick Time at which start button is clicked\r
- * tempTick difference between stopTick and restartTick\r
- * restartTick Time at which restart button is clicked\r
- * stopTick Time at which stop button is clicked\r
- * userSetValue The timer value set by user\r
- */\r
- void SetTimerValue(const Tizen::Base::DateTime& remainingTime, int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& userSetValue, Tizen::Base::String& registeredValue);\r
-\r
-private:\r
- /**\r
- * Default constructor\r
- */\r
- TimerPresentationModel(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- ~TimerPresentationModel(void);\r
-\r
- /**\r
- * This function constructs the instance of TimerPresentationModel\r
- *\r
- */\r
- result Construct(void);\r
-\r
- /**\r
- * This function creates the instance of TimerPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void CreateInstance(void);\r
-\r
- /**\r
- * This function destroys the instance of TimerPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void DestroyInstance(void);\r
-\r
-private:\r
- Tizen::Base::String __nameKey;\r
- Tizen::App::AppRegistry* __pAppRegistry;\r
- static TimerPresentationModel* __pInstance;\r
- Tizen::Base::String __remainingTimeKey;\r
- Tizen::Base::String __restartTickKey;\r
- Tizen::Base::String __statusKey;\r
- Tizen::Base::String __startTickKey;\r
- Tizen::Base::String __stopTickKey;\r
- Tizen::Base::String __tempTickKey;\r
- Tizen::Base::String __userSetValueKey;\r
- Tizen::Base::String __registeredValueKey;\r
-\r
-public:\r
- Tizen::Base::String userValue;\r
-};\r
-\r
-#endif /* CLKTIMERPRESENTATIONMODEL_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/*
+ * @file ClkTimerPresentationModel.h
+ * @brief This header file contains the declarations of the TimerPresentationModel Class.
+ */
+
+#ifndef CLKTIMERPRESENTATIONMODEL_H_
+#define CLKTIMERPRESENTATIONMODEL_H_
+
+class TimerPresentationModel
+{
+public:
+ /**
+ * This function returns the instance of TimerPresentationModel
+ *
+ * @return The instance of TimerPresentationModel
+ */
+ static TimerPresentationModel* GetInstance();
+
+ /**
+ * This function gets the timer value and its status
+ *
+ * @return No return type
+ * @param timerValue The current Timer value
+ * status The status of Timer
+ * startTick Time at which start button is clicked
+ * tempTick difference between stopTick and restartTick
+ * restartTick Time at which restart button is clicked
+ * stopTick Time at which stop button is clicked
+ * userSetValue The timer value set by user
+ */
+ void GetTimerValue(Tizen::Base::DateTime& timerValue, Tizen::Base::String& remainingTime, int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& userSetValue, Tizen::Base::String& registeredValue);
+
+ /**
+ * This function sets the timer value and its status
+ *
+ * @return No return type
+ * @param remainingTime The remaining time of Timer
+ * status The status of Timer
+ * startTick Time at which start button is clicked
+ * tempTick difference between stopTick and restartTick
+ * restartTick Time at which restart button is clicked
+ * stopTick Time at which stop button is clicked
+ * userSetValue The timer value set by user
+ */
+ void SetTimerValue(const Tizen::Base::DateTime& remainingTime, int& status, Tizen::Base::String& startTick, Tizen::Base::String& tempTick, Tizen::Base::String& restartTick, Tizen::Base::String& stopTick, Tizen::Base::String& userSetValue, Tizen::Base::String& registeredValue);
+
+private:
+ /**
+ * Default constructor
+ */
+ TimerPresentationModel(void);
+
+ /**
+ * Default destructor
+ */
+ ~TimerPresentationModel(void);
+
+ /**
+ * This function constructs the instance of TimerPresentationModel
+ *
+ */
+ result Construct(void);
+
+ /**
+ * This function creates the instance of TimerPresentationModel
+ *
+ * @return No return value
+ */
+ static void CreateInstance(void);
+
+ /**
+ * This function destroys the instance of TimerPresentationModel
+ *
+ * @return No return value
+ */
+ static void DestroyInstance(void);
+
+private:
+ Tizen::Base::String __nameKey;
+ Tizen::App::AppRegistry* __pAppRegistry;
+ static TimerPresentationModel* __pInstance;
+ Tizen::Base::String __remainingTimeKey;
+ Tizen::Base::String __restartTickKey;
+ Tizen::Base::String __statusKey;
+ Tizen::Base::String __startTickKey;
+ Tizen::Base::String __stopTickKey;
+ Tizen::Base::String __tempTickKey;
+ Tizen::Base::String __userSetValueKey;
+ Tizen::Base::String __registeredValueKey;
+
+public:
+ Tizen::Base::String userValue;
+};
+
+#endif /* CLKTIMERPRESENTATIONMODEL_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTimerRingingForm.h\r
- * @brief This is the header file for TimerRingingForm class\r
- */\r
-\r
-#ifndef CLKTIMERRINGINGFORM_H_\r
-#define CLKTIMERRINGINGFORM_H_\r
-\r
-#include <FTelCallManager.h>\r
-#include <FTelCallInfo.h>\r
-\r
-class TimerRingingForm\r
-: public Tizen::Ui::Controls::Form\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Media::IPlayerEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::Telephony::ITelephonyCallEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default constructor\r
- */\r
- TimerRingingForm();\r
-\r
- /**\r
- * @brief The Default destructor\r
- */\r
- virtual ~TimerRingingForm();\r
-\r
- /**\r
- * @brief Initializes this TimerRingingForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for TimerRingingForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result OnInitializing(void);\r
-\r
- public:\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //ISceenEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- // ITimerEventListener\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- //ITelephonyCallEventListener\r
- void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);\r
-\r
- // IPlayerEventListener\r
- virtual void OnPlayerOpened(result r) {}\r
- virtual void OnPlayerEndOfClip(void) {}\r
- virtual void OnPlayerBuffering(int percent) {}\r
- virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}\r
- virtual void OnPlayerInterrupted(void) {}\r
- virtual void OnPlayerReleased(void) {}\r
- virtual void OnPlayerSeekCompleted(result r) {}\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);\r
-\r
- private:\r
- Tizen::Telephony::CallManager __callManager;\r
- Tizen::Media::Player __player;\r
- Tizen::Ui::Controls::Button* __pStopButton;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Ui::Controls::Label* __pTimerTimeLabel;\r
- };\r
-\r
-#endif /* CLKTIMERRINGINGFORM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTimerRingingForm.h
+ * @brief This is the header file for TimerRingingForm class
+ */
+
+#ifndef CLKTIMERRINGINGFORM_H_
+#define CLKTIMERRINGINGFORM_H_
+
+#include <FTelCallManager.h>
+#include <FTelCallInfo.h>
+
+class TimerRingingForm
+: public Tizen::Ui::Controls::Form
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Media::IPlayerEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::Telephony::ITelephonyCallEventListener
+ {
+ public:
+ /**
+ * @brief The Default constructor
+ */
+ TimerRingingForm();
+
+ /**
+ * @brief The Default destructor
+ */
+ virtual ~TimerRingingForm();
+
+ /**
+ * @brief Initializes this TimerRingingForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for TimerRingingForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result OnInitializing(void);
+
+ public:
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //ISceenEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ // ITimerEventListener
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ //ITelephonyCallEventListener
+ void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);
+
+ // IPlayerEventListener
+ virtual void OnPlayerOpened(result r) {}
+ virtual void OnPlayerEndOfClip(void) {}
+ virtual void OnPlayerBuffering(int percent) {}
+ virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}
+ virtual void OnPlayerInterrupted(void) {}
+ virtual void OnPlayerReleased(void) {}
+ virtual void OnPlayerSeekCompleted(result r) {}
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ virtual void OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs);
+
+ private:
+ Tizen::Telephony::CallManager __callManager;
+ Tizen::Media::Player __player;
+ Tizen::Ui::Controls::Button* __pStopButton;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Ui::Controls::Label* __pTimerTimeLabel;
+ };
+
+#endif /* CLKTIMERRINGINGFORM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTimerRingingLockForm.h\r
- * @brief This is the header file for TimerRingingLockForm class\r
- */\r
-\r
-#ifndef _CLK_TIMER_RINGING_LOCK_FORM_H_\r
-#define _CLK_TIMER_RINGING_LOCK_FORM_H_\r
-\r
-#include <FTelCallManager.h>\r
-#include <FTelCallInfo.h>\r
-\r
-#include "ClkAlarmRingingSnoozeOffPanel.h"\r
-\r
-class TimerRingingLockForm\r
-: public Tizen::Ui::Controls::Form\r
- , public IAlarmRingingLockPanelEvent\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTimerRingingLockForm.h
+ * @brief This is the header file for TimerRingingLockForm class
+ */
+
+#ifndef _CLK_TIMER_RINGING_LOCK_FORM_H_
+#define _CLK_TIMER_RINGING_LOCK_FORM_H_
+
+#include <FTelCallManager.h>
+#include <FTelCallInfo.h>
+
+#include "ClkAlarmRingingSnoozeOffPanel.h"
+
+class TimerRingingLockForm
+: public Tizen::Ui::Controls::Form
+ , public IAlarmRingingLockPanelEvent
, public Tizen::Base::Runtime::ITimerEventListener
- , public Tizen::Media::IPlayerEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- , public Tizen::Telephony::ITelephonyCallEventListener\r
- {\r
- public:\r
- /**\r
- * @brief The Default constructor\r
- */\r
- TimerRingingLockForm();\r
-\r
- /**\r
- * @brief The Default destructor\r
- */\r
- virtual ~TimerRingingLockForm();\r
-\r
- /**\r
- * @brief Initializes this TimerRingingLockForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for TimerRingingLockForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result OnInitializing(void);\r
-\r
- public:\r
- //IAlarmRingingLockPanelEvent\r
- virtual void OnAlarmRingingLockEvent(AlarmRingingCommandId commandId);\r
-\r
- //ISceenEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- // ITimerEventListener\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- //ITelephonyCallEventListener\r
- void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);\r
-\r
- // IPlayerEventListener\r
- virtual void OnPlayerOpened(result r) {}\r
- virtual void OnPlayerEndOfClip(void) {}\r
- virtual void OnPlayerBuffering(int percent) {}\r
- virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}\r
- virtual void OnPlayerInterrupted(void) {}\r
- virtual void OnPlayerReleased(void) {}\r
- virtual void OnPlayerSeekCompleted(result r) {}\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- private:\r
- Tizen::Telephony::CallManager __callManager;\r
- Tizen::Media::Player __player;\r
- AlarmRingingSnoozeOffPanel* __pAlarmRingingSnoozeOffPanel;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- Tizen::Ui::Controls::Label* __pTimerTimeLabel;\r
- };\r
-\r
-#endif /* CLKTIMERRINGINGFORM_H_ */\r
+ , public Tizen::Media::IPlayerEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ , public Tizen::Telephony::ITelephonyCallEventListener
+ {
+ public:
+ /**
+ * @brief The Default constructor
+ */
+ TimerRingingLockForm();
+
+ /**
+ * @brief The Default destructor
+ */
+ virtual ~TimerRingingLockForm();
+
+ /**
+ * @brief Initializes this TimerRingingLockForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for TimerRingingLockForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result OnInitializing(void);
+
+ public:
+ //IAlarmRingingLockPanelEvent
+ virtual void OnAlarmRingingLockEvent(AlarmRingingCommandId commandId);
+
+ //ISceenEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ // ITimerEventListener
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ //ITelephonyCallEventListener
+ void OnTelephonyCallStatusChangedN (Tizen::Telephony::CallStatus callStatus, Tizen::Telephony::CallInfo *pCallInfo);
+
+ // IPlayerEventListener
+ virtual void OnPlayerOpened(result r) {}
+ virtual void OnPlayerEndOfClip(void) {}
+ virtual void OnPlayerBuffering(int percent) {}
+ virtual void OnPlayerErrorOccurred(Tizen::Media::PlayerErrorReason r) {}
+ virtual void OnPlayerInterrupted(void) {}
+ virtual void OnPlayerReleased(void) {}
+ virtual void OnPlayerSeekCompleted(result r) {}
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ private:
+ Tizen::Telephony::CallManager __callManager;
+ Tizen::Media::Player __player;
+ AlarmRingingSnoozeOffPanel* __pAlarmRingingSnoozeOffPanel;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ Tizen::Ui::Controls::Label* __pTimerTimeLabel;
+ };
+
+#endif /* CLKTIMERRINGINGFORM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/*\r
- * @file ToggleCustomItem.h\r
- * @brief This is the header file for the ToggleCustomItem class\r
- */\r
-\r
-#ifndef _CLK_SETTING_TOGGLE_CUSTOM_ITEM_H_\r
-#define _CLK_SETTING_TOGGLE_CUSTOM_ITEM_H_\r
-\r
-class ToggleCustomItem\r
-: public Tizen::Ui::Controls::CustomItem\r
- {\r
- public:\r
- /**\r
- * @brief The Default constructor\r
- */\r
- ToggleCustomItem(void);\r
-\r
- /**\r
- * @brief The Default destructor\r
- */\r
- virtual ~ToggleCustomItem(void);\r
-\r
- /**\r
- * @brief Initializes this instance of %DropDownCustomItem.\r
- *\r
- * @return An error code\r
- * @param[in] void An instance of the Rectangle class @n\r
- * This instance represents the x and y coordinates of the top-left corner of the created window along with\r
- * the width and height of the window.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Construct(int width, int height);\r
-\r
- //getter and setter methods for __text\r
-\r
- /**\r
- * @brief The method used to get the text of CustomItem\r
- *\r
- * @return A String\r
- */\r
- Tizen::Base::String GetText(void);\r
-\r
- /**\r
- * @brief Add all the required elements and create the Custom Item.\r
- *\r
- * @return An error code\r
- * @param[in] void An instance of the Rectangle class @n\r
- * This instance represents the x and y coordinates of the top-left corner of the created window along with\r
- * the width and height of the window.\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result Make(void);\r
-\r
- /**\r
- * @brief The method used to set the text of CustomItem\r
- *\r
- * @return No return value\r
- * @param[in] text A string to set\r
- */\r
- void SetText(Tizen::Base::String& text);\r
-\r
- private:\r
- int __height; ///Height of the SettingToggleCustomItem Instance\r
- Tizen::Base::String __text; ///The Text for the Toggle Button\r
- int __width; ///Width of the SettingToggleCustomItem Instance\r
- };\r
-\r
-#endif /* _CLK_SETTING_TOGGLE_CUSTOM_ITEM_H_ */\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/*
+ * @file ToggleCustomItem.h
+ * @brief This is the header file for the ToggleCustomItem class
+ */
+
+#ifndef _CLK_SETTING_TOGGLE_CUSTOM_ITEM_H_
+#define _CLK_SETTING_TOGGLE_CUSTOM_ITEM_H_
+
+class ToggleCustomItem
+: public Tizen::Ui::Controls::CustomItem
+ {
+ public:
+ /**
+ * @brief The Default constructor
+ */
+ ToggleCustomItem(void);
+
+ /**
+ * @brief The Default destructor
+ */
+ virtual ~ToggleCustomItem(void);
+
+ /**
+ * @brief Initializes this instance of %DropDownCustomItem.
+ *
+ * @return An error code
+ * @param[in] void An instance of the Rectangle class @n
+ * This instance represents the x and y coordinates of the top-left corner of the created window along with
+ * the width and height of the window.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Construct(int width, int height);
+
+ //getter and setter methods for __text
+
+ /**
+ * @brief The method used to get the text of CustomItem
+ *
+ * @return A String
+ */
+ Tizen::Base::String GetText(void);
+
+ /**
+ * @brief Add all the required elements and create the Custom Item.
+ *
+ * @return An error code
+ * @param[in] void An instance of the Rectangle class @n
+ * This instance represents the x and y coordinates of the top-left corner of the created window along with
+ * the width and height of the window.
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result Make(void);
+
+ /**
+ * @brief The method used to set the text of CustomItem
+ *
+ * @return No return value
+ * @param[in] text A string to set
+ */
+ void SetText(Tizen::Base::String& text);
+
+ private:
+ int __height; ///Height of the SettingToggleCustomItem Instance
+ Tizen::Base::String __text; ///The Text for the Toggle Button
+ int __width; ///Width of the SettingToggleCustomItem Instance
+ };
+
+#endif /* _CLK_SETTING_TOGGLE_CUSTOM_ITEM_H_ */
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-//\r
-/**\r
- * @file ClkTypes.h\r
- * @brief This is the header file for TableType\r
- */\r
-\r
-#ifndef _CLK_TYPES_H_\r
-#define _CLK_TYPES_H_\r
-\r
-static const int MAX_WORLDCLOCK_TABLE_COLUMN = 10;\r
-static const int MAX_ALARM_TABLE_COLUMN = 15;\r
-static const int LIST_ITEM_HEIGHT = 204;\r
-\r
-extern const int DURATION_RINGING_UI_UPDATION;\r
-extern const int MIN_Y_TOUCH_POSITION;\r
-extern const int MAX_Y_TOUCH_POSITION;\r
-extern const int CONTROL_WIDTH_OFFSET;\r
-extern const int Y_RINGER_LOCK_PANEL_OFFSET;\r
-extern const int H_RINGER_LOCK_PANEL;\r
-extern const int Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET;\r
-\r
-\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_ALARM;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_ALARM_NORMAL;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_TIMER;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_TIMER_NORMAL;\r
-extern const wchar_t* IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED;\r
-extern const wchar_t* IDB_EDIT_BACKGROUND;\r
-extern const wchar_t* IDB_LIST_LEFTSIDE;\r
-extern const wchar_t* IDB_BUTTON_SWEEP_DELETE;\r
-extern const wchar_t* IDB_BUTTON_SWEEP_DELETE_PRESS;\r
-extern const wchar_t* IDB_ALARM_CLOCK;\r
-extern const wchar_t* IDB_CHECK_BG;\r
-extern const wchar_t* IDB_CHECK_CHECKING;\r
-extern const wchar_t* IDB_LIST_EXPAND_CLOSED;\r
-extern const wchar_t* IDB_LIST_EXPAND_CLOSED_PRESS;\r
-extern const wchar_t* IDB_LIST_EXPAND_OPENED;\r
-extern const wchar_t* IDB_LIST_EXPAND_OPENED_PRESS;\r
-extern const wchar_t* IDB_LIST_GROUP_BG;\r
-extern const wchar_t* IDB_LIST_GROUP_BG_PRESS;\r
-extern const wchar_t* IDB_BUTTON_RADIO_PRESS1;\r
-extern const wchar_t* IDB_BUTTON_RADIO_PRESS2;\r
-extern const wchar_t* IDB_WORLD_CLOCK_BG1;\r
-extern const wchar_t* IDB_WORLD_CLOCK_BG2;\r
-extern const wchar_t* IDB_TIMER_FOCUS_BG;\r
-extern const wchar_t* IDB_TIMER_BG;\r
-extern const wchar_t* IDB_TIMER_NORMAL_BG;\r
-extern const wchar_t* IDB_STOPWATCH_ZERO;\r
-extern const wchar_t* IDB_STOPWATCH_ONE;\r
-extern const wchar_t* IDB_STOPWATCH_TWO;\r
-extern const wchar_t* IDB_STOPWATCH_THREE;\r
-extern const wchar_t* IDB_STOPWATCH_FOUR;\r
-extern const wchar_t* IDB_STOPWATCH_FIVE;\r
-extern const wchar_t* IDB_STOPWATCH_SIX;\r
-extern const wchar_t* IDB_STOPWATCH_SEVEN;\r
-extern const wchar_t* IDB_STOPWATCH_EIGHT;\r
-extern const wchar_t* IDB_STOPWATCH_NINE;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_ZERO;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_ONE;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_TWO;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_THREE;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_FOUR;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_FIVE;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_SIX;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_SEVEN;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_EIGHT;\r
-extern const wchar_t* IDB_STOPWATCH_SMALL_NINE;\r
-extern const wchar_t* IDB_ALARM_ICON_OFF;\r
-extern const wchar_t* IDB_ALARM_ICON_ON;\r
-extern const wchar_t* IDB_ALARM_ICON_SNOOZE;\r
-\r
-extern const wchar_t* IDB_RINGER_LOCK_SNOOZE_RIGHT_ARROW;\r
-extern const wchar_t* IDB_RINGER_LOCK_SNOOZE;\r
-extern const wchar_t* IDB_RINGER_LOCK_SNOOZE_PRESSED;\r
-extern const wchar_t* IDB_RINGER_LOCK_STOP;\r
-extern const wchar_t* IDB_RINGER_LOCK_STOP_PRESSED;\r
-extern const wchar_t* IDB_RINGER_LOCK_STOP_LEFT_ARROW;\r
-extern const wchar_t* IDB_RINGER_LOCK_STOP_RIGHT_ARROW;\r
-\r
-extern const wchar_t* IDB_WORLD_CLOCK_WHITE_BG;\r
-extern const wchar_t* IDB_WORLD_CLOCK_BLACK_BG;\r
-extern const wchar_t* IDB_WORLD_CLOCK_WHITE_FG;\r
-extern const wchar_t* IDB_WORLD_CLOCK_BLACK_FG;\r
-extern const wchar_t* IDB_ALARM_TIME_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_NORMAL_BG;\r
-extern const wchar_t* IDB_ALARM_TIME_FOCUS_BG;\r
-extern const wchar_t* IDB_ALARM_TIME_TOGGLE_AM_BG;\r
-extern const wchar_t* IDB_ALARM_TIME_TOGGLE_PM_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_FOCUS_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_SUN_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_MON_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_MON_FOCUS_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_TUE_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_WED_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_WED_FOCUS_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_THU_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_THU_FOCUS_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_FRI_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_SAT_BG ;\r
-extern const wchar_t* IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG ;\r
-extern const wchar_t* IDS_HOUR_IMAGE_PATH ;\r
-extern const wchar_t* IDS_MIN_IMAGE_PATH ;\r
-extern const wchar_t* IDS_SEC_IMAGE_PATH ;\r
-extern const wchar_t* IDS_CLOCK_TAB4_ALARM_TONE ;\r
-\r
-enum ClockDbTableTypes\r
-{\r
- DB_TYPE_INVALID = -1,\r
- DB_TYPE_WORLDCLOCK,\r
- DB_TYPE_ALARMDATA,\r
- DB_TYPE_MAX\r
-\r
-};\r
-\r
-\r
-#endif // _CLK_TYPES_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+//
+/**
+ * @file ClkTypes.h
+ * @brief This is the header file for TableType
+ */
+
+#ifndef _CLK_TYPES_H_
+#define _CLK_TYPES_H_
+
+static const int MAX_WORLDCLOCK_TABLE_COLUMN = 10;
+static const int MAX_ALARM_TABLE_COLUMN = 15;
+static const int LIST_ITEM_HEIGHT = 204;
+
+extern const int DURATION_RINGING_UI_UPDATION;
+extern const int MIN_Y_TOUCH_POSITION;
+extern const int MAX_Y_TOUCH_POSITION;
+extern const int CONTROL_WIDTH_OFFSET;
+extern const int Y_RINGER_LOCK_PANEL_OFFSET;
+extern const int H_RINGER_LOCK_PANEL;
+extern const int Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET;
+
+
+extern const wchar_t* IDB_CONTROLBAR_ICON_ALARM;
+extern const wchar_t* IDB_CONTROLBAR_ICON_ALARM_NORMAL;
+extern const wchar_t* IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED;
+extern const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK;
+extern const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL;
+extern const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED;
+extern const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH;
+extern const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL;
+extern const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED;
+extern const wchar_t* IDB_CONTROLBAR_ICON_TIMER;
+extern const wchar_t* IDB_CONTROLBAR_ICON_TIMER_NORMAL;
+extern const wchar_t* IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED;
+extern const wchar_t* IDB_EDIT_BACKGROUND;
+extern const wchar_t* IDB_LIST_LEFTSIDE;
+extern const wchar_t* IDB_BUTTON_SWEEP_DELETE;
+extern const wchar_t* IDB_BUTTON_SWEEP_DELETE_PRESS;
+extern const wchar_t* IDB_ALARM_CLOCK;
+extern const wchar_t* IDB_CHECK_BG;
+extern const wchar_t* IDB_CHECK_CHECKING;
+extern const wchar_t* IDB_LIST_EXPAND_CLOSED;
+extern const wchar_t* IDB_LIST_EXPAND_CLOSED_PRESS;
+extern const wchar_t* IDB_LIST_EXPAND_OPENED;
+extern const wchar_t* IDB_LIST_EXPAND_OPENED_PRESS;
+extern const wchar_t* IDB_LIST_GROUP_BG;
+extern const wchar_t* IDB_LIST_GROUP_BG_PRESS;
+extern const wchar_t* IDB_BUTTON_RADIO_PRESS1;
+extern const wchar_t* IDB_BUTTON_RADIO_PRESS2;
+extern const wchar_t* IDB_WORLD_CLOCK_BG1;
+extern const wchar_t* IDB_WORLD_CLOCK_BG2;
+extern const wchar_t* IDB_TIMER_FOCUS_BG;
+extern const wchar_t* IDB_TIMER_BG;
+extern const wchar_t* IDB_TIMER_NORMAL_BG;
+extern const wchar_t* IDB_STOPWATCH_ZERO;
+extern const wchar_t* IDB_STOPWATCH_ONE;
+extern const wchar_t* IDB_STOPWATCH_TWO;
+extern const wchar_t* IDB_STOPWATCH_THREE;
+extern const wchar_t* IDB_STOPWATCH_FOUR;
+extern const wchar_t* IDB_STOPWATCH_FIVE;
+extern const wchar_t* IDB_STOPWATCH_SIX;
+extern const wchar_t* IDB_STOPWATCH_SEVEN;
+extern const wchar_t* IDB_STOPWATCH_EIGHT;
+extern const wchar_t* IDB_STOPWATCH_NINE;
+extern const wchar_t* IDB_STOPWATCH_SMALL_ZERO;
+extern const wchar_t* IDB_STOPWATCH_SMALL_ONE;
+extern const wchar_t* IDB_STOPWATCH_SMALL_TWO;
+extern const wchar_t* IDB_STOPWATCH_SMALL_THREE;
+extern const wchar_t* IDB_STOPWATCH_SMALL_FOUR;
+extern const wchar_t* IDB_STOPWATCH_SMALL_FIVE;
+extern const wchar_t* IDB_STOPWATCH_SMALL_SIX;
+extern const wchar_t* IDB_STOPWATCH_SMALL_SEVEN;
+extern const wchar_t* IDB_STOPWATCH_SMALL_EIGHT;
+extern const wchar_t* IDB_STOPWATCH_SMALL_NINE;
+extern const wchar_t* IDB_ALARM_ICON_OFF;
+extern const wchar_t* IDB_ALARM_ICON_ON;
+extern const wchar_t* IDB_ALARM_ICON_SNOOZE;
+
+extern const wchar_t* IDB_RINGER_LOCK_SNOOZE_RIGHT_ARROW;
+extern const wchar_t* IDB_RINGER_LOCK_SNOOZE;
+extern const wchar_t* IDB_RINGER_LOCK_SNOOZE_PRESSED;
+extern const wchar_t* IDB_RINGER_LOCK_STOP;
+extern const wchar_t* IDB_RINGER_LOCK_STOP_PRESSED;
+extern const wchar_t* IDB_RINGER_LOCK_STOP_LEFT_ARROW;
+extern const wchar_t* IDB_RINGER_LOCK_STOP_RIGHT_ARROW;
+
+extern const wchar_t* IDB_WORLD_CLOCK_WHITE_BG;
+extern const wchar_t* IDB_WORLD_CLOCK_BLACK_BG;
+extern const wchar_t* IDB_WORLD_CLOCK_WHITE_FG;
+extern const wchar_t* IDB_WORLD_CLOCK_BLACK_FG;
+extern const wchar_t* IDB_ALARM_TIME_BG ;
+extern const wchar_t* IDB_ALARM_TIME_NORMAL_BG;
+extern const wchar_t* IDB_ALARM_TIME_FOCUS_BG;
+extern const wchar_t* IDB_ALARM_TIME_TOGGLE_AM_BG;
+extern const wchar_t* IDB_ALARM_TIME_TOGGLE_PM_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_FOCUS_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_SUN_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_MON_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_MON_FOCUS_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_TUE_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_WED_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_WED_FOCUS_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_THU_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_THU_FOCUS_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_FRI_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_SAT_BG ;
+extern const wchar_t* IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG ;
+extern const wchar_t* IDS_HOUR_IMAGE_PATH ;
+extern const wchar_t* IDS_MIN_IMAGE_PATH ;
+extern const wchar_t* IDS_SEC_IMAGE_PATH ;
+extern const wchar_t* IDS_CLOCK_TAB4_ALARM_TONE ;
+
+enum ClockDbTableTypes
+{
+ DB_TYPE_INVALID = -1,
+ DB_TYPE_WORLDCLOCK,
+ DB_TYPE_ALARMDATA,
+ DB_TYPE_MAX
+
+};
+
+
+#endif // _CLK_TYPES_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkWorldClock.h\r
- * @brief This is the header file for WorldClock class\r
- */\r
-\r
-#ifndef _CLK_WORLD_CLOCK_H_\r
-#define _CLK_WORLD_CLOCK_H_\r
-\r
-/**\r
- * @class WorldClock\r
- * @brief This is a model class which contains all the properties of WorldClock class\r
- * and the methods to get and set the values for those properties\r
- */\r
-class WorldClock\r
-: public Tizen::Base::Object\r
- {\r
- public:\r
- /**\r
- * @brief Default constructor\r
- */\r
- WorldClock(void);\r
-\r
- /**\r
- *@brief Initialises the instance the class WorldClock with the specified parameter\r
- */\r
- WorldClock(const WorldClock& rhs);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- ~WorldClock(void);\r
-\r
- /**\r
- *@brief "=" operator overloading\r
- */\r
- WorldClock& operator =(const WorldClock& pWorldClock);\r
-\r
- /**\r
- * This function gets the DaylightSavingTime\r
- *\r
- * @return integer\r
- * @param No parameter\r
- */\r
- const int GetDstTime(void);\r
-\r
- /**\r
- * This function gets the order for the WorldClock object\r
- *\r
- * @return integer\r
- * @param none\r
- */\r
- const int GetOrder(void);\r
-\r
- /**\r
- * This function gets the timezone(GMT difference in minutes) forthe WorldClock object\r
- *\r
- * @return An integer\r
- * @param none\r
- */\r
- const int GetTimeZone(void);\r
-\r
- /**\r
- * This function gets the WorldClockCity\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- const Tizen::Base::String GetWorldClockCity(void);\r
-\r
- /**\r
- * This function gets the WorldClockCountry\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- const Tizen::Base::String GetWorldClockCountry(void);\r
-\r
- /**\r
- * This function gets the WorldClockId\r
- *\r
- * @return A String\r
- * @param No parameter\r
- */\r
- const Tizen::Base::String GetWorldClockId(void);\r
-\r
- /**\r
- * This function sets the daylightsavingTime of the WorldClock object\r
- *\r
- * @return No return type\r
- * @param dstTime To set the order of the Clock item in the list\r
- */\r
- void SetDstTime(const int dstTime);\r
-\r
- /**\r
- * This function sets the order of the WorldClock object\r
- *\r
- * @return No return type\r
- * @param order To set the order of the Clock item in the list\r
- */\r
- void SetOrder(const int order);\r
-\r
- /**\r
- * This function sets the timeZone\r
- *\r
- * @return No return type\r
- * @param timeZone The GMT difference in minutes\r
- */\r
- void SetTimeZone(const int timeZone);\r
-\r
- /**\r
- * This function sets the WorldClockCity for the WorldClock object\r
- *\r
- * @return No return type\r
- * @param City The City for the WorldClock object\r
- */\r
- void SetWorldClockCity(const Tizen::Base::String& city);\r
-\r
- /**\r
- * This function sets the WorldClockCountry for the WorldClock object\r
- *\r
- * @return No return type\r
- * @param Country The Country for the WorldClock object\r
- */\r
- void SetWorldClockCountry(const Tizen::Base::String& worldClockCountry);\r
-\r
- /**\r
- * This function sets the ParentId for the WorldClock object\r
- *\r
- * @return No return type\r
- * @param worldClockID The worldClockID for the WorldClock object\r
- */\r
- void SetWorldClockId(const Tizen::Base::String& worldClockID);\r
-\r
- private:\r
- int __dstTime;\r
- int __order;\r
- int __timeZone;\r
- Tizen::Base::String __worldClockCity;\r
- Tizen::Base::String __worldClockCountry;\r
- Tizen::Base::String __worldClockId;\r
- };\r
-\r
-#endif //_CLK_WORLD_CLOCK_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkWorldClock.h
+ * @brief This is the header file for WorldClock class
+ */
+
+#ifndef _CLK_WORLD_CLOCK_H_
+#define _CLK_WORLD_CLOCK_H_
+
+/**
+ * @class WorldClock
+ * @brief This is a model class which contains all the properties of WorldClock class
+ * and the methods to get and set the values for those properties
+ */
+class WorldClock
+: public Tizen::Base::Object
+ {
+ public:
+ /**
+ * @brief Default constructor
+ */
+ WorldClock(void);
+
+ /**
+ *@brief Initialises the instance the class WorldClock with the specified parameter
+ */
+ WorldClock(const WorldClock& rhs);
+
+ /**
+ *@brief Default destructor
+ */
+ ~WorldClock(void);
+
+ /**
+ *@brief "=" operator overloading
+ */
+ WorldClock& operator =(const WorldClock& pWorldClock);
+
+ /**
+ * This function gets the DaylightSavingTime
+ *
+ * @return integer
+ * @param No parameter
+ */
+ const int GetDstTime(void);
+
+ /**
+ * This function gets the order for the WorldClock object
+ *
+ * @return integer
+ * @param none
+ */
+ const int GetOrder(void);
+
+ /**
+ * This function gets the timezone(GMT difference in minutes) forthe WorldClock object
+ *
+ * @return An integer
+ * @param none
+ */
+ const int GetTimeZone(void);
+
+ /**
+ * This function gets the WorldClockCity
+ *
+ * @return A String
+ * @param No parameter
+ */
+ const Tizen::Base::String GetWorldClockCity(void);
+
+ /**
+ * This function gets the WorldClockCountry
+ *
+ * @return A String
+ * @param No parameter
+ */
+ const Tizen::Base::String GetWorldClockCountry(void);
+
+ /**
+ * This function gets the WorldClockId
+ *
+ * @return A String
+ * @param No parameter
+ */
+ const Tizen::Base::String GetWorldClockId(void);
+
+ /**
+ * This function sets the daylightsavingTime of the WorldClock object
+ *
+ * @return No return type
+ * @param dstTime To set the order of the Clock item in the list
+ */
+ void SetDstTime(const int dstTime);
+
+ /**
+ * This function sets the order of the WorldClock object
+ *
+ * @return No return type
+ * @param order To set the order of the Clock item in the list
+ */
+ void SetOrder(const int order);
+
+ /**
+ * This function sets the timeZone
+ *
+ * @return No return type
+ * @param timeZone The GMT difference in minutes
+ */
+ void SetTimeZone(const int timeZone);
+
+ /**
+ * This function sets the WorldClockCity for the WorldClock object
+ *
+ * @return No return type
+ * @param City The City for the WorldClock object
+ */
+ void SetWorldClockCity(const Tizen::Base::String& city);
+
+ /**
+ * This function sets the WorldClockCountry for the WorldClock object
+ *
+ * @return No return type
+ * @param Country The Country for the WorldClock object
+ */
+ void SetWorldClockCountry(const Tizen::Base::String& worldClockCountry);
+
+ /**
+ * This function sets the ParentId for the WorldClock object
+ *
+ * @return No return type
+ * @param worldClockID The worldClockID for the WorldClock object
+ */
+ void SetWorldClockId(const Tizen::Base::String& worldClockID);
+
+ private:
+ int __dstTime;
+ int __order;
+ int __timeZone;
+ Tizen::Base::String __worldClockCity;
+ Tizen::Base::String __worldClockCountry;
+ Tizen::Base::String __worldClockId;
+ };
+
+#endif //_CLK_WORLD_CLOCK_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file WorldClockDeleteListForm.h\r
- * @brief This is the header file for WorldClockDeleteListForm class\r
- */\r
-\r
-#ifndef _CLK_WORLD_CLOCK_DELETE_LIST_FORM_H_\r
-#define _CLK_WORLD_CLOCK_DELETE_LIST_FORM_H_\r
-\r
-class WorldClockDeleteListForm\r
-: public Tizen::Ui::Controls::Form\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- {\r
- public:\r
- /**\r
- *@brief Default destructor\r
- */\r
- WorldClockDeleteListForm(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~WorldClockDeleteListForm(void);\r
-\r
- /**\r
- * @brief Initializes %WorldClockDeleteListForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for %WorldClockDeleteListForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * @brief Terminates the controls of the UI for %WorldClockDeleteListForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- */\r
- virtual result OnTerminating(void);\r
-\r
- public:\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback);\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
- virtual void OnListViewItemReordered(Tizen::Ui::Controls::ListView& listView, int indexFrom, int indexTo);\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- private:\r
- Tizen::Base::Collection::ArrayList* __pData;\r
- Tizen::Ui::Controls::ListView* __pListView; // The GroupedListView which contains the history lists\r
- Tizen::Ui::Controls::CheckButton* __pSelectAllCheck;\r
- Tizen::Ui::Controls::Label* __pSelectedLabel;\r
- int __selectedCount;\r
- int __selectedItemCount;\r
- Tizen::Base::Collection::ArrayList __worldClockList;\r
- Tizen::Base::Collection::ArrayList __selectedItemList;\r
-\r
- };\r
-\r
-#endif // _CLK_WORLD_CLOCK_DELETE_LIST_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file WorldClockDeleteListForm.h
+ * @brief This is the header file for WorldClockDeleteListForm class
+ */
+
+#ifndef _CLK_WORLD_CLOCK_DELETE_LIST_FORM_H_
+#define _CLK_WORLD_CLOCK_DELETE_LIST_FORM_H_
+
+class WorldClockDeleteListForm
+: public Tizen::Ui::Controls::Form
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ {
+ public:
+ /**
+ *@brief Default destructor
+ */
+ WorldClockDeleteListForm(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~WorldClockDeleteListForm(void);
+
+ /**
+ * @brief Initializes %WorldClockDeleteListForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for %WorldClockDeleteListForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * @brief Terminates the controls of the UI for %WorldClockDeleteListForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ */
+ virtual result OnTerminating(void);
+
+ public:
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback);
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status);
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+ virtual void OnListViewItemReordered(Tizen::Ui::Controls::ListView& listView, int indexFrom, int indexTo);
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ private:
+ Tizen::Base::Collection::ArrayList* __pData;
+ Tizen::Ui::Controls::ListView* __pListView; // The GroupedListView which contains the history lists
+ Tizen::Ui::Controls::CheckButton* __pSelectAllCheck;
+ Tizen::Ui::Controls::Label* __pSelectedLabel;
+ int __selectedCount;
+ int __selectedItemCount;
+ Tizen::Base::Collection::ArrayList __worldClockList;
+ Tizen::Base::Collection::ArrayList __selectedItemList;
+
+ };
+
+#endif // _CLK_WORLD_CLOCK_DELETE_LIST_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/*\r
- * @file ClkWorldClockListForm.h\r
- * @brief This is the header file for WorldClockListForm class\r
- */\r
-\r
-#ifndef _CLK_WORLD_CLOCK_LIST_FORM_H_\r
-#define _CLK_WORLD_CLOCK_LIST_FORM_H_\r
-\r
-#include "ClkDaylightSavingPopUp.h"\r
-\r
-class WorldClockListForm\r
-: public Tizen::Ui::Controls::Form\r
- , public IDstTimeEventListener\r
- , public Tizen::Base::Runtime::ITimerEventListener\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::IOrientationEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- {\r
- public:\r
- /**\r
- *@brief Default destructor\r
- */\r
- WorldClockListForm(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~WorldClockListForm(void);\r
-\r
- /**\r
- * @brief Initializes %WorldClockListForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for %WorldClockListForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- /**\r
- * @brief Initialises the context menu at the point for %WorldClockListForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- result InitContextMenu(Tizen::Graphics::Point& p);\r
-\r
- public:\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase * CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IDstTimeEventListener\r
- virtual void OnDaylightSavingPopUpItemSelected(int dstTime);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- // IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status){};\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);\r
-\r
- // ITimerEventListener\r
- virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);\r
-\r
- virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);\r
-\r
- private:\r
- int __dstTime;\r
- int __index;\r
- Tizen::Ui::Controls::ListContextItem* __pItemContext;\r
- Tizen::Ui::Controls::ListView* __pListview;\r
- Tizen::Ui::Controls::ContextMenu* __pMenu;\r
- DaylightSavingPopUp* __pPopUp;\r
- Tizen::Base::Runtime::Timer* __pTimer;\r
- int __timerResetFlag;\r
- Tizen::Base::String __timerResetKey;\r
- };\r
-\r
-#endif // _CLK_WORLD_CLOCK_LIST_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/*
+ * @file ClkWorldClockListForm.h
+ * @brief This is the header file for WorldClockListForm class
+ */
+
+#ifndef _CLK_WORLD_CLOCK_LIST_FORM_H_
+#define _CLK_WORLD_CLOCK_LIST_FORM_H_
+
+#include "ClkDaylightSavingPopUp.h"
+
+class WorldClockListForm
+: public Tizen::Ui::Controls::Form
+ , public IDstTimeEventListener
+ , public Tizen::Base::Runtime::ITimerEventListener
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::IOrientationEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ {
+ public:
+ /**
+ *@brief Default destructor
+ */
+ WorldClockListForm(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~WorldClockListForm(void);
+
+ /**
+ * @brief Initializes %WorldClockListForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for %WorldClockListForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ virtual result OnInitializing(void);
+
+ /**
+ * @brief Initialises the context menu at the point for %WorldClockListForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ result InitContextMenu(Tizen::Graphics::Point& p);
+
+ public:
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase * CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IDstTimeEventListener
+ virtual void OnDaylightSavingPopUpItemSelected(int dstTime);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ // IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status);
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status){};
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId);
+
+ // ITimerEventListener
+ virtual void OnTimerExpired(Tizen::Base::Runtime::Timer& timer);
+
+ virtual void OnOrientationChanged(const Tizen::Ui::Control& source, Tizen::Ui::OrientationStatus orientationStatus);
+
+ private:
+ int __dstTime;
+ int __index;
+ Tizen::Ui::Controls::ListContextItem* __pItemContext;
+ Tizen::Ui::Controls::ListView* __pListview;
+ Tizen::Ui::Controls::ContextMenu* __pMenu;
+ DaylightSavingPopUp* __pPopUp;
+ Tizen::Base::Runtime::Timer* __pTimer;
+ int __timerResetFlag;
+ Tizen::Base::String __timerResetKey;
+ };
+
+#endif // _CLK_WORLD_CLOCK_LIST_FORM_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/*\r
- * @file ClkWorldClockPresentationModel.h\r
- * @brief This is the header file for WorldClockPresentationModel class\r
- */\r
-\r
-\r
-#ifndef _CLK_WORLD_CLOCK_PRESENTATION_MODEL_H_\r
-#define _CLK_WORLD_CLOCK_PRESENTATION_MODEL_H_\r
-\r
-#include "ClkWorldClock.h"\r
-\r
-/**\r
- * @class WorldClockPresentationModel\r
- * @brief This class declares functions which will manage database\r
- */\r
-class WorldClockPresentationModel\r
-{\r
-public:\r
- /**\r
- * This function adds the worldClock to the WorldClock table\r
- *\r
- * @return An error code\r
- * @param worldClock The worldClock\r
- * @exception E_SUCCESS The worldClock is inserted successfully to the table\r
- * @exception E_FAILURE The worldClock is not inserted successfully\r
- */\r
- result AddWorldClock(WorldClock& worldClock);\r
-\r
- /**\r
- * @param worlClockCount The no of worldClocks present\r
- * @param worldClockList An ArrayList where the added WorldClocks will be stored\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful as the list is not being created\r
- * @remarks To work properly , the worlClock count and and existing list should be passed\r
- */\r
- result CreateAddedWorldClockList(int worldClockCount, Tizen::Base::Collection::ArrayList& worldClockList);\r
-\r
- /**\r
- * This function deletes the worldClock from the WorldClock table\r
- *\r
- * @return An error code\r
- * @param worldClockId The worldClockId\r
- * @exception E_SUCCESS The worldClock is successfully deleted\r
- * @exception E_FAILURE The worldClock deletion is unsuccessful\r
- */\r
- result DeleteWorldClock(int worldClockId);\r
-\r
- /**\r
- * This function deletes the list of added worldClocks\r
- *\r
- * @return An error code\r
- * @param worldClockList An ArrayList which contains worldclocks to be deleted\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful as the list is not being created\r
- * @remarks To work properly , the worlClock count and and existing list should be passed\r
- */\r
- result DeleteWorldClock(Tizen::Base::Collection::ArrayList& worldclocklist);\r
-\r
- /**\r
- * This function returns the number of added worldClocks\r
- *\r
- * @return An error code\r
- * @param count output parameter which gets the count of added worldClock\r
- */\r
- result GetAddedClockCount(int& addedWorlClockcount);\r
-\r
- /**\r
- * This function gets the list of added worldClocks\r
- *\r
- * @return An error code\r
- * @param startIndex\r
- * @param limit\r
- * @param worldClockList An ArrayList to get the added WorldClocks\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful as the list is not being created\r
- * @remarks To work properly , the worlClock count and and existing list should be passed\r
- */\r
- result GetAddedWorldClock(int startIndex, int limit, Tizen::Base::Collection::ArrayList& worldClockList);\r
-\r
- /**\r
- * This function gets the list of cities from the searchText\r
- *\r
- * @return A pointer to arrayList\r
- * @param searchText The text to be searched\r
- */\r
- Tizen::Base::Collection::ArrayList* GetCityList(const Tizen::Base::String& searchText = L"");\r
-\r
- /**\r
- * This function returns the instance of WorldClockPresentationModel\r
- *\r
- * @return The instance of WorldClockPresentationModel\r
- */\r
- static WorldClockPresentationModel* GetInstance();\r
-\r
- /**\r
- * Initialize WorldClockPresentation Model\r
- */\r
- result Initialize(void);\r
-\r
- /**\r
- * This function updates DST time of worldclock the worldclock\r
- *\r
- * @return An error code\r
- * @param worldClock\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful as the list is not being created\r
- */\r
- result UpdateWorldClockDst(WorldClock& worldclock);\r
-\r
- /**\r
- * This function updates Order in which the worldclock is listed\r
- *\r
- * @return An error code\r
- * @param worldClock\r
- * @exception E_SUCCESS The method is successful\r
- * @exception E_FAILURE The method is not successful as the list is not being created\r
- */\r
- result UpdateWorldClockOrder(WorldClock& worldclock);\r
-\r
-private:\r
- /**\r
- * Default constructor\r
- */\r
- WorldClockPresentationModel(void);\r
-\r
- /**\r
- * Default destructor\r
- */\r
- ~WorldClockPresentationModel(void);\r
-\r
- /**\r
- * This function constructs the instance of WorldClockPresentationModel\r
- *\r
- */\r
- result Construct(void);\r
-\r
- /**\r
- * This function creates the instance of WorldClockPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void CreateInstance(void);\r
-\r
- /**\r
- * This function destroys the instance of WorldClockPresentationModel\r
- *\r
- * @return No return value\r
- */\r
- static void DestroyInstance(void);\r
-\r
-private:\r
- static WorldClockPresentationModel* __pInstance;\r
-};\r
-\r
-#endif //_CLK_WORLD_CLOCK_PRESENTATION_MODEL_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/*
+ * @file ClkWorldClockPresentationModel.h
+ * @brief This is the header file for WorldClockPresentationModel class
+ */
+
+
+#ifndef _CLK_WORLD_CLOCK_PRESENTATION_MODEL_H_
+#define _CLK_WORLD_CLOCK_PRESENTATION_MODEL_H_
+
+#include "ClkWorldClock.h"
+
+/**
+ * @class WorldClockPresentationModel
+ * @brief This class declares functions which will manage database
+ */
+class WorldClockPresentationModel
+{
+public:
+ /**
+ * This function adds the worldClock to the WorldClock table
+ *
+ * @return An error code
+ * @param worldClock The worldClock
+ * @exception E_SUCCESS The worldClock is inserted successfully to the table
+ * @exception E_FAILURE The worldClock is not inserted successfully
+ */
+ result AddWorldClock(WorldClock& worldClock);
+
+ /**
+ * @param worlClockCount The no of worldClocks present
+ * @param worldClockList An ArrayList where the added WorldClocks will be stored
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful as the list is not being created
+ * @remarks To work properly , the worlClock count and and existing list should be passed
+ */
+ result CreateAddedWorldClockList(int worldClockCount, Tizen::Base::Collection::ArrayList& worldClockList);
+
+ /**
+ * This function deletes the worldClock from the WorldClock table
+ *
+ * @return An error code
+ * @param worldClockId The worldClockId
+ * @exception E_SUCCESS The worldClock is successfully deleted
+ * @exception E_FAILURE The worldClock deletion is unsuccessful
+ */
+ result DeleteWorldClock(int worldClockId);
+
+ /**
+ * This function deletes the list of added worldClocks
+ *
+ * @return An error code
+ * @param worldClockList An ArrayList which contains worldclocks to be deleted
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful as the list is not being created
+ * @remarks To work properly , the worlClock count and and existing list should be passed
+ */
+ result DeleteWorldClock(Tizen::Base::Collection::ArrayList& worldclocklist);
+
+ /**
+ * This function returns the number of added worldClocks
+ *
+ * @return An error code
+ * @param count output parameter which gets the count of added worldClock
+ */
+ result GetAddedClockCount(int& addedWorlClockcount);
+
+ /**
+ * This function gets the list of added worldClocks
+ *
+ * @return An error code
+ * @param startIndex
+ * @param limit
+ * @param worldClockList An ArrayList to get the added WorldClocks
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful as the list is not being created
+ * @remarks To work properly , the worlClock count and and existing list should be passed
+ */
+ result GetAddedWorldClock(int startIndex, int limit, Tizen::Base::Collection::ArrayList& worldClockList);
+
+ /**
+ * This function gets the list of cities from the searchText
+ *
+ * @return A pointer to arrayList
+ * @param searchText The text to be searched
+ */
+ Tizen::Base::Collection::ArrayList* GetCityList(const Tizen::Base::String& searchText = L"");
+
+ /**
+ * This function returns the instance of WorldClockPresentationModel
+ *
+ * @return The instance of WorldClockPresentationModel
+ */
+ static WorldClockPresentationModel* GetInstance();
+
+ /**
+ * Initialize WorldClockPresentation Model
+ */
+ result Initialize(void);
+
+ /**
+ * This function updates DST time of worldclock the worldclock
+ *
+ * @return An error code
+ * @param worldClock
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful as the list is not being created
+ */
+ result UpdateWorldClockDst(WorldClock& worldclock);
+
+ /**
+ * This function updates Order in which the worldclock is listed
+ *
+ * @return An error code
+ * @param worldClock
+ * @exception E_SUCCESS The method is successful
+ * @exception E_FAILURE The method is not successful as the list is not being created
+ */
+ result UpdateWorldClockOrder(WorldClock& worldclock);
+
+private:
+ /**
+ * Default constructor
+ */
+ WorldClockPresentationModel(void);
+
+ /**
+ * Default destructor
+ */
+ ~WorldClockPresentationModel(void);
+
+ /**
+ * This function constructs the instance of WorldClockPresentationModel
+ *
+ */
+ result Construct(void);
+
+ /**
+ * This function creates the instance of WorldClockPresentationModel
+ *
+ * @return No return value
+ */
+ static void CreateInstance(void);
+
+ /**
+ * This function destroys the instance of WorldClockPresentationModel
+ *
+ * @return No return value
+ */
+ static void DestroyInstance(void);
+
+private:
+ static WorldClockPresentationModel* __pInstance;
+};
+
+#endif //_CLK_WORLD_CLOCK_PRESENTATION_MODEL_H_
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/*\r
- * @file WorldClockReorderForm.h\r
- * @brief This is the header file for the WorldClockReorderForm class\r
- */\r
-\r
-\r
-#ifndef _CLK_WORLD_CLOCK_REORDER_FORM_H_\r
-#define _CLK_WORLD_CLOCK_REORDER_FORM_H_\r
-\r
-class WorldClockReorderForm\r
-: public Tizen::Ui::Controls::Form\r
- , public Tizen::Ui::Controls::IFormBackEventListener\r
- , public Tizen::Ui::Controls::IListViewItemEventListener\r
- , public Tizen::Ui::Controls::IListViewItemProvider\r
- , public Tizen::Ui::IActionEventListener\r
- , public Tizen::Ui::Scenes::ISceneEventListener\r
- {\r
- public:\r
- /**\r
- *@brief Default destructor\r
- */\r
- WorldClockReorderForm(void);\r
-\r
- /**\r
- *@brief Default destructor\r
- */\r
- virtual ~WorldClockReorderForm(void);\r
-\r
- /**\r
- * @brief Initializes this %WorldClockReorderForm.\r
- *\r
- * @return An error code\r
- * @param[in] void\r
- * @exception true The method is successful.\r
- * @exception false An error occurred.\r
- */\r
- bool Initialize(void);\r
-\r
- /**\r
- * @brief Initializes the controls of the UI for %WorldClockReorderForm.\r
- *\r
- * @return An error code\r
- * @exception E_SUCCESS The method is successful.\r
- * @exception E_INVALID_STATE This instance has already been constructed.\r
- * @exception E_INVALID_ARG A specified input parameter is invalid.\r
- * @exception E_OUT_OF_MEMORY The memory is insufficient.\r
- * @exception E_SYSTEM A system error has occurred.\r
- *\r
- */\r
- virtual result OnInitializing(void);\r
-\r
- public:\r
- //IListViewItemProvider\r
- virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);\r
- virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);\r
- virtual int GetItemCount(void);\r
-\r
- //IActionEventListener\r
- virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);\r
-\r
- //IFormBackEventListener\r
- virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);\r
-\r
- //IListViewItemEventListener\r
- virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};\r
- virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};\r
- virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status){};\r
- virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};\r
- virtual void OnListViewItemReordered(Tizen::Ui::Controls::ListView & listView, int indexFrom,int indexTo);\r
-\r
- //ISceneEventListener\r
- virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);\r
- virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};\r
-\r
- private:\r
- Tizen::Base::Collection::ArrayList* __pData;\r
- Tizen::Ui::Controls::ListView* __pListView; // The GroupedListView which contains the history lists\r
- Tizen::Base::Collection::ArrayList __worldClockList;\r
- };\r
-\r
-#endif // _CLK_WORLD_CLOCK_REORDER_FORM_H_\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/*
+ * @file WorldClockReorderForm.h
+ * @brief This is the header file for the WorldClockReorderForm class
+ */
+
+
+#ifndef _CLK_WORLD_CLOCK_REORDER_FORM_H_
+#define _CLK_WORLD_CLOCK_REORDER_FORM_H_
+
+class WorldClockReorderForm
+: public Tizen::Ui::Controls::Form
+ , public Tizen::Ui::Controls::IFormBackEventListener
+ , public Tizen::Ui::Controls::IListViewItemEventListener
+ , public Tizen::Ui::Controls::IListViewItemProvider
+ , public Tizen::Ui::IActionEventListener
+ , public Tizen::Ui::Scenes::ISceneEventListener
+ {
+ public:
+ /**
+ *@brief Default destructor
+ */
+ WorldClockReorderForm(void);
+
+ /**
+ *@brief Default destructor
+ */
+ virtual ~WorldClockReorderForm(void);
+
+ /**
+ * @brief Initializes this %WorldClockReorderForm.
+ *
+ * @return An error code
+ * @param[in] void
+ * @exception true The method is successful.
+ * @exception false An error occurred.
+ */
+ bool Initialize(void);
+
+ /**
+ * @brief Initializes the controls of the UI for %WorldClockReorderForm.
+ *
+ * @return An error code
+ * @exception E_SUCCESS The method is successful.
+ * @exception E_INVALID_STATE This instance has already been constructed.
+ * @exception E_INVALID_ARG A specified input parameter is invalid.
+ * @exception E_OUT_OF_MEMORY The memory is insufficient.
+ * @exception E_SYSTEM A system error has occurred.
+ *
+ */
+ virtual result OnInitializing(void);
+
+ public:
+ //IListViewItemProvider
+ virtual Tizen::Ui::Controls::ListItemBase* CreateItem(int index, int itemWidth);
+ virtual bool DeleteItem(int index, Tizen::Ui::Controls::ListItemBase *pItem, int itemWidth);
+ virtual int GetItemCount(void);
+
+ //IActionEventListener
+ virtual void OnActionPerformed(const Tizen::Ui::Control& source, int actionId);
+
+ //IFormBackEventListener
+ virtual void OnFormBackRequested(Tizen::Ui::Controls::Form& source);
+
+ //IListViewItemEventListener
+ virtual void OnListViewContextItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListContextItemStatus status){};
+ virtual void OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback){};
+ virtual void OnListViewItemStateChanged(Tizen::Ui::Controls::ListView& listView, int index, int elementId, Tizen::Ui::Controls::ListItemStatus status){};
+ virtual void OnListViewItemSwept(Tizen::Ui::Controls::ListView& listView, int index, Tizen::Ui::Controls::SweepDirection direction){};
+ virtual void OnListViewItemReordered(Tizen::Ui::Controls::ListView & listView, int indexFrom,int indexTo);
+
+ //ISceneEventListener
+ virtual void OnSceneActivatedN(const Tizen::Ui::Scenes::SceneId& previousSceneId, const Tizen::Ui::Scenes::SceneId& currentSceneId, Tizen::Base::Collection::IList* pArgs);
+ virtual void OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId){};
+
+ private:
+ Tizen::Base::Collection::ArrayList* __pData;
+ Tizen::Ui::Controls::ListView* __pListView; // The GroupedListView which contains the history lists
+ Tizen::Base::Collection::ArrayList __worldClockList;
+ };
+
+#endif // _CLK_WORLD_CLOCK_REORDER_FORM_H_
-static const wchar_t* IDC_CITY_LISTVIEW = L"IDC_CITY_LISTVIEW";\r
-static const wchar_t* IDC_CITY_SEARCHBAR = L"IDC_CITY_SEARCHBAR";\r
-static const wchar_t* IDC_FOOTERITEM1 = L"FOOTERITEM1";\r
-static const wchar_t* IDC_FOOTERITEM2 = L"FOOTERITEM2";\r
-\r
-\r
-static const wchar_t* IDC_LISTVIEW_ALARM = L"IDC_LISTVIEW_ALARM";\r
-static const wchar_t* IDC_SELECT_ALL = L"IDC_SELECT_ALL";\r
-static const wchar_t* IDC_back = L"back";\r
+static const wchar_t* IDC_CITY_LISTVIEW = L"IDC_CITY_LISTVIEW";
+static const wchar_t* IDC_CITY_SEARCHBAR = L"IDC_CITY_SEARCHBAR";
+static const wchar_t* IDC_FOOTERITEM1 = L"FOOTERITEM1";
+static const wchar_t* IDC_FOOTERITEM2 = L"FOOTERITEM2";
+
+
+static const wchar_t* IDC_LISTVIEW_ALARM = L"IDC_LISTVIEW_ALARM";
+static const wchar_t* IDC_SELECT_ALL = L"IDC_SELECT_ALL";
+static const wchar_t* IDC_back = L"back";
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">نغمة واهتزاز</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">المنطقة الزمنية</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 مرات</text>\r
- <text id="IDS_COM_BODY_NOV">11</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">محدد %d</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">تحديد المنطقة الزمنية</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">اختيار الكل</text>\r
- <text id="IDS_NOTHING_SELECTED">لا شيء محدد</text>\r
- <text id="IDS_COM_BODY_DEC">12</text>\r
- <text id="IDS_ALM_SK_CANCEL">إلغاء</text>\r
- <text id="IDS_ALM_BODY_REPEAT">التكرار</text>\r
- <text id="IDS_TMR_BODY_MIN1">دق</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">لا يوجد منبهات</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">لا توجد عناصر</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">كل يوم اثنين</text>\r
- <text id="IDS_WCL_TAB_TIME">التوقيت</text>\r
- <text id="IDS_COM_SK_NEW">جديدة</text>\r
- <text id="IDS_ALM_SK3_SAVE">حفظ</text>\r
- <text id="IDS_COM_BODY_JUN">06</text>\r
- <text id="IDS_ALM_BODY_TIME">التوقيت</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">غفوة</text>\r
- <text id="IDS_COM_BODY_JUL">07</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">إعادة تشغيل</text>\r
- <text id="IDS_ALM_BODY_TYPE">النوع</text>\r
- <text id="IDS_TMR_SK3_STOP">إيقاف</text>\r
- <text id="IDS_TMR_SK3_RESTART">إستئناف</text>\r
- <text id="IDS_WCL_SK_DONE">تمت</text>\r
- <text id="IDS_COM_BODY_APR">04</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 دقائق</text>\r
- <text id="IDS_COM_BODY_MAY">05</text>\r
- <text id="IDS_ALM_BODY_NAME">الاسم</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">اهتزاز</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">إعدادات DST</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">مدة الغفوة</text>\r
- <text id="IDS_COM_BODY_MAR">03</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">تم تحديد تنبيه واحد</text>\r
- <text id="IDS_ALM_BODY_MELODY">نغمة</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">كل يوم جمعة</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">إعادة ترتيب</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">كل يوم أربعاء</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">انتهى الوقت</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">تعذر إضافة مدن. الساعة العالمية ممتلئة. احذف بعض العناصر أولا</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">فرز بواسطة</text>\r
- <text id="IDS_TMR_BODY_SEC">ثواني</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 مرات</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">ساعة الإيقاف</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">إيقاف الرنين</text>\r
- <text id="IDS_TMR_BODY_HOUR">ساعة</text>\r
- <text id="IDS_COM_BODY_JAN">01</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">الساعة العالمية</text>\r
- <text id="IDS_COM_BODY_SEP">09</text>\r
- <text id="IDS_COM_BODY_AUG">08</text>\r
- <text id="IDS_TMR_SK_START">بدء</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">كل يوم ثلاثاء</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">المنبه</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">المزيد</text>\r
- <text id="IDS_COM_BODY_TIMER">المؤقت</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">إنذار منقضي</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">تكرار الغفوة</text>\r
- <text id="IDS_COM_BODY_SEARCH">بحث</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">تحديد تنبيهات</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">كل يوم سبت</text>\r
- <text id="IDS_SWT_BUTTON_RESET">إرجاع</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">كل يوم</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">تم تحديد %d مدينة</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 دقائق</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">إلغاء التوقيت الصيفي</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 دقائق</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">كل يوم خميس</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">انتهى الوقت</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">تم تحديد %d تنبيهات</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">للمرة %d</text>\r
- <text id="IDS_COM_POP_DELETED">تم المسح</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 مرات</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">لا توجد نتائج للبحث</text>\r
- <text id="IDS_SWT_BUTTON_LAP">لفة</text>\r
- <text id="IDS_COM_SK_ADD">إضافة</text>\r
- <text id="IDS_ALM_BODY_TONE">النغمة</text>\r
- <text id="IDS_TMR_SK_RESET">إرجاع</text>\r
- <text id="IDS_ALM_HEADER_TYPE">النوع</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">نغمة</text>\r
- <text id="IDS_COM_BUTTON_RECENT">حالي</text>\r
- <text id="IDS_TMR_BODY_MIN">دق</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">تم تحديد مدينة واحدة</text>\r
- <text id="IDS_COM_BODY_OCT">10</text>\r
- <text id="IDS_WCL_SK_BY_NAME">حسب الاسم</text>\r
- <text id="IDS_ALM_SK_DELETE">مسح</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">كل يوم أحد</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">لا توجد عناصر</text>\r
- <text id="IDS_COM_BODY_FEB">02</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">نغمة واهتزاز</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">المنطقة الزمنية</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 مرات</text>
+ <text id="IDS_COM_BODY_NOV">11</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">محدد %d</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">تحديد المنطقة الزمنية</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">اختيار الكل</text>
+ <text id="IDS_NOTHING_SELECTED">لا شيء محدد</text>
+ <text id="IDS_COM_BODY_DEC">12</text>
+ <text id="IDS_ALM_SK_CANCEL">إلغاء</text>
+ <text id="IDS_ALM_BODY_REPEAT">التكرار</text>
+ <text id="IDS_TMR_BODY_MIN1">دق</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">لا يوجد منبهات</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">لا توجد عناصر</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">كل يوم اثنين</text>
+ <text id="IDS_WCL_TAB_TIME">التوقيت</text>
+ <text id="IDS_COM_SK_NEW">جديدة</text>
+ <text id="IDS_ALM_SK3_SAVE">حفظ</text>
+ <text id="IDS_COM_BODY_JUN">06</text>
+ <text id="IDS_ALM_BODY_TIME">التوقيت</text>
+ <text id="IDS_ALM_BODY_SNOOZE">غفوة</text>
+ <text id="IDS_COM_BODY_JUL">07</text>
+ <text id="IDS_SWT_BUTTON_RESTART">إعادة تشغيل</text>
+ <text id="IDS_ALM_BODY_TYPE">النوع</text>
+ <text id="IDS_TMR_SK3_STOP">إيقاف</text>
+ <text id="IDS_TMR_SK3_RESTART">إستئناف</text>
+ <text id="IDS_WCL_SK_DONE">تمت</text>
+ <text id="IDS_COM_BODY_APR">04</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 دقائق</text>
+ <text id="IDS_COM_BODY_MAY">05</text>
+ <text id="IDS_ALM_BODY_NAME">الاسم</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">اهتزاز</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">إعدادات DST</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">مدة الغفوة</text>
+ <text id="IDS_COM_BODY_MAR">03</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">تم تحديد تنبيه واحد</text>
+ <text id="IDS_ALM_BODY_MELODY">نغمة</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">كل يوم جمعة</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">إعادة ترتيب</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">كل يوم أربعاء</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">انتهى الوقت</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">تعذر إضافة مدن. الساعة العالمية ممتلئة. احذف بعض العناصر أولا</text>
+ <text id="IDS_ALM_OPT_SORT_BY">فرز بواسطة</text>
+ <text id="IDS_TMR_BODY_SEC">ثواني</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 مرات</text>
+ <text id="IDS_COM_BODY_STOPWATCH">ساعة الإيقاف</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">إيقاف الرنين</text>
+ <text id="IDS_TMR_BODY_HOUR">ساعة</text>
+ <text id="IDS_COM_BODY_JAN">01</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">الساعة العالمية</text>
+ <text id="IDS_COM_BODY_SEP">09</text>
+ <text id="IDS_COM_BODY_AUG">08</text>
+ <text id="IDS_TMR_SK_START">بدء</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">كل يوم ثلاثاء</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">المنبه</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">المزيد</text>
+ <text id="IDS_COM_BODY_TIMER">المؤقت</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">إنذار منقضي</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">تكرار الغفوة</text>
+ <text id="IDS_COM_BODY_SEARCH">بحث</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">تحديد تنبيهات</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">كل يوم سبت</text>
+ <text id="IDS_SWT_BUTTON_RESET">إرجاع</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">كل يوم</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">تم تحديد %d مدينة</text>
+ <text id="IDS_ALM_BODY_10MINS">10 دقائق</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">إلغاء التوقيت الصيفي</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 دقائق</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">كل يوم خميس</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">انتهى الوقت</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">تم تحديد %d تنبيهات</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">للمرة %d</text>
+ <text id="IDS_COM_POP_DELETED">تم المسح</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 مرات</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">لا توجد نتائج للبحث</text>
+ <text id="IDS_SWT_BUTTON_LAP">لفة</text>
+ <text id="IDS_COM_SK_ADD">إضافة</text>
+ <text id="IDS_ALM_BODY_TONE">النغمة</text>
+ <text id="IDS_TMR_SK_RESET">إرجاع</text>
+ <text id="IDS_ALM_HEADER_TYPE">النوع</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">نغمة</text>
+ <text id="IDS_COM_BUTTON_RECENT">حالي</text>
+ <text id="IDS_TMR_BODY_MIN">دق</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">تم تحديد مدينة واحدة</text>
+ <text id="IDS_COM_BODY_OCT">10</text>
+ <text id="IDS_WCL_SK_BY_NAME">حسب الاسم</text>
+ <text id="IDS_ALM_SK_DELETE">مسح</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">كل يوم أحد</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">لا توجد عناصر</text>
+ <text id="IDS_COM_BODY_FEB">02</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodiya və titrəmə</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Vaxt zonası</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 dəfə</text>\r
- <text id="IDS_COM_BODY_NOV">Noy.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seçilmişi</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vaxt zonasını seçin</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Hamısını seç</text>\r
- <text id="IDS_NOTHING_SELECTED">He nə seçilməmişdir</text>\r
- <text id="IDS_COM_BODY_DEC">Dek</text>\r
- <text id="IDS_ALM_SK_CANCEL">Ləğv et</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Təkrar et</text>\r
- <text id="IDS_TMR_BODY_MIN1">dəqiqə</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Siqnal yoxdur</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Elementlər yoxdur</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Hər bazar ertəsi</text>\r
- <text id="IDS_WCL_TAB_TIME">Vaxt</text>\r
- <text id="IDS_COM_SK_NEW">Yeni</text>\r
- <text id="IDS_ALM_SK3_SAVE">Saxlayın</text>\r
- <text id="IDS_COM_BODY_JUN">İyun</text>\r
- <text id="IDS_ALM_BODY_TIME">Vaxt</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Mürgülə</text>\r
- <text id="IDS_COM_BODY_JUL">İyul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Yenidən başladın</text>\r
- <text id="IDS_ALM_BODY_TYPE">Növ</text>\r
- <text id="IDS_TMR_SK3_STOP">Dayandır</text>\r
- <text id="IDS_TMR_SK3_RESTART">Yenidən başladın</text>\r
- <text id="IDS_WCL_SK_DONE">Bitdi</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 dəqiqə</text>\r
- <text id="IDS_COM_BODY_MAY">May</text>\r
- <text id="IDS_ALM_BODY_NAME">Ad</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrasiya</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST parametrlər</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Mürgüləmənin davamiyyəti</text>\r
- <text id="IDS_COM_BODY_MAR">Mart</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 xəbərdarlıq seçildi</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodiya</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Hər cümə günü</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Yenidən nizamlayın</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Hər çərşənbə</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Vaxt bitdi</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Şəhər əlavə etmək mümkün deyil. Dünya saatı siyahısı doludur. Əvvəlcə bəzi elementləri sil</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sıralama qaydası</text>\r
- <text id="IDS_TMR_BODY_SEC">san</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 dəfə</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Saniyəölçən</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Zəngi dayandır</text>\r
- <text id="IDS_TMR_BODY_HOUR">saat(lar)</text>\r
- <text id="IDS_COM_BODY_JAN">Yan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Ümumdünya saatı</text>\r
- <text id="IDS_COM_BODY_SEP">Sent</text>\r
- <text id="IDS_COM_BODY_AUG">Avq</text>\r
- <text id="IDS_TMR_SK_START">Başla</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Hər çərşənbə axşamı</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Xəbərdarlıq siqnalı</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Daha įox</text>\r
- <text id="IDS_COM_BODY_TIMER">Sayqac</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Tamamlanma siqnalı</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Mürgüləmə rejimini təkrarla</text>\r
- <text id="IDS_COM_BODY_SEARCH">Axtarış</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Xəbərdarlıqları seç</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Hər şənbə günü</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Sıfırla</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Hər gün</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d şəhər seçilib</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 dəq</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DST-ni rədd edin</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 dəq</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Hər cümə axşamı</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Vaxt tamamlandı</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d xəbərdarlıq seçilib</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d dəfə</text>\r
- <text id="IDS_COM_POP_DELETED">Silindi</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 dəfə</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Axtarış nəticəsi yoxdur</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Dövrə</text>\r
- <text id="IDS_COM_SK_ADD">Əlavə et</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Sıfırla</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Növ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodiya</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Sonuncu</text>\r
- <text id="IDS_TMR_BODY_MIN">dəqiqə</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 şəhər seçilib</text>\r
- <text id="IDS_COM_BODY_OCT">Okt</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Ad ilə</text>\r
- <text id="IDS_ALM_SK_DELETE">Sil</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Hər bazar günü</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Elementlər yoxdur</text>\r
- <text id="IDS_COM_BODY_FEB">Fev.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodiya və titrəmə</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Vaxt zonası</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 dəfə</text>
+ <text id="IDS_COM_BODY_NOV">Noy.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seçilmişi</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vaxt zonasını seçin</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Hamısını seç</text>
+ <text id="IDS_NOTHING_SELECTED">He nə seçilməmişdir</text>
+ <text id="IDS_COM_BODY_DEC">Dek</text>
+ <text id="IDS_ALM_SK_CANCEL">Ləğv et</text>
+ <text id="IDS_ALM_BODY_REPEAT">Təkrar et</text>
+ <text id="IDS_TMR_BODY_MIN1">dəqiqə</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Siqnal yoxdur</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Elementlər yoxdur</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Hər bazar ertəsi</text>
+ <text id="IDS_WCL_TAB_TIME">Vaxt</text>
+ <text id="IDS_COM_SK_NEW">Yeni</text>
+ <text id="IDS_ALM_SK3_SAVE">Saxlayın</text>
+ <text id="IDS_COM_BODY_JUN">İyun</text>
+ <text id="IDS_ALM_BODY_TIME">Vaxt</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Mürgülə</text>
+ <text id="IDS_COM_BODY_JUL">İyul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Yenidən başladın</text>
+ <text id="IDS_ALM_BODY_TYPE">Növ</text>
+ <text id="IDS_TMR_SK3_STOP">Dayandır</text>
+ <text id="IDS_TMR_SK3_RESTART">Yenidən başladın</text>
+ <text id="IDS_WCL_SK_DONE">Bitdi</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 dəqiqə</text>
+ <text id="IDS_COM_BODY_MAY">May</text>
+ <text id="IDS_ALM_BODY_NAME">Ad</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrasiya</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST parametrlər</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Mürgüləmənin davamiyyəti</text>
+ <text id="IDS_COM_BODY_MAR">Mart</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 xəbərdarlıq seçildi</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodiya</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Hər cümə günü</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Yenidən nizamlayın</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Hər çərşənbə</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Vaxt bitdi</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Şəhər əlavə etmək mümkün deyil. Dünya saatı siyahısı doludur. Əvvəlcə bəzi elementləri sil</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sıralama qaydası</text>
+ <text id="IDS_TMR_BODY_SEC">san</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 dəfə</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Saniyəölçən</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Zəngi dayandır</text>
+ <text id="IDS_TMR_BODY_HOUR">saat(lar)</text>
+ <text id="IDS_COM_BODY_JAN">Yan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Ümumdünya saatı</text>
+ <text id="IDS_COM_BODY_SEP">Sent</text>
+ <text id="IDS_COM_BODY_AUG">Avq</text>
+ <text id="IDS_TMR_SK_START">Başla</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Hər çərşənbə axşamı</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Xəbərdarlıq siqnalı</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Daha įox</text>
+ <text id="IDS_COM_BODY_TIMER">Sayqac</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Tamamlanma siqnalı</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Mürgüləmə rejimini təkrarla</text>
+ <text id="IDS_COM_BODY_SEARCH">Axtarış</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Xəbərdarlıqları seç</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Hər şənbə günü</text>
+ <text id="IDS_SWT_BUTTON_RESET">Sıfırla</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Hər gün</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d şəhər seçilib</text>
+ <text id="IDS_ALM_BODY_10MINS">10 dəq</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DST-ni rədd edin</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 dəq</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Hər cümə axşamı</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Vaxt tamamlandı</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d xəbərdarlıq seçilib</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d dəfə</text>
+ <text id="IDS_COM_POP_DELETED">Silindi</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 dəfə</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Axtarış nəticəsi yoxdur</text>
+ <text id="IDS_SWT_BUTTON_LAP">Dövrə</text>
+ <text id="IDS_COM_SK_ADD">Əlavə et</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Sıfırla</text>
+ <text id="IDS_ALM_HEADER_TYPE">Növ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodiya</text>
+ <text id="IDS_COM_BUTTON_RECENT">Sonuncu</text>
+ <text id="IDS_TMR_BODY_MIN">dəqiqə</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 şəhər seçilib</text>
+ <text id="IDS_COM_BODY_OCT">Okt</text>
+ <text id="IDS_WCL_SK_BY_NAME">Ad ilə</text>
+ <text id="IDS_ALM_SK_DELETE">Sil</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Hər bazar günü</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Elementlər yoxdur</text>
+ <text id="IDS_COM_BODY_FEB">Fev.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Вибрация и мелодия</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Часова зона</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 пъти</text>\r
- <text id="IDS_COM_BODY_NOV">Ное</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Избрани</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Избор на часови пояс</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Избери всички</text>\r
- <text id="IDS_NOTHING_SELECTED">Нищо не е избрано</text>\r
- <text id="IDS_COM_BODY_DEC">Дек.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Отмени</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Повтори</text>\r
- <text id="IDS_TMR_BODY_MIN1">мин.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Няма аларми</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Няма елементи</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Всеки понеделник</text>\r
- <text id="IDS_WCL_TAB_TIME">Час</text>\r
- <text id="IDS_COM_SK_NEW">Ново</text>\r
- <text id="IDS_ALM_SK3_SAVE">Запиши</text>\r
- <text id="IDS_COM_BODY_JUN">Юни</text>\r
- <text id="IDS_ALM_BODY_TIME">Час</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Дрямка</text>\r
- <text id="IDS_COM_BODY_JUL">Юли</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Рестартиране</text>\r
- <text id="IDS_ALM_BODY_TYPE">Тип</text>\r
- <text id="IDS_TMR_SK3_STOP">Стоп</text>\r
- <text id="IDS_TMR_SK3_RESTART">Рестарт</text>\r
- <text id="IDS_WCL_SK_DONE">Готово</text>\r
- <text id="IDS_COM_BODY_APR">Апр.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 мин</text>\r
- <text id="IDS_COM_BODY_MAY">Май</text>\r
- <text id="IDS_ALM_BODY_NAME">Име</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вибрация</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Настройки за лятно часово време</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Продължителност на дрямка</text>\r
- <text id="IDS_COM_BODY_MAR">Март</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 аларма избрана</text>\r
- <text id="IDS_ALM_BODY_MELODY">Мелодия</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Всеки петък</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Пренареждане</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Всяка сряда</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Времето изтече</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Градът не може да се добави. Списъкът на Световен часовник е пълен. Първо изтрийте някои елементи</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Сортиране по</text>\r
- <text id="IDS_TMR_BODY_SEC">сек</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 пъти</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Хронометър</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Спиране на звъненето</text>\r
- <text id="IDS_TMR_BODY_HOUR">Час</text>\r
- <text id="IDS_COM_BODY_JAN">Ян</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Световен часовник</text>\r
- <text id="IDS_COM_BODY_SEP">Сеп.</text>\r
- <text id="IDS_COM_BODY_AUG">Авг.</text>\r
- <text id="IDS_TMR_SK_START">Старт</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Всеки вторник</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Аларма</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Още</text>\r
- <text id="IDS_COM_BODY_TIMER">Таймер</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Аларма за изтекъл срок</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Повтаряне на дрямка</text>\r
- <text id="IDS_COM_BODY_SEARCH">Търси</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Избор на аларми</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Всяка събота</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Нyлиране</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Всеки ден</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d града избрани</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 мин</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Отмяна лятно часово време</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 мин</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Всеки четвъртък</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Времето изтече</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d аларми избрани</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d пъти</text>\r
- <text id="IDS_COM_POP_DELETED">Изтрито</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 пъти</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Няма резултати от търсенето</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Обиколка</text>\r
- <text id="IDS_COM_SK_ADD">Добави</text>\r
- <text id="IDS_ALM_BODY_TONE">Тон</text>\r
- <text id="IDS_TMR_SK_RESET">Нyлир.</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Тип</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодия</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Последни</text>\r
- <text id="IDS_TMR_BODY_MIN">мин.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 град избран</text>\r
- <text id="IDS_COM_BODY_OCT">Окт.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">По име</text>\r
- <text id="IDS_ALM_SK_DELETE">Изтрий</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Всяка неделя</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Няма елементи</text>\r
- <text id="IDS_COM_BODY_FEB">Фев.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Вибрация и мелодия</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Часова зона</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 пъти</text>
+ <text id="IDS_COM_BODY_NOV">Ное</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Избрани</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Избор на часови пояс</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Избери всички</text>
+ <text id="IDS_NOTHING_SELECTED">Нищо не е избрано</text>
+ <text id="IDS_COM_BODY_DEC">Дек.</text>
+ <text id="IDS_ALM_SK_CANCEL">Отмени</text>
+ <text id="IDS_ALM_BODY_REPEAT">Повтори</text>
+ <text id="IDS_TMR_BODY_MIN1">мин.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Няма аларми</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Няма елементи</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Всеки понеделник</text>
+ <text id="IDS_WCL_TAB_TIME">Час</text>
+ <text id="IDS_COM_SK_NEW">Ново</text>
+ <text id="IDS_ALM_SK3_SAVE">Запиши</text>
+ <text id="IDS_COM_BODY_JUN">Юни</text>
+ <text id="IDS_ALM_BODY_TIME">Час</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Дрямка</text>
+ <text id="IDS_COM_BODY_JUL">Юли</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Рестартиране</text>
+ <text id="IDS_ALM_BODY_TYPE">Тип</text>
+ <text id="IDS_TMR_SK3_STOP">Стоп</text>
+ <text id="IDS_TMR_SK3_RESTART">Рестарт</text>
+ <text id="IDS_WCL_SK_DONE">Готово</text>
+ <text id="IDS_COM_BODY_APR">Апр.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 мин</text>
+ <text id="IDS_COM_BODY_MAY">Май</text>
+ <text id="IDS_ALM_BODY_NAME">Име</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вибрация</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Настройки за лятно часово време</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Продължителност на дрямка</text>
+ <text id="IDS_COM_BODY_MAR">Март</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 аларма избрана</text>
+ <text id="IDS_ALM_BODY_MELODY">Мелодия</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Всеки петък</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Пренареждане</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Всяка сряда</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Времето изтече</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Градът не може да се добави. Списъкът на Световен часовник е пълен. Първо изтрийте някои елементи</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Сортиране по</text>
+ <text id="IDS_TMR_BODY_SEC">сек</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 пъти</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Хронометър</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Спиране на звъненето</text>
+ <text id="IDS_TMR_BODY_HOUR">Час</text>
+ <text id="IDS_COM_BODY_JAN">Ян</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Световен часовник</text>
+ <text id="IDS_COM_BODY_SEP">Сеп.</text>
+ <text id="IDS_COM_BODY_AUG">Авг.</text>
+ <text id="IDS_TMR_SK_START">Старт</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Всеки вторник</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Аларма</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Още</text>
+ <text id="IDS_COM_BODY_TIMER">Таймер</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Аларма за изтекъл срок</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Повтаряне на дрямка</text>
+ <text id="IDS_COM_BODY_SEARCH">Търси</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Избор на аларми</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Всяка събота</text>
+ <text id="IDS_SWT_BUTTON_RESET">Нyлиране</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Всеки ден</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d града избрани</text>
+ <text id="IDS_ALM_BODY_10MINS">10 мин</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Отмяна лятно часово време</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 мин</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Всеки четвъртък</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Времето изтече</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d аларми избрани</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d пъти</text>
+ <text id="IDS_COM_POP_DELETED">Изтрито</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 пъти</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Няма резултати от търсенето</text>
+ <text id="IDS_SWT_BUTTON_LAP">Обиколка</text>
+ <text id="IDS_COM_SK_ADD">Добави</text>
+ <text id="IDS_ALM_BODY_TONE">Тон</text>
+ <text id="IDS_TMR_SK_RESET">Нyлир.</text>
+ <text id="IDS_ALM_HEADER_TYPE">Тип</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодия</text>
+ <text id="IDS_COM_BUTTON_RECENT">Последни</text>
+ <text id="IDS_TMR_BODY_MIN">мин.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 град избран</text>
+ <text id="IDS_COM_BODY_OCT">Окт.</text>
+ <text id="IDS_WCL_SK_BY_NAME">По име</text>
+ <text id="IDS_ALM_SK_DELETE">Изтрий</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Всяка неделя</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Няма елементи</text>
+ <text id="IDS_COM_BODY_FEB">Фев.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Vibració i melodia</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Zona horària</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 vegades</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionat</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horària</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Seleccioni-ho tot</text>\r
- <text id="IDS_NOTHING_SELECTED">No s'ha seleccionat res</text>\r
- <text id="IDS_COM_BODY_DEC">Des.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancel·lar</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetir</text>\r
- <text id="IDS_TMR_BODY_MIN1">minut</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Cap alarma</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">No hi ha elements</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Cada dilluns</text>\r
- <text id="IDS_WCL_TAB_TIME">Hora</text>\r
- <text id="IDS_COM_SK_NEW">Nou</text>\r
- <text id="IDS_ALM_SK3_SAVE">Desar</text>\r
- <text id="IDS_COM_BODY_JUN">Juny</text>\r
- <text id="IDS_ALM_BODY_TIME">Hora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Alarma de repetició</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipus</text>\r
- <text id="IDS_TMR_SK3_STOP">Aturar</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>\r
- <text id="IDS_WCL_SK_DONE">Finalit.</text>\r
- <text id="IDS_COM_BODY_APR">Abr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Maig</text>\r
- <text id="IDS_ALM_BODY_NAME">Nom</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibració</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Ajustaments d'horari d'estiu</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Durada de la repetició</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Cada divendres</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Tornar a ordenar</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Cada dimecres</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">S'ha exhaurit el temps</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">No es pot afegir la ciutat. Llista de Rellotge mundial plena. Esborri'n alguns elements abans</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordenar per</text>\r
- <text id="IDS_TMR_BODY_SEC">seg</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 vegades</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronòmetre</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Aturar alarma</text>\r
- <text id="IDS_TMR_BODY_HOUR">hora</text>\r
- <text id="IDS_COM_BODY_JAN">Gen.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Rellotge mundial</text>\r
- <text id="IDS_COM_BODY_SEP">Set.</text>\r
- <text id="IDS_COM_BODY_AUG">Ago.</text>\r
- <text id="IDS_TMR_SK_START">Iniciar</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Cada dimarts</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarma</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Més</text>\r
- <text id="IDS_COM_BODY_TIMER">Temporitzador</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarma de temps d'espera</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetició d'alarma</text>\r
- <text id="IDS_COM_BODY_SEARCH">Cercar</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmes</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Cada dissabte</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Restablir</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Cada dia</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d ciutats seleccionades</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancel·lar DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Cada dijous</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Temps exhaurit</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes seleccionades</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d vegades</text>\r
- <text id="IDS_COM_POP_DELETED">Esborrat</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 vegades</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No hi ha cap resultat de cerca</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Volta</text>\r
- <text id="IDS_COM_SK_ADD">Afegir</text>\r
- <text id="IDS_ALM_BODY_TONE">To</text>\r
- <text id="IDS_TMR_SK_RESET">Restablir</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipus</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recent</text>\r
- <text id="IDS_TMR_BODY_MIN">minut</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ciutat seleccionada</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Per nom</text>\r
- <text id="IDS_ALM_SK_DELETE">Esborrar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Cada diumenge</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">No hi ha elements</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Vibració i melodia</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Zona horària</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 vegades</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionat</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horària</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Seleccioni-ho tot</text>
+ <text id="IDS_NOTHING_SELECTED">No s'ha seleccionat res</text>
+ <text id="IDS_COM_BODY_DEC">Des.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancel·lar</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetir</text>
+ <text id="IDS_TMR_BODY_MIN1">minut</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Cap alarma</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">No hi ha elements</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Cada dilluns</text>
+ <text id="IDS_WCL_TAB_TIME">Hora</text>
+ <text id="IDS_COM_SK_NEW">Nou</text>
+ <text id="IDS_ALM_SK3_SAVE">Desar</text>
+ <text id="IDS_COM_BODY_JUN">Juny</text>
+ <text id="IDS_ALM_BODY_TIME">Hora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Alarma de repetició</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipus</text>
+ <text id="IDS_TMR_SK3_STOP">Aturar</text>
+ <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>
+ <text id="IDS_WCL_SK_DONE">Finalit.</text>
+ <text id="IDS_COM_BODY_APR">Abr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Maig</text>
+ <text id="IDS_ALM_BODY_NAME">Nom</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibració</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Ajustaments d'horari d'estiu</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Durada de la repetició</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Cada divendres</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Tornar a ordenar</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Cada dimecres</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">S'ha exhaurit el temps</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">No es pot afegir la ciutat. Llista de Rellotge mundial plena. Esborri'n alguns elements abans</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordenar per</text>
+ <text id="IDS_TMR_BODY_SEC">seg</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 vegades</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronòmetre</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Aturar alarma</text>
+ <text id="IDS_TMR_BODY_HOUR">hora</text>
+ <text id="IDS_COM_BODY_JAN">Gen.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Rellotge mundial</text>
+ <text id="IDS_COM_BODY_SEP">Set.</text>
+ <text id="IDS_COM_BODY_AUG">Ago.</text>
+ <text id="IDS_TMR_SK_START">Iniciar</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Cada dimarts</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarma</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Més</text>
+ <text id="IDS_COM_BODY_TIMER">Temporitzador</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarma de temps d'espera</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetició d'alarma</text>
+ <text id="IDS_COM_BODY_SEARCH">Cercar</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmes</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Cada dissabte</text>
+ <text id="IDS_SWT_BUTTON_RESET">Restablir</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Cada dia</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d ciutats seleccionades</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancel·lar DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Cada dijous</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Temps exhaurit</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes seleccionades</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d vegades</text>
+ <text id="IDS_COM_POP_DELETED">Esborrat</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 vegades</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No hi ha cap resultat de cerca</text>
+ <text id="IDS_SWT_BUTTON_LAP">Volta</text>
+ <text id="IDS_COM_SK_ADD">Afegir</text>
+ <text id="IDS_ALM_BODY_TONE">To</text>
+ <text id="IDS_TMR_SK_RESET">Restablir</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipus</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recent</text>
+ <text id="IDS_TMR_BODY_MIN">minut</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ciutat seleccionada</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Per nom</text>
+ <text id="IDS_ALM_SK_DELETE">Esborrar</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Cada diumenge</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">No hi ha elements</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie a vibrace</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Časové pásmo</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 krát</text>\r
- <text id="IDS_COM_BODY_NOV">Lis</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Vybráno</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vybrat časové pásmo</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Vybrat vše</text>\r
- <text id="IDS_NOTHING_SELECTED">Není nic vybráno</text>\r
- <text id="IDS_COM_BODY_DEC">Pro</text>\r
- <text id="IDS_ALM_SK_CANCEL">Zrušit</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Opakovat</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Žádná upozornění</text>\r
- <text id="IDS_COM_BODY_AM">do</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Žádné položky</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Každé pondělí</text>\r
- <text id="IDS_WCL_TAB_TIME">Čas</text>\r
- <text id="IDS_COM_SK_NEW">Nový</text>\r
- <text id="IDS_ALM_SK3_SAVE">Uložit</text>\r
- <text id="IDS_COM_BODY_JUN">Čer</text>\r
- <text id="IDS_ALM_BODY_TIME">Čas</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Posunout budík</text>\r
- <text id="IDS_COM_BODY_JUL">Čvc</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Restartování</text>\r
- <text id="IDS_ALM_BODY_TYPE">Typ</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Restartovat</text>\r
- <text id="IDS_WCL_SK_DONE">Hotovo</text>\r
- <text id="IDS_COM_BODY_APR">Dub</text>\r
- <text id="IDS_COM_POP_PM">od</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Kvě</text>\r
- <text id="IDS_ALM_BODY_NAME">Jméno</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrace</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Nastavení letního času</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Doba trvání odložení</text>\r
- <text id="IDS_COM_BODY_MAR">Bře</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Bylo vybráno 1 upozornění</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodie</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Každý pátek</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Změnit uspořádání</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Každá středa</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Časový limit</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nelze přidat město. Seznam Světových hodin je plný. Nejprve odstraňte některé položky</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Seřadit podle</text>\r
- <text id="IDS_TMR_BODY_SEC">s</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3krát</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopky</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Zastavit vyzvánění</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hodina</text>\r
- <text id="IDS_COM_BODY_JAN">Led</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Světové hodiny</text>\r
- <text id="IDS_COM_BODY_SEP">Zář</text>\r
- <text id="IDS_COM_BODY_AUG">Srp</text>\r
- <text id="IDS_TMR_SK_START">Spustit</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Každé úterý</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Upozornění</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Další</text>\r
- <text id="IDS_COM_BODY_TIMER">Časovač</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Upozornění po časovém limitu</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Opakování buzení</text>\r
- <text id="IDS_COM_BODY_SEARCH">Hledat</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Vybrat upozornění</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Každá sobota</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Vynulovat</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Každý den</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Bylo vybráno %d měst</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Zrušit letní čas</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Každý čtvrtek</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Časový limit vypršel</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Bylo vybráno %d upozornění</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%dkrát</text>\r
- <text id="IDS_COM_POP_DELETED">Odstraněno</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5krát</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Žádné výsledky</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Mezičas</text>\r
- <text id="IDS_COM_SK_ADD">Přidat</text>\r
- <text id="IDS_ALM_BODY_TONE">Tón</text>\r
- <text id="IDS_TMR_SK_RESET">Vynulovat</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Typ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Poslední</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Bylo vybráno 1 město</text>\r
- <text id="IDS_COM_BODY_OCT">Říj</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Dle názvu</text>\r
- <text id="IDS_ALM_SK_DELETE">Odstranit</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Každá neděle</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Žádné položky</text>\r
- <text id="IDS_COM_BODY_FEB">Úno</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie a vibrace</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Časové pásmo</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 krát</text>
+ <text id="IDS_COM_BODY_NOV">Lis</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Vybráno</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vybrat časové pásmo</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Vybrat vše</text>
+ <text id="IDS_NOTHING_SELECTED">Není nic vybráno</text>
+ <text id="IDS_COM_BODY_DEC">Pro</text>
+ <text id="IDS_ALM_SK_CANCEL">Zrušit</text>
+ <text id="IDS_ALM_BODY_REPEAT">Opakovat</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Žádná upozornění</text>
+ <text id="IDS_COM_BODY_AM">do</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Žádné položky</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Každé pondělí</text>
+ <text id="IDS_WCL_TAB_TIME">Čas</text>
+ <text id="IDS_COM_SK_NEW">Nový</text>
+ <text id="IDS_ALM_SK3_SAVE">Uložit</text>
+ <text id="IDS_COM_BODY_JUN">Čer</text>
+ <text id="IDS_ALM_BODY_TIME">Čas</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Posunout budík</text>
+ <text id="IDS_COM_BODY_JUL">Čvc</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Restartování</text>
+ <text id="IDS_ALM_BODY_TYPE">Typ</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Restartovat</text>
+ <text id="IDS_WCL_SK_DONE">Hotovo</text>
+ <text id="IDS_COM_BODY_APR">Dub</text>
+ <text id="IDS_COM_POP_PM">od</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Kvě</text>
+ <text id="IDS_ALM_BODY_NAME">Jméno</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrace</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Nastavení letního času</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Doba trvání odložení</text>
+ <text id="IDS_COM_BODY_MAR">Bře</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Bylo vybráno 1 upozornění</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodie</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Každý pátek</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Změnit uspořádání</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Každá středa</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Časový limit</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nelze přidat město. Seznam Světových hodin je plný. Nejprve odstraňte některé položky</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Seřadit podle</text>
+ <text id="IDS_TMR_BODY_SEC">s</text>
+ <text id="IDS_ALM_BODY_3TIMES">3krát</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopky</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Zastavit vyzvánění</text>
+ <text id="IDS_TMR_BODY_HOUR">Hodina</text>
+ <text id="IDS_COM_BODY_JAN">Led</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Světové hodiny</text>
+ <text id="IDS_COM_BODY_SEP">Zář</text>
+ <text id="IDS_COM_BODY_AUG">Srp</text>
+ <text id="IDS_TMR_SK_START">Spustit</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Každé úterý</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Upozornění</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Další</text>
+ <text id="IDS_COM_BODY_TIMER">Časovač</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Upozornění po časovém limitu</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Opakování buzení</text>
+ <text id="IDS_COM_BODY_SEARCH">Hledat</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Vybrat upozornění</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Každá sobota</text>
+ <text id="IDS_SWT_BUTTON_RESET">Vynulovat</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Každý den</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Bylo vybráno %d měst</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Zrušit letní čas</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Každý čtvrtek</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Časový limit vypršel</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Bylo vybráno %d upozornění</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%dkrát</text>
+ <text id="IDS_COM_POP_DELETED">Odstraněno</text>
+ <text id="IDS_ALM_BODY_5TIMES">5krát</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Žádné výsledky</text>
+ <text id="IDS_SWT_BUTTON_LAP">Mezičas</text>
+ <text id="IDS_COM_SK_ADD">Přidat</text>
+ <text id="IDS_ALM_BODY_TONE">Tón</text>
+ <text id="IDS_TMR_SK_RESET">Vynulovat</text>
+ <text id="IDS_ALM_HEADER_TYPE">Typ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>
+ <text id="IDS_COM_BUTTON_RECENT">Poslední</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Bylo vybráno 1 město</text>
+ <text id="IDS_COM_BODY_OCT">Říj</text>
+ <text id="IDS_WCL_SK_BY_NAME">Dle názvu</text>
+ <text id="IDS_ALM_SK_DELETE">Odstranit</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Každá neděle</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Žádné položky</text>
+ <text id="IDS_COM_BODY_FEB">Úno</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi og vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Tidszone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 gange</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Valgte</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vælg tidszone</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Vælg alle</text>\r
- <text id="IDS_NOTHING_SELECTED">Intet er valgt</text>\r
- <text id="IDS_COM_BODY_DEC">Dec</text>\r
- <text id="IDS_ALM_SK_CANCEL">Annullér</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Gentag</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ingen alarmer</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Ingen elementer</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Hver mandag</text>\r
- <text id="IDS_WCL_TAB_TIME">Tid</text>\r
- <text id="IDS_COM_SK_NEW">Ny</text>\r
- <text id="IDS_ALM_SK3_SAVE">Gem</text>\r
- <text id="IDS_COM_BODY_JUN">Jun</text>\r
- <text id="IDS_ALM_BODY_TIME">Tid</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Slumre</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Genstart</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Genstart</text>\r
- <text id="IDS_WCL_SK_DONE">Udført</text>\r
- <text id="IDS_COM_BODY_APR">Apr</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Maj</text>\r
- <text id="IDS_ALM_BODY_NAME">Navn</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrator</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Indstillinger for sommertid</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Varighed af udsættelse</text>\r
- <text id="IDS_COM_BODY_MAR">Mar</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm valgt</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodi</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Hver fredag</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Skift rækkefølge</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Hver onsdag</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tiden er gået</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Byen kunne ikke tilføjes. Listen med verdensure er fyldt. Slet nogle elementer først</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortér efter</text>\r
- <text id="IDS_TMR_BODY_SEC">sek.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 gange</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopur</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringning</text>\r
- <text id="IDS_TMR_BODY_HOUR">Time</text>\r
- <text id="IDS_COM_BODY_JAN">Jan</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Verdensur</text>\r
- <text id="IDS_COM_BODY_SEP">Sep</text>\r
- <text id="IDS_COM_BODY_AUG">Aug</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Hver tirsdag</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mere</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timeout-alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Gentag Slumre</text>\r
- <text id="IDS_COM_BODY_SEARCH">Søg</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Vælg alarmer</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Hver lørdag</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Nulstil</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Hver dag</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d byer valgt</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Annullér DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Hver torsdag</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Timeout</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmer valgt</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d gange</text>\r
- <text id="IDS_COM_POP_DELETED">Slettet</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 gange</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ingen søgeresultater</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Omgang</text>\r
- <text id="IDS_COM_SK_ADD">Tilføj</text>\r
- <text id="IDS_ALM_BODY_TONE">Tone</text>\r
- <text id="IDS_TMR_SK_RESET">Nulstil</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Seneste</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 by valgt</text>\r
- <text id="IDS_COM_BODY_OCT">Okt</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Eft. navn</text>\r
- <text id="IDS_ALM_SK_DELETE">Slet</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Hver søndag</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Ingen elementer</text>\r
- <text id="IDS_COM_BODY_FEB">Feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi og vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Tidszone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 gange</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Valgte</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vælg tidszone</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Vælg alle</text>
+ <text id="IDS_NOTHING_SELECTED">Intet er valgt</text>
+ <text id="IDS_COM_BODY_DEC">Dec</text>
+ <text id="IDS_ALM_SK_CANCEL">Annullér</text>
+ <text id="IDS_ALM_BODY_REPEAT">Gentag</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ingen alarmer</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Ingen elementer</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Hver mandag</text>
+ <text id="IDS_WCL_TAB_TIME">Tid</text>
+ <text id="IDS_COM_SK_NEW">Ny</text>
+ <text id="IDS_ALM_SK3_SAVE">Gem</text>
+ <text id="IDS_COM_BODY_JUN">Jun</text>
+ <text id="IDS_ALM_BODY_TIME">Tid</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Slumre</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Genstart</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Genstart</text>
+ <text id="IDS_WCL_SK_DONE">Udført</text>
+ <text id="IDS_COM_BODY_APR">Apr</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Maj</text>
+ <text id="IDS_ALM_BODY_NAME">Navn</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrator</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Indstillinger for sommertid</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Varighed af udsættelse</text>
+ <text id="IDS_COM_BODY_MAR">Mar</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm valgt</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodi</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Hver fredag</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Skift rækkefølge</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Hver onsdag</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tiden er gået</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Byen kunne ikke tilføjes. Listen med verdensure er fyldt. Slet nogle elementer først</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortér efter</text>
+ <text id="IDS_TMR_BODY_SEC">sek.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 gange</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopur</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringning</text>
+ <text id="IDS_TMR_BODY_HOUR">Time</text>
+ <text id="IDS_COM_BODY_JAN">Jan</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Verdensur</text>
+ <text id="IDS_COM_BODY_SEP">Sep</text>
+ <text id="IDS_COM_BODY_AUG">Aug</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Hver tirsdag</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mere</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timeout-alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Gentag Slumre</text>
+ <text id="IDS_COM_BODY_SEARCH">Søg</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Vælg alarmer</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Hver lørdag</text>
+ <text id="IDS_SWT_BUTTON_RESET">Nulstil</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Hver dag</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d byer valgt</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Annullér DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Hver torsdag</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Timeout</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmer valgt</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d gange</text>
+ <text id="IDS_COM_POP_DELETED">Slettet</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 gange</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ingen søgeresultater</text>
+ <text id="IDS_SWT_BUTTON_LAP">Omgang</text>
+ <text id="IDS_COM_SK_ADD">Tilføj</text>
+ <text id="IDS_ALM_BODY_TONE">Tone</text>
+ <text id="IDS_TMR_SK_RESET">Nulstil</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>
+ <text id="IDS_COM_BUTTON_RECENT">Seneste</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 by valgt</text>
+ <text id="IDS_COM_BODY_OCT">Okt</text>
+ <text id="IDS_WCL_SK_BY_NAME">Eft. navn</text>
+ <text id="IDS_ALM_SK_DELETE">Slet</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Hver søndag</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Ingen elementer</text>
+ <text id="IDS_COM_BODY_FEB">Feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie und Vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Zeitzone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 Mal</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Ausgewählt</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Zeitzone auswählen</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Alle auswählen</text>\r
- <text id="IDS_NOTHING_SELECTED">Nichts ausgewählt</text>\r
- <text id="IDS_COM_BODY_DEC">Dez.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Abbrechen</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Wiederholen</text>\r
- <text id="IDS_TMR_BODY_MIN1">Min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Keine Alarme</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Keine Elemente</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Jeden Montag</text>\r
- <text id="IDS_WCL_TAB_TIME">Zeit</text>\r
- <text id="IDS_COM_SK_NEW">Neu</text>\r
- <text id="IDS_ALM_SK3_SAVE">Speichern</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Zeit</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Erinnern</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Neustart</text>\r
- <text id="IDS_ALM_BODY_TYPE">Typ</text>\r
- <text id="IDS_TMR_SK3_STOP">Stopp</text>\r
- <text id="IDS_TMR_SK3_RESTART">Neustart</text>\r
- <text id="IDS_WCL_SK_DONE">OK</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 Minuten</text>\r
- <text id="IDS_COM_BODY_MAY">Mai</text>\r
- <text id="IDS_ALM_BODY_NAME">Name</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST-Einstellungen</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Schlummerdauer</text>\r
- <text id="IDS_COM_BODY_MAR">Mär.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 ausgewählter Alarm</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodie</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Jeden Freitag</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Neu sortieren</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Jeden Mittwoch</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Zeit abgelaufen</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Stadt kann nicht hinzugefügt werden. Weltzeituhr-Liste voll. Löschen Sie zuerst einige Elemente.</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortieren nach</text>\r
- <text id="IDS_TMR_BODY_SEC">Sek.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 Mal</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stoppuhr</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Klingeln stoppen</text>\r
- <text id="IDS_TMR_BODY_HOUR">Stunde</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Weltuhr</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Jeden Dienstag</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mehr</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timeout-Alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Erinnerungswiederholung</text>\r
- <text id="IDS_COM_BODY_SEARCH">Suche</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Alarme auswählen</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Jeden Samstag</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Reset</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Täglich</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d Städte ausgewählt</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 Min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DST abbrechen</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 Minuten</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Jeden Donnerstag</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Zeitüberschreitung</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d Alarme ausgewählt.</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d Mal</text>\r
- <text id="IDS_COM_POP_DELETED">Gelöscht</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 Mal</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Keine Suchergebnisse</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Runde</text>\r
- <text id="IDS_COM_SK_ADD">Hinzufügen</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Zurücks.</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Typ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Kürzlich</text>\r
- <text id="IDS_TMR_BODY_MIN">Min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 Stadt ausgewählt</text>\r
- <text id="IDS_COM_BODY_OCT">Okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Nach Name</text>\r
- <text id="IDS_ALM_SK_DELETE">Löschen</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Jeden Sonntag</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Keine Elemente</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie und Vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Zeitzone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 Mal</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Ausgewählt</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Zeitzone auswählen</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Alle auswählen</text>
+ <text id="IDS_NOTHING_SELECTED">Nichts ausgewählt</text>
+ <text id="IDS_COM_BODY_DEC">Dez.</text>
+ <text id="IDS_ALM_SK_CANCEL">Abbrechen</text>
+ <text id="IDS_ALM_BODY_REPEAT">Wiederholen</text>
+ <text id="IDS_TMR_BODY_MIN1">Min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Keine Alarme</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Keine Elemente</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Jeden Montag</text>
+ <text id="IDS_WCL_TAB_TIME">Zeit</text>
+ <text id="IDS_COM_SK_NEW">Neu</text>
+ <text id="IDS_ALM_SK3_SAVE">Speichern</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Zeit</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Erinnern</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Neustart</text>
+ <text id="IDS_ALM_BODY_TYPE">Typ</text>
+ <text id="IDS_TMR_SK3_STOP">Stopp</text>
+ <text id="IDS_TMR_SK3_RESTART">Neustart</text>
+ <text id="IDS_WCL_SK_DONE">OK</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 Minuten</text>
+ <text id="IDS_COM_BODY_MAY">Mai</text>
+ <text id="IDS_ALM_BODY_NAME">Name</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST-Einstellungen</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Schlummerdauer</text>
+ <text id="IDS_COM_BODY_MAR">Mär.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 ausgewählter Alarm</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodie</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Jeden Freitag</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Neu sortieren</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Jeden Mittwoch</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Zeit abgelaufen</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Stadt kann nicht hinzugefügt werden. Weltzeituhr-Liste voll. Löschen Sie zuerst einige Elemente.</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortieren nach</text>
+ <text id="IDS_TMR_BODY_SEC">Sek.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 Mal</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stoppuhr</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Klingeln stoppen</text>
+ <text id="IDS_TMR_BODY_HOUR">Stunde</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Weltuhr</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Jeden Dienstag</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mehr</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timeout-Alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Erinnerungswiederholung</text>
+ <text id="IDS_COM_BODY_SEARCH">Suche</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Alarme auswählen</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Jeden Samstag</text>
+ <text id="IDS_SWT_BUTTON_RESET">Reset</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Täglich</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d Städte ausgewählt</text>
+ <text id="IDS_ALM_BODY_10MINS">10 Min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DST abbrechen</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 Minuten</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Jeden Donnerstag</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Zeitüberschreitung</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d Alarme ausgewählt.</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d Mal</text>
+ <text id="IDS_COM_POP_DELETED">Gelöscht</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 Mal</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Keine Suchergebnisse</text>
+ <text id="IDS_SWT_BUTTON_LAP">Runde</text>
+ <text id="IDS_COM_SK_ADD">Hinzufügen</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Zurücks.</text>
+ <text id="IDS_ALM_HEADER_TYPE">Typ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>
+ <text id="IDS_COM_BUTTON_RECENT">Kürzlich</text>
+ <text id="IDS_TMR_BODY_MIN">Min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 Stadt ausgewählt</text>
+ <text id="IDS_COM_BODY_OCT">Okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Nach Name</text>
+ <text id="IDS_ALM_SK_DELETE">Löschen</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Jeden Sonntag</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Keine Elemente</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Μελωδία και δόνηση</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Ζώνη ώρας</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 φορές</text>\r
- <text id="IDS_COM_BODY_NOV">Noέμ</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Επιλεγμένο</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Επιλογή ζώνης ώρας</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Επιλογή όλων</text>\r
- <text id="IDS_NOTHING_SELECTED">Δεν έχει γίνει καμία επιλογή</text>\r
- <text id="IDS_COM_BODY_DEC">Δεκ</text>\r
- <text id="IDS_ALM_SK_CANCEL">Άκυρο</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Επανάληψη</text>\r
- <text id="IDS_TMR_BODY_MIN1">λεπ.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Καμία ειδοποίηση</text>\r
- <text id="IDS_COM_BODY_AM">ΠΜ</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Κανένα στοιχείο</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Κάθε Δευτέρα</text>\r
- <text id="IDS_WCL_TAB_TIME">Ώρα</text>\r
- <text id="IDS_COM_SK_NEW">Νέο</text>\r
- <text id="IDS_ALM_SK3_SAVE">Αποθήκ.</text>\r
- <text id="IDS_COM_BODY_JUN">Ιούν</text>\r
- <text id="IDS_ALM_BODY_TIME">Ώρα</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Αναβολή</text>\r
- <text id="IDS_COM_BODY_JUL">Ιούλ</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Επαν\κίνηση</text>\r
- <text id="IDS_ALM_BODY_TYPE">Είδος</text>\r
- <text id="IDS_TMR_SK3_STOP">Διακοπή</text>\r
- <text id="IDS_TMR_SK3_RESTART">Επανεκκίνηση</text>\r
- <text id="IDS_WCL_SK_DONE">Ok</text>\r
- <text id="IDS_COM_BODY_APR">Απρ</text>\r
- <text id="IDS_COM_POP_PM">ΜΜ</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 λεπτά</text>\r
- <text id="IDS_COM_BODY_MAY">Μάης</text>\r
- <text id="IDS_ALM_BODY_NAME">Όνομα</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Δόνηση</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Ρυθμίσεις θερινής ώρας</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Διάρκεια αναβολής</text>\r
- <text id="IDS_COM_BODY_MAR">Μάρτ</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Επιλέχθηκε 1 ειδοποίηση</text>\r
- <text id="IDS_ALM_BODY_MELODY">Μελωδία</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Κάθε Παρασκευή</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Επανάληψη παραγγελίας</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Κάθε Τετάρτη</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Ο χρόνος τελείωσε</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Δεν είναι δυνατή η προσθήκη πόλης. Η λίστα Παγκοσμίου Ρολογιού είναι πλήρης. Πρώτα, διαγράψτε ορισμένα στοιχεία</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ταξινόμηση κατά</text>\r
- <text id="IDS_TMR_BODY_SEC">δευτ.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 φορές</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Χρονόμετρο</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Διακοπή ήχου ειδοποίησης</text>\r
- <text id="IDS_TMR_BODY_HOUR">Ώρα</text>\r
- <text id="IDS_COM_BODY_JAN">Ιαν</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Παγκόσμιο Ρολόι</text>\r
- <text id="IDS_COM_BODY_SEP">Σεπτ</text>\r
- <text id="IDS_COM_BODY_AUG">Αυγ</text>\r
- <text id="IDS_TMR_SK_START">Έναρξη</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Κάθε Τρίτη</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Ειδοποίηση</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Περισσότερα</text>\r
- <text id="IDS_COM_BODY_TIMER">Αντίστροφη μέτρηση</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Λήξη ειδοποίησης</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Επανάληψη αναβολής</text>\r
- <text id="IDS_COM_BODY_SEARCH">Αναζήτηση</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Επιλογή ειδοποιήσεων</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Κάθε Σάββατο</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Μηδενισμ.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Καθημερινά</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Επιλέχθηκαν %d πόλεις</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 λεπτά</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Ακύρωση DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 λεπτά</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Κάθε Πέμπτη</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Τέλος χρόνου</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Έχουν επιλεγεί %d ειδοποιήσεις</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d φορές</text>\r
- <text id="IDS_COM_POP_DELETED">Διαγράφηκε</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 φορές</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Δεν υπάρχουν αποτελέσματα αναζήτησης</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Γύρος</text>\r
- <text id="IDS_COM_SK_ADD">Προσθήκη</text>\r
- <text id="IDS_ALM_BODY_TONE">Ήχος</text>\r
- <text id="IDS_TMR_SK_RESET">Μηδενισμός</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Είδος</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Μελωδία</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Πρόσφατα</text>\r
- <text id="IDS_TMR_BODY_MIN">λεπ.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Επιλέχθηκε 1 πόλη</text>\r
- <text id="IDS_COM_BODY_OCT">Οκτ</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Ανά όνομα</text>\r
- <text id="IDS_ALM_SK_DELETE">Διαγραφή</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Κάθε Κυριακή</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Κανένα στοιχείο</text>\r
- <text id="IDS_COM_BODY_FEB">Φεβρ</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Μελωδία και δόνηση</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Ζώνη ώρας</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 φορές</text>
+ <text id="IDS_COM_BODY_NOV">Noέμ</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Επιλεγμένο</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Επιλογή ζώνης ώρας</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Επιλογή όλων</text>
+ <text id="IDS_NOTHING_SELECTED">Δεν έχει γίνει καμία επιλογή</text>
+ <text id="IDS_COM_BODY_DEC">Δεκ</text>
+ <text id="IDS_ALM_SK_CANCEL">Άκυρο</text>
+ <text id="IDS_ALM_BODY_REPEAT">Επανάληψη</text>
+ <text id="IDS_TMR_BODY_MIN1">λεπ.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Καμία ειδοποίηση</text>
+ <text id="IDS_COM_BODY_AM">ΠΜ</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Κανένα στοιχείο</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Κάθε Δευτέρα</text>
+ <text id="IDS_WCL_TAB_TIME">Ώρα</text>
+ <text id="IDS_COM_SK_NEW">Νέο</text>
+ <text id="IDS_ALM_SK3_SAVE">Αποθήκ.</text>
+ <text id="IDS_COM_BODY_JUN">Ιούν</text>
+ <text id="IDS_ALM_BODY_TIME">Ώρα</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Αναβολή</text>
+ <text id="IDS_COM_BODY_JUL">Ιούλ</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Επαν\κίνηση</text>
+ <text id="IDS_ALM_BODY_TYPE">Είδος</text>
+ <text id="IDS_TMR_SK3_STOP">Διακοπή</text>
+ <text id="IDS_TMR_SK3_RESTART">Επανεκκίνηση</text>
+ <text id="IDS_WCL_SK_DONE">Ok</text>
+ <text id="IDS_COM_BODY_APR">Απρ</text>
+ <text id="IDS_COM_POP_PM">ΜΜ</text>
+ <text id="IDS_ALM_BODY_5MINS">5 λεπτά</text>
+ <text id="IDS_COM_BODY_MAY">Μάης</text>
+ <text id="IDS_ALM_BODY_NAME">Όνομα</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Δόνηση</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Ρυθμίσεις θερινής ώρας</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Διάρκεια αναβολής</text>
+ <text id="IDS_COM_BODY_MAR">Μάρτ</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Επιλέχθηκε 1 ειδοποίηση</text>
+ <text id="IDS_ALM_BODY_MELODY">Μελωδία</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Κάθε Παρασκευή</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Επανάληψη παραγγελίας</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Κάθε Τετάρτη</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Ο χρόνος τελείωσε</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Δεν είναι δυνατή η προσθήκη πόλης. Η λίστα Παγκοσμίου Ρολογιού είναι πλήρης. Πρώτα, διαγράψτε ορισμένα στοιχεία</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ταξινόμηση κατά</text>
+ <text id="IDS_TMR_BODY_SEC">δευτ.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 φορές</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Χρονόμετρο</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Διακοπή ήχου ειδοποίησης</text>
+ <text id="IDS_TMR_BODY_HOUR">Ώρα</text>
+ <text id="IDS_COM_BODY_JAN">Ιαν</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Παγκόσμιο Ρολόι</text>
+ <text id="IDS_COM_BODY_SEP">Σεπτ</text>
+ <text id="IDS_COM_BODY_AUG">Αυγ</text>
+ <text id="IDS_TMR_SK_START">Έναρξη</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Κάθε Τρίτη</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Ειδοποίηση</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Περισσότερα</text>
+ <text id="IDS_COM_BODY_TIMER">Αντίστροφη μέτρηση</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Λήξη ειδοποίησης</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Επανάληψη αναβολής</text>
+ <text id="IDS_COM_BODY_SEARCH">Αναζήτηση</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Επιλογή ειδοποιήσεων</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Κάθε Σάββατο</text>
+ <text id="IDS_SWT_BUTTON_RESET">Μηδενισμ.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Καθημερινά</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Επιλέχθηκαν %d πόλεις</text>
+ <text id="IDS_ALM_BODY_10MINS">10 λεπτά</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Ακύρωση DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 λεπτά</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Κάθε Πέμπτη</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Τέλος χρόνου</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Έχουν επιλεγεί %d ειδοποιήσεις</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d φορές</text>
+ <text id="IDS_COM_POP_DELETED">Διαγράφηκε</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 φορές</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Δεν υπάρχουν αποτελέσματα αναζήτησης</text>
+ <text id="IDS_SWT_BUTTON_LAP">Γύρος</text>
+ <text id="IDS_COM_SK_ADD">Προσθήκη</text>
+ <text id="IDS_ALM_BODY_TONE">Ήχος</text>
+ <text id="IDS_TMR_SK_RESET">Μηδενισμός</text>
+ <text id="IDS_ALM_HEADER_TYPE">Είδος</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Μελωδία</text>
+ <text id="IDS_COM_BUTTON_RECENT">Πρόσφατα</text>
+ <text id="IDS_TMR_BODY_MIN">λεπ.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Επιλέχθηκε 1 πόλη</text>
+ <text id="IDS_COM_BODY_OCT">Οκτ</text>
+ <text id="IDS_WCL_SK_BY_NAME">Ανά όνομα</text>
+ <text id="IDS_ALM_SK_DELETE">Διαγραφή</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Κάθε Κυριακή</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Κανένα στοιχείο</text>
+ <text id="IDS_COM_BODY_FEB">Φεβρ</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201302250946" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melody and vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Time zone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 times</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d selected</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Select time zone</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Select all</text>\r
- <text id="IDS_NOTHING_SELECTED">Nothing selected</text>\r
- <text id="IDS_COM_BODY_DEC">Dec</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancel</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repeat</text>\r
- <text id="IDS_TMR_BODY_MIN1">mins</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">No alarms</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_NO_ITEMS">No items</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Every Monday</text>\r
- <text id="IDS_WCL_TAB_TIME">Time</text>\r
- <text id="IDS_COM_SK_NEW">New</text>\r
- <text id="IDS_ALM_SK3_SAVE">Save</text>\r
- <text id="IDS_COM_BODY_JUN">Jun</text>\r
- <text id="IDS_ALM_BODY_TIME">Time</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>\r
- <text id="IDS_COM_BODY_JUL">Jul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Restart</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Restart</text>\r
- <text id="IDS_WCL_SK_DONE">Done</text>\r
- <text id="IDS_COM_BODY_APR">Apr</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 mins</text>\r
- <text id="IDS_COM_BODY_MAY">May</text>\r
- <text id="IDS_ALM_BODY_NAME">Name</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST settings</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze duration</text>\r
- <text id="IDS_COM_BODY_MAR">Mar</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm selected</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melody</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Every Friday</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reorder</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Every Wednesday</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Time is up</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Unable to add city. World Clock list full. Delete some items first</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sort by</text>\r
- <text id="IDS_TMR_BODY_SEC">secs</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 times</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringing</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hour</text>\r
- <text id="IDS_COM_BODY_JAN">Jan</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">World Clock</text>\r
- <text id="IDS_COM_BODY_SEP">Sep</text>\r
- <text id="IDS_COM_BODY_AUG">Aug</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Every Tuesday</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">More</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snooze repeat</text>\r
- <text id="IDS_COM_BODY_SEARCH">Search</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Select alarms</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Every Saturday</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Reset</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Everyday</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cities selected</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 mins</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancel DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 mins</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Every Thursday</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Time-out</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarms selected</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d times</text>\r
- <text id="IDS_COM_POP_DELETED">Deleted</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 times</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No search results</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Lap</text>\r
- <text id="IDS_COM_SK_ADD">Add</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_ALM_BODY_TONE">Tone</text>\r
- <text id="IDS_TMR_SK_RESET">Reset</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melody</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recent</text>\r
- <text id="IDS_TMR_BODY_MIN">mins</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 city selected</text>\r
- <text id="IDS_COM_BODY_OCT">Oct</text>\r
- <text id="IDS_WCL_SK_BY_NAME">By name</text>\r
- <text id="IDS_ALM_SK_DELETE">Delete</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Every Sunday</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">No items</text>\r
- <text id="IDS_COM_BODY_FEB">Feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201302250946" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melody and vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Time zone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 times</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d selected</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Select time zone</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Select all</text>
+ <text id="IDS_NOTHING_SELECTED">Nothing selected</text>
+ <text id="IDS_COM_BODY_DEC">Dec</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancel</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repeat</text>
+ <text id="IDS_TMR_BODY_MIN1">mins</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">No alarms</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_NO_ITEMS">No items</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Every Monday</text>
+ <text id="IDS_WCL_TAB_TIME">Time</text>
+ <text id="IDS_COM_SK_NEW">New</text>
+ <text id="IDS_ALM_SK3_SAVE">Save</text>
+ <text id="IDS_COM_BODY_JUN">Jun</text>
+ <text id="IDS_ALM_BODY_TIME">Time</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>
+ <text id="IDS_COM_BODY_JUL">Jul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Restart</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Restart</text>
+ <text id="IDS_WCL_SK_DONE">Done</text>
+ <text id="IDS_COM_BODY_APR">Apr</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 mins</text>
+ <text id="IDS_COM_BODY_MAY">May</text>
+ <text id="IDS_ALM_BODY_NAME">Name</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST settings</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze duration</text>
+ <text id="IDS_COM_BODY_MAR">Mar</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm selected</text>
+ <text id="IDS_ALM_BODY_MELODY">Melody</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Every Friday</text>
+ <text id="IDS_WCL_OPT_REORDER">Reorder</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Every Wednesday</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Time is up</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Unable to add city. World Clock list full. Delete some items first</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sort by</text>
+ <text id="IDS_TMR_BODY_SEC">secs</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 times</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringing</text>
+ <text id="IDS_TMR_BODY_HOUR">Hour</text>
+ <text id="IDS_COM_BODY_JAN">Jan</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">World Clock</text>
+ <text id="IDS_COM_BODY_SEP">Sep</text>
+ <text id="IDS_COM_BODY_AUG">Aug</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Every Tuesday</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">More</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snooze repeat</text>
+ <text id="IDS_COM_BODY_SEARCH">Search</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Select alarms</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Every Saturday</text>
+ <text id="IDS_SWT_BUTTON_RESET">Reset</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Everyday</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cities selected</text>
+ <text id="IDS_ALM_BODY_10MINS">10 mins</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancel DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 mins</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Every Thursday</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Time-out</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarms selected</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d times</text>
+ <text id="IDS_COM_POP_DELETED">Deleted</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 times</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No search results</text>
+ <text id="IDS_SWT_BUTTON_LAP">Lap</text>
+ <text id="IDS_COM_SK_ADD">Add</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_ALM_BODY_TONE">Tone</text>
+ <text id="IDS_TMR_SK_RESET">Reset</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melody</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recent</text>
+ <text id="IDS_TMR_BODY_MIN">mins</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 city selected</text>
+ <text id="IDS_COM_BODY_OCT">Oct</text>
+ <text id="IDS_WCL_SK_BY_NAME">By name</text>
+ <text id="IDS_ALM_SK_DELETE">Delete</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Every Sunday</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">No items</text>
+ <text id="IDS_COM_BODY_FEB">Feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melody and vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Time zone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 times</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d selected</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Select time zone</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Select all</text>\r
- <text id="IDS_NOTHING_SELECTED">Nothing selected</text>\r
- <text id="IDS_COM_BODY_DEC">Dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancel</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repeat</text>\r
- <text id="IDS_TMR_BODY_MIN1">mins</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">No alarms</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">No items</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Every Monday</text>\r
- <text id="IDS_WCL_TAB_TIME">Time</text>\r
- <text id="IDS_COM_SK_NEW">New</text>\r
- <text id="IDS_ALM_SK3_SAVE">Save</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Time</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Restart</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Restart</text>\r
- <text id="IDS_WCL_SK_DONE">Done</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 mins</text>\r
- <text id="IDS_COM_BODY_MAY">May</text>\r
- <text id="IDS_ALM_BODY_NAME">Name</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST settings</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze duration</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm selected</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melody</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Every Friday</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Re-order</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Every Wednesday</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Time is up</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Unable to add city. World Clock list full. Delete some items first</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sort by</text>\r
- <text id="IDS_TMR_BODY_SEC">secs</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 times</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringing</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hour</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">World Clock</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Every Tuesday</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">More</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Frequency</text>\r
- <text id="IDS_COM_BODY_SEARCH">Search</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Select alarms</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Every Saturday</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Reset</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Everyday</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cities selected</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 mins</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancel DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 mins</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Every Thursday</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Time-out</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarms selected</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d times</text>\r
- <text id="IDS_COM_POP_DELETED">Deleted</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 times</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No search results</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Lap</text>\r
- <text id="IDS_COM_SK_ADD">Add</text>\r
- <text id="IDS_ALM_BODY_TONE">Tone</text>\r
- <text id="IDS_TMR_SK_RESET">Reset</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melody</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recent</text>\r
- <text id="IDS_TMR_BODY_MIN">mins</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 city selected</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">By name</text>\r
- <text id="IDS_ALM_SK_DELETE">Delete</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Every Sunday</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">No items</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melody and vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Time zone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 times</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d selected</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Select time zone</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Select all</text>
+ <text id="IDS_NOTHING_SELECTED">Nothing selected</text>
+ <text id="IDS_COM_BODY_DEC">Dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancel</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repeat</text>
+ <text id="IDS_TMR_BODY_MIN1">mins</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">No alarms</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">No items</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Every Monday</text>
+ <text id="IDS_WCL_TAB_TIME">Time</text>
+ <text id="IDS_COM_SK_NEW">New</text>
+ <text id="IDS_ALM_SK3_SAVE">Save</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Time</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Restart</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Restart</text>
+ <text id="IDS_WCL_SK_DONE">Done</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 mins</text>
+ <text id="IDS_COM_BODY_MAY">May</text>
+ <text id="IDS_ALM_BODY_NAME">Name</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST settings</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze duration</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm selected</text>
+ <text id="IDS_ALM_BODY_MELODY">Melody</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Every Friday</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Re-order</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Every Wednesday</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Time is up</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Unable to add city. World Clock list full. Delete some items first</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sort by</text>
+ <text id="IDS_TMR_BODY_SEC">secs</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 times</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringing</text>
+ <text id="IDS_TMR_BODY_HOUR">Hour</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">World Clock</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Every Tuesday</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">More</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Frequency</text>
+ <text id="IDS_COM_BODY_SEARCH">Search</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Select alarms</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Every Saturday</text>
+ <text id="IDS_SWT_BUTTON_RESET">Reset</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Everyday</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cities selected</text>
+ <text id="IDS_ALM_BODY_10MINS">10 mins</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancel DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 mins</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Every Thursday</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Time-out</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarms selected</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d times</text>
+ <text id="IDS_COM_POP_DELETED">Deleted</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 times</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No search results</text>
+ <text id="IDS_SWT_BUTTON_LAP">Lap</text>
+ <text id="IDS_COM_SK_ADD">Add</text>
+ <text id="IDS_ALM_BODY_TONE">Tone</text>
+ <text id="IDS_TMR_SK_RESET">Reset</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melody</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recent</text>
+ <text id="IDS_TMR_BODY_MIN">mins</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 city selected</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_WCL_SK_BY_NAME">By name</text>
+ <text id="IDS_ALM_SK_DELETE">Delete</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Every Sunday</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">No items</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melody and vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Time zone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 times</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d selected</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Select time zone</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Select all</text>\r
- <text id="IDS_NOTHING_SELECTED">Nothing selected</text>\r
- <text id="IDS_COM_BODY_DEC">Dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancel</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repeat</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">No alarms</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">No items</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Every Monday</text>\r
- <text id="IDS_WCL_TAB_TIME">Time</text>\r
- <text id="IDS_COM_SK_NEW">New</text>\r
- <text id="IDS_ALM_SK3_SAVE">Save</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Time</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Restart</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Restart</text>\r
- <text id="IDS_WCL_SK_DONE">Done</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">May</text>\r
- <text id="IDS_ALM_BODY_NAME">Name</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST settings</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze duration</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm selected</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melody</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Every Friday</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reorder</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Every Wednesday</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Time is up</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Unable to add city. World clock list full. Delete some items to continue.</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sort by</text>\r
- <text id="IDS_TMR_BODY_SEC">sec</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 times</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringing</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hour</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">World Clock</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Every Tuesday</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">More</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snooze repeat</text>\r
- <text id="IDS_COM_BODY_SEARCH">Search</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Select alarms</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Every Saturday</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Reset</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Everyday</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cities selected</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancel DST</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Every Thursday</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Time out</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarms selected</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d times</text>\r
- <text id="IDS_COM_POP_DELETED">Deleted</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 times</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No search results</text>\r
- <text id="IDS_COM_SK_ADD">Create alarm</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Lap</text>\r
- <text id="IDS_ALM_BODY_TONE">Tone</text>\r
- <text id="IDS_TMR_SK_RESET">Reset</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recent</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melody</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 city selected</text>\r
- <text id="IDS_WCL_SK_BY_NAME">By name</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_ALM_SK_DELETE">Delete</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Every Sunday</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">No items</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melody and vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Time zone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 times</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d selected</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Select time zone</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Select all</text>
+ <text id="IDS_NOTHING_SELECTED">Nothing selected</text>
+ <text id="IDS_COM_BODY_DEC">Dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancel</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repeat</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">No alarms</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">No items</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Every Monday</text>
+ <text id="IDS_WCL_TAB_TIME">Time</text>
+ <text id="IDS_COM_SK_NEW">New</text>
+ <text id="IDS_ALM_SK3_SAVE">Save</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Time</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Restart</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Restart</text>
+ <text id="IDS_WCL_SK_DONE">Done</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">May</text>
+ <text id="IDS_ALM_BODY_NAME">Name</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST settings</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze duration</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm selected</text>
+ <text id="IDS_ALM_BODY_MELODY">Melody</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Every Friday</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Reorder</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Every Wednesday</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Time is up</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Unable to add city. World clock list full. Delete some items to continue.</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sort by</text>
+ <text id="IDS_TMR_BODY_SEC">sec</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 times</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stop ringing</text>
+ <text id="IDS_TMR_BODY_HOUR">Hour</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">World Clock</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Every Tuesday</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">More</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snooze repeat</text>
+ <text id="IDS_COM_BODY_SEARCH">Search</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Select alarms</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Every Saturday</text>
+ <text id="IDS_SWT_BUTTON_RESET">Reset</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Everyday</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cities selected</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancel DST</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Every Thursday</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Time out</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarms selected</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d times</text>
+ <text id="IDS_COM_POP_DELETED">Deleted</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 times</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No search results</text>
+ <text id="IDS_COM_SK_ADD">Create alarm</text>
+ <text id="IDS_SWT_BUTTON_LAP">Lap</text>
+ <text id="IDS_ALM_BODY_TONE">Tone</text>
+ <text id="IDS_TMR_SK_RESET">Reset</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recent</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melody</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 city selected</text>
+ <text id="IDS_WCL_SK_BY_NAME">By name</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_ALM_SK_DELETE">Delete</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Every Sunday</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">No items</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Meloodia ja värin</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Ajavöönd</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 korda</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Valitud</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Valige ajavöönd</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Vali kõik</text>\r
- <text id="IDS_NOTHING_SELECTED">Valik tegemata</text>\r
- <text id="IDS_COM_BODY_DEC">Det.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Tühista</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Korda</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Märguandeid pole</text>\r
- <text id="IDS_COM_BODY_AM">EL</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Üksusi ei ole</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Igal esmaspäeval</text>\r
- <text id="IDS_WCL_TAB_TIME">Kellaaeg</text>\r
- <text id="IDS_COM_SK_NEW">Uus</text>\r
- <text id="IDS_ALM_SK3_SAVE">Salvesta</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Kellaaeg</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Kordus</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Taaskäivita</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tüüp</text>\r
- <text id="IDS_TMR_SK3_STOP">Lõpeta</text>\r
- <text id="IDS_TMR_SK3_RESTART">Taaskäivita</text>\r
- <text id="IDS_WCL_SK_DONE">Valmis</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PL</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Mai</text>\r
- <text id="IDS_ALM_BODY_NAME">Nimi</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Värin</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Suveaja seaded</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Korduse kestus</text>\r
- <text id="IDS_COM_BODY_MAR">Mär.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 märguanne on valitud</text>\r
- <text id="IDS_ALM_BODY_MELODY">Meloodia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Igal reedel</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Järjesta ümber</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Igal kolmapäeval</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Aeg on läbi</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Linna ei saa lisada. Maailmakellade loend on täis. Esmalt kustutage mõned üksused</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortimisalus</text>\r
- <text id="IDS_TMR_BODY_SEC">sek.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 korda</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopper</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Lõpeta helisemine</text>\r
- <text id="IDS_TMR_BODY_HOUR">Tund</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Maailmakell</text>\r
- <text id="IDS_COM_BODY_SEP">Sept</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Alusta</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Igal teisipäeval</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Veel</text>\r
- <text id="IDS_COM_BODY_TIMER">Taimer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Ajakatkestuse märguanne</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Kordus</text>\r
- <text id="IDS_COM_BODY_SEARCH">Otsi</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Valige märguanded</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Igal laupäeval</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Lähtesta</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Iga päev</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d linna on valitud</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Tühista DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Igal neljapäeval</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Kuvalõpp</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Valitud on %d märguannet</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d korda</text>\r
- <text id="IDS_COM_POP_DELETED">Kustutatud</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 korda</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Otsingutulemeid pole</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Ring</text>\r
- <text id="IDS_COM_SK_ADD">Lisa</text>\r
- <text id="IDS_ALM_BODY_TONE">Toon</text>\r
- <text id="IDS_TMR_SK_RESET">Lähtesta</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tüüp</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Meloodia</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Hiljut.</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 linn on valitud</text>\r
- <text id="IDS_COM_BODY_OCT">Okt</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Nime jär.</text>\r
- <text id="IDS_ALM_SK_DELETE">Kustuta</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Igal pühapäeval</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Üksusi ei ole</text>\r
- <text id="IDS_COM_BODY_FEB">Veeb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Meloodia ja värin</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Ajavöönd</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 korda</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Valitud</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Valige ajavöönd</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Vali kõik</text>
+ <text id="IDS_NOTHING_SELECTED">Valik tegemata</text>
+ <text id="IDS_COM_BODY_DEC">Det.</text>
+ <text id="IDS_ALM_SK_CANCEL">Tühista</text>
+ <text id="IDS_ALM_BODY_REPEAT">Korda</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Märguandeid pole</text>
+ <text id="IDS_COM_BODY_AM">EL</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Üksusi ei ole</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Igal esmaspäeval</text>
+ <text id="IDS_WCL_TAB_TIME">Kellaaeg</text>
+ <text id="IDS_COM_SK_NEW">Uus</text>
+ <text id="IDS_ALM_SK3_SAVE">Salvesta</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Kellaaeg</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Kordus</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Taaskäivita</text>
+ <text id="IDS_ALM_BODY_TYPE">Tüüp</text>
+ <text id="IDS_TMR_SK3_STOP">Lõpeta</text>
+ <text id="IDS_TMR_SK3_RESTART">Taaskäivita</text>
+ <text id="IDS_WCL_SK_DONE">Valmis</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PL</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Mai</text>
+ <text id="IDS_ALM_BODY_NAME">Nimi</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Värin</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Suveaja seaded</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Korduse kestus</text>
+ <text id="IDS_COM_BODY_MAR">Mär.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 märguanne on valitud</text>
+ <text id="IDS_ALM_BODY_MELODY">Meloodia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Igal reedel</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Järjesta ümber</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Igal kolmapäeval</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Aeg on läbi</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Linna ei saa lisada. Maailmakellade loend on täis. Esmalt kustutage mõned üksused</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortimisalus</text>
+ <text id="IDS_TMR_BODY_SEC">sek.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 korda</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopper</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Lõpeta helisemine</text>
+ <text id="IDS_TMR_BODY_HOUR">Tund</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Maailmakell</text>
+ <text id="IDS_COM_BODY_SEP">Sept</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Alusta</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Igal teisipäeval</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Veel</text>
+ <text id="IDS_COM_BODY_TIMER">Taimer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Ajakatkestuse märguanne</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Kordus</text>
+ <text id="IDS_COM_BODY_SEARCH">Otsi</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Valige märguanded</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Igal laupäeval</text>
+ <text id="IDS_SWT_BUTTON_RESET">Lähtesta</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Iga päev</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d linna on valitud</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Tühista DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Igal neljapäeval</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Kuvalõpp</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Valitud on %d märguannet</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d korda</text>
+ <text id="IDS_COM_POP_DELETED">Kustutatud</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 korda</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Otsingutulemeid pole</text>
+ <text id="IDS_SWT_BUTTON_LAP">Ring</text>
+ <text id="IDS_COM_SK_ADD">Lisa</text>
+ <text id="IDS_ALM_BODY_TONE">Toon</text>
+ <text id="IDS_TMR_SK_RESET">Lähtesta</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tüüp</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Meloodia</text>
+ <text id="IDS_COM_BUTTON_RECENT">Hiljut.</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 linn on valitud</text>
+ <text id="IDS_COM_BODY_OCT">Okt</text>
+ <text id="IDS_WCL_SK_BY_NAME">Nime jär.</text>
+ <text id="IDS_ALM_SK_DELETE">Kustuta</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Igal pühapäeval</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Üksusi ei ole</text>
+ <text id="IDS_COM_BODY_FEB">Veeb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Dardara eta melodia</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Ordu eremua</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 aldiz</text>\r
- <text id="IDS_COM_BODY_NOV">Aza.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Aukeratutakoa(k)</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Aukeratu ordu eremua</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Denak aukeratu</text>\r
- <text id="IDS_NOTHING_SELECTED">Ez da ezer aukeratu</text>\r
- <text id="IDS_COM_BODY_DEC">Abe.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Ezeztatu</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Errepikatu</text>\r
- <text id="IDS_TMR_BODY_MIN1">minutu</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Alarmarik ez</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Elementurik ez</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Astelehenero</text>\r
- <text id="IDS_WCL_TAB_TIME">Ordua</text>\r
- <text id="IDS_COM_SK_NEW">Berria</text>\r
- <text id="IDS_ALM_SK3_SAVE">Gorde</text>\r
- <text id="IDS_COM_BODY_JUN">Eka.</text>\r
- <text id="IDS_ALM_BODY_TIME">Ordua</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Alarma atzeratu</text>\r
- <text id="IDS_COM_BODY_JUL">Uzt.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Berrekin</text>\r
- <text id="IDS_ALM_BODY_TYPE">Mota</text>\r
- <text id="IDS_TMR_SK3_STOP">Gelditu</text>\r
- <text id="IDS_TMR_SK3_RESTART">Berrabiarazi</text>\r
- <text id="IDS_WCL_SK_DONE">Amaituta</text>\r
- <text id="IDS_COM_BODY_APR">Api.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Maiatza</text>\r
- <text id="IDS_ALM_BODY_NAME">Izena</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Dardara</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Udako ordutegia ezarpenak</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Lozorroaren iraupena</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Alarma 1 aukeratuta</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Ostiralero</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Ordenatu berriro</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Asteazkenero</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Denbora amaitu da</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Ezin izan da hiria gehitu. Munduko Erlojuaren zerrenda beteta. Ezabatu elementu batzuk lehenik</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Honen bidez antolatu</text>\r
- <text id="IDS_TMR_BODY_SEC">seg</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 aldiz</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Kronometroa</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Utzi deitzeari</text>\r
- <text id="IDS_TMR_BODY_HOUR">Ordua</text>\r
- <text id="IDS_COM_BODY_JAN">Urt.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Munduko Erlojua</text>\r
- <text id="IDS_COM_BODY_SEP">Ira.</text>\r
- <text id="IDS_COM_BODY_AUG">Abu.</text>\r
- <text id="IDS_TMR_SK_START">Abiarazi</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Asteartero</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarma</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Gehiago</text>\r
- <text id="IDS_COM_BODY_TIMER">Tenporizadorea</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Denboraz kanpoko alarma</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Lozorroa errepikatu</text>\r
- <text id="IDS_COM_BODY_SEARCH">Bilatu</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Hautatu alarmak</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Larunbatero</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Berrezar.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Egunero</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d hiri hautatuta</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Ezeztatu DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Ostegunero</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Itxarote denbora</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarma hautatu dira</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d aldiz</text>\r
- <text id="IDS_COM_POP_DELETED">Ezabatua</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 aldiz</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ez dago bilaketaren emaitzarik</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Bira</text>\r
- <text id="IDS_COM_SK_ADD">Gehitu</text>\r
- <text id="IDS_ALM_BODY_TONE">Doinua</text>\r
- <text id="IDS_TMR_SK_RESET">Berrezarri</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Mota</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Berriki</text>\r
- <text id="IDS_TMR_BODY_MIN">minutu</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Hiri bakarra aukeratuta</text>\r
- <text id="IDS_COM_BODY_OCT">Urr.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Iz. arab.</text>\r
- <text id="IDS_ALM_SK_DELETE">Ezabatu</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Igandero</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Elementurik ez</text>\r
- <text id="IDS_COM_BODY_FEB">Ots.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Dardara eta melodia</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Ordu eremua</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 aldiz</text>
+ <text id="IDS_COM_BODY_NOV">Aza.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Aukeratutakoa(k)</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Aukeratu ordu eremua</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Denak aukeratu</text>
+ <text id="IDS_NOTHING_SELECTED">Ez da ezer aukeratu</text>
+ <text id="IDS_COM_BODY_DEC">Abe.</text>
+ <text id="IDS_ALM_SK_CANCEL">Ezeztatu</text>
+ <text id="IDS_ALM_BODY_REPEAT">Errepikatu</text>
+ <text id="IDS_TMR_BODY_MIN1">minutu</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Alarmarik ez</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Elementurik ez</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Astelehenero</text>
+ <text id="IDS_WCL_TAB_TIME">Ordua</text>
+ <text id="IDS_COM_SK_NEW">Berria</text>
+ <text id="IDS_ALM_SK3_SAVE">Gorde</text>
+ <text id="IDS_COM_BODY_JUN">Eka.</text>
+ <text id="IDS_ALM_BODY_TIME">Ordua</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Alarma atzeratu</text>
+ <text id="IDS_COM_BODY_JUL">Uzt.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Berrekin</text>
+ <text id="IDS_ALM_BODY_TYPE">Mota</text>
+ <text id="IDS_TMR_SK3_STOP">Gelditu</text>
+ <text id="IDS_TMR_SK3_RESTART">Berrabiarazi</text>
+ <text id="IDS_WCL_SK_DONE">Amaituta</text>
+ <text id="IDS_COM_BODY_APR">Api.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Maiatza</text>
+ <text id="IDS_ALM_BODY_NAME">Izena</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Dardara</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Udako ordutegia ezarpenak</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Lozorroaren iraupena</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Alarma 1 aukeratuta</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Ostiralero</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Ordenatu berriro</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Asteazkenero</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Denbora amaitu da</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Ezin izan da hiria gehitu. Munduko Erlojuaren zerrenda beteta. Ezabatu elementu batzuk lehenik</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Honen bidez antolatu</text>
+ <text id="IDS_TMR_BODY_SEC">seg</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 aldiz</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Kronometroa</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Utzi deitzeari</text>
+ <text id="IDS_TMR_BODY_HOUR">Ordua</text>
+ <text id="IDS_COM_BODY_JAN">Urt.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Munduko Erlojua</text>
+ <text id="IDS_COM_BODY_SEP">Ira.</text>
+ <text id="IDS_COM_BODY_AUG">Abu.</text>
+ <text id="IDS_TMR_SK_START">Abiarazi</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Asteartero</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarma</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Gehiago</text>
+ <text id="IDS_COM_BODY_TIMER">Tenporizadorea</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Denboraz kanpoko alarma</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Lozorroa errepikatu</text>
+ <text id="IDS_COM_BODY_SEARCH">Bilatu</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Hautatu alarmak</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Larunbatero</text>
+ <text id="IDS_SWT_BUTTON_RESET">Berrezar.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Egunero</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d hiri hautatuta</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Ezeztatu DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Ostegunero</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Itxarote denbora</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarma hautatu dira</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d aldiz</text>
+ <text id="IDS_COM_POP_DELETED">Ezabatua</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 aldiz</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ez dago bilaketaren emaitzarik</text>
+ <text id="IDS_SWT_BUTTON_LAP">Bira</text>
+ <text id="IDS_COM_SK_ADD">Gehitu</text>
+ <text id="IDS_ALM_BODY_TONE">Doinua</text>
+ <text id="IDS_TMR_SK_RESET">Berrezarri</text>
+ <text id="IDS_ALM_HEADER_TYPE">Mota</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>
+ <text id="IDS_COM_BUTTON_RECENT">Berriki</text>
+ <text id="IDS_TMR_BODY_MIN">minutu</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Hiri bakarra aukeratuta</text>
+ <text id="IDS_COM_BODY_OCT">Urr.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Iz. arab.</text>
+ <text id="IDS_ALM_SK_DELETE">Ezabatu</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Igandero</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Elementurik ez</text>
+ <text id="IDS_COM_BODY_FEB">Ots.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Soittoääni ja värinä</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Aikavyöhyke</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 kertaa</text>\r
- <text id="IDS_COM_BODY_NOV">Mar</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Valittu</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Valitse aikavyöhyke</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Valitse kaikki</text>\r
- <text id="IDS_NOTHING_SELECTED">Mitään ei valittu</text>\r
- <text id="IDS_COM_BODY_DEC">Jou</text>\r
- <text id="IDS_ALM_SK_CANCEL">Peruuta</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Toista</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ei hälytyksiä</text>\r
- <text id="IDS_COM_BODY_AM">AP</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Ei kohteita</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Joka maanantai</text>\r
- <text id="IDS_WCL_TAB_TIME">Aika</text>\r
- <text id="IDS_COM_SK_NEW">Uusi</text>\r
- <text id="IDS_ALM_SK3_SAVE">Tallenna</text>\r
- <text id="IDS_COM_BODY_JUN">Kesä</text>\r
- <text id="IDS_ALM_BODY_TIME">Aika</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Torkku</text>\r
- <text id="IDS_COM_BODY_JUL">Hei</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Aloita uud.</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tyyppi</text>\r
- <text id="IDS_TMR_SK3_STOP">Pysäytä</text>\r
- <text id="IDS_TMR_SK3_RESTART">Käynn. uud.</text>\r
- <text id="IDS_WCL_SK_DONE">Valmis</text>\r
- <text id="IDS_COM_BODY_APR">Huh</text>\r
- <text id="IDS_COM_POP_PM">IP</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Toukokuu</text>\r
- <text id="IDS_ALM_BODY_NAME">Nimi</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Värinä</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Kesäaika-asetukset</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Torkun kesto</text>\r
- <text id="IDS_COM_BODY_MAR">Maa.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 hälytys valittu</text>\r
- <text id="IDS_ALM_BODY_MELODY">Soittoääni</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Joka perjantai</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Järjestä uudestaan</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Joka keskiviikko</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Aika on lopussa</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Kaupunkia ei voi lisätä. Maailmankello-luettelo on täynnä. Poista joitain kohteita ensin</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Lajitteluperuste</text>\r
- <text id="IDS_TMR_BODY_SEC">s</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 kertaa</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Sekuntik.</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Lopeta soittoääni</text>\r
- <text id="IDS_TMR_BODY_HOUR">Tunti</text>\r
- <text id="IDS_COM_BODY_JAN">Tam.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Maailmankello</text>\r
- <text id="IDS_COM_BODY_SEP">Syys</text>\r
- <text id="IDS_COM_BODY_AUG">Elo</text>\r
- <text id="IDS_TMR_SK_START">Käynnistä</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Joka tiistai</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Hälytys</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Lisää</text>\r
- <text id="IDS_COM_BODY_TIMER">Ajastin</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Aikakatkaisuhälytys</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Torkun toisto</text>\r
- <text id="IDS_COM_BODY_SEARCH">Etsi</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Valitse hälytykset</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Joka lauantai</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Nollaa</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Päivittäin</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d kaupunkia valittu</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Ota kesäaika pois</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Joka torstai</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Aikaraja ylitetty</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d hälytystä valittu</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d kertaa</text>\r
- <text id="IDS_COM_POP_DELETED">Poistettu</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 kertaa</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ei hakutuloksia</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Kierros</text>\r
- <text id="IDS_COM_SK_ADD">Lisää</text>\r
- <text id="IDS_ALM_BODY_TONE">Ääni</text>\r
- <text id="IDS_TMR_SK_RESET">Nollaa</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tyyppi</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Soittoääni</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Uusimmat</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 kaupunki valittu</text>\r
- <text id="IDS_COM_BODY_OCT">Lok</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Nimen m.</text>\r
- <text id="IDS_ALM_SK_DELETE">Poista</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Joka sunnuntai</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Ei kohteita</text>\r
- <text id="IDS_COM_BODY_FEB">Hel</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Soittoääni ja värinä</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Aikavyöhyke</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 kertaa</text>
+ <text id="IDS_COM_BODY_NOV">Mar</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Valittu</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Valitse aikavyöhyke</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Valitse kaikki</text>
+ <text id="IDS_NOTHING_SELECTED">Mitään ei valittu</text>
+ <text id="IDS_COM_BODY_DEC">Jou</text>
+ <text id="IDS_ALM_SK_CANCEL">Peruuta</text>
+ <text id="IDS_ALM_BODY_REPEAT">Toista</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ei hälytyksiä</text>
+ <text id="IDS_COM_BODY_AM">AP</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Ei kohteita</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Joka maanantai</text>
+ <text id="IDS_WCL_TAB_TIME">Aika</text>
+ <text id="IDS_COM_SK_NEW">Uusi</text>
+ <text id="IDS_ALM_SK3_SAVE">Tallenna</text>
+ <text id="IDS_COM_BODY_JUN">Kesä</text>
+ <text id="IDS_ALM_BODY_TIME">Aika</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Torkku</text>
+ <text id="IDS_COM_BODY_JUL">Hei</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Aloita uud.</text>
+ <text id="IDS_ALM_BODY_TYPE">Tyyppi</text>
+ <text id="IDS_TMR_SK3_STOP">Pysäytä</text>
+ <text id="IDS_TMR_SK3_RESTART">Käynn. uud.</text>
+ <text id="IDS_WCL_SK_DONE">Valmis</text>
+ <text id="IDS_COM_BODY_APR">Huh</text>
+ <text id="IDS_COM_POP_PM">IP</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Toukokuu</text>
+ <text id="IDS_ALM_BODY_NAME">Nimi</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Värinä</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Kesäaika-asetukset</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Torkun kesto</text>
+ <text id="IDS_COM_BODY_MAR">Maa.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 hälytys valittu</text>
+ <text id="IDS_ALM_BODY_MELODY">Soittoääni</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Joka perjantai</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Järjestä uudestaan</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Joka keskiviikko</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Aika on lopussa</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Kaupunkia ei voi lisätä. Maailmankello-luettelo on täynnä. Poista joitain kohteita ensin</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Lajitteluperuste</text>
+ <text id="IDS_TMR_BODY_SEC">s</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 kertaa</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Sekuntik.</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Lopeta soittoääni</text>
+ <text id="IDS_TMR_BODY_HOUR">Tunti</text>
+ <text id="IDS_COM_BODY_JAN">Tam.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Maailmankello</text>
+ <text id="IDS_COM_BODY_SEP">Syys</text>
+ <text id="IDS_COM_BODY_AUG">Elo</text>
+ <text id="IDS_TMR_SK_START">Käynnistä</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Joka tiistai</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Hälytys</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Lisää</text>
+ <text id="IDS_COM_BODY_TIMER">Ajastin</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Aikakatkaisuhälytys</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Torkun toisto</text>
+ <text id="IDS_COM_BODY_SEARCH">Etsi</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Valitse hälytykset</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Joka lauantai</text>
+ <text id="IDS_SWT_BUTTON_RESET">Nollaa</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Päivittäin</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d kaupunkia valittu</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Ota kesäaika pois</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Joka torstai</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Aikaraja ylitetty</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d hälytystä valittu</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d kertaa</text>
+ <text id="IDS_COM_POP_DELETED">Poistettu</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 kertaa</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ei hakutuloksia</text>
+ <text id="IDS_SWT_BUTTON_LAP">Kierros</text>
+ <text id="IDS_COM_SK_ADD">Lisää</text>
+ <text id="IDS_ALM_BODY_TONE">Ääni</text>
+ <text id="IDS_TMR_SK_RESET">Nollaa</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tyyppi</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Soittoääni</text>
+ <text id="IDS_COM_BUTTON_RECENT">Uusimmat</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 kaupunki valittu</text>
+ <text id="IDS_COM_BODY_OCT">Lok</text>
+ <text id="IDS_WCL_SK_BY_NAME">Nimen m.</text>
+ <text id="IDS_ALM_SK_DELETE">Poista</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Joka sunnuntai</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Ei kohteita</text>
+ <text id="IDS_COM_BODY_FEB">Hel</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Mélodie et vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Fuseau horaire</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 fois</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Sélectionné</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Sélectionner le fuseau horaire</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Sélectionner tout</text>\r
- <text id="IDS_NOTHING_SELECTED">Aucune sélection</text>\r
- <text id="IDS_COM_BODY_DEC">Déc.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Annuler</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Nombre de répétitions</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Aucune alarme</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Aucun élément</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Tous les lundis</text>\r
- <text id="IDS_WCL_TAB_TIME">Heure</text>\r
- <text id="IDS_COM_SK_NEW">Nouveau</text>\r
- <text id="IDS_ALM_SK3_SAVE">Sauv.</text>\r
- <text id="IDS_COM_BODY_JUN">Jui.</text>\r
- <text id="IDS_ALM_BODY_TIME">Heure</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Rappel d\'alarme</text>\r
- <text id="IDS_COM_BODY_JUL">Juil.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Redémarrer</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Arrêter</text>\r
- <text id="IDS_TMR_SK3_RESTART">Redémarrer</text>\r
- <text id="IDS_WCL_SK_DONE">OK</text>\r
- <text id="IDS_COM_BODY_APR">Avr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Mai</text>\r
- <text id="IDS_ALM_BODY_NAME">Nom</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibreur</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Paramètres HA</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Répéter toutes les</text>\r
- <text id="IDS_COM_BODY_MAR">Mars</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme sélectionnée</text>\r
- <text id="IDS_ALM_BODY_MELODY">Mélodie</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Tous les vendredis</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Réorganiser</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Tous les mercredis</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Temps écoulé</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossible d'ajouter la ville. Liste des horloges mondiales saturée. Supprimez des éléments</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Trier par</text>\r
- <text id="IDS_TMR_BODY_SEC">s</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 fois</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Chronomètre</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Arrêter la sonnerie</text>\r
- <text id="IDS_TMR_BODY_HOUR">Heure</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Horloge mondiale</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aou.</text>\r
- <text id="IDS_TMR_SK_START">Début</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Tous les mardis</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarme</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Plus</text>\r
- <text id="IDS_COM_BODY_TIMER">Minuterie</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarme après dépassement du délai</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Nombre de répétitions</text>\r
- <text id="IDS_COM_BODY_SEARCH">Recherche</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Sélectionner des alarmes</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Tous les samedis</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Réinit.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Tous les jours</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d villes sélectionnées</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">AnnulerHA</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Tous les jeudis</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Pause</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes sélectionnées</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d fois</text>\r
- <text id="IDS_COM_POP_DELETED">Supprimé</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 fois</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Aucun résultat de recherche</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Tour</text>\r
- <text id="IDS_COM_SK_ADD">Ajouter</text>\r
- <text id="IDS_ALM_BODY_TONE">Tonalité</text>\r
- <text id="IDS_TMR_SK_RESET">Réinitialiser</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Mélodie</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Récent</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ville sélectionnée</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Par nom</text>\r
- <text id="IDS_ALM_SK_DELETE">Supprimer</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Tous les dimanches</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Aucun élément</text>\r
- <text id="IDS_COM_BODY_FEB">Fév.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Mélodie et vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Fuseau horaire</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 fois</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Sélectionné</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Sélectionner le fuseau horaire</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Sélectionner tout</text>
+ <text id="IDS_NOTHING_SELECTED">Aucune sélection</text>
+ <text id="IDS_COM_BODY_DEC">Déc.</text>
+ <text id="IDS_ALM_SK_CANCEL">Annuler</text>
+ <text id="IDS_ALM_BODY_REPEAT">Nombre de répétitions</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Aucune alarme</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Aucun élément</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Tous les lundis</text>
+ <text id="IDS_WCL_TAB_TIME">Heure</text>
+ <text id="IDS_COM_SK_NEW">Nouveau</text>
+ <text id="IDS_ALM_SK3_SAVE">Sauv.</text>
+ <text id="IDS_COM_BODY_JUN">Jui.</text>
+ <text id="IDS_ALM_BODY_TIME">Heure</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Rappel d\'alarme</text>
+ <text id="IDS_COM_BODY_JUL">Juil.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Redémarrer</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Arrêter</text>
+ <text id="IDS_TMR_SK3_RESTART">Redémarrer</text>
+ <text id="IDS_WCL_SK_DONE">OK</text>
+ <text id="IDS_COM_BODY_APR">Avr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Mai</text>
+ <text id="IDS_ALM_BODY_NAME">Nom</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibreur</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Paramètres HA</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Répéter toutes les</text>
+ <text id="IDS_COM_BODY_MAR">Mars</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme sélectionnée</text>
+ <text id="IDS_ALM_BODY_MELODY">Mélodie</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Tous les vendredis</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Réorganiser</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Tous les mercredis</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Temps écoulé</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossible d'ajouter la ville. Liste des horloges mondiales saturée. Supprimez des éléments</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Trier par</text>
+ <text id="IDS_TMR_BODY_SEC">s</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 fois</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Chronomètre</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Arrêter la sonnerie</text>
+ <text id="IDS_TMR_BODY_HOUR">Heure</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Horloge mondiale</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aou.</text>
+ <text id="IDS_TMR_SK_START">Début</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Tous les mardis</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarme</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Plus</text>
+ <text id="IDS_COM_BODY_TIMER">Minuterie</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarme après dépassement du délai</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Nombre de répétitions</text>
+ <text id="IDS_COM_BODY_SEARCH">Recherche</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Sélectionner des alarmes</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Tous les samedis</text>
+ <text id="IDS_SWT_BUTTON_RESET">Réinit.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Tous les jours</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d villes sélectionnées</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">AnnulerHA</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Tous les jeudis</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Pause</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes sélectionnées</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d fois</text>
+ <text id="IDS_COM_POP_DELETED">Supprimé</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 fois</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Aucun résultat de recherche</text>
+ <text id="IDS_SWT_BUTTON_LAP">Tour</text>
+ <text id="IDS_COM_SK_ADD">Ajouter</text>
+ <text id="IDS_ALM_BODY_TONE">Tonalité</text>
+ <text id="IDS_TMR_SK_RESET">Réinitialiser</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Mélodie</text>
+ <text id="IDS_COM_BUTTON_RECENT">Récent</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ville sélectionnée</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Par nom</text>
+ <text id="IDS_ALM_SK_DELETE">Supprimer</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Tous les dimanches</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Aucun élément</text>
+ <text id="IDS_COM_BODY_FEB">Fév.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Mélodie et vibreur</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Fuseau horaire</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 fois</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Sélectionné</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Sélectionner le fuseau horaire</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Sélect. tout</text>\r
- <text id="IDS_NOTHING_SELECTED">Aucune sélection</text>\r
- <text id="IDS_COM_BODY_DEC">Déc.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Annuler</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Nombre de répétitions</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Aucune alarme</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Aucun élément</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Chaque lundi</text>\r
- <text id="IDS_WCL_TAB_TIME">Heure</text>\r
- <text id="IDS_COM_SK_NEW">Nouveau</text>\r
- <text id="IDS_ALM_SK3_SAVE">Enreg.</text>\r
- <text id="IDS_COM_BODY_JUN">Jui.</text>\r
- <text id="IDS_ALM_BODY_TIME">Heure</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Répéter</text>\r
- <text id="IDS_COM_BODY_JUL">Juil</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Redémarrer</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Arrêter</text>\r
- <text id="IDS_TMR_SK3_RESTART">Redémarrer</text>\r
- <text id="IDS_WCL_SK_DONE">Effectué</text>\r
- <text id="IDS_COM_BODY_APR">Avr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Mai</text>\r
- <text id="IDS_ALM_BODY_NAME">Nom</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibreur</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Heure d'été</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Répéter toutes les</text>\r
- <text id="IDS_COM_BODY_MAR">Mars</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme sélectionnée</text>\r
- <text id="IDS_ALM_BODY_MELODY">Mélodie</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Chaque vendredi</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Réorganiser</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Chaque mercredi</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Temps écoulé</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossible d'ajouter la ville. Liste des horloges mondiales saturée. Supprimez des éléments</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Trier par</text>\r
- <text id="IDS_TMR_BODY_SEC">sec</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 fois</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Chronomètre</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Arrêter la sonnerie</text>\r
- <text id="IDS_TMR_BODY_HOUR">Heure</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Horloge mondiale</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aoû.</text>\r
- <text id="IDS_TMR_SK_START">Lancer</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Chaque mardi</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarme</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Plus</text>\r
- <text id="IDS_COM_BODY_TIMER">Minuteur</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarme après dépassement du délai</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Répétitions</text>\r
- <text id="IDS_COM_BODY_SEARCH">Rechercher</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Sélectionner des alarmes</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Chaque samedi</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Réinit.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Tous les jours</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d villes sélectionnées</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Annuler DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Chaque jeudi</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Durée écoulée</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes sélectionnées</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d fois</text>\r
- <text id="IDS_COM_POP_DELETED">Supprimé</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 fois</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Aucun résultat trouvé</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Tour</text>\r
- <text id="IDS_COM_SK_ADD">Ajouter</text>\r
- <text id="IDS_ALM_BODY_TONE">Tonalité</text>\r
- <text id="IDS_TMR_SK_RESET">Réinit.</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Mélodie</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Récents</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ville sélectionnée</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Par nom</text>\r
- <text id="IDS_ALM_SK_DELETE">Supprimer</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Chaque dimanche</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Aucun élément</text>\r
- <text id="IDS_COM_BODY_FEB">Fév.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Mélodie et vibreur</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Fuseau horaire</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 fois</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Sélectionné</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Sélectionner le fuseau horaire</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Sélect. tout</text>
+ <text id="IDS_NOTHING_SELECTED">Aucune sélection</text>
+ <text id="IDS_COM_BODY_DEC">Déc.</text>
+ <text id="IDS_ALM_SK_CANCEL">Annuler</text>
+ <text id="IDS_ALM_BODY_REPEAT">Nombre de répétitions</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Aucune alarme</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Aucun élément</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Chaque lundi</text>
+ <text id="IDS_WCL_TAB_TIME">Heure</text>
+ <text id="IDS_COM_SK_NEW">Nouveau</text>
+ <text id="IDS_ALM_SK3_SAVE">Enreg.</text>
+ <text id="IDS_COM_BODY_JUN">Jui.</text>
+ <text id="IDS_ALM_BODY_TIME">Heure</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Répéter</text>
+ <text id="IDS_COM_BODY_JUL">Juil</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Redémarrer</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Arrêter</text>
+ <text id="IDS_TMR_SK3_RESTART">Redémarrer</text>
+ <text id="IDS_WCL_SK_DONE">Effectué</text>
+ <text id="IDS_COM_BODY_APR">Avr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Mai</text>
+ <text id="IDS_ALM_BODY_NAME">Nom</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibreur</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Heure d'été</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Répéter toutes les</text>
+ <text id="IDS_COM_BODY_MAR">Mars</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme sélectionnée</text>
+ <text id="IDS_ALM_BODY_MELODY">Mélodie</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Chaque vendredi</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Réorganiser</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Chaque mercredi</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Temps écoulé</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossible d'ajouter la ville. Liste des horloges mondiales saturée. Supprimez des éléments</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Trier par</text>
+ <text id="IDS_TMR_BODY_SEC">sec</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 fois</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Chronomètre</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Arrêter la sonnerie</text>
+ <text id="IDS_TMR_BODY_HOUR">Heure</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Horloge mondiale</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aoû.</text>
+ <text id="IDS_TMR_SK_START">Lancer</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Chaque mardi</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarme</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Plus</text>
+ <text id="IDS_COM_BODY_TIMER">Minuteur</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarme après dépassement du délai</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Répétitions</text>
+ <text id="IDS_COM_BODY_SEARCH">Rechercher</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Sélectionner des alarmes</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Chaque samedi</text>
+ <text id="IDS_SWT_BUTTON_RESET">Réinit.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Tous les jours</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d villes sélectionnées</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Annuler DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Chaque jeudi</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Durée écoulée</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes sélectionnées</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d fois</text>
+ <text id="IDS_COM_POP_DELETED">Supprimé</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 fois</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Aucun résultat trouvé</text>
+ <text id="IDS_SWT_BUTTON_LAP">Tour</text>
+ <text id="IDS_COM_SK_ADD">Ajouter</text>
+ <text id="IDS_ALM_BODY_TONE">Tonalité</text>
+ <text id="IDS_TMR_SK_RESET">Réinit.</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Mélodie</text>
+ <text id="IDS_COM_BUTTON_RECENT">Récents</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ville sélectionnée</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Par nom</text>
+ <text id="IDS_ALM_SK_DELETE">Supprimer</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Chaque dimanche</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Aucun élément</text>
+ <text id="IDS_COM_BODY_FEB">Fév.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Séis agus crith</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Amchrios</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 n-uaire</text>\r
- <text id="IDS_COM_BODY_NOV">Samh</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Roghnaithe</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Roghnaigh amchrios</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Roghnaigh gach</text>\r
- <text id="IDS_NOTHING_SELECTED">Dada roghnaithe</text>\r
- <text id="IDS_COM_BODY_DEC">Nol.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cuir ar ceal</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Athdhéan</text>\r
- <text id="IDS_TMR_BODY_MIN1">nóim</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Níl aláraim ann</text>\r
- <text id="IDS_COM_BODY_AM">R.N.</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Níl míreanna ann</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Gach Luan</text>\r
- <text id="IDS_WCL_TAB_TIME">Am</text>\r
- <text id="IDS_COM_SK_NEW">Nua</text>\r
- <text id="IDS_ALM_SK3_SAVE">Sábháil</text>\r
- <text id="IDS_COM_BODY_JUN">Meit</text>\r
- <text id="IDS_ALM_BODY_TIME">Am</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Néal codlata</text>\r
- <text id="IDS_COM_BODY_JUL">Iúil</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Atosaigh</text>\r
- <text id="IDS_ALM_BODY_TYPE">Cineál</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Atosaigh</text>\r
- <text id="IDS_WCL_SK_DONE">Déanta</text>\r
- <text id="IDS_COM_BODY_APR">Aib.</text>\r
- <text id="IDS_COM_POP_PM">I.N.</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 nóim</text>\r
- <text id="IDS_COM_BODY_MAY">Bealtaine</text>\r
- <text id="IDS_ALM_BODY_NAME">Ainm</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Crith</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Socruithe DST</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Fad ama an néil chodlata</text>\r
- <text id="IDS_COM_BODY_MAR">Már.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 Aláram roghnaithe</text>\r
- <text id="IDS_ALM_BODY_MELODY">Séis</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Gach Aoine</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Déan athordú</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Gach Céadaoin</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tá an t-am istigh</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Ní féidir cathair a chur leis. Tá liosta na gClog Domhanda lán. Scrios roinnt míreanna ar dtús</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sórtáil de réir</text>\r
- <text id="IDS_TMR_BODY_SEC">soic</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 huaire</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Staduaireadóir</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stop bualadh</text>\r
- <text id="IDS_TMR_BODY_HOUR">Uair an chloig</text>\r
- <text id="IDS_COM_BODY_JAN">Ean.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Clog Domhanda</text>\r
- <text id="IDS_COM_BODY_SEP">M.F.</text>\r
- <text id="IDS_COM_BODY_AUG">Lún.</text>\r
- <text id="IDS_TMR_SK_START">Tosaigh</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Gach Máirt</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Aláram</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Tuilleadh</text>\r
- <text id="IDS_COM_BODY_TIMER">Amadóir</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Aláram am istigh</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Déan néal codlata arís</text>\r
- <text id="IDS_COM_BODY_SEARCH">Cuardaigh</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Roghnaigh aláraim</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Gach Satharn</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Athshocrú</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Gach lá</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cathair roghnaithe</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 nóim</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cuir DST ar ceal</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 nóim</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Gach Déardaoin</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Am istigh</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d aláram roghnaithe</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d uair</text>\r
- <text id="IDS_COM_POP_DELETED">Scriosta</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 huaire</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Níl torthaí cuardaigh ann</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Cuaird</text>\r
- <text id="IDS_COM_SK_ADD">Cuir leis</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Athshocrú</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Cineál</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Séis</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Deireanach</text>\r
- <text id="IDS_TMR_BODY_MIN">nóim</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 chathair roghnaithe</text>\r
- <text id="IDS_COM_BODY_OCT">D.F.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Le hainm</text>\r
- <text id="IDS_ALM_SK_DELETE">Scrios</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Gach Domhnach</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Níl míreanna ann</text>\r
- <text id="IDS_COM_BODY_FEB">Feab</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Séis agus crith</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Amchrios</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 n-uaire</text>
+ <text id="IDS_COM_BODY_NOV">Samh</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Roghnaithe</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Roghnaigh amchrios</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Roghnaigh gach</text>
+ <text id="IDS_NOTHING_SELECTED">Dada roghnaithe</text>
+ <text id="IDS_COM_BODY_DEC">Nol.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cuir ar ceal</text>
+ <text id="IDS_ALM_BODY_REPEAT">Athdhéan</text>
+ <text id="IDS_TMR_BODY_MIN1">nóim</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Níl aláraim ann</text>
+ <text id="IDS_COM_BODY_AM">R.N.</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Níl míreanna ann</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Gach Luan</text>
+ <text id="IDS_WCL_TAB_TIME">Am</text>
+ <text id="IDS_COM_SK_NEW">Nua</text>
+ <text id="IDS_ALM_SK3_SAVE">Sábháil</text>
+ <text id="IDS_COM_BODY_JUN">Meit</text>
+ <text id="IDS_ALM_BODY_TIME">Am</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Néal codlata</text>
+ <text id="IDS_COM_BODY_JUL">Iúil</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Atosaigh</text>
+ <text id="IDS_ALM_BODY_TYPE">Cineál</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Atosaigh</text>
+ <text id="IDS_WCL_SK_DONE">Déanta</text>
+ <text id="IDS_COM_BODY_APR">Aib.</text>
+ <text id="IDS_COM_POP_PM">I.N.</text>
+ <text id="IDS_ALM_BODY_5MINS">5 nóim</text>
+ <text id="IDS_COM_BODY_MAY">Bealtaine</text>
+ <text id="IDS_ALM_BODY_NAME">Ainm</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Crith</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Socruithe DST</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Fad ama an néil chodlata</text>
+ <text id="IDS_COM_BODY_MAR">Már.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 Aláram roghnaithe</text>
+ <text id="IDS_ALM_BODY_MELODY">Séis</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Gach Aoine</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Déan athordú</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Gach Céadaoin</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tá an t-am istigh</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Ní féidir cathair a chur leis. Tá liosta na gClog Domhanda lán. Scrios roinnt míreanna ar dtús</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sórtáil de réir</text>
+ <text id="IDS_TMR_BODY_SEC">soic</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 huaire</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Staduaireadóir</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stop bualadh</text>
+ <text id="IDS_TMR_BODY_HOUR">Uair an chloig</text>
+ <text id="IDS_COM_BODY_JAN">Ean.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Clog Domhanda</text>
+ <text id="IDS_COM_BODY_SEP">M.F.</text>
+ <text id="IDS_COM_BODY_AUG">Lún.</text>
+ <text id="IDS_TMR_SK_START">Tosaigh</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Gach Máirt</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Aláram</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Tuilleadh</text>
+ <text id="IDS_COM_BODY_TIMER">Amadóir</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Aláram am istigh</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Déan néal codlata arís</text>
+ <text id="IDS_COM_BODY_SEARCH">Cuardaigh</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Roghnaigh aláraim</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Gach Satharn</text>
+ <text id="IDS_SWT_BUTTON_RESET">Athshocrú</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Gach lá</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cathair roghnaithe</text>
+ <text id="IDS_ALM_BODY_10MINS">10 nóim</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cuir DST ar ceal</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 nóim</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Gach Déardaoin</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Am istigh</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d aláram roghnaithe</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d uair</text>
+ <text id="IDS_COM_POP_DELETED">Scriosta</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 huaire</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Níl torthaí cuardaigh ann</text>
+ <text id="IDS_SWT_BUTTON_LAP">Cuaird</text>
+ <text id="IDS_COM_SK_ADD">Cuir leis</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Athshocrú</text>
+ <text id="IDS_ALM_HEADER_TYPE">Cineál</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Séis</text>
+ <text id="IDS_COM_BUTTON_RECENT">Deireanach</text>
+ <text id="IDS_TMR_BODY_MIN">nóim</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 chathair roghnaithe</text>
+ <text id="IDS_COM_BODY_OCT">D.F.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Le hainm</text>
+ <text id="IDS_ALM_SK_DELETE">Scrios</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Gach Domhnach</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Níl míreanna ann</text>
+ <text id="IDS_COM_BODY_FEB">Feab</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodía e vibración</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Zona horaria</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 veces</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horaria</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Seleccionar todo</text>\r
- <text id="IDS_NOTHING_SELECTED">Non se seleccionou nada</text>\r
- <text id="IDS_COM_BODY_DEC">Dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancelar</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetir</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Non hai alarmas</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Sen elementos</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Todos os luns</text>\r
- <text id="IDS_WCL_TAB_TIME">Hora</text>\r
- <text id="IDS_COM_SK_NEW">Novo</text>\r
- <text id="IDS_ALM_SK3_SAVE">Gardar</text>\r
- <text id="IDS_COM_BODY_JUN">Xun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Hora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Función de repetición</text>\r
- <text id="IDS_COM_BODY_JUL">Xul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipo</text>\r
- <text id="IDS_TMR_SK3_STOP">Deter</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reinic.</text>\r
- <text id="IDS_WCL_SK_DONE">Finalizado</text>\r
- <text id="IDS_COM_BODY_APR">Abr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Mai.</text>\r
- <text id="IDS_ALM_BODY_NAME">Nome</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibración</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Axustes do horario de verán</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duración da repetición</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodía</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Todos os venres</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Volver ordenar</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Todos os mércores</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tempo esgotado</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Non se pode engadir a cidade. A lista do Reloxo Mundial está chea. Elimina primeiro algúns elementos</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>\r
- <text id="IDS_TMR_BODY_SEC">seg</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 veces</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Deter ton de chamada</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hora</text>\r
- <text id="IDS_COM_BODY_JAN">Xan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Reloxo Mundial</text>\r
- <text id="IDS_COM_BODY_SEP">Set.</text>\r
- <text id="IDS_COM_BODY_AUG">Ago.</text>\r
- <text id="IDS_TMR_SK_START">Comezar</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Todos os martes</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarma</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Máis</text>\r
- <text id="IDS_COM_BODY_TIMER">Temporizador</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Espertador fóra de tempo</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Prolongación da repetición</text>\r
- <text id="IDS_COM_BODY_SEARCH">Buscar</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmas</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Todos os sábados</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Restab.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Todos os días</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cidades seleccionadas</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Todos os xoves</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tempo de espera</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmas seleccionadas</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d veces</text>\r
- <text id="IDS_COM_POP_DELETED">Eliminado</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 veces</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Non hai resultados da busca</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Volta</text>\r
- <text id="IDS_COM_SK_ADD">Engadir</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Restablecer</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipo</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodía</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recente</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 cidade seleccionada</text>\r
- <text id="IDS_COM_BODY_OCT">Out.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Por nome</text>\r
- <text id="IDS_ALM_SK_DELETE">Eliminar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Todos os domingos</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Sen elementos</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodía e vibración</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Zona horaria</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 veces</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horaria</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Seleccionar todo</text>
+ <text id="IDS_NOTHING_SELECTED">Non se seleccionou nada</text>
+ <text id="IDS_COM_BODY_DEC">Dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancelar</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetir</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Non hai alarmas</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Sen elementos</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Todos os luns</text>
+ <text id="IDS_WCL_TAB_TIME">Hora</text>
+ <text id="IDS_COM_SK_NEW">Novo</text>
+ <text id="IDS_ALM_SK3_SAVE">Gardar</text>
+ <text id="IDS_COM_BODY_JUN">Xun.</text>
+ <text id="IDS_ALM_BODY_TIME">Hora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Función de repetición</text>
+ <text id="IDS_COM_BODY_JUL">Xul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipo</text>
+ <text id="IDS_TMR_SK3_STOP">Deter</text>
+ <text id="IDS_TMR_SK3_RESTART">Reinic.</text>
+ <text id="IDS_WCL_SK_DONE">Finalizado</text>
+ <text id="IDS_COM_BODY_APR">Abr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Mai.</text>
+ <text id="IDS_ALM_BODY_NAME">Nome</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibración</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Axustes do horario de verán</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duración da repetición</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodía</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Todos os venres</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Volver ordenar</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Todos os mércores</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tempo esgotado</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Non se pode engadir a cidade. A lista do Reloxo Mundial está chea. Elimina primeiro algúns elementos</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>
+ <text id="IDS_TMR_BODY_SEC">seg</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 veces</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Deter ton de chamada</text>
+ <text id="IDS_TMR_BODY_HOUR">Hora</text>
+ <text id="IDS_COM_BODY_JAN">Xan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Reloxo Mundial</text>
+ <text id="IDS_COM_BODY_SEP">Set.</text>
+ <text id="IDS_COM_BODY_AUG">Ago.</text>
+ <text id="IDS_TMR_SK_START">Comezar</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Todos os martes</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarma</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Máis</text>
+ <text id="IDS_COM_BODY_TIMER">Temporizador</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Espertador fóra de tempo</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Prolongación da repetición</text>
+ <text id="IDS_COM_BODY_SEARCH">Buscar</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmas</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Todos os sábados</text>
+ <text id="IDS_SWT_BUTTON_RESET">Restab.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Todos os días</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cidades seleccionadas</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Todos os xoves</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tempo de espera</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmas seleccionadas</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d veces</text>
+ <text id="IDS_COM_POP_DELETED">Eliminado</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 veces</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Non hai resultados da busca</text>
+ <text id="IDS_SWT_BUTTON_LAP">Volta</text>
+ <text id="IDS_COM_SK_ADD">Engadir</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Restablecer</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipo</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodía</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recente</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 cidade seleccionada</text>
+ <text id="IDS_COM_BODY_OCT">Out.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Por nome</text>
+ <text id="IDS_ALM_SK_DELETE">Eliminar</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Todos os domingos</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Sen elementos</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">मेलोडी और कंपन</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">समय ज़ोन</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 बार</text>\r
- <text id="IDS_COM_BODY_NOV">नव.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d चुना गया</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">समय जोन चुनें</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">सभी चुनें</text>\r
- <text id="IDS_NOTHING_SELECTED">कुछ चयनित नहीं</text>\r
- <text id="IDS_COM_BODY_DEC">दिस.</text>\r
- <text id="IDS_ALM_SK_CANCEL">रद्द</text>\r
- <text id="IDS_ALM_BODY_REPEAT">दोहराएँ</text>\r
- <text id="IDS_TMR_BODY_MIN1">मिनट</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">कोई अलार्म नहीं</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">कोई मदें नहीं</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">प्रत्येक सोमवार</text>\r
- <text id="IDS_WCL_TAB_TIME">समय</text>\r
- <text id="IDS_COM_SK_NEW">नया</text>\r
- <text id="IDS_ALM_SK3_SAVE">सुरक्षित करें</text>\r
- <text id="IDS_COM_BODY_JUN">जून</text>\r
- <text id="IDS_ALM_BODY_TIME">समय</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">स्नूज़</text>\r
- <text id="IDS_COM_BODY_JUL">जुल.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">पुनः शुरू करें</text>\r
- <text id="IDS_ALM_BODY_TYPE">प्रकार</text>\r
- <text id="IDS_TMR_SK3_STOP">रोकें</text>\r
- <text id="IDS_TMR_SK3_RESTART">पुन: शुरू</text>\r
- <text id="IDS_WCL_SK_DONE">हुआ</text>\r
- <text id="IDS_COM_BODY_APR">अप.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 मिनट</text>\r
- <text id="IDS_COM_BODY_MAY">मई</text>\r
- <text id="IDS_ALM_BODY_NAME">नाम</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">कंपन</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST सेटिंग्स</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">स्नूज़ अवधि</text>\r
- <text id="IDS_COM_BODY_MAR">मा.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 अलार्म चुना गया</text>\r
- <text id="IDS_ALM_BODY_MELODY">मेलोडी</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">प्रत्येक शुक्रवार</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">पुन: क्रम</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">प्रत्येक बुधवार</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">समय बीत गया</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">शहर जोड़ने में अक्षम। विश्व घड़ी सूची पूर्ण। पहले कुछ आइटम्स हटाएँ</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">से छाटें</text>\r
- <text id="IDS_TMR_BODY_SEC">सेकंड</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 बार</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">स्टॉपवॉच</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">रिंग करना बंद करें</text>\r
- <text id="IDS_TMR_BODY_HOUR">घंटा</text>\r
- <text id="IDS_COM_BODY_JAN">जन.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">विश्व घड़ी</text>\r
- <text id="IDS_COM_BODY_SEP">सित.</text>\r
- <text id="IDS_COM_BODY_AUG">अग.</text>\r
- <text id="IDS_TMR_SK_START">प्रारंभ</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">प्रत्येक मंगलवार</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">अलार्म</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">अधिक</text>\r
- <text id="IDS_COM_BODY_TIMER">टाइमर</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">अलार्म समय समाप्त</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">स्नूज़ दोहराव</text>\r
- <text id="IDS_COM_BODY_SEARCH">खोजें</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">अलार्म्स चुनें</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">प्रत्येक शनिवार</text>\r
- <text id="IDS_SWT_BUTTON_RESET">रीसेट</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">प्रतिदिन</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d शहर चयनित</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 मिनट</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DST कैंसिल करें</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 मिनट</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">प्रत्येक गुरूवार</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">समय समाप्त</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d अलार्म चयनित</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d बार</text>\r
- <text id="IDS_COM_POP_DELETED">हटाया गया</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 बार</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">कोई खोज परिणाम नहीं</text>\r
- <text id="IDS_SWT_BUTTON_LAP">लेप</text>\r
- <text id="IDS_COM_SK_ADD">जोड़ें</text>\r
- <text id="IDS_ALM_BODY_TONE">स्वर</text>\r
- <text id="IDS_TMR_SK_RESET">रीसेट</text>\r
- <text id="IDS_ALM_HEADER_TYPE">प्रकार</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">मेलोडी</text>\r
- <text id="IDS_COM_BUTTON_RECENT">हाल ही का</text>\r
- <text id="IDS_TMR_BODY_MIN">मिनट</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 शहर चयनित</text>\r
- <text id="IDS_COM_BODY_OCT">अक.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">नाम द्वारा</text>\r
- <text id="IDS_ALM_SK_DELETE">हटाएँ</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">प्रत्येक रविवार</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">कोई मदें नहीं</text>\r
- <text id="IDS_COM_BODY_FEB">फ़र</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">मेलोडी और कंपन</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">समय ज़ोन</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 बार</text>
+ <text id="IDS_COM_BODY_NOV">नव.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d चुना गया</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">समय जोन चुनें</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">सभी चुनें</text>
+ <text id="IDS_NOTHING_SELECTED">कुछ चयनित नहीं</text>
+ <text id="IDS_COM_BODY_DEC">दिस.</text>
+ <text id="IDS_ALM_SK_CANCEL">रद्द</text>
+ <text id="IDS_ALM_BODY_REPEAT">दोहराएँ</text>
+ <text id="IDS_TMR_BODY_MIN1">मिनट</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">कोई अलार्म नहीं</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">कोई मदें नहीं</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">प्रत्येक सोमवार</text>
+ <text id="IDS_WCL_TAB_TIME">समय</text>
+ <text id="IDS_COM_SK_NEW">नया</text>
+ <text id="IDS_ALM_SK3_SAVE">सुरक्षित करें</text>
+ <text id="IDS_COM_BODY_JUN">जून</text>
+ <text id="IDS_ALM_BODY_TIME">समय</text>
+ <text id="IDS_ALM_BODY_SNOOZE">स्नूज़</text>
+ <text id="IDS_COM_BODY_JUL">जुल.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">पुनः शुरू करें</text>
+ <text id="IDS_ALM_BODY_TYPE">प्रकार</text>
+ <text id="IDS_TMR_SK3_STOP">रोकें</text>
+ <text id="IDS_TMR_SK3_RESTART">पुन: शुरू</text>
+ <text id="IDS_WCL_SK_DONE">हुआ</text>
+ <text id="IDS_COM_BODY_APR">अप.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 मिनट</text>
+ <text id="IDS_COM_BODY_MAY">मई</text>
+ <text id="IDS_ALM_BODY_NAME">नाम</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">कंपन</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST सेटिंग्स</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">स्नूज़ अवधि</text>
+ <text id="IDS_COM_BODY_MAR">मा.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 अलार्म चुना गया</text>
+ <text id="IDS_ALM_BODY_MELODY">मेलोडी</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">प्रत्येक शुक्रवार</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">पुन: क्रम</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">प्रत्येक बुधवार</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">समय बीत गया</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">शहर जोड़ने में अक्षम। विश्व घड़ी सूची पूर्ण। पहले कुछ आइटम्स हटाएँ</text>
+ <text id="IDS_ALM_OPT_SORT_BY">से छाटें</text>
+ <text id="IDS_TMR_BODY_SEC">सेकंड</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 बार</text>
+ <text id="IDS_COM_BODY_STOPWATCH">स्टॉपवॉच</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">रिंग करना बंद करें</text>
+ <text id="IDS_TMR_BODY_HOUR">घंटा</text>
+ <text id="IDS_COM_BODY_JAN">जन.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">विश्व घड़ी</text>
+ <text id="IDS_COM_BODY_SEP">सित.</text>
+ <text id="IDS_COM_BODY_AUG">अग.</text>
+ <text id="IDS_TMR_SK_START">प्रारंभ</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">प्रत्येक मंगलवार</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">अलार्म</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">अधिक</text>
+ <text id="IDS_COM_BODY_TIMER">टाइमर</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">अलार्म समय समाप्त</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">स्नूज़ दोहराव</text>
+ <text id="IDS_COM_BODY_SEARCH">खोजें</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">अलार्म्स चुनें</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">प्रत्येक शनिवार</text>
+ <text id="IDS_SWT_BUTTON_RESET">रीसेट</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">प्रतिदिन</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d शहर चयनित</text>
+ <text id="IDS_ALM_BODY_10MINS">10 मिनट</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DST कैंसिल करें</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 मिनट</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">प्रत्येक गुरूवार</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">समय समाप्त</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d अलार्म चयनित</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d बार</text>
+ <text id="IDS_COM_POP_DELETED">हटाया गया</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 बार</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">कोई खोज परिणाम नहीं</text>
+ <text id="IDS_SWT_BUTTON_LAP">लेप</text>
+ <text id="IDS_COM_SK_ADD">जोड़ें</text>
+ <text id="IDS_ALM_BODY_TONE">स्वर</text>
+ <text id="IDS_TMR_SK_RESET">रीसेट</text>
+ <text id="IDS_ALM_HEADER_TYPE">प्रकार</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">मेलोडी</text>
+ <text id="IDS_COM_BUTTON_RECENT">हाल ही का</text>
+ <text id="IDS_TMR_BODY_MIN">मिनट</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 शहर चयनित</text>
+ <text id="IDS_COM_BODY_OCT">अक.</text>
+ <text id="IDS_WCL_SK_BY_NAME">नाम द्वारा</text>
+ <text id="IDS_ALM_SK_DELETE">हटाएँ</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">प्रत्येक रविवार</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">कोई मदें नहीं</text>
+ <text id="IDS_COM_BODY_FEB">फ़र</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Ton zvona i vibracija</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Vremenska zona</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 puta</text>\r
- <text id="IDS_COM_BODY_NOV">Stu</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Odabrano</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Odabir vremenske zone</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Odaberi sve</text>\r
- <text id="IDS_NOTHING_SELECTED">Ništa odabrano</text>\r
- <text id="IDS_COM_BODY_DEC">Pro</text>\r
- <text id="IDS_ALM_SK_CANCEL">Prekid</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Ponavljanje</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nema alarma</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Nema stavki</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Svakog ponedjeljka</text>\r
- <text id="IDS_WCL_TAB_TIME">Vrijeme</text>\r
- <text id="IDS_COM_SK_NEW">Nova</text>\r
- <text id="IDS_ALM_SK3_SAVE">Spremi</text>\r
- <text id="IDS_COM_BODY_JUN">Lip</text>\r
- <text id="IDS_ALM_BODY_TIME">Vrijeme</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Odgođeno</text>\r
- <text id="IDS_COM_BODY_JUL">Srp</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Ponovi</text>\r
- <text id="IDS_ALM_BODY_TYPE">Vrsta</text>\r
- <text id="IDS_TMR_SK3_STOP">Zaustavi</text>\r
- <text id="IDS_TMR_SK3_RESTART">Pon. pokretanje</text>\r
- <text id="IDS_WCL_SK_DONE">OK</text>\r
- <text id="IDS_COM_BODY_APR">Tra</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Svibanj</text>\r
- <text id="IDS_ALM_BODY_NAME">Naziv</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibracija</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Postavke ljetnog vremena</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Interval</text>\r
- <text id="IDS_COM_BODY_MAR">Ožu</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm odabran</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodija</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Svakog petka</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Poredaj</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Svake srijede</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Vrijeme isteklo</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nemoguće dodati grad. Popis Svjetskog vremena pun. Obrišite neke</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortiraj po</text>\r
- <text id="IDS_TMR_BODY_SEC">sek</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 puta</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Štoperica</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Prekid zvonjenja</text>\r
- <text id="IDS_TMR_BODY_HOUR">Sat</text>\r
- <text id="IDS_COM_BODY_JAN">Sij</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Svjetsko vrijeme</text>\r
- <text id="IDS_COM_BODY_SEP">Ruj</text>\r
- <text id="IDS_COM_BODY_AUG">Kol</text>\r
- <text id="IDS_TMR_SK_START">Pokreni</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Svakog utorka</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Više</text>\r
- <text id="IDS_COM_BODY_TIMER">Odbrojavanje</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarm isteka vremena</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ponavljanje</text>\r
- <text id="IDS_COM_BODY_SEARCH">Traži</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Odaberi alarme</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Svake subote</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Poništi</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Dnevno</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Gradova odabrano: %d</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Isključi ljetno vrijeme</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Svakog četvrtka</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Istek vremena</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Odabrano %d alarma</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d puta</text>\r
- <text id="IDS_COM_POP_DELETED">Obrisano</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 puta</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nema traženih rezultata</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Krug</text>\r
- <text id="IDS_COM_SK_ADD">Dodaj</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Poništi</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Vrsta</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Posljednji</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 grad odabran</text>\r
- <text id="IDS_COM_BODY_OCT">Lis</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Po nazivu</text>\r
- <text id="IDS_ALM_SK_DELETE">Obriši</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Svake nedjelje</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Nema stavki</text>\r
- <text id="IDS_COM_BODY_FEB">Velj</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Ton zvona i vibracija</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Vremenska zona</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 puta</text>
+ <text id="IDS_COM_BODY_NOV">Stu</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Odabrano</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Odabir vremenske zone</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Odaberi sve</text>
+ <text id="IDS_NOTHING_SELECTED">Ništa odabrano</text>
+ <text id="IDS_COM_BODY_DEC">Pro</text>
+ <text id="IDS_ALM_SK_CANCEL">Prekid</text>
+ <text id="IDS_ALM_BODY_REPEAT">Ponavljanje</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nema alarma</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Nema stavki</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Svakog ponedjeljka</text>
+ <text id="IDS_WCL_TAB_TIME">Vrijeme</text>
+ <text id="IDS_COM_SK_NEW">Nova</text>
+ <text id="IDS_ALM_SK3_SAVE">Spremi</text>
+ <text id="IDS_COM_BODY_JUN">Lip</text>
+ <text id="IDS_ALM_BODY_TIME">Vrijeme</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Odgođeno</text>
+ <text id="IDS_COM_BODY_JUL">Srp</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Ponovi</text>
+ <text id="IDS_ALM_BODY_TYPE">Vrsta</text>
+ <text id="IDS_TMR_SK3_STOP">Zaustavi</text>
+ <text id="IDS_TMR_SK3_RESTART">Pon. pokretanje</text>
+ <text id="IDS_WCL_SK_DONE">OK</text>
+ <text id="IDS_COM_BODY_APR">Tra</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Svibanj</text>
+ <text id="IDS_ALM_BODY_NAME">Naziv</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibracija</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Postavke ljetnog vremena</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Interval</text>
+ <text id="IDS_COM_BODY_MAR">Ožu</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm odabran</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodija</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Svakog petka</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Poredaj</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Svake srijede</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Vrijeme isteklo</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nemoguće dodati grad. Popis Svjetskog vremena pun. Obrišite neke</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortiraj po</text>
+ <text id="IDS_TMR_BODY_SEC">sek</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 puta</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Štoperica</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Prekid zvonjenja</text>
+ <text id="IDS_TMR_BODY_HOUR">Sat</text>
+ <text id="IDS_COM_BODY_JAN">Sij</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Svjetsko vrijeme</text>
+ <text id="IDS_COM_BODY_SEP">Ruj</text>
+ <text id="IDS_COM_BODY_AUG">Kol</text>
+ <text id="IDS_TMR_SK_START">Pokreni</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Svakog utorka</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Više</text>
+ <text id="IDS_COM_BODY_TIMER">Odbrojavanje</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarm isteka vremena</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ponavljanje</text>
+ <text id="IDS_COM_BODY_SEARCH">Traži</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Odaberi alarme</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Svake subote</text>
+ <text id="IDS_SWT_BUTTON_RESET">Poništi</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Dnevno</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Gradova odabrano: %d</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Isključi ljetno vrijeme</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Svakog četvrtka</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Istek vremena</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Odabrano %d alarma</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d puta</text>
+ <text id="IDS_COM_POP_DELETED">Obrisano</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 puta</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nema traženih rezultata</text>
+ <text id="IDS_SWT_BUTTON_LAP">Krug</text>
+ <text id="IDS_COM_SK_ADD">Dodaj</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Poništi</text>
+ <text id="IDS_ALM_HEADER_TYPE">Vrsta</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>
+ <text id="IDS_COM_BUTTON_RECENT">Posljednji</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 grad odabran</text>
+ <text id="IDS_COM_BODY_OCT">Lis</text>
+ <text id="IDS_WCL_SK_BY_NAME">Po nazivu</text>
+ <text id="IDS_ALM_SK_DELETE">Obriši</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Svake nedjelje</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Nema stavki</text>
+ <text id="IDS_COM_BODY_FEB">Velj</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Dallam és rezgés</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Időzóna</text>\r
- <text id="IDS_ALM_BODY_10TIMES">Tízszer</text>\r
- <text id="IDS_COM_BODY_NOV">nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Kiválasztott</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Időzóna kiválasztása</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Összes kijelölése</text>\r
- <text id="IDS_NOTHING_SELECTED">Semmi nincs kiválasztva</text>\r
- <text id="IDS_COM_BODY_DEC">dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Mégse</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Ismétlés</text>\r
- <text id="IDS_TMR_BODY_MIN1">perc</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nincs ébresztés</text>\r
- <text id="IDS_COM_BODY_AM">de.</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Nincs tétel</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Minden hétfőn</text>\r
- <text id="IDS_WCL_TAB_TIME">Idő</text>\r
- <text id="IDS_COM_SK_NEW">Új</text>\r
- <text id="IDS_ALM_SK3_SAVE">Ment</text>\r
- <text id="IDS_COM_BODY_JUN">jún.</text>\r
- <text id="IDS_ALM_BODY_TIME">Idő</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Szundi</text>\r
- <text id="IDS_COM_BODY_JUL">júl.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Újraindít</text>\r
- <text id="IDS_ALM_BODY_TYPE">Típus</text>\r
- <text id="IDS_TMR_SK3_STOP">Leállít</text>\r
- <text id="IDS_TMR_SK3_RESTART">Újraindít</text>\r
- <text id="IDS_WCL_SK_DONE">Kész</text>\r
- <text id="IDS_COM_BODY_APR">ápr.</text>\r
- <text id="IDS_COM_POP_PM">du.</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 perc</text>\r
- <text id="IDS_COM_BODY_MAY">máj.</text>\r
- <text id="IDS_ALM_BODY_NAME">Név</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Rezgés</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Nyári időszámítás beállításai</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Szundi időtartama</text>\r
- <text id="IDS_COM_BODY_MAR">már.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 jelzés kijelölve</text>\r
- <text id="IDS_ALM_BODY_MELODY">Dallam</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Minden pénteken</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Átrendezés</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Minden szerdán</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Lejárt az idő</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nem adható hozzá város. A Világóra listája megtelt. Előbb töröljön néhány tételt</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Rendezés</text>\r
- <text id="IDS_TMR_BODY_SEC">mp</text>\r
- <text id="IDS_ALM_BODY_3TIMES">Háromszor</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopperóra</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Csengés leállítása</text>\r
- <text id="IDS_TMR_BODY_HOUR">óra</text>\r
- <text id="IDS_COM_BODY_JAN">jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Világóra</text>\r
- <text id="IDS_COM_BODY_SEP">szep</text>\r
- <text id="IDS_COM_BODY_AUG">aug.</text>\r
- <text id="IDS_TMR_SK_START">Indít</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Minden kedden</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Jelzés</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Egyebek</text>\r
- <text id="IDS_COM_BODY_TIMER">Időzítő</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Jelzés ideje</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Szundi ismétlése</text>\r
- <text id="IDS_COM_BODY_SEARCH">Keresés</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Jelzés kiválasztása</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Minden szombaton</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Nullázás</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Minden nap</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d város kiválasztva</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 perc</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Nyári időszámítást kikapcsol</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 perc</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Minden csütörtökön</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Időtúllépés</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d jelzés kijelölve</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d ízben</text>\r
- <text id="IDS_COM_POP_DELETED">Törölve</text>\r
- <text id="IDS_ALM_BODY_5TIMES">Ötször</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nincs találat</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Köridő</text>\r
- <text id="IDS_COM_SK_ADD">Hozzáad</text>\r
- <text id="IDS_ALM_BODY_TONE">Hang</text>\r
- <text id="IDS_TMR_SK_RESET">Visszaállít</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Típus</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Dallam</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Utolsó</text>\r
- <text id="IDS_TMR_BODY_MIN">perc</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 város kiválasztva</text>\r
- <text id="IDS_COM_BODY_OCT">okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Név szer.</text>\r
- <text id="IDS_ALM_SK_DELETE">Töröl</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Minden vasárnap</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Nincs tétel</text>\r
- <text id="IDS_COM_BODY_FEB">feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Dallam és rezgés</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Időzóna</text>
+ <text id="IDS_ALM_BODY_10TIMES">Tízszer</text>
+ <text id="IDS_COM_BODY_NOV">nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Kiválasztott</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Időzóna kiválasztása</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Összes kijelölése</text>
+ <text id="IDS_NOTHING_SELECTED">Semmi nincs kiválasztva</text>
+ <text id="IDS_COM_BODY_DEC">dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Mégse</text>
+ <text id="IDS_ALM_BODY_REPEAT">Ismétlés</text>
+ <text id="IDS_TMR_BODY_MIN1">perc</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nincs ébresztés</text>
+ <text id="IDS_COM_BODY_AM">de.</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Nincs tétel</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Minden hétfőn</text>
+ <text id="IDS_WCL_TAB_TIME">Idő</text>
+ <text id="IDS_COM_SK_NEW">Új</text>
+ <text id="IDS_ALM_SK3_SAVE">Ment</text>
+ <text id="IDS_COM_BODY_JUN">jún.</text>
+ <text id="IDS_ALM_BODY_TIME">Idő</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Szundi</text>
+ <text id="IDS_COM_BODY_JUL">júl.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Újraindít</text>
+ <text id="IDS_ALM_BODY_TYPE">Típus</text>
+ <text id="IDS_TMR_SK3_STOP">Leállít</text>
+ <text id="IDS_TMR_SK3_RESTART">Újraindít</text>
+ <text id="IDS_WCL_SK_DONE">Kész</text>
+ <text id="IDS_COM_BODY_APR">ápr.</text>
+ <text id="IDS_COM_POP_PM">du.</text>
+ <text id="IDS_ALM_BODY_5MINS">5 perc</text>
+ <text id="IDS_COM_BODY_MAY">máj.</text>
+ <text id="IDS_ALM_BODY_NAME">Név</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Rezgés</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Nyári időszámítás beállításai</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Szundi időtartama</text>
+ <text id="IDS_COM_BODY_MAR">már.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 jelzés kijelölve</text>
+ <text id="IDS_ALM_BODY_MELODY">Dallam</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Minden pénteken</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Átrendezés</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Minden szerdán</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Lejárt az idő</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nem adható hozzá város. A Világóra listája megtelt. Előbb töröljön néhány tételt</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Rendezés</text>
+ <text id="IDS_TMR_BODY_SEC">mp</text>
+ <text id="IDS_ALM_BODY_3TIMES">Háromszor</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopperóra</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Csengés leállítása</text>
+ <text id="IDS_TMR_BODY_HOUR">óra</text>
+ <text id="IDS_COM_BODY_JAN">jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Világóra</text>
+ <text id="IDS_COM_BODY_SEP">szep</text>
+ <text id="IDS_COM_BODY_AUG">aug.</text>
+ <text id="IDS_TMR_SK_START">Indít</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Minden kedden</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Jelzés</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Egyebek</text>
+ <text id="IDS_COM_BODY_TIMER">Időzítő</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Jelzés ideje</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Szundi ismétlése</text>
+ <text id="IDS_COM_BODY_SEARCH">Keresés</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Jelzés kiválasztása</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Minden szombaton</text>
+ <text id="IDS_SWT_BUTTON_RESET">Nullázás</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Minden nap</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d város kiválasztva</text>
+ <text id="IDS_ALM_BODY_10MINS">10 perc</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Nyári időszámítást kikapcsol</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 perc</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Minden csütörtökön</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Időtúllépés</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d jelzés kijelölve</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d ízben</text>
+ <text id="IDS_COM_POP_DELETED">Törölve</text>
+ <text id="IDS_ALM_BODY_5TIMES">Ötször</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nincs találat</text>
+ <text id="IDS_SWT_BUTTON_LAP">Köridő</text>
+ <text id="IDS_COM_SK_ADD">Hozzáad</text>
+ <text id="IDS_ALM_BODY_TONE">Hang</text>
+ <text id="IDS_TMR_SK_RESET">Visszaállít</text>
+ <text id="IDS_ALM_HEADER_TYPE">Típus</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Dallam</text>
+ <text id="IDS_COM_BUTTON_RECENT">Utolsó</text>
+ <text id="IDS_TMR_BODY_MIN">perc</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 város kiválasztva</text>
+ <text id="IDS_COM_BODY_OCT">okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Név szer.</text>
+ <text id="IDS_ALM_SK_DELETE">Töröl</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Minden vasárnap</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Nincs tétel</text>
+ <text id="IDS_COM_BODY_FEB">feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Մեղեդի և թրթռում</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Ժամային գոտի</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 անգամ</text>\r
- <text id="IDS_COM_BODY_NOV">Նոյ</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Ընտրված</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Ընտրել ժամային գոտին</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Ընտրել բոլորը</text>\r
- <text id="IDS_NOTHING_SELECTED">Ոչինչ ընտրված չէ</text>\r
- <text id="IDS_COM_BODY_DEC">Դեկտ</text>\r
- <text id="IDS_ALM_SK_CANCEL">Չեղարկել</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Կրկնություն</text>\r
- <text id="IDS_TMR_BODY_MIN1">րոպ</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ազդանշան չկա</text>\r
- <text id="IDS_COM_BODY_AM">ԿԱ</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Տարրեր չկան</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Յուրաքանչյուր Երկուշաբթի</text>\r
- <text id="IDS_WCL_TAB_TIME">Ժամանակ</text>\r
- <text id="IDS_COM_SK_NEW">Նոր</text>\r
- <text id="IDS_ALM_SK3_SAVE">Պահպանել</text>\r
- <text id="IDS_COM_BODY_JUN">Հուն</text>\r
- <text id="IDS_ALM_BODY_TIME">Ժամանակ</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Հիշեցնել հետո</text>\r
- <text id="IDS_COM_BODY_JUL">Հուլ</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Վերագործրկլ</text>\r
- <text id="IDS_ALM_BODY_TYPE">Տեսակ</text>\r
- <text id="IDS_TMR_SK3_STOP">Կանգնել</text>\r
- <text id="IDS_TMR_SK3_RESTART">Վերսկսել</text>\r
- <text id="IDS_WCL_SK_DONE">Պատրաստ</text>\r
- <text id="IDS_COM_BODY_APR">Ապր.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 րոպ</text>\r
- <text id="IDS_COM_BODY_MAY">Մայ</text>\r
- <text id="IDS_ALM_BODY_NAME">Անուն</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Թրթռիչ</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">ԱԺ-ի դրվածքներ</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Հետաձգման տևողություն</text>\r
- <text id="IDS_COM_BODY_MAR">Մրտ</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 տագնապ է ընտրվել</text>\r
- <text id="IDS_ALM_BODY_MELODY">Մեղեդի</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Յուրաքանչյուր Ուրբաթ</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Վերադասավորել</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Յուրաքանչյուր Չորեքշաբթի</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Ժամանակը սպառվեց</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Անհնար է ավելացնել քաղաք: Աշխարհի ժամացույցի ցանկը լիքն է: Նախ վերացրեք որոշ տարրեր</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Տեսակավորել ըստ</text>\r
- <text id="IDS_TMR_BODY_SEC">վրկ</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 անգամ</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Վայրկյանաչափ</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Կանգնեցնել զանգը</text>\r
- <text id="IDS_TMR_BODY_HOUR">Ժամ</text>\r
- <text id="IDS_COM_BODY_JAN">Հնվ</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Համաշխարհային ժամացույց</text>\r
- <text id="IDS_COM_BODY_SEP">Սպտ</text>\r
- <text id="IDS_COM_BODY_AUG">Օգս</text>\r
- <text id="IDS_TMR_SK_START">Սկսել</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Յուրաքանչյուր Երեքշաբթի</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Ազդանշան</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Ավելին</text>\r
- <text id="IDS_COM_BODY_TIMER">Ժամանակաչափ</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Ժամանակը սպառված տագնապ</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Հիշեցման կրկնում</text>\r
- <text id="IDS_COM_BODY_SEARCH">Որոնել</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Ընտրել տագնապի ազդանշանններ</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Յուրաքանչյուր Շաբաթ</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Զրոյացնել</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Ամեն օր</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d քաղաք է ընտրվել</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 րոպ</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Չեղարկել ամառային ժմնակը</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 րոպ</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Յուրաքանչյուր Հինգշաբթի</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Ժամանակը սպառվեց</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Ընտրվել է %d ազդանշան</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d անգամ</text>\r
- <text id="IDS_COM_POP_DELETED">Ջնջված է</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 անգամ</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Որոնման արդյունքներ չկան</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Պտույտ</text>\r
- <text id="IDS_COM_SK_ADD">Ավելացնել</text>\r
- <text id="IDS_ALM_BODY_TONE">Ձայն</text>\r
- <text id="IDS_TMR_SK_RESET">Զրոյացնել</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Տեսակ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Մեղեդի</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Վերջերս</text>\r
- <text id="IDS_TMR_BODY_MIN">րոպ</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 քաղաք է ընտրվել</text>\r
- <text id="IDS_COM_BODY_OCT">Հոկտ</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Ըստ անվան</text>\r
- <text id="IDS_ALM_SK_DELETE">Ջնջել</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Յուրաքանչյուր Կիրակի</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Տարրեր չկան</text>\r
- <text id="IDS_COM_BODY_FEB">Փտրվ</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Մեղեդի և թրթռում</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Ժամային գոտի</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 անգամ</text>
+ <text id="IDS_COM_BODY_NOV">Նոյ</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Ընտրված</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Ընտրել ժամային գոտին</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Ընտրել բոլորը</text>
+ <text id="IDS_NOTHING_SELECTED">Ոչինչ ընտրված չէ</text>
+ <text id="IDS_COM_BODY_DEC">Դեկտ</text>
+ <text id="IDS_ALM_SK_CANCEL">Չեղարկել</text>
+ <text id="IDS_ALM_BODY_REPEAT">Կրկնություն</text>
+ <text id="IDS_TMR_BODY_MIN1">րոպ</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ազդանշան չկա</text>
+ <text id="IDS_COM_BODY_AM">ԿԱ</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Տարրեր չկան</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Յուրաքանչյուր Երկուշաբթի</text>
+ <text id="IDS_WCL_TAB_TIME">Ժամանակ</text>
+ <text id="IDS_COM_SK_NEW">Նոր</text>
+ <text id="IDS_ALM_SK3_SAVE">Պահպանել</text>
+ <text id="IDS_COM_BODY_JUN">Հուն</text>
+ <text id="IDS_ALM_BODY_TIME">Ժամանակ</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Հիշեցնել հետո</text>
+ <text id="IDS_COM_BODY_JUL">Հուլ</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Վերագործրկլ</text>
+ <text id="IDS_ALM_BODY_TYPE">Տեսակ</text>
+ <text id="IDS_TMR_SK3_STOP">Կանգնել</text>
+ <text id="IDS_TMR_SK3_RESTART">Վերսկսել</text>
+ <text id="IDS_WCL_SK_DONE">Պատրաստ</text>
+ <text id="IDS_COM_BODY_APR">Ապր.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 րոպ</text>
+ <text id="IDS_COM_BODY_MAY">Մայ</text>
+ <text id="IDS_ALM_BODY_NAME">Անուն</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Թրթռիչ</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">ԱԺ-ի դրվածքներ</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Հետաձգման տևողություն</text>
+ <text id="IDS_COM_BODY_MAR">Մրտ</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 տագնապ է ընտրվել</text>
+ <text id="IDS_ALM_BODY_MELODY">Մեղեդի</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Յուրաքանչյուր Ուրբաթ</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Վերադասավորել</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Յուրաքանչյուր Չորեքշաբթի</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Ժամանակը սպառվեց</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Անհնար է ավելացնել քաղաք: Աշխարհի ժամացույցի ցանկը լիքն է: Նախ վերացրեք որոշ տարրեր</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Տեսակավորել ըստ</text>
+ <text id="IDS_TMR_BODY_SEC">վրկ</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 անգամ</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Վայրկյանաչափ</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Կանգնեցնել զանգը</text>
+ <text id="IDS_TMR_BODY_HOUR">Ժամ</text>
+ <text id="IDS_COM_BODY_JAN">Հնվ</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Համաշխարհային ժամացույց</text>
+ <text id="IDS_COM_BODY_SEP">Սպտ</text>
+ <text id="IDS_COM_BODY_AUG">Օգս</text>
+ <text id="IDS_TMR_SK_START">Սկսել</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Յուրաքանչյուր Երեքշաբթի</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Ազդանշան</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Ավելին</text>
+ <text id="IDS_COM_BODY_TIMER">Ժամանակաչափ</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Ժամանակը սպառված տագնապ</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Հիշեցման կրկնում</text>
+ <text id="IDS_COM_BODY_SEARCH">Որոնել</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Ընտրել տագնապի ազդանշանններ</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Յուրաքանչյուր Շաբաթ</text>
+ <text id="IDS_SWT_BUTTON_RESET">Զրոյացնել</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Ամեն օր</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d քաղաք է ընտրվել</text>
+ <text id="IDS_ALM_BODY_10MINS">10 րոպ</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Չեղարկել ամառային ժմնակը</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 րոպ</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Յուրաքանչյուր Հինգշաբթի</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Ժամանակը սպառվեց</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Ընտրվել է %d ազդանշան</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d անգամ</text>
+ <text id="IDS_COM_POP_DELETED">Ջնջված է</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 անգամ</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Որոնման արդյունքներ չկան</text>
+ <text id="IDS_SWT_BUTTON_LAP">Պտույտ</text>
+ <text id="IDS_COM_SK_ADD">Ավելացնել</text>
+ <text id="IDS_ALM_BODY_TONE">Ձայն</text>
+ <text id="IDS_TMR_SK_RESET">Զրոյացնել</text>
+ <text id="IDS_ALM_HEADER_TYPE">Տեսակ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Մեղեդի</text>
+ <text id="IDS_COM_BUTTON_RECENT">Վերջերս</text>
+ <text id="IDS_TMR_BODY_MIN">րոպ</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 քաղաք է ընտրվել</text>
+ <text id="IDS_COM_BODY_OCT">Հոկտ</text>
+ <text id="IDS_WCL_SK_BY_NAME">Ըստ անվան</text>
+ <text id="IDS_ALM_SK_DELETE">Ջնջել</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Յուրաքանչյուր Կիրակի</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Տարրեր չկան</text>
+ <text id="IDS_COM_BODY_FEB">Փտրվ</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Lag og titringur</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Tímabelti</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 sinnum</text>\r
- <text id="IDS_COM_BODY_NOV">nóv.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Valið</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Veldu tímabelti</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Velja allt</text>\r
- <text id="IDS_NOTHING_SELECTED">Ekkert er valið</text>\r
- <text id="IDS_COM_BODY_DEC">Des.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Hætta við</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Endurtaka</text>\r
- <text id="IDS_TMR_BODY_MIN1">mín</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Engar áminningar</text>\r
- <text id="IDS_COM_BODY_AM">f.h.</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Engin atriði</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Alla mánudaga</text>\r
- <text id="IDS_WCL_TAB_TIME">Tími</text>\r
- <text id="IDS_COM_SK_NEW">Nýr</text>\r
- <text id="IDS_ALM_SK3_SAVE">Vista</text>\r
- <text id="IDS_COM_BODY_JUN">Jún.</text>\r
- <text id="IDS_ALM_BODY_TIME">Tími</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Blunda</text>\r
- <text id="IDS_COM_BODY_JUL">Júl.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Endurræsa</text>\r
- <text id="IDS_ALM_BODY_TYPE">Gerð</text>\r
- <text id="IDS_TMR_SK3_STOP">Stöðva</text>\r
- <text id="IDS_TMR_SK3_RESTART">Endurræsa</text>\r
- <text id="IDS_WCL_SK_DONE">Lokið</text>\r
- <text id="IDS_COM_BODY_APR">apr.</text>\r
- <text id="IDS_COM_POP_PM">eh</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 mín.</text>\r
- <text id="IDS_COM_BODY_MAY">Maí</text>\r
- <text id="IDS_ALM_BODY_NAME">Heiti</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Titringur</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Stillingar sumartíma</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Lengd blunds</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 áminning valin</text>\r
- <text id="IDS_ALM_BODY_MELODY">Lag</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Alla föstudaga</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Panta aftur</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Alla miðvikudaga</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tíminn er liðinn</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Ekki er hægt að bæta við borg. Heimsklukkulisti er fullur. Eyddu fyrst einhverjum hlutum</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Raða eftir</text>\r
- <text id="IDS_TMR_BODY_SEC">sek</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 skipti</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Skeiðklukka</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Hætta hringingu</text>\r
- <text id="IDS_TMR_BODY_HOUR">Klst.</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Heimsklukka</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">ág.</text>\r
- <text id="IDS_TMR_SK_START">Ræsa</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Alla þriðjudaga</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Vekjaraklukka</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Meira</text>\r
- <text id="IDS_COM_BODY_TIMER">Niðurteljari</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Áminning tímamarka</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Endurtaka blund</text>\r
- <text id="IDS_COM_BODY_SEARCH">Leit</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Velja áminningar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Alla laugardaga</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Núllstil.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Daglega</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d borgir valdar</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 mín</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Hætta að nota sumartíma</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 mín.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Alla fimmtudaga</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tími búinn</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d áminningar valdar</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d sinnum</text>\r
- <text id="IDS_COM_POP_DELETED">Eytt</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 skipti</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Engar leitarniðurstöður</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Millitími</text>\r
- <text id="IDS_COM_SK_ADD">Bæta við</text>\r
- <text id="IDS_ALM_BODY_TONE">Tónn</text>\r
- <text id="IDS_TMR_SK_RESET">Endurstilla</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Gerð</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Lag</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Nýlegt</text>\r
- <text id="IDS_TMR_BODY_MIN">mín</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 valin borg</text>\r
- <text id="IDS_COM_BODY_OCT">okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Nafnaleit</text>\r
- <text id="IDS_ALM_SK_DELETE">Eyða</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Alla sunnudaga</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Engin atriði</text>\r
- <text id="IDS_COM_BODY_FEB">feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Lag og titringur</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Tímabelti</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 sinnum</text>
+ <text id="IDS_COM_BODY_NOV">nóv.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Valið</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Veldu tímabelti</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Velja allt</text>
+ <text id="IDS_NOTHING_SELECTED">Ekkert er valið</text>
+ <text id="IDS_COM_BODY_DEC">Des.</text>
+ <text id="IDS_ALM_SK_CANCEL">Hætta við</text>
+ <text id="IDS_ALM_BODY_REPEAT">Endurtaka</text>
+ <text id="IDS_TMR_BODY_MIN1">mín</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Engar áminningar</text>
+ <text id="IDS_COM_BODY_AM">f.h.</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Engin atriði</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Alla mánudaga</text>
+ <text id="IDS_WCL_TAB_TIME">Tími</text>
+ <text id="IDS_COM_SK_NEW">Nýr</text>
+ <text id="IDS_ALM_SK3_SAVE">Vista</text>
+ <text id="IDS_COM_BODY_JUN">Jún.</text>
+ <text id="IDS_ALM_BODY_TIME">Tími</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Blunda</text>
+ <text id="IDS_COM_BODY_JUL">Júl.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Endurræsa</text>
+ <text id="IDS_ALM_BODY_TYPE">Gerð</text>
+ <text id="IDS_TMR_SK3_STOP">Stöðva</text>
+ <text id="IDS_TMR_SK3_RESTART">Endurræsa</text>
+ <text id="IDS_WCL_SK_DONE">Lokið</text>
+ <text id="IDS_COM_BODY_APR">apr.</text>
+ <text id="IDS_COM_POP_PM">eh</text>
+ <text id="IDS_ALM_BODY_5MINS">5 mín.</text>
+ <text id="IDS_COM_BODY_MAY">Maí</text>
+ <text id="IDS_ALM_BODY_NAME">Heiti</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Titringur</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Stillingar sumartíma</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Lengd blunds</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 áminning valin</text>
+ <text id="IDS_ALM_BODY_MELODY">Lag</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Alla föstudaga</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Panta aftur</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Alla miðvikudaga</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tíminn er liðinn</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Ekki er hægt að bæta við borg. Heimsklukkulisti er fullur. Eyddu fyrst einhverjum hlutum</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Raða eftir</text>
+ <text id="IDS_TMR_BODY_SEC">sek</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 skipti</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Skeiðklukka</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Hætta hringingu</text>
+ <text id="IDS_TMR_BODY_HOUR">Klst.</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Heimsklukka</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">ág.</text>
+ <text id="IDS_TMR_SK_START">Ræsa</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Alla þriðjudaga</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Vekjaraklukka</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Meira</text>
+ <text id="IDS_COM_BODY_TIMER">Niðurteljari</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Áminning tímamarka</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Endurtaka blund</text>
+ <text id="IDS_COM_BODY_SEARCH">Leit</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Velja áminningar</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Alla laugardaga</text>
+ <text id="IDS_SWT_BUTTON_RESET">Núllstil.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Daglega</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d borgir valdar</text>
+ <text id="IDS_ALM_BODY_10MINS">10 mín</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Hætta að nota sumartíma</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 mín.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Alla fimmtudaga</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tími búinn</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d áminningar valdar</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d sinnum</text>
+ <text id="IDS_COM_POP_DELETED">Eytt</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 skipti</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Engar leitarniðurstöður</text>
+ <text id="IDS_SWT_BUTTON_LAP">Millitími</text>
+ <text id="IDS_COM_SK_ADD">Bæta við</text>
+ <text id="IDS_ALM_BODY_TONE">Tónn</text>
+ <text id="IDS_TMR_SK_RESET">Endurstilla</text>
+ <text id="IDS_ALM_HEADER_TYPE">Gerð</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Lag</text>
+ <text id="IDS_COM_BUTTON_RECENT">Nýlegt</text>
+ <text id="IDS_TMR_BODY_MIN">mín</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 valin borg</text>
+ <text id="IDS_COM_BODY_OCT">okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Nafnaleit</text>
+ <text id="IDS_ALM_SK_DELETE">Eyða</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Alla sunnudaga</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Engin atriði</text>
+ <text id="IDS_COM_BODY_FEB">feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Suoneria e vibrazione</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Fuso orario</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 volte</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Selezionato</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleziona fuso orario</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Seleziona tutto</text>\r
- <text id="IDS_NOTHING_SELECTED">Nessun elemento selezionato</text>\r
- <text id="IDS_COM_BODY_DEC">Dic</text>\r
- <text id="IDS_ALM_SK_CANCEL">Annulla</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Ripeti</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nessuna sveglia</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Nessun elemento</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Ogni lunedì</text>\r
- <text id="IDS_WCL_TAB_TIME">Ora</text>\r
- <text id="IDS_COM_SK_NEW">Nuovo</text>\r
- <text id="IDS_ALM_SK3_SAVE">Salva</text>\r
- <text id="IDS_COM_BODY_JUN">Giu</text>\r
- <text id="IDS_ALM_BODY_TIME">Ora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Sospendi</text>\r
- <text id="IDS_COM_BODY_JUL">Lug</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Riavvia</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipo</text>\r
- <text id="IDS_TMR_SK3_STOP">Ferma</text>\r
- <text id="IDS_TMR_SK3_RESTART">Riavvia</text>\r
- <text id="IDS_WCL_SK_DONE">Fatto</text>\r
- <text id="IDS_COM_BODY_APR">Apr</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Maggio</text>\r
- <text id="IDS_ALM_BODY_NAME">Nome</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrazione</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Ora legale</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Durata rinvio</text>\r
- <text id="IDS_COM_BODY_MAR">Mar</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 avviso selezionato</text>\r
- <text id="IDS_ALM_BODY_MELODY">Suoneria</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Ogni venerdì</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Riordina</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Ogni mercoledì</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tempo scaduto</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossibile aggiungere città. Elenco Fusi orari pieno. Eliminare prima alcuni elementi</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordina per</text>\r
- <text id="IDS_TMR_BODY_SEC">sec</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 volte</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronometro</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Arresta suoneria</text>\r
- <text id="IDS_TMR_BODY_HOUR">Ora</text>\r
- <text id="IDS_COM_BODY_JAN">Gen</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Fusi orari</text>\r
- <text id="IDS_COM_BODY_SEP">Set</text>\r
- <text id="IDS_COM_BODY_AUG">Ago</text>\r
- <text id="IDS_TMR_SK_START">Avvia</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Ogni martedì</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Sveglia</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Altro</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timer</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ripetizione sospensione</text>\r
- <text id="IDS_COM_BODY_SEARCH">Cerca</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleziona sveglie</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Ogni sabato</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Azzera</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Ogni giorno</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d città selezionate</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Annulla ora legale</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Ogni giovedì</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tempo scaduto</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d sveglie selezionate</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d volte</text>\r
- <text id="IDS_COM_POP_DELETED">Eliminato/i</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 volte</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nessun risultato della ricerca</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Giro</text>\r
- <text id="IDS_COM_SK_ADD">Aggiungi</text>\r
- <text id="IDS_ALM_BODY_TONE">Tono</text>\r
- <text id="IDS_TMR_SK_RESET">Azzera</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipo</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Suoneria</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recenti</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 città selezionata</text>\r
- <text id="IDS_COM_BODY_OCT">Ott</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Per nome</text>\r
- <text id="IDS_ALM_SK_DELETE">Elimina</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Ogni domenica</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Nessun elemento</text>\r
- <text id="IDS_COM_BODY_FEB">Feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Suoneria e vibrazione</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Fuso orario</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 volte</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Selezionato</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleziona fuso orario</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Seleziona tutto</text>
+ <text id="IDS_NOTHING_SELECTED">Nessun elemento selezionato</text>
+ <text id="IDS_COM_BODY_DEC">Dic</text>
+ <text id="IDS_ALM_SK_CANCEL">Annulla</text>
+ <text id="IDS_ALM_BODY_REPEAT">Ripeti</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nessuna sveglia</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Nessun elemento</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Ogni lunedì</text>
+ <text id="IDS_WCL_TAB_TIME">Ora</text>
+ <text id="IDS_COM_SK_NEW">Nuovo</text>
+ <text id="IDS_ALM_SK3_SAVE">Salva</text>
+ <text id="IDS_COM_BODY_JUN">Giu</text>
+ <text id="IDS_ALM_BODY_TIME">Ora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Sospendi</text>
+ <text id="IDS_COM_BODY_JUL">Lug</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Riavvia</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipo</text>
+ <text id="IDS_TMR_SK3_STOP">Ferma</text>
+ <text id="IDS_TMR_SK3_RESTART">Riavvia</text>
+ <text id="IDS_WCL_SK_DONE">Fatto</text>
+ <text id="IDS_COM_BODY_APR">Apr</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Maggio</text>
+ <text id="IDS_ALM_BODY_NAME">Nome</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrazione</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Ora legale</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Durata rinvio</text>
+ <text id="IDS_COM_BODY_MAR">Mar</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 avviso selezionato</text>
+ <text id="IDS_ALM_BODY_MELODY">Suoneria</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Ogni venerdì</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Riordina</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Ogni mercoledì</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tempo scaduto</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossibile aggiungere città. Elenco Fusi orari pieno. Eliminare prima alcuni elementi</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordina per</text>
+ <text id="IDS_TMR_BODY_SEC">sec</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 volte</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronometro</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Arresta suoneria</text>
+ <text id="IDS_TMR_BODY_HOUR">Ora</text>
+ <text id="IDS_COM_BODY_JAN">Gen</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Fusi orari</text>
+ <text id="IDS_COM_BODY_SEP">Set</text>
+ <text id="IDS_COM_BODY_AUG">Ago</text>
+ <text id="IDS_TMR_SK_START">Avvia</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Ogni martedì</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Sveglia</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Altro</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timer</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ripetizione sospensione</text>
+ <text id="IDS_COM_BODY_SEARCH">Cerca</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleziona sveglie</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Ogni sabato</text>
+ <text id="IDS_SWT_BUTTON_RESET">Azzera</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Ogni giorno</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d città selezionate</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Annulla ora legale</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Ogni giovedì</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tempo scaduto</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d sveglie selezionate</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d volte</text>
+ <text id="IDS_COM_POP_DELETED">Eliminato/i</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 volte</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nessun risultato della ricerca</text>
+ <text id="IDS_SWT_BUTTON_LAP">Giro</text>
+ <text id="IDS_COM_SK_ADD">Aggiungi</text>
+ <text id="IDS_ALM_BODY_TONE">Tono</text>
+ <text id="IDS_TMR_SK_RESET">Azzera</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipo</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Suoneria</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recenti</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 città selezionata</text>
+ <text id="IDS_COM_BODY_OCT">Ott</text>
+ <text id="IDS_WCL_SK_BY_NAME">Per nome</text>
+ <text id="IDS_ALM_SK_DELETE">Elimina</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Ogni domenica</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Nessun elemento</text>
+ <text id="IDS_COM_BODY_FEB">Feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">メロディとバイブ</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">タイムゾーン</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10回</text>\r
- <text id="IDS_COM_BODY_NOV">11月</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d 選択済み</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">タイムゾーンを選択</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">全て選択</text>\r
- <text id="IDS_NOTHING_SELECTED">何も選択されていません。</text>\r
- <text id="IDS_COM_BODY_DEC">12月</text>\r
- <text id="IDS_ALM_SK_CANCEL">キャンセル</text>\r
- <text id="IDS_ALM_BODY_REPEAT">繰り返し</text>\r
- <text id="IDS_TMR_BODY_MIN1">分</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">アラームはありません。</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">アイテムがありません。</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">毎週月曜日</text>\r
- <text id="IDS_WCL_TAB_TIME">Time</text>\r
- <text id="IDS_COM_SK_NEW">新規</text>\r
- <text id="IDS_ALM_SK3_SAVE">保存</text>\r
- <text id="IDS_COM_BODY_JUN">6月</text>\r
- <text id="IDS_ALM_BODY_TIME">時刻</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">スヌーズ</text>\r
- <text id="IDS_COM_BODY_JUL">7月</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">リスタート</text>\r
- <text id="IDS_ALM_BODY_TYPE">ファイルタイプ</text>\r
- <text id="IDS_TMR_SK3_STOP">ストップ</text>\r
- <text id="IDS_TMR_SK3_RESTART">リスタート</text>\r
- <text id="IDS_WCL_SK_DONE">完了</text>\r
- <text id="IDS_COM_BODY_APR">4月</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5分</text>\r
- <text id="IDS_COM_BODY_MAY">5月</text>\r
- <text id="IDS_ALM_BODY_NAME">名前</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">バイブ</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">サマータイム設定</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">スヌーズ間隔</text>\r
- <text id="IDS_COM_BODY_MAR">3月</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1件のアラームを選択しました</text>\r
- <text id="IDS_ALM_BODY_MELODY">メロディ</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">毎週金曜日</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">並べ替え</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">毎週水曜日</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">タイムアップ</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">都市を追加できません。世界時計リストがいっぱいです。先にアイテムをいくつか削除してください。</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">ソート</text>\r
- <text id="IDS_TMR_BODY_SEC">秒</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3回</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">ストップウォッチ</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">音を停止</text>\r
- <text id="IDS_TMR_BODY_HOUR">時間</text>\r
- <text id="IDS_COM_BODY_JAN">1月</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">世界時計</text>\r
- <text id="IDS_COM_BODY_SEP">9月</text>\r
- <text id="IDS_COM_BODY_AUG">8月</text>\r
- <text id="IDS_TMR_SK_START">スタート</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">毎週火曜日</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">アラーム</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">その他</text>\r
- <text id="IDS_COM_BODY_TIMER">タイマー</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">時間切れアラーム</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">スヌーズ回数</text>\r
- <text id="IDS_COM_BODY_SEARCH">検索</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">アラームを選択</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">毎週土曜日</text>\r
- <text id="IDS_SWT_BUTTON_RESET">リセット</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">毎日</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d件の都市が選択されました</text>\r
- <text id="IDS_ALM_BODY_10MINS">10分</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DSTを中止</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3分ごと</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">毎週木曜日</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">時間です</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d件のアラームが選択されました</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d回</text>\r
- <text id="IDS_COM_POP_DELETED">削除しました。</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5回</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">検索結果がありません。</text>\r
- <text id="IDS_SWT_BUTTON_LAP">ラップ</text>\r
- <text id="IDS_COM_SK_ADD">追加</text>\r
- <text id="IDS_ALM_BODY_TONE">音</text>\r
- <text id="IDS_TMR_SK_RESET">リセット</text>\r
- <text id="IDS_ALM_HEADER_TYPE">ファイルタイプ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">メロディ</text>\r
- <text id="IDS_COM_BUTTON_RECENT">最近の履歴</text>\r
- <text id="IDS_TMR_BODY_MIN">分</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1件の都市が選択されました</text>\r
- <text id="IDS_COM_BODY_OCT">10月</text>\r
- <text id="IDS_WCL_SK_BY_NAME">名前順</text>\r
- <text id="IDS_ALM_SK_DELETE">削除</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">毎週日曜日</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">アイテムがありません。</text>\r
- <text id="IDS_COM_BODY_FEB">2月</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">メロディとバイブ</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">タイムゾーン</text>
+ <text id="IDS_ALM_BODY_10TIMES">10回</text>
+ <text id="IDS_COM_BODY_NOV">11月</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d 選択済み</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">タイムゾーンを選択</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">全て選択</text>
+ <text id="IDS_NOTHING_SELECTED">何も選択されていません。</text>
+ <text id="IDS_COM_BODY_DEC">12月</text>
+ <text id="IDS_ALM_SK_CANCEL">キャンセル</text>
+ <text id="IDS_ALM_BODY_REPEAT">繰り返し</text>
+ <text id="IDS_TMR_BODY_MIN1">分</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">アラームはありません。</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">アイテムがありません。</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">毎週月曜日</text>
+ <text id="IDS_WCL_TAB_TIME">Time</text>
+ <text id="IDS_COM_SK_NEW">新規</text>
+ <text id="IDS_ALM_SK3_SAVE">保存</text>
+ <text id="IDS_COM_BODY_JUN">6月</text>
+ <text id="IDS_ALM_BODY_TIME">時刻</text>
+ <text id="IDS_ALM_BODY_SNOOZE">スヌーズ</text>
+ <text id="IDS_COM_BODY_JUL">7月</text>
+ <text id="IDS_SWT_BUTTON_RESTART">リスタート</text>
+ <text id="IDS_ALM_BODY_TYPE">ファイルタイプ</text>
+ <text id="IDS_TMR_SK3_STOP">ストップ</text>
+ <text id="IDS_TMR_SK3_RESTART">リスタート</text>
+ <text id="IDS_WCL_SK_DONE">完了</text>
+ <text id="IDS_COM_BODY_APR">4月</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5分</text>
+ <text id="IDS_COM_BODY_MAY">5月</text>
+ <text id="IDS_ALM_BODY_NAME">名前</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">バイブ</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">サマータイム設定</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">スヌーズ間隔</text>
+ <text id="IDS_COM_BODY_MAR">3月</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1件のアラームを選択しました</text>
+ <text id="IDS_ALM_BODY_MELODY">メロディ</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">毎週金曜日</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">並べ替え</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">毎週水曜日</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">タイムアップ</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">都市を追加できません。世界時計リストがいっぱいです。先にアイテムをいくつか削除してください。</text>
+ <text id="IDS_ALM_OPT_SORT_BY">ソート</text>
+ <text id="IDS_TMR_BODY_SEC">秒</text>
+ <text id="IDS_ALM_BODY_3TIMES">3回</text>
+ <text id="IDS_COM_BODY_STOPWATCH">ストップウォッチ</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">音を停止</text>
+ <text id="IDS_TMR_BODY_HOUR">時間</text>
+ <text id="IDS_COM_BODY_JAN">1月</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">世界時計</text>
+ <text id="IDS_COM_BODY_SEP">9月</text>
+ <text id="IDS_COM_BODY_AUG">8月</text>
+ <text id="IDS_TMR_SK_START">スタート</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">毎週火曜日</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">アラーム</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">その他</text>
+ <text id="IDS_COM_BODY_TIMER">タイマー</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">時間切れアラーム</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">スヌーズ回数</text>
+ <text id="IDS_COM_BODY_SEARCH">検索</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">アラームを選択</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">毎週土曜日</text>
+ <text id="IDS_SWT_BUTTON_RESET">リセット</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">毎日</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d件の都市が選択されました</text>
+ <text id="IDS_ALM_BODY_10MINS">10分</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DSTを中止</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3分ごと</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">毎週木曜日</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">時間です</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d件のアラームが選択されました</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d回</text>
+ <text id="IDS_COM_POP_DELETED">削除しました。</text>
+ <text id="IDS_ALM_BODY_5TIMES">5回</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">検索結果がありません。</text>
+ <text id="IDS_SWT_BUTTON_LAP">ラップ</text>
+ <text id="IDS_COM_SK_ADD">追加</text>
+ <text id="IDS_ALM_BODY_TONE">音</text>
+ <text id="IDS_TMR_SK_RESET">リセット</text>
+ <text id="IDS_ALM_HEADER_TYPE">ファイルタイプ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">メロディ</text>
+ <text id="IDS_COM_BUTTON_RECENT">最近の履歴</text>
+ <text id="IDS_TMR_BODY_MIN">分</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1件の都市が選択されました</text>
+ <text id="IDS_COM_BODY_OCT">10月</text>
+ <text id="IDS_WCL_SK_BY_NAME">名前順</text>
+ <text id="IDS_ALM_SK_DELETE">削除</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">毎週日曜日</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">アイテムがありません。</text>
+ <text id="IDS_COM_BODY_FEB">2月</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">მელოდია და ვიბრაცია</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">საათობრივი სარტყელი</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 ჯერ</text>\r
- <text id="IDS_COM_BODY_NOV">ნოე.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d შერჩეული</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">დროითი სარტყელის არჩევა</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">ყველას არჩევა</text>\r
- <text id="IDS_NOTHING_SELECTED">არაფერია არჩეული</text>\r
- <text id="IDS_COM_BODY_DEC">დეკ.</text>\r
- <text id="IDS_ALM_SK_CANCEL">გაუქმება</text>\r
- <text id="IDS_ALM_BODY_REPEAT">გამეორება</text>\r
- <text id="IDS_TMR_BODY_MIN1">წუთი</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">სიგნალები არ არის</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">ელემენტები არ არის</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">ყოველ ორშაბათს</text>\r
- <text id="IDS_WCL_TAB_TIME">დრო</text>\r
- <text id="IDS_COM_SK_NEW">ახალი</text>\r
- <text id="IDS_ALM_SK3_SAVE">შენახვა</text>\r
- <text id="IDS_COM_BODY_JUN">ივნ.</text>\r
- <text id="IDS_ALM_BODY_TIME">დრო</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">თვლემა</text>\r
- <text id="IDS_COM_BODY_JUL">ივლ.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">თავიდან ჩართვა</text>\r
- <text id="IDS_ALM_BODY_TYPE">ტიპი</text>\r
- <text id="IDS_TMR_SK3_STOP">შეჩერება</text>\r
- <text id="IDS_TMR_SK3_RESTART">თავიდან ჩართვა</text>\r
- <text id="IDS_WCL_SK_DONE">შესრულდა</text>\r
- <text id="IDS_COM_BODY_APR">აპრ.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 წთ.</text>\r
- <text id="IDS_COM_BODY_MAY">მაისი</text>\r
- <text id="IDS_ALM_BODY_NAME">სახელი</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">ვიბრაცია</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST პარამეტრები</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">თვლემის ხანგრძლივობა</text>\r
- <text id="IDS_COM_BODY_MAR">მარ.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">არჩეულია 1 სიგნალი</text>\r
- <text id="IDS_ALM_BODY_MELODY">მელოდია</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">ყოველ პარასკევს</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">გადალაგება</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">ყოველ ოთხშაბათს</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">დრო გავიდა</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">ქალაქს ვერ დაამატებთ. მსოფლიო საათების სია გაივსო. ჯერ წაშალეთ ზოგიერთი მათგანი</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">გადარჩევა</text>\r
- <text id="IDS_TMR_BODY_SEC">წმ.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3-ჯერ</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">წამზომი</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">რეკვის შეჩერება</text>\r
- <text id="IDS_TMR_BODY_HOUR">საათი</text>\r
- <text id="IDS_COM_BODY_JAN">იან.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">მსოფლიო საათი</text>\r
- <text id="IDS_COM_BODY_SEP">სექ.</text>\r
- <text id="IDS_COM_BODY_AUG">აგვ.</text>\r
- <text id="IDS_TMR_SK_START">დაწყება</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">ყოველ სამშაბათს</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">სიგნალი</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">სხვა</text>\r
- <text id="IDS_COM_BODY_TIMER">თაიმერი</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">დროგასული სიგნალი</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">თვლემის გამეორება</text>\r
- <text id="IDS_COM_BODY_SEARCH">ძიება</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">სიგნალების არჩევა</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">ყოველ შაბათს</text>\r
- <text id="IDS_SWT_BUTTON_RESET">გაუქმება</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">ყოველდღე</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">არჩეულია %d ქალაქი</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 წთ.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DST-ის გაუქმება</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 წთ.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">ყოველ ხუთშაბათს</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">დრო ამოიწურა</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">არჩეულია %d სიგნალი</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d-ჯერ</text>\r
- <text id="IDS_COM_POP_DELETED">წაშლილია</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5-ჯერ</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">ძიების შედეგი არ არის</text>\r
- <text id="IDS_SWT_BUTTON_LAP">დროის ჩანიშვნა</text>\r
- <text id="IDS_COM_SK_ADD">დამატება</text>\r
- <text id="IDS_ALM_BODY_TONE">მელოდია</text>\r
- <text id="IDS_TMR_SK_RESET">განულება</text>\r
- <text id="IDS_ALM_HEADER_TYPE">ტიპი</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">მელოდია</text>\r
- <text id="IDS_COM_BUTTON_RECENT">ბოლო</text>\r
- <text id="IDS_TMR_BODY_MIN">წუთი</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">არჩეულია 1 ქალაქი</text>\r
- <text id="IDS_COM_BODY_OCT">ოქტ.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">სახელით</text>\r
- <text id="IDS_ALM_SK_DELETE">წაშლა</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">ყოველ კვირადღეს</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">ელემენტები არ არის</text>\r
- <text id="IDS_COM_BODY_FEB">თებ.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">მელოდია და ვიბრაცია</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">საათობრივი სარტყელი</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 ჯერ</text>
+ <text id="IDS_COM_BODY_NOV">ნოე.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d შერჩეული</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">დროითი სარტყელის არჩევა</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">ყველას არჩევა</text>
+ <text id="IDS_NOTHING_SELECTED">არაფერია არჩეული</text>
+ <text id="IDS_COM_BODY_DEC">დეკ.</text>
+ <text id="IDS_ALM_SK_CANCEL">გაუქმება</text>
+ <text id="IDS_ALM_BODY_REPEAT">გამეორება</text>
+ <text id="IDS_TMR_BODY_MIN1">წუთი</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">სიგნალები არ არის</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">ელემენტები არ არის</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">ყოველ ორშაბათს</text>
+ <text id="IDS_WCL_TAB_TIME">დრო</text>
+ <text id="IDS_COM_SK_NEW">ახალი</text>
+ <text id="IDS_ALM_SK3_SAVE">შენახვა</text>
+ <text id="IDS_COM_BODY_JUN">ივნ.</text>
+ <text id="IDS_ALM_BODY_TIME">დრო</text>
+ <text id="IDS_ALM_BODY_SNOOZE">თვლემა</text>
+ <text id="IDS_COM_BODY_JUL">ივლ.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">თავიდან ჩართვა</text>
+ <text id="IDS_ALM_BODY_TYPE">ტიპი</text>
+ <text id="IDS_TMR_SK3_STOP">შეჩერება</text>
+ <text id="IDS_TMR_SK3_RESTART">თავიდან ჩართვა</text>
+ <text id="IDS_WCL_SK_DONE">შესრულდა</text>
+ <text id="IDS_COM_BODY_APR">აპრ.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 წთ.</text>
+ <text id="IDS_COM_BODY_MAY">მაისი</text>
+ <text id="IDS_ALM_BODY_NAME">სახელი</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">ვიბრაცია</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST პარამეტრები</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">თვლემის ხანგრძლივობა</text>
+ <text id="IDS_COM_BODY_MAR">მარ.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">არჩეულია 1 სიგნალი</text>
+ <text id="IDS_ALM_BODY_MELODY">მელოდია</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">ყოველ პარასკევს</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">გადალაგება</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">ყოველ ოთხშაბათს</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">დრო გავიდა</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">ქალაქს ვერ დაამატებთ. მსოფლიო საათების სია გაივსო. ჯერ წაშალეთ ზოგიერთი მათგანი</text>
+ <text id="IDS_ALM_OPT_SORT_BY">გადარჩევა</text>
+ <text id="IDS_TMR_BODY_SEC">წმ.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3-ჯერ</text>
+ <text id="IDS_COM_BODY_STOPWATCH">წამზომი</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">რეკვის შეჩერება</text>
+ <text id="IDS_TMR_BODY_HOUR">საათი</text>
+ <text id="IDS_COM_BODY_JAN">იან.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">მსოფლიო საათი</text>
+ <text id="IDS_COM_BODY_SEP">სექ.</text>
+ <text id="IDS_COM_BODY_AUG">აგვ.</text>
+ <text id="IDS_TMR_SK_START">დაწყება</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">ყოველ სამშაბათს</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">სიგნალი</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">სხვა</text>
+ <text id="IDS_COM_BODY_TIMER">თაიმერი</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">დროგასული სიგნალი</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">თვლემის გამეორება</text>
+ <text id="IDS_COM_BODY_SEARCH">ძიება</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">სიგნალების არჩევა</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">ყოველ შაბათს</text>
+ <text id="IDS_SWT_BUTTON_RESET">გაუქმება</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">ყოველდღე</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">არჩეულია %d ქალაქი</text>
+ <text id="IDS_ALM_BODY_10MINS">10 წთ.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DST-ის გაუქმება</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 წთ.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">ყოველ ხუთშაბათს</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">დრო ამოიწურა</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">არჩეულია %d სიგნალი</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d-ჯერ</text>
+ <text id="IDS_COM_POP_DELETED">წაშლილია</text>
+ <text id="IDS_ALM_BODY_5TIMES">5-ჯერ</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">ძიების შედეგი არ არის</text>
+ <text id="IDS_SWT_BUTTON_LAP">დროის ჩანიშვნა</text>
+ <text id="IDS_COM_SK_ADD">დამატება</text>
+ <text id="IDS_ALM_BODY_TONE">მელოდია</text>
+ <text id="IDS_TMR_SK_RESET">განულება</text>
+ <text id="IDS_ALM_HEADER_TYPE">ტიპი</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">მელოდია</text>
+ <text id="IDS_COM_BUTTON_RECENT">ბოლო</text>
+ <text id="IDS_TMR_BODY_MIN">წუთი</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">არჩეულია 1 ქალაქი</text>
+ <text id="IDS_COM_BODY_OCT">ოქტ.</text>
+ <text id="IDS_WCL_SK_BY_NAME">სახელით</text>
+ <text id="IDS_ALM_SK_DELETE">წაშლა</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">ყოველ კვირადღეს</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">ელემენტები არ არის</text>
+ <text id="IDS_COM_BODY_FEB">თებ.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Дірілдеу мен әуен</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Уақыт зонасы</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 рет</text>\r
- <text id="IDS_COM_BODY_NOV">Қар</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Таңдалды</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Уақыт белдеуін таңдау</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Бәрін бөлектеу</text>\r
- <text id="IDS_NOTHING_SELECTED">Ештенке таңдалмады</text>\r
- <text id="IDS_COM_BODY_DEC">Жел</text>\r
- <text id="IDS_ALM_SK_CANCEL">Тоқтату</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Қайталау</text>\r
- <text id="IDS_TMR_BODY_MIN1">мин</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Дабылдар жоқ</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Баптар жоқ</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Әр Дүйсенбіде</text>\r
- <text id="IDS_WCL_TAB_TIME">Уақыт</text>\r
- <text id="IDS_COM_SK_NEW">Жаңа</text>\r
- <text id="IDS_ALM_SK3_SAVE">Сақтау</text>\r
- <text id="IDS_COM_BODY_JUN">Мау</text>\r
- <text id="IDS_ALM_BODY_TIME">Уақыт</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Тоқтатып қою</text>\r
- <text id="IDS_COM_BODY_JUL">Шіл</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Қайта бастау</text>\r
- <text id="IDS_ALM_BODY_TYPE">Түрі</text>\r
- <text id="IDS_TMR_SK3_STOP">Тоқтату</text>\r
- <text id="IDS_TMR_SK3_RESTART">Қайтадан бастау</text>\r
- <text id="IDS_WCL_SK_DONE">Дайын</text>\r
- <text id="IDS_COM_BODY_APR">Сәу</text>\r
- <text id="IDS_COM_POP_PM">TK</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 мин</text>\r
- <text id="IDS_COM_BODY_MAY">Maм.</text>\r
- <text id="IDS_ALM_BODY_NAME">Аты</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Діріл</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">ЖУ параметрлері</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze ұзақтығы</text>\r
- <text id="IDS_COM_BODY_MAR">Нау</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 дабыл таңдалды</text>\r
- <text id="IDS_ALM_BODY_MELODY">Әуен</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Әр Жұмада</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Қайта ретке келтіру</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Әр Сәрсенбіде</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Уақыт бітті</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Қаланы қосу мүмкін емес. Әлемдік сағат тізімі толы. Алдымен кейбір элементтерді жойыңыз</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Бойынша сұрыптау</text>\r
- <text id="IDS_TMR_BODY_SEC">сек</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 рет</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Секунд өлшегіш</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Қоңырау шалуды тоқтату</text>\r
- <text id="IDS_TMR_BODY_HOUR">Сағат</text>\r
- <text id="IDS_COM_BODY_JAN">Қаң</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Әлемдік уақыт</text>\r
- <text id="IDS_COM_BODY_SEP">Қыр</text>\r
- <text id="IDS_COM_BODY_AUG">Там</text>\r
- <text id="IDS_TMR_SK_START">Бастау</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Әр Сейсенбіде</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Дабыл</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Басқалар</text>\r
- <text id="IDS_COM_BODY_TIMER">Таймер</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Уақыты біткен оятар</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snooze қайталау</text>\r
- <text id="IDS_COM_BODY_SEARCH">Іздеу</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Дабылдар таңдау</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Әр Сенбіде</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Жаңарту</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Күн сайын</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d қала таңдалды</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 мин</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DST бас тарту</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 мин</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Әр Бейсенбіде</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Уақыты бітті</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d дабыл таңдалды</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d уақыты</text>\r
- <text id="IDS_COM_POP_DELETED">Жойылды</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 рет</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Іздеу нәтижелері жоқ</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Байланыс</text>\r
- <text id="IDS_COM_SK_ADD">Қосу</text>\r
- <text id="IDS_ALM_BODY_TONE">Дыбыс</text>\r
- <text id="IDS_TMR_SK_RESET">Жариялау</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Түрі</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Әуен</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Соңғы</text>\r
- <text id="IDS_TMR_BODY_MIN">мин</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 қала таңдалды</text>\r
- <text id="IDS_COM_BODY_OCT">Қаз</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Аты б-ша</text>\r
- <text id="IDS_ALM_SK_DELETE">Жою</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Әр Жексенбіде</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Баптар жоқ</text>\r
- <text id="IDS_COM_BODY_FEB">Ақп</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Дірілдеу мен әуен</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Уақыт зонасы</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 рет</text>
+ <text id="IDS_COM_BODY_NOV">Қар</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Таңдалды</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Уақыт белдеуін таңдау</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Бәрін бөлектеу</text>
+ <text id="IDS_NOTHING_SELECTED">Ештенке таңдалмады</text>
+ <text id="IDS_COM_BODY_DEC">Жел</text>
+ <text id="IDS_ALM_SK_CANCEL">Тоқтату</text>
+ <text id="IDS_ALM_BODY_REPEAT">Қайталау</text>
+ <text id="IDS_TMR_BODY_MIN1">мин</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Дабылдар жоқ</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Баптар жоқ</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Әр Дүйсенбіде</text>
+ <text id="IDS_WCL_TAB_TIME">Уақыт</text>
+ <text id="IDS_COM_SK_NEW">Жаңа</text>
+ <text id="IDS_ALM_SK3_SAVE">Сақтау</text>
+ <text id="IDS_COM_BODY_JUN">Мау</text>
+ <text id="IDS_ALM_BODY_TIME">Уақыт</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Тоқтатып қою</text>
+ <text id="IDS_COM_BODY_JUL">Шіл</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Қайта бастау</text>
+ <text id="IDS_ALM_BODY_TYPE">Түрі</text>
+ <text id="IDS_TMR_SK3_STOP">Тоқтату</text>
+ <text id="IDS_TMR_SK3_RESTART">Қайтадан бастау</text>
+ <text id="IDS_WCL_SK_DONE">Дайын</text>
+ <text id="IDS_COM_BODY_APR">Сәу</text>
+ <text id="IDS_COM_POP_PM">TK</text>
+ <text id="IDS_ALM_BODY_5MINS">5 мин</text>
+ <text id="IDS_COM_BODY_MAY">Maм.</text>
+ <text id="IDS_ALM_BODY_NAME">Аты</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Діріл</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">ЖУ параметрлері</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snooze ұзақтығы</text>
+ <text id="IDS_COM_BODY_MAR">Нау</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 дабыл таңдалды</text>
+ <text id="IDS_ALM_BODY_MELODY">Әуен</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Әр Жұмада</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Қайта ретке келтіру</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Әр Сәрсенбіде</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Уақыт бітті</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Қаланы қосу мүмкін емес. Әлемдік сағат тізімі толы. Алдымен кейбір элементтерді жойыңыз</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Бойынша сұрыптау</text>
+ <text id="IDS_TMR_BODY_SEC">сек</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 рет</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Секунд өлшегіш</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Қоңырау шалуды тоқтату</text>
+ <text id="IDS_TMR_BODY_HOUR">Сағат</text>
+ <text id="IDS_COM_BODY_JAN">Қаң</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Әлемдік уақыт</text>
+ <text id="IDS_COM_BODY_SEP">Қыр</text>
+ <text id="IDS_COM_BODY_AUG">Там</text>
+ <text id="IDS_TMR_SK_START">Бастау</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Әр Сейсенбіде</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Дабыл</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Басқалар</text>
+ <text id="IDS_COM_BODY_TIMER">Таймер</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Уақыты біткен оятар</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snooze қайталау</text>
+ <text id="IDS_COM_BODY_SEARCH">Іздеу</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Дабылдар таңдау</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Әр Сенбіде</text>
+ <text id="IDS_SWT_BUTTON_RESET">Жаңарту</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Күн сайын</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d қала таңдалды</text>
+ <text id="IDS_ALM_BODY_10MINS">10 мин</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DST бас тарту</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 мин</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Әр Бейсенбіде</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Уақыты бітті</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d дабыл таңдалды</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d уақыты</text>
+ <text id="IDS_COM_POP_DELETED">Жойылды</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 рет</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Іздеу нәтижелері жоқ</text>
+ <text id="IDS_SWT_BUTTON_LAP">Байланыс</text>
+ <text id="IDS_COM_SK_ADD">Қосу</text>
+ <text id="IDS_ALM_BODY_TONE">Дыбыс</text>
+ <text id="IDS_TMR_SK_RESET">Жариялау</text>
+ <text id="IDS_ALM_HEADER_TYPE">Түрі</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Әуен</text>
+ <text id="IDS_COM_BUTTON_RECENT">Соңғы</text>
+ <text id="IDS_TMR_BODY_MIN">мин</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 қала таңдалды</text>
+ <text id="IDS_COM_BODY_OCT">Қаз</text>
+ <text id="IDS_WCL_SK_BY_NAME">Аты б-ша</text>
+ <text id="IDS_ALM_SK_DELETE">Жою</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Әр Жексенбіде</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Баптар жоқ</text>
+ <text id="IDS_COM_BODY_FEB">Ақп</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">벨소리 및 진동</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">표준 시간대</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10회</text>\r
- <text id="IDS_COM_BODY_NOV">11월</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d 단일 선택</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">표준 시간대 선택</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">모두 선택</text>\r
- <text id="IDS_NOTHING_SELECTED">선택된 것이 없습니다</text>\r
- <text id="IDS_COM_BODY_DEC">12월</text>\r
- <text id="IDS_ALM_SK_CANCEL">취소</text>\r
- <text id="IDS_ALM_BODY_REPEAT">반복</text>\r
- <text id="IDS_TMR_BODY_MIN1">분</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">알람이 없습니다</text>\r
- <text id="IDS_COM_BODY_AM">오전</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">항목이 없습니다</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">월요일마다</text>\r
- <text id="IDS_WCL_TAB_TIME">시간</text>\r
- <text id="IDS_COM_SK_NEW">추가</text>\r
- <text id="IDS_ALM_SK3_SAVE">저장</text>\r
- <text id="IDS_COM_BODY_JUN">6월</text>\r
- <text id="IDS_ALM_BODY_TIME">시간</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">다시 알림</text>\r
- <text id="IDS_COM_BODY_JUL">7월</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">재시작</text>\r
- <text id="IDS_ALM_BODY_TYPE">종류</text>\r
- <text id="IDS_TMR_SK3_STOP">중지</text>\r
- <text id="IDS_TMR_SK3_RESTART">재시작</text>\r
- <text id="IDS_WCL_SK_DONE">완료</text>\r
- <text id="IDS_COM_BODY_APR">4월</text>\r
- <text id="IDS_COM_POP_PM">오후</text>\r
- <text id="IDS_ALM_BODY_5MINS">5분</text>\r
- <text id="IDS_COM_BODY_MAY">5월</text>\r
- <text id="IDS_ALM_BODY_NAME">이름</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">진동</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">서머타임 설정</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">다시 알림 간격</text>\r
- <text id="IDS_COM_BODY_MAR">3월</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1개의 알람이 선택됨</text>\r
- <text id="IDS_ALM_BODY_MELODY">벨소리</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">금요일마다</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">순서 변경</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">수요일마다</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">타이머 완료</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">도시를 추가할 수 없습니다. 세계시각 목록이 가득찼습니다. 필요 없는 항목을 삭제하세요</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">정렬</text>\r
- <text id="IDS_TMR_BODY_SEC">초</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3회</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">스톱워치</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">벨소리를 중지합니다</text>\r
- <text id="IDS_TMR_BODY_HOUR">시간</text>\r
- <text id="IDS_COM_BODY_JAN">1월</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">세계시각</text>\r
- <text id="IDS_COM_BODY_SEP">9월</text>\r
- <text id="IDS_COM_BODY_AUG">8월</text>\r
- <text id="IDS_TMR_SK_START">시작</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">화요일마다</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">알람</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">더보기</text>\r
- <text id="IDS_COM_BODY_TIMER">타이머</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">타이머</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">다시 알림 반복</text>\r
- <text id="IDS_COM_BODY_SEARCH">검색</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">알람 선택</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">토요일마다</text>\r
- <text id="IDS_SWT_BUTTON_RESET">초기화</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">매일</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d개의 도시가 선택되었습니다</text>\r
- <text id="IDS_ALM_BODY_10MINS">10분</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">서머타임 해제</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3분</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">목요일마다</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">시간이 초과되었습니다</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d개의 알람이 선택되었습니다</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d회</text>\r
- <text id="IDS_COM_POP_DELETED">삭제되었습니다</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5회</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">검색 결과가 없습니다</text>\r
- <text id="IDS_SWT_BUTTON_LAP">기록</text>\r
- <text id="IDS_COM_SK_ADD">추가</text>\r
- <text id="IDS_ALM_BODY_TONE">소리</text>\r
- <text id="IDS_TMR_SK_RESET">초기화</text>\r
- <text id="IDS_ALM_HEADER_TYPE">종류</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">벨소리</text>\r
- <text id="IDS_COM_BUTTON_RECENT">최근 기록</text>\r
- <text id="IDS_TMR_BODY_MIN">분</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1개의 도시가 선택되었습니다</text>\r
- <text id="IDS_COM_BODY_OCT">10월</text>\r
- <text id="IDS_WCL_SK_BY_NAME">이름순</text>\r
- <text id="IDS_ALM_SK_DELETE">삭제</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">일요일마다</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">항목이 없습니다</text>\r
- <text id="IDS_COM_BODY_FEB">2월</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">벨소리 및 진동</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">표준 시간대</text>
+ <text id="IDS_ALM_BODY_10TIMES">10회</text>
+ <text id="IDS_COM_BODY_NOV">11월</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d 단일 선택</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">표준 시간대 선택</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">모두 선택</text>
+ <text id="IDS_NOTHING_SELECTED">선택된 것이 없습니다</text>
+ <text id="IDS_COM_BODY_DEC">12월</text>
+ <text id="IDS_ALM_SK_CANCEL">취소</text>
+ <text id="IDS_ALM_BODY_REPEAT">반복</text>
+ <text id="IDS_TMR_BODY_MIN1">분</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">알람이 없습니다</text>
+ <text id="IDS_COM_BODY_AM">오전</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">항목이 없습니다</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">월요일마다</text>
+ <text id="IDS_WCL_TAB_TIME">시간</text>
+ <text id="IDS_COM_SK_NEW">추가</text>
+ <text id="IDS_ALM_SK3_SAVE">저장</text>
+ <text id="IDS_COM_BODY_JUN">6월</text>
+ <text id="IDS_ALM_BODY_TIME">시간</text>
+ <text id="IDS_ALM_BODY_SNOOZE">다시 알림</text>
+ <text id="IDS_COM_BODY_JUL">7월</text>
+ <text id="IDS_SWT_BUTTON_RESTART">재시작</text>
+ <text id="IDS_ALM_BODY_TYPE">종류</text>
+ <text id="IDS_TMR_SK3_STOP">중지</text>
+ <text id="IDS_TMR_SK3_RESTART">재시작</text>
+ <text id="IDS_WCL_SK_DONE">완료</text>
+ <text id="IDS_COM_BODY_APR">4월</text>
+ <text id="IDS_COM_POP_PM">오후</text>
+ <text id="IDS_ALM_BODY_5MINS">5분</text>
+ <text id="IDS_COM_BODY_MAY">5월</text>
+ <text id="IDS_ALM_BODY_NAME">이름</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">진동</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">서머타임 설정</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">다시 알림 간격</text>
+ <text id="IDS_COM_BODY_MAR">3월</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1개의 알람이 선택됨</text>
+ <text id="IDS_ALM_BODY_MELODY">벨소리</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">금요일마다</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">순서 변경</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">수요일마다</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">타이머 완료</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">도시를 추가할 수 없습니다. 세계시각 목록이 가득찼습니다. 필요 없는 항목을 삭제하세요</text>
+ <text id="IDS_ALM_OPT_SORT_BY">정렬</text>
+ <text id="IDS_TMR_BODY_SEC">초</text>
+ <text id="IDS_ALM_BODY_3TIMES">3회</text>
+ <text id="IDS_COM_BODY_STOPWATCH">스톱워치</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">벨소리를 중지합니다</text>
+ <text id="IDS_TMR_BODY_HOUR">시간</text>
+ <text id="IDS_COM_BODY_JAN">1월</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">세계시각</text>
+ <text id="IDS_COM_BODY_SEP">9월</text>
+ <text id="IDS_COM_BODY_AUG">8월</text>
+ <text id="IDS_TMR_SK_START">시작</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">화요일마다</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">알람</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">더보기</text>
+ <text id="IDS_COM_BODY_TIMER">타이머</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">타이머</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">다시 알림 반복</text>
+ <text id="IDS_COM_BODY_SEARCH">검색</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">알람 선택</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">토요일마다</text>
+ <text id="IDS_SWT_BUTTON_RESET">초기화</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">매일</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d개의 도시가 선택되었습니다</text>
+ <text id="IDS_ALM_BODY_10MINS">10분</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">서머타임 해제</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3분</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">목요일마다</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">시간이 초과되었습니다</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d개의 알람이 선택되었습니다</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d회</text>
+ <text id="IDS_COM_POP_DELETED">삭제되었습니다</text>
+ <text id="IDS_ALM_BODY_5TIMES">5회</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">검색 결과가 없습니다</text>
+ <text id="IDS_SWT_BUTTON_LAP">기록</text>
+ <text id="IDS_COM_SK_ADD">추가</text>
+ <text id="IDS_ALM_BODY_TONE">소리</text>
+ <text id="IDS_TMR_SK_RESET">초기화</text>
+ <text id="IDS_ALM_HEADER_TYPE">종류</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">벨소리</text>
+ <text id="IDS_COM_BUTTON_RECENT">최근 기록</text>
+ <text id="IDS_TMR_BODY_MIN">분</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1개의 도시가 선택되었습니다</text>
+ <text id="IDS_COM_BODY_OCT">10월</text>
+ <text id="IDS_WCL_SK_BY_NAME">이름순</text>
+ <text id="IDS_ALM_SK_DELETE">삭제</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">일요일마다</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">항목이 없습니다</text>
+ <text id="IDS_COM_BODY_FEB">2월</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodija un vibrozvans</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Laika josla</text>\r
- <text id="IDS_ALM_BODY_10TIMES">desmitreiz</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Izvēlēts</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Izvēlēties laika joslu</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Izv. visu</text>\r
- <text id="IDS_NOTHING_SELECTED">Nekas nav izvēlēts</text>\r
- <text id="IDS_COM_BODY_DEC">Dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Atcelt</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Atkārtot</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nav brīdinājumu</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Nav vienumu</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Katru pirmdienu</text>\r
- <text id="IDS_WCL_TAB_TIME">Laiks</text>\r
- <text id="IDS_COM_SK_NEW">Jauns</text>\r
- <text id="IDS_ALM_SK3_SAVE">Saglabāt</text>\r
- <text id="IDS_COM_BODY_JUN">Jūn.</text>\r
- <text id="IDS_ALM_BODY_TIME">Laiks</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Atlikt</text>\r
- <text id="IDS_COM_BODY_JUL">Jūl.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Restartēt</text>\r
- <text id="IDS_ALM_BODY_TYPE">Veids</text>\r
- <text id="IDS_TMR_SK3_STOP">Beigt</text>\r
- <text id="IDS_TMR_SK3_RESTART">Atsākt</text>\r
- <text id="IDS_WCL_SK_DONE">Gatavs</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Maijs</text>\r
- <text id="IDS_ALM_BODY_NAME">Nosaukums</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrācija</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Vasaras laika iestatījumi</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Miega režīma ilgums</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Izvēlēts viens 1 signāls</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodija</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Katru piektdienu</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Pārkārtot</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Katru trešdienu</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Laiks beidzies</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nevar pievienot pilsētu. Pasaules pulksteņu saraksts ir pilns. Vispirms izdzēsiet dažus objektus</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Kārtot pēc</text>\r
- <text id="IDS_TMR_BODY_SEC">sek.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">trīsreiz</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Hronometrs</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Pārtraukt zvanīšanu</text>\r
- <text id="IDS_TMR_BODY_HOUR">Stunda</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Pasaules pulkstenis</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Sākt</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Katru otrdienu</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Signāls</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Citi</text>\r
- <text id="IDS_COM_BODY_TIMER">Taimeris</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Taimauta signāls</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Atkārtota atlikšana</text>\r
- <text id="IDS_COM_BODY_SEARCH">Meklēt</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Izvēlieties modinātājus</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Katru sestdienu</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Nodzēst</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Katru dienu</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Izvēlētas %d pilsētas</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Atcelt vasaras laiku</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Katru ceturtdienu</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Taimauts</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Izvēlēti %d signāli</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d reizes</text>\r
- <text id="IDS_COM_POP_DELETED">Izdzēsts</text>\r
- <text id="IDS_ALM_BODY_5TIMES">piecreiz</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nav meklēšanas rezultātu</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Aplis</text>\r
- <text id="IDS_COM_SK_ADD">Pievienot</text>\r
- <text id="IDS_ALM_BODY_TONE">Signāls</text>\r
- <text id="IDS_TMR_SK_RESET">Atiestatīt</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Veids</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Pēdējais</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Izvēlēta 1 pilsēta</text>\r
- <text id="IDS_COM_BODY_OCT">Okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Pēc nos.</text>\r
- <text id="IDS_ALM_SK_DELETE">Dzēst</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Katru svētdienu</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Nav vienumu</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodija un vibrozvans</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Laika josla</text>
+ <text id="IDS_ALM_BODY_10TIMES">desmitreiz</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Izvēlēts</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Izvēlēties laika joslu</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Izv. visu</text>
+ <text id="IDS_NOTHING_SELECTED">Nekas nav izvēlēts</text>
+ <text id="IDS_COM_BODY_DEC">Dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Atcelt</text>
+ <text id="IDS_ALM_BODY_REPEAT">Atkārtot</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nav brīdinājumu</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Nav vienumu</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Katru pirmdienu</text>
+ <text id="IDS_WCL_TAB_TIME">Laiks</text>
+ <text id="IDS_COM_SK_NEW">Jauns</text>
+ <text id="IDS_ALM_SK3_SAVE">Saglabāt</text>
+ <text id="IDS_COM_BODY_JUN">Jūn.</text>
+ <text id="IDS_ALM_BODY_TIME">Laiks</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Atlikt</text>
+ <text id="IDS_COM_BODY_JUL">Jūl.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Restartēt</text>
+ <text id="IDS_ALM_BODY_TYPE">Veids</text>
+ <text id="IDS_TMR_SK3_STOP">Beigt</text>
+ <text id="IDS_TMR_SK3_RESTART">Atsākt</text>
+ <text id="IDS_WCL_SK_DONE">Gatavs</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Maijs</text>
+ <text id="IDS_ALM_BODY_NAME">Nosaukums</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrācija</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Vasaras laika iestatījumi</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Miega režīma ilgums</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Izvēlēts viens 1 signāls</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodija</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Katru piektdienu</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Pārkārtot</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Katru trešdienu</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Laiks beidzies</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nevar pievienot pilsētu. Pasaules pulksteņu saraksts ir pilns. Vispirms izdzēsiet dažus objektus</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Kārtot pēc</text>
+ <text id="IDS_TMR_BODY_SEC">sek.</text>
+ <text id="IDS_ALM_BODY_3TIMES">trīsreiz</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Hronometrs</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Pārtraukt zvanīšanu</text>
+ <text id="IDS_TMR_BODY_HOUR">Stunda</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Pasaules pulkstenis</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Sākt</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Katru otrdienu</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Signāls</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Citi</text>
+ <text id="IDS_COM_BODY_TIMER">Taimeris</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Taimauta signāls</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Atkārtota atlikšana</text>
+ <text id="IDS_COM_BODY_SEARCH">Meklēt</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Izvēlieties modinātājus</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Katru sestdienu</text>
+ <text id="IDS_SWT_BUTTON_RESET">Nodzēst</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Katru dienu</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Izvēlētas %d pilsētas</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Atcelt vasaras laiku</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Katru ceturtdienu</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Taimauts</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Izvēlēti %d signāli</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d reizes</text>
+ <text id="IDS_COM_POP_DELETED">Izdzēsts</text>
+ <text id="IDS_ALM_BODY_5TIMES">piecreiz</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nav meklēšanas rezultātu</text>
+ <text id="IDS_SWT_BUTTON_LAP">Aplis</text>
+ <text id="IDS_COM_SK_ADD">Pievienot</text>
+ <text id="IDS_ALM_BODY_TONE">Signāls</text>
+ <text id="IDS_TMR_SK_RESET">Atiestatīt</text>
+ <text id="IDS_ALM_HEADER_TYPE">Veids</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>
+ <text id="IDS_COM_BUTTON_RECENT">Pēdējais</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Izvēlēta 1 pilsēta</text>
+ <text id="IDS_COM_BODY_OCT">Okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Pēc nos.</text>
+ <text id="IDS_ALM_SK_DELETE">Dzēst</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Katru svētdienu</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Nav vienumu</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodija ir vibracija</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Laiko juosta</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 kartus</text>\r
- <text id="IDS_COM_BODY_NOV">Lap.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Pasirinkta</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Pažymėti laiko juostą</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Pasirinkti viską</text>\r
- <text id="IDS_NOTHING_SELECTED">Niekas nepasirinkta</text>\r
- <text id="IDS_COM_BODY_DEC">Gru.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Atšaukti</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Kartoti</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Signalų nėra</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Elementų nėra</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Kiekvieną pirmadienį</text>\r
- <text id="IDS_WCL_TAB_TIME">Laikas</text>\r
- <text id="IDS_COM_SK_NEW">Naujas</text>\r
- <text id="IDS_ALM_SK3_SAVE">Išsaugoti</text>\r
- <text id="IDS_COM_BODY_JUN">Bir.</text>\r
- <text id="IDS_ALM_BODY_TIME">Laikas</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Snausti</text>\r
- <text id="IDS_COM_BODY_JUL">Lie.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Pal. iš naujo</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipas</text>\r
- <text id="IDS_TMR_SK3_STOP">Stabdyti</text>\r
- <text id="IDS_TMR_SK3_RESTART">Paleisti iš naujo</text>\r
- <text id="IDS_WCL_SK_DONE">Atlikta</text>\r
- <text id="IDS_COM_BODY_APR">Bal.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Geg.</text>\r
- <text id="IDS_ALM_BODY_NAME">Pavadinimas</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibruoti</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST nustatymai</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snaudimo trukmė</text>\r
- <text id="IDS_COM_BODY_MAR">Kov.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Pasirinktas 1 signalas</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodija</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Kiekvieną penktadienį</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Pertvarkyti</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Kiekvieną trečiadienį</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Laikas baigėsi</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Neįmanoma pridėti miesto. Pasaulio laikrodžių sąrašas pilnas. Pirmiausia ištrinkite kelis elementus</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Rūšiuoti pagal</text>\r
- <text id="IDS_TMR_BODY_SEC">sek.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 kartus</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Chronometras</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stabdyti skambėjimą</text>\r
- <text id="IDS_TMR_BODY_HOUR">Valanda</text>\r
- <text id="IDS_COM_BODY_JAN">Sau.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Pasaulio laikrodis</text>\r
- <text id="IDS_COM_BODY_SEP">Rug.</text>\r
- <text id="IDS_COM_BODY_AUG">Rgp.</text>\r
- <text id="IDS_TMR_SK_START">Paleisti</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Kiekvieną antradienį</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Signalas</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Daugiau</text>\r
- <text id="IDS_COM_BODY_TIMER">Laikmatis</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Signalo laikas baigėsi</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snaudimo kartojimas</text>\r
- <text id="IDS_COM_BODY_SEARCH">Ieškoti</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Pasirinkti signalus</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Kiekvieną šeštadienį</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Atstatyti</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Kasdien</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Pasirinkta miestų: %d</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Atšaukti DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Kiekvieną ketvirtadienį</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Laikas baigėsi</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Pasirinkta signalų: %d</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d kartų</text>\r
- <text id="IDS_COM_POP_DELETED">Ištrinta</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 kartus</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nėra paieškos rezultatų</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Ratas</text>\r
- <text id="IDS_COM_SK_ADD">Pridėti</text>\r
- <text id="IDS_ALM_BODY_TONE">Tonas</text>\r
- <text id="IDS_TMR_SK_RESET">Nustatyti iš naujo</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipas</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Naujausi</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Pasirinktas 1 miestas</text>\r
- <text id="IDS_COM_BODY_OCT">Spal.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Pag.vardą</text>\r
- <text id="IDS_ALM_SK_DELETE">Trinti</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Kiekvieną sekmadienį</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Elementų nėra</text>\r
- <text id="IDS_COM_BODY_FEB">Vas.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodija ir vibracija</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Laiko juosta</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 kartus</text>
+ <text id="IDS_COM_BODY_NOV">Lap.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Pasirinkta</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Pažymėti laiko juostą</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Pasirinkti viską</text>
+ <text id="IDS_NOTHING_SELECTED">Niekas nepasirinkta</text>
+ <text id="IDS_COM_BODY_DEC">Gru.</text>
+ <text id="IDS_ALM_SK_CANCEL">Atšaukti</text>
+ <text id="IDS_ALM_BODY_REPEAT">Kartoti</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Signalų nėra</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Elementų nėra</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Kiekvieną pirmadienį</text>
+ <text id="IDS_WCL_TAB_TIME">Laikas</text>
+ <text id="IDS_COM_SK_NEW">Naujas</text>
+ <text id="IDS_ALM_SK3_SAVE">Išsaugoti</text>
+ <text id="IDS_COM_BODY_JUN">Bir.</text>
+ <text id="IDS_ALM_BODY_TIME">Laikas</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Snausti</text>
+ <text id="IDS_COM_BODY_JUL">Lie.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Pal. iš naujo</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipas</text>
+ <text id="IDS_TMR_SK3_STOP">Stabdyti</text>
+ <text id="IDS_TMR_SK3_RESTART">Paleisti iš naujo</text>
+ <text id="IDS_WCL_SK_DONE">Atlikta</text>
+ <text id="IDS_COM_BODY_APR">Bal.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Geg.</text>
+ <text id="IDS_ALM_BODY_NAME">Pavadinimas</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibruoti</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST nustatymai</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Snaudimo trukmė</text>
+ <text id="IDS_COM_BODY_MAR">Kov.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Pasirinktas 1 signalas</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodija</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Kiekvieną penktadienį</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Pertvarkyti</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Kiekvieną trečiadienį</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Laikas baigėsi</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Neįmanoma pridėti miesto. Pasaulio laikrodžių sąrašas pilnas. Pirmiausia ištrinkite kelis elementus</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Rūšiuoti pagal</text>
+ <text id="IDS_TMR_BODY_SEC">sek.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 kartus</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Chronometras</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stabdyti skambėjimą</text>
+ <text id="IDS_TMR_BODY_HOUR">Valanda</text>
+ <text id="IDS_COM_BODY_JAN">Sau.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Pasaulio laikrodis</text>
+ <text id="IDS_COM_BODY_SEP">Rug.</text>
+ <text id="IDS_COM_BODY_AUG">Rgp.</text>
+ <text id="IDS_TMR_SK_START">Paleisti</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Kiekvieną antradienį</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Signalas</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Daugiau</text>
+ <text id="IDS_COM_BODY_TIMER">Laikmatis</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Signalo laikas baigėsi</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Snaudimo kartojimas</text>
+ <text id="IDS_COM_BODY_SEARCH">Ieškoti</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Pasirinkti signalus</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Kiekvieną šeštadienį</text>
+ <text id="IDS_SWT_BUTTON_RESET">Atstatyti</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Kasdien</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Pasirinkta miestų: %d</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Atšaukti DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Kiekvieną ketvirtadienį</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Laikas baigėsi</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Pasirinkta signalų: %d</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d kartų</text>
+ <text id="IDS_COM_POP_DELETED">Ištrinta</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 kartus</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nėra paieškos rezultatų</text>
+ <text id="IDS_SWT_BUTTON_LAP">Ratas</text>
+ <text id="IDS_COM_SK_ADD">Pridėti</text>
+ <text id="IDS_ALM_BODY_TONE">Tonas</text>
+ <text id="IDS_TMR_SK_RESET">Nustatyti iš naujo</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipas</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>
+ <text id="IDS_COM_BUTTON_RECENT">Naujausi</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Pasirinktas 1 miestas</text>
+ <text id="IDS_COM_BODY_OCT">Spal.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Pag.vardą</text>
+ <text id="IDS_ALM_SK_DELETE">Trinti</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Kiekvieną sekmadienį</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Elementų nėra</text>
+ <text id="IDS_COM_BODY_FEB">Vas.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Мелодија и вибрации</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Часовна зона</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 пати</text>\r
- <text id="IDS_COM_BODY_NOV">Ное.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Избраните</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Изберете временска зона</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Избери ги сите</text>\r
- <text id="IDS_NOTHING_SELECTED">Не е избрано ништо</text>\r
- <text id="IDS_COM_BODY_DEC">Дек.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Откажи</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Повторување</text>\r
- <text id="IDS_TMR_BODY_MIN1">мин</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Нема аларми</text>\r
- <text id="IDS_COM_BODY_AM">АМ</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Нема записи</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Секој понеделник</text>\r
- <text id="IDS_WCL_TAB_TIME">Време</text>\r
- <text id="IDS_COM_SK_NEW">Нова</text>\r
- <text id="IDS_ALM_SK3_SAVE">Сочувај</text>\r
- <text id="IDS_COM_BODY_JUN">Јун</text>\r
- <text id="IDS_ALM_BODY_TIME">Време</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">По 5 мин.</text>\r
- <text id="IDS_COM_BODY_JUL">Јул</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Ресетирај</text>\r
- <text id="IDS_ALM_BODY_TYPE">Вид</text>\r
- <text id="IDS_TMR_SK3_STOP">Запри</text>\r
- <text id="IDS_TMR_SK3_RESTART">Рестарт</text>\r
- <text id="IDS_WCL_SK_DONE">Готово</text>\r
- <text id="IDS_COM_BODY_APR">Апр</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 мин.</text>\r
- <text id="IDS_COM_BODY_MAY">Мај</text>\r
- <text id="IDS_ALM_BODY_NAME">Име</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вибрации</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Опции за летно време</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Траење на паузата</text>\r
- <text id="IDS_COM_BODY_MAR">Март</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Избран е 1 аларм</text>\r
- <text id="IDS_ALM_BODY_MELODY">Мелодија</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Секој петок</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Пререди</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Секоја среда</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Времето истече</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Не може да се додаде град. Листата на Светски Часовници е полна. Првин избришете некој запис</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Подреди според</text>\r
- <text id="IDS_TMR_BODY_SEC">сек.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 пати</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Стоперица</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Сопри ѕвонење</text>\r
- <text id="IDS_TMR_BODY_HOUR">Час</text>\r
- <text id="IDS_COM_BODY_JAN">Јан</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Светски Часовник</text>\r
- <text id="IDS_COM_BODY_SEP">Сеп</text>\r
- <text id="IDS_COM_BODY_AUG">Авг</text>\r
- <text id="IDS_TMR_SK_START">Старт</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Секој вторник</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Аларм</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Повеќе</text>\r
- <text id="IDS_COM_BODY_TIMER">Тајмер</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Аларм за истечено време</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Повторување на паузата</text>\r
- <text id="IDS_COM_BODY_SEARCH">Побарај</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Изберете аларми</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Секоја сабота</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Ресетирај</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Секој ден</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Избрани се %d градови</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 мин.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Откажи летно време</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 мин</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Секој четврток</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Времето истече</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Избрани се %d аларми</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d пати</text>\r
- <text id="IDS_COM_POP_DELETED">Избришано</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 пати</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Нема резултати од пребарувањето</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Круг</text>\r
- <text id="IDS_COM_SK_ADD">Додај</text>\r
- <text id="IDS_ALM_BODY_TONE">Тон</text>\r
- <text id="IDS_TMR_SK_RESET">Ресетирај</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Вид</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодија</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Последни</text>\r
- <text id="IDS_TMR_BODY_MIN">мин</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Избран е 1 град</text>\r
- <text id="IDS_COM_BODY_OCT">Окт.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">По име</text>\r
- <text id="IDS_ALM_SK_DELETE">Избриши</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Секоја недела</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Нема записи</text>\r
- <text id="IDS_COM_BODY_FEB">Фев</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Мелодија и вибрации</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Часовна зона</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 пати</text>
+ <text id="IDS_COM_BODY_NOV">Ное.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Избраните</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Изберете временска зона</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Избери ги сите</text>
+ <text id="IDS_NOTHING_SELECTED">Не е избрано ништо</text>
+ <text id="IDS_COM_BODY_DEC">Дек.</text>
+ <text id="IDS_ALM_SK_CANCEL">Откажи</text>
+ <text id="IDS_ALM_BODY_REPEAT">Повторување</text>
+ <text id="IDS_TMR_BODY_MIN1">мин</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Нема аларми</text>
+ <text id="IDS_COM_BODY_AM">АМ</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Нема записи</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Секој понеделник</text>
+ <text id="IDS_WCL_TAB_TIME">Време</text>
+ <text id="IDS_COM_SK_NEW">Нова</text>
+ <text id="IDS_ALM_SK3_SAVE">Сочувај</text>
+ <text id="IDS_COM_BODY_JUN">Јун</text>
+ <text id="IDS_ALM_BODY_TIME">Време</text>
+ <text id="IDS_ALM_BODY_SNOOZE">По 5 мин.</text>
+ <text id="IDS_COM_BODY_JUL">Јул</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Ресетирај</text>
+ <text id="IDS_ALM_BODY_TYPE">Вид</text>
+ <text id="IDS_TMR_SK3_STOP">Запри</text>
+ <text id="IDS_TMR_SK3_RESTART">Рестарт</text>
+ <text id="IDS_WCL_SK_DONE">Готово</text>
+ <text id="IDS_COM_BODY_APR">Апр</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 мин.</text>
+ <text id="IDS_COM_BODY_MAY">Мај</text>
+ <text id="IDS_ALM_BODY_NAME">Име</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вибрации</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Опции за летно време</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Траење на паузата</text>
+ <text id="IDS_COM_BODY_MAR">Март</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Избран е 1 аларм</text>
+ <text id="IDS_ALM_BODY_MELODY">Мелодија</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Секој петок</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Пререди</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Секоја среда</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Времето истече</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Не може да се додаде град. Листата на Светски Часовници е полна. Првин избришете некој запис</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Подреди според</text>
+ <text id="IDS_TMR_BODY_SEC">сек.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 пати</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Стоперица</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Сопри ѕвонење</text>
+ <text id="IDS_TMR_BODY_HOUR">Час</text>
+ <text id="IDS_COM_BODY_JAN">Јан</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Светски Часовник</text>
+ <text id="IDS_COM_BODY_SEP">Сеп</text>
+ <text id="IDS_COM_BODY_AUG">Авг</text>
+ <text id="IDS_TMR_SK_START">Старт</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Секој вторник</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Аларм</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Повеќе</text>
+ <text id="IDS_COM_BODY_TIMER">Тајмер</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Аларм за истечено време</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Повторување на паузата</text>
+ <text id="IDS_COM_BODY_SEARCH">Побарај</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Изберете аларми</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Секоја сабота</text>
+ <text id="IDS_SWT_BUTTON_RESET">Ресетирај</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Секој ден</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Избрани се %d градови</text>
+ <text id="IDS_ALM_BODY_10MINS">10 мин.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Откажи летно време</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 мин</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Секој четврток</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Времето истече</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Избрани се %d аларми</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d пати</text>
+ <text id="IDS_COM_POP_DELETED">Избришано</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 пати</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Нема резултати од пребарувањето</text>
+ <text id="IDS_SWT_BUTTON_LAP">Круг</text>
+ <text id="IDS_COM_SK_ADD">Додај</text>
+ <text id="IDS_ALM_BODY_TONE">Тон</text>
+ <text id="IDS_TMR_SK_RESET">Ресетирај</text>
+ <text id="IDS_ALM_HEADER_TYPE">Вид</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодија</text>
+ <text id="IDS_COM_BUTTON_RECENT">Последни</text>
+ <text id="IDS_TMR_BODY_MIN">мин</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Избран е 1 град</text>
+ <text id="IDS_COM_BODY_OCT">Окт.</text>
+ <text id="IDS_WCL_SK_BY_NAME">По име</text>
+ <text id="IDS_ALM_SK_DELETE">Избриши</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Секоја недела</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Нема записи</text>
+ <text id="IDS_COM_BODY_FEB">Фев</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie en trillen</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Tijdzone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 keer</text>\r
- <text id="IDS_COM_BODY_NOV">nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Geselecteerd</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Tijdzone selecteren</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Alles selecteren</text>\r
- <text id="IDS_NOTHING_SELECTED">Niets geselecteerd</text>\r
- <text id="IDS_COM_BODY_DEC">dec</text>\r
- <text id="IDS_ALM_SK_CANCEL">Annuleren</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Herhalen</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Geen alarmen</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Geen items</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Elke maandag</text>\r
- <text id="IDS_WCL_TAB_TIME">Tijd</text>\r
- <text id="IDS_COM_SK_NEW">Nieuw</text>\r
- <text id="IDS_ALM_SK3_SAVE">Opslaan</text>\r
- <text id="IDS_COM_BODY_JUN">jun</text>\r
- <text id="IDS_ALM_BODY_TIME">Tijd</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Sluimeren</text>\r
- <text id="IDS_COM_BODY_JUL">jul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Opnieuw starten</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Opnieuw starten</text>\r
- <text id="IDS_WCL_SK_DONE">Gereed</text>\r
- <text id="IDS_COM_BODY_APR">apr</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Mei</text>\r
- <text id="IDS_ALM_BODY_NAME">Naam</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Trillen</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Zomertijd instellen</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Sluimerperiode</text>\r
- <text id="IDS_COM_BODY_MAR">mrt</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm geselecteerd</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodie</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Elke vrijdag</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Indeling wijzigen</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Elke woensdag</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tijd is om</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Kan plaats niet toevoegen. Lijst met Wereldklokken is vol. Verwijder eerst een aantal items</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sorteren op</text>\r
- <text id="IDS_TMR_BODY_SEC">sec.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 keer</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stoppen met bellen</text>\r
- <text id="IDS_TMR_BODY_HOUR">Uur</text>\r
- <text id="IDS_COM_BODY_JAN">jan</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Wereldklok</text>\r
- <text id="IDS_COM_BODY_SEP">sep</text>\r
- <text id="IDS_COM_BODY_AUG">aug</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Elke dinsdag</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Meer</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Sluimeren herhalen</text>\r
- <text id="IDS_COM_BODY_SEARCH">Zoeken</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Alarmen selecteren</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Elke zaterdag</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Resetten</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Dagelijks</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d plaatsen geselecteerd</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Zomertijd annuleren</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Elke donderdag</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Time-out</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmen geselecteerd</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d keer</text>\r
- <text id="IDS_COM_POP_DELETED">Verwijderd</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 keer</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Geen zoekresultaten</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Ronde</text>\r
- <text id="IDS_COM_SK_ADD">Toevoegen</text>\r
- <text id="IDS_ALM_BODY_TONE">Toon</text>\r
- <text id="IDS_TMR_SK_RESET">Resetten</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recent</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 plaats geselecteerd</text>\r
- <text id="IDS_COM_BODY_OCT">okt</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Op naam</text>\r
- <text id="IDS_ALM_SK_DELETE">Wissen</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Elke zondag</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Geen items</text>\r
- <text id="IDS_COM_BODY_FEB">feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie en trillen</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Tijdzone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 keer</text>
+ <text id="IDS_COM_BODY_NOV">nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Geselecteerd</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Tijdzone selecteren</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Alles selecteren</text>
+ <text id="IDS_NOTHING_SELECTED">Niets geselecteerd</text>
+ <text id="IDS_COM_BODY_DEC">dec</text>
+ <text id="IDS_ALM_SK_CANCEL">Annuleren</text>
+ <text id="IDS_ALM_BODY_REPEAT">Herhalen</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Geen alarmen</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Geen items</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Elke maandag</text>
+ <text id="IDS_WCL_TAB_TIME">Tijd</text>
+ <text id="IDS_COM_SK_NEW">Nieuw</text>
+ <text id="IDS_ALM_SK3_SAVE">Opslaan</text>
+ <text id="IDS_COM_BODY_JUN">jun</text>
+ <text id="IDS_ALM_BODY_TIME">Tijd</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Sluimeren</text>
+ <text id="IDS_COM_BODY_JUL">jul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Opnieuw starten</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Opnieuw starten</text>
+ <text id="IDS_WCL_SK_DONE">Gereed</text>
+ <text id="IDS_COM_BODY_APR">apr</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Mei</text>
+ <text id="IDS_ALM_BODY_NAME">Naam</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Trillen</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Zomertijd instellen</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Sluimerperiode</text>
+ <text id="IDS_COM_BODY_MAR">mrt</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm geselecteerd</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodie</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Elke vrijdag</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Indeling wijzigen</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Elke woensdag</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tijd is om</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Kan plaats niet toevoegen. Lijst met Wereldklokken is vol. Verwijder eerst een aantal items</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sorteren op</text>
+ <text id="IDS_TMR_BODY_SEC">sec.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 keer</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopwatch</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stoppen met bellen</text>
+ <text id="IDS_TMR_BODY_HOUR">Uur</text>
+ <text id="IDS_COM_BODY_JAN">jan</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Wereldklok</text>
+ <text id="IDS_COM_BODY_SEP">sep</text>
+ <text id="IDS_COM_BODY_AUG">aug</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Elke dinsdag</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Meer</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Time-out alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Sluimeren herhalen</text>
+ <text id="IDS_COM_BODY_SEARCH">Zoeken</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Alarmen selecteren</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Elke zaterdag</text>
+ <text id="IDS_SWT_BUTTON_RESET">Resetten</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Dagelijks</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d plaatsen geselecteerd</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Zomertijd annuleren</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Elke donderdag</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Time-out</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmen geselecteerd</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d keer</text>
+ <text id="IDS_COM_POP_DELETED">Verwijderd</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 keer</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Geen zoekresultaten</text>
+ <text id="IDS_SWT_BUTTON_LAP">Ronde</text>
+ <text id="IDS_COM_SK_ADD">Toevoegen</text>
+ <text id="IDS_ALM_BODY_TONE">Toon</text>
+ <text id="IDS_TMR_SK_RESET">Resetten</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recent</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 plaats geselecteerd</text>
+ <text id="IDS_COM_BODY_OCT">okt</text>
+ <text id="IDS_WCL_SK_BY_NAME">Op naam</text>
+ <text id="IDS_ALM_SK_DELETE">Wissen</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Elke zondag</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Geen items</text>
+ <text id="IDS_COM_BODY_FEB">feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi og vibrasjon</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Tidssone</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 ganger</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Valgt</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Velg tidssone</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Merk alt</text>\r
- <text id="IDS_NOTHING_SELECTED">Ingenting valgt</text>\r
- <text id="IDS_COM_BODY_DEC">Des.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Avbryt</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Gjenta</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ingen alarmer</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Ingen elementer</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Hver mandag</text>\r
- <text id="IDS_WCL_TAB_TIME">Tid</text>\r
- <text id="IDS_COM_SK_NEW">Ny</text>\r
- <text id="IDS_ALM_SK3_SAVE">Lagre</text>\r
- <text id="IDS_COM_BODY_JUN">Juni</text>\r
- <text id="IDS_ALM_BODY_TIME">Tid</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Utsett</text>\r
- <text id="IDS_COM_BODY_JUL">Juli</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Start igjen</text>\r
- <text id="IDS_ALM_BODY_TYPE">Type</text>\r
- <text id="IDS_TMR_SK3_STOP">Stopp</text>\r
- <text id="IDS_TMR_SK3_RESTART">Omstart</text>\r
- <text id="IDS_WCL_SK_DONE">Utført</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Mai</text>\r
- <text id="IDS_ALM_BODY_NAME">Navn</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrasjon</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Sommertid-innstillinger</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Slumrevarighet</text>\r
- <text id="IDS_COM_BODY_MAR">Mars</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm valgt</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodi</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Hver fredag</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Omordne</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Hver onsdag</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tiden er ute</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Kan ikke legge til by. Verdensklokkelisten er full. Slett noen elementer først</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sorter etter</text>\r
- <text id="IDS_TMR_BODY_SEC">sek</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 ganger</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stoppeklokke</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stopp ringing</text>\r
- <text id="IDS_TMR_BODY_HOUR">Time</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Verdensklokke</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Hver tirsdag</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mer</text>\r
- <text id="IDS_COM_BODY_TIMER">Nedtelling</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Nedtellingsalarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Gjenta slumring</text>\r
- <text id="IDS_COM_BODY_SEARCH">Søk</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Velg alarmer</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Hver lørdag</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Nullstill</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Daglig</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d byer valgt</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Avbryt sommertid</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Hver torsdag</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tidsgrense</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmer valgt</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d ganger</text>\r
- <text id="IDS_COM_POP_DELETED">Slettet</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 ganger</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ingen søkeresultater</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Runde</text>\r
- <text id="IDS_COM_SK_ADD">Legg til</text>\r
- <text id="IDS_ALM_BODY_TONE">Tone</text>\r
- <text id="IDS_TMR_SK_RESET">Nullstill</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Type</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Nylige</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 by valgt</text>\r
- <text id="IDS_COM_BODY_OCT">Okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Via navn</text>\r
- <text id="IDS_ALM_SK_DELETE">Slett</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Hver søndag</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Ingen elementer</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi og vibrasjon</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Tidssone</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 ganger</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Valgt</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Velg tidssone</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Merk alt</text>
+ <text id="IDS_NOTHING_SELECTED">Ingenting valgt</text>
+ <text id="IDS_COM_BODY_DEC">Des.</text>
+ <text id="IDS_ALM_SK_CANCEL">Avbryt</text>
+ <text id="IDS_ALM_BODY_REPEAT">Gjenta</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ingen alarmer</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Ingen elementer</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Hver mandag</text>
+ <text id="IDS_WCL_TAB_TIME">Tid</text>
+ <text id="IDS_COM_SK_NEW">Ny</text>
+ <text id="IDS_ALM_SK3_SAVE">Lagre</text>
+ <text id="IDS_COM_BODY_JUN">Juni</text>
+ <text id="IDS_ALM_BODY_TIME">Tid</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Utsett</text>
+ <text id="IDS_COM_BODY_JUL">Juli</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Start igjen</text>
+ <text id="IDS_ALM_BODY_TYPE">Type</text>
+ <text id="IDS_TMR_SK3_STOP">Stopp</text>
+ <text id="IDS_TMR_SK3_RESTART">Omstart</text>
+ <text id="IDS_WCL_SK_DONE">Utført</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Mai</text>
+ <text id="IDS_ALM_BODY_NAME">Navn</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrasjon</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Sommertid-innstillinger</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Slumrevarighet</text>
+ <text id="IDS_COM_BODY_MAR">Mars</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm valgt</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodi</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Hver fredag</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Omordne</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Hver onsdag</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tiden er ute</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Kan ikke legge til by. Verdensklokkelisten er full. Slett noen elementer først</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sorter etter</text>
+ <text id="IDS_TMR_BODY_SEC">sek</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 ganger</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stoppeklokke</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stopp ringing</text>
+ <text id="IDS_TMR_BODY_HOUR">Time</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Verdensklokke</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Hver tirsdag</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mer</text>
+ <text id="IDS_COM_BODY_TIMER">Nedtelling</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Nedtellingsalarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Gjenta slumring</text>
+ <text id="IDS_COM_BODY_SEARCH">Søk</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Velg alarmer</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Hver lørdag</text>
+ <text id="IDS_SWT_BUTTON_RESET">Nullstill</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Daglig</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d byer valgt</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Avbryt sommertid</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Hver torsdag</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tidsgrense</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmer valgt</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d ganger</text>
+ <text id="IDS_COM_POP_DELETED">Slettet</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 ganger</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ingen søkeresultater</text>
+ <text id="IDS_SWT_BUTTON_LAP">Runde</text>
+ <text id="IDS_COM_SK_ADD">Legg til</text>
+ <text id="IDS_ALM_BODY_TONE">Tone</text>
+ <text id="IDS_TMR_SK_RESET">Nullstill</text>
+ <text id="IDS_ALM_HEADER_TYPE">Type</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>
+ <text id="IDS_COM_BUTTON_RECENT">Nylige</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 by valgt</text>
+ <text id="IDS_COM_BODY_OCT">Okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Via navn</text>
+ <text id="IDS_ALM_SK_DELETE">Slett</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Hver søndag</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Ingen elementer</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodia i wibracja</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Strefa czasowa</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 razy</text>\r
- <text id="IDS_COM_BODY_NOV">Lis.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Wybrany</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Wybierz strefę czasową</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Zaznacz wszystko</text>\r
- <text id="IDS_NOTHING_SELECTED">Niczego nie zaznaczono</text>\r
- <text id="IDS_COM_BODY_DEC">Gru.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Anuluj</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Powtarzanie</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Brak alarmów</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Brak elementów</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Co poniedziałek</text>\r
- <text id="IDS_WCL_TAB_TIME">Godzina</text>\r
- <text id="IDS_COM_SK_NEW">Nowy</text>\r
- <text id="IDS_ALM_SK3_SAVE">Zapisz</text>\r
- <text id="IDS_COM_BODY_JUN">Cze.</text>\r
- <text id="IDS_ALM_BODY_TIME">Godzina</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Drzemka</text>\r
- <text id="IDS_COM_BODY_JUL">Lip.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Wznów</text>\r
- <text id="IDS_ALM_BODY_TYPE">Typ</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Wznów</text>\r
- <text id="IDS_WCL_SK_DONE">Gotowe</text>\r
- <text id="IDS_COM_BODY_APR">Kwi.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Maj</text>\r
- <text id="IDS_ALM_BODY_NAME">Nazwa</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Wibracja</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Ustawienia czasu letniego</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Czas trwania drzemki</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Wybranych alarmów: 1</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Co piątek</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Zmień kolejność</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Co środę</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Upłynął czas</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nie można dodać miasta. Lista Czas na świecie jest pełna. Usuń najpierw niektóre elementy</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortuj wg</text>\r
- <text id="IDS_TMR_BODY_SEC">s</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 razy</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stoper</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Zakończ dzwonienie</text>\r
- <text id="IDS_TMR_BODY_HOUR">Godzina</text>\r
- <text id="IDS_COM_BODY_JAN">Sty.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Czas na świecie</text>\r
- <text id="IDS_COM_BODY_SEP">Wrz.</text>\r
- <text id="IDS_COM_BODY_AUG">Sie.</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Co wtorek</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Więcej</text>\r
- <text id="IDS_COM_BODY_TIMER">Czasomierz</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Czasomierz</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Powtarzanie drzemki</text>\r
- <text id="IDS_COM_BODY_SEARCH">Szukaj</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Wybierz alarmy</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Co sobotę</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Zeruj</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Codziennie</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Wybranych miast: %d</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Anuluj DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Co czwartek</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Limit czasu</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Wybranych alarmów: %d</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d razy</text>\r
- <text id="IDS_COM_POP_DELETED">Usunięto</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 razy</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Brak wyników wyszukiwania</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Pomiar</text>\r
- <text id="IDS_COM_SK_ADD">Dodaj</text>\r
- <text id="IDS_ALM_BODY_TONE">Dźwięk</text>\r
- <text id="IDS_TMR_SK_RESET">Zeruj</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Typ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Ostatnie</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Wybranych miast: 1</text>\r
- <text id="IDS_COM_BODY_OCT">Paź.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Wg nazwy</text>\r
- <text id="IDS_ALM_SK_DELETE">Usuń</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Co niedzielę</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Brak elementów</text>\r
- <text id="IDS_COM_BODY_FEB">Lut.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodia i wibracja</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Strefa czasowa</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 razy</text>
+ <text id="IDS_COM_BODY_NOV">Lis.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Wybrany</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Wybierz strefę czasową</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Zaznacz wszystko</text>
+ <text id="IDS_NOTHING_SELECTED">Niczego nie zaznaczono</text>
+ <text id="IDS_COM_BODY_DEC">Gru.</text>
+ <text id="IDS_ALM_SK_CANCEL">Anuluj</text>
+ <text id="IDS_ALM_BODY_REPEAT">Powtarzanie</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Brak alarmów</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Brak elementów</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Co poniedziałek</text>
+ <text id="IDS_WCL_TAB_TIME">Godzina</text>
+ <text id="IDS_COM_SK_NEW">Nowy</text>
+ <text id="IDS_ALM_SK3_SAVE">Zapisz</text>
+ <text id="IDS_COM_BODY_JUN">Cze.</text>
+ <text id="IDS_ALM_BODY_TIME">Godzina</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Drzemka</text>
+ <text id="IDS_COM_BODY_JUL">Lip.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Wznów</text>
+ <text id="IDS_ALM_BODY_TYPE">Typ</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Wznów</text>
+ <text id="IDS_WCL_SK_DONE">Gotowe</text>
+ <text id="IDS_COM_BODY_APR">Kwi.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Maj</text>
+ <text id="IDS_ALM_BODY_NAME">Nazwa</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Wibracja</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Ustawienia czasu letniego</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Czas trwania drzemki</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Wybranych alarmów: 1</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Co piątek</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Zmień kolejność</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Co środę</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Upłynął czas</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nie można dodać miasta. Lista Czas na świecie jest pełna. Usuń najpierw niektóre elementy</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortuj wg</text>
+ <text id="IDS_TMR_BODY_SEC">s</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 razy</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stoper</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Zakończ dzwonienie</text>
+ <text id="IDS_TMR_BODY_HOUR">Godzina</text>
+ <text id="IDS_COM_BODY_JAN">Sty.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Czas na świecie</text>
+ <text id="IDS_COM_BODY_SEP">Wrz.</text>
+ <text id="IDS_COM_BODY_AUG">Sie.</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Co wtorek</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Więcej</text>
+ <text id="IDS_COM_BODY_TIMER">Czasomierz</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Czasomierz</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Powtarzanie drzemki</text>
+ <text id="IDS_COM_BODY_SEARCH">Szukaj</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Wybierz alarmy</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Co sobotę</text>
+ <text id="IDS_SWT_BUTTON_RESET">Zeruj</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Codziennie</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Wybranych miast: %d</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Anuluj DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Co czwartek</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Limit czasu</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Wybranych alarmów: %d</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d razy</text>
+ <text id="IDS_COM_POP_DELETED">Usunięto</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 razy</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Brak wyników wyszukiwania</text>
+ <text id="IDS_SWT_BUTTON_LAP">Pomiar</text>
+ <text id="IDS_COM_SK_ADD">Dodaj</text>
+ <text id="IDS_ALM_BODY_TONE">Dźwięk</text>
+ <text id="IDS_TMR_SK_RESET">Zeruj</text>
+ <text id="IDS_ALM_HEADER_TYPE">Typ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>
+ <text id="IDS_COM_BUTTON_RECENT">Ostatnie</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Wybranych miast: 1</text>
+ <text id="IDS_COM_BODY_OCT">Paź.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Wg nazwy</text>
+ <text id="IDS_ALM_SK_DELETE">Usuń</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Co niedzielę</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Brak elementów</text>
+ <text id="IDS_COM_BODY_FEB">Lut.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodia e vibração</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Fuso horário</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 vezes</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Selecionado</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Selecionar fuso horário</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Selecionar tudo</text>\r
- <text id="IDS_NOTHING_SELECTED">Nada selecionado</text>\r
- <text id="IDS_COM_BODY_DEC">Dez.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancelar</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetir</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nenhum alarme</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Sem itens</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Todas as Segundas-feiras</text>\r
- <text id="IDS_WCL_TAB_TIME">Hora</text>\r
- <text id="IDS_COM_SK_NEW">Novo</text>\r
- <text id="IDS_ALM_SK3_SAVE">Salvar</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Hora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Soneca</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipo</text>\r
- <text id="IDS_TMR_SK3_STOP">Parar</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>\r
- <text id="IDS_WCL_SK_DONE">Concluído</text>\r
- <text id="IDS_COM_BODY_APR">Abr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Maio</text>\r
- <text id="IDS_ALM_BODY_NAME">Nome</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibração</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Configurações de Horário de Verão</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duração da soneca</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme selecionado</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Todas as Sextas-feiras</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reordenar</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Todas as quartas-feiras</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tempo esgotado</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Não é possível adicionar a cidade. Lista do Relógio mundial cheia. Exclua primeiro alguns itens</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>\r
- <text id="IDS_TMR_BODY_SEC">seg</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 vezes</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronômetro</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Parar o toque</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hora</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Relógio mundial</text>\r
- <text id="IDS_COM_BODY_SEP">Set.</text>\r
- <text id="IDS_COM_BODY_AUG">Ago.</text>\r
- <text id="IDS_TMR_SK_START">Iniciar</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Todas as Terças-feiras</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarme</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mais</text>\r
- <text id="IDS_COM_BODY_TIMER">Contagem regressiva</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Intervalo do alarme</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetir o alarme</text>\r
- <text id="IDS_COM_BODY_SEARCH">Pesquisar</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Selecionar alarmes</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Todos os Sábados</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Zerar</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Diariamente</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cidades selecionadas</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Todas as Quintas-feiras</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tempo esgotado</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes selecionados</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d vezes</text>\r
- <text id="IDS_COM_POP_DELETED">Apagado</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 vezes</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nenhum resultado encontrado</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Volta</text>\r
- <text id="IDS_COM_SK_ADD">Adicionar</text>\r
- <text id="IDS_ALM_BODY_TONE">Tom</text>\r
- <text id="IDS_TMR_SK_RESET">Zerar</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipo</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recente</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 cidade selecionada</text>\r
- <text id="IDS_COM_BODY_OCT">Out.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Por nome</text>\r
- <text id="IDS_ALM_SK_DELETE">Apagar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Todos os Domingos</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Sem itens</text>\r
- <text id="IDS_COM_BODY_FEB">Fev.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodia e vibração</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Fuso horário</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 vezes</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Selecionado</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Selecionar fuso horário</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Selecionar tudo</text>
+ <text id="IDS_NOTHING_SELECTED">Nada selecionado</text>
+ <text id="IDS_COM_BODY_DEC">Dez.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancelar</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetir</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nenhum alarme</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Sem itens</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Todas as Segundas-feiras</text>
+ <text id="IDS_WCL_TAB_TIME">Hora</text>
+ <text id="IDS_COM_SK_NEW">Novo</text>
+ <text id="IDS_ALM_SK3_SAVE">Salvar</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Hora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Soneca</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipo</text>
+ <text id="IDS_TMR_SK3_STOP">Parar</text>
+ <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>
+ <text id="IDS_WCL_SK_DONE">Concluído</text>
+ <text id="IDS_COM_BODY_APR">Abr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Maio</text>
+ <text id="IDS_ALM_BODY_NAME">Nome</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibração</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Configurações de Horário de Verão</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duração da soneca</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme selecionado</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Todas as Sextas-feiras</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Reordenar</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Todas as quartas-feiras</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tempo esgotado</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Não é possível adicionar a cidade. Lista do Relógio mundial cheia. Exclua primeiro alguns itens</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>
+ <text id="IDS_TMR_BODY_SEC">seg</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 vezes</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronômetro</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Parar o toque</text>
+ <text id="IDS_TMR_BODY_HOUR">Hora</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Relógio mundial</text>
+ <text id="IDS_COM_BODY_SEP">Set.</text>
+ <text id="IDS_COM_BODY_AUG">Ago.</text>
+ <text id="IDS_TMR_SK_START">Iniciar</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Todas as Terças-feiras</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarme</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mais</text>
+ <text id="IDS_COM_BODY_TIMER">Contagem regressiva</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Intervalo do alarme</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetir o alarme</text>
+ <text id="IDS_COM_BODY_SEARCH">Pesquisar</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Selecionar alarmes</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Todos os Sábados</text>
+ <text id="IDS_SWT_BUTTON_RESET">Zerar</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Diariamente</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cidades selecionadas</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Todas as Quintas-feiras</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tempo esgotado</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes selecionados</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d vezes</text>
+ <text id="IDS_COM_POP_DELETED">Apagado</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 vezes</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nenhum resultado encontrado</text>
+ <text id="IDS_SWT_BUTTON_LAP">Volta</text>
+ <text id="IDS_COM_SK_ADD">Adicionar</text>
+ <text id="IDS_ALM_BODY_TONE">Tom</text>
+ <text id="IDS_TMR_SK_RESET">Zerar</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipo</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recente</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 cidade selecionada</text>
+ <text id="IDS_COM_BODY_OCT">Out.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Por nome</text>
+ <text id="IDS_ALM_SK_DELETE">Apagar</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Todos os Domingos</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Sem itens</text>
+ <text id="IDS_COM_BODY_FEB">Fev.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodia e vibração</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Fuso horário</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 vezes</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar fuso horário</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Selec. tudo</text>\r
- <text id="IDS_NOTHING_SELECTED">Nada seleccionado</text>\r
- <text id="IDS_COM_BODY_DEC">Dez.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancelar</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetir</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Sem alarmes</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Sem itens</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Todas as segundas-feiras</text>\r
- <text id="IDS_WCL_TAB_TIME">Hora</text>\r
- <text id="IDS_COM_SK_NEW">Nova</text>\r
- <text id="IDS_ALM_SK3_SAVE">Guardar</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Hora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Adiar</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipo</text>\r
- <text id="IDS_TMR_SK3_STOP">Parar</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>\r
- <text id="IDS_WCL_SK_DONE">Concluído</text>\r
- <text id="IDS_COM_BODY_APR">Abr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Maio</text>\r
- <text id="IDS_ALM_BODY_NAME">Nome</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibração</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Hora de Verão</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duração do adiamento</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme seleccionado</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Todas as sextas-feiras</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reordenar</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Todas as quartas-feiras</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tempo esgotado</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossível adicionar cidade. Lista do Relógio Mundial cheia. Elimine primeiro alguns itens</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>\r
- <text id="IDS_TMR_BODY_SEC">seg.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 vezes</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Parar toque</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hora</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Relógio Mundial</text>\r
- <text id="IDS_COM_BODY_SEP">Set.</text>\r
- <text id="IDS_COM_BODY_AUG">Ago.</text>\r
- <text id="IDS_TMR_SK_START">Iniciar</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Todas as terças-feiras</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarme</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mais</text>\r
- <text id="IDS_COM_BODY_TIMER">Temporizador</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarme por tempo esgotado</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetir o alarme</text>\r
- <text id="IDS_COM_BODY_SEARCH">Procurar</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmes</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Todos os sábados</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Repor</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Todos os dias</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cidades seleccionadas</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Todas as quintas-feiras</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tempo expirado</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes seleccionados</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d vezes</text>\r
- <text id="IDS_COM_POP_DELETED">Eliminado</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 vezes</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nenhuns resultados de procura</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Volta</text>\r
- <text id="IDS_COM_SK_ADD">Adicionar</text>\r
- <text id="IDS_ALM_BODY_TONE">Tom</text>\r
- <text id="IDS_TMR_SK_RESET">Repor</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipo</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recente</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 cidade seleccionada</text>\r
- <text id="IDS_COM_BODY_OCT">Out.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Por nome</text>\r
- <text id="IDS_ALM_SK_DELETE">Eliminar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Todos os domingos</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Sem itens</text>\r
- <text id="IDS_COM_BODY_FEB">Fev.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodia e vibração</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Fuso horário</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 vezes</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar fuso horário</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Selec. tudo</text>
+ <text id="IDS_NOTHING_SELECTED">Nada seleccionado</text>
+ <text id="IDS_COM_BODY_DEC">Dez.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancelar</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetir</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Sem alarmes</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Sem itens</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Todas as segundas-feiras</text>
+ <text id="IDS_WCL_TAB_TIME">Hora</text>
+ <text id="IDS_COM_SK_NEW">Nova</text>
+ <text id="IDS_ALM_SK3_SAVE">Guardar</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Hora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Adiar</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipo</text>
+ <text id="IDS_TMR_SK3_STOP">Parar</text>
+ <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>
+ <text id="IDS_WCL_SK_DONE">Concluído</text>
+ <text id="IDS_COM_BODY_APR">Abr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Maio</text>
+ <text id="IDS_ALM_BODY_NAME">Nome</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibração</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Hora de Verão</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duração do adiamento</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarme seleccionado</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Todas as sextas-feiras</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Reordenar</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Todas as quartas-feiras</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tempo esgotado</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Impossível adicionar cidade. Lista do Relógio Mundial cheia. Elimine primeiro alguns itens</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>
+ <text id="IDS_TMR_BODY_SEC">seg.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 vezes</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Parar toque</text>
+ <text id="IDS_TMR_BODY_HOUR">Hora</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Relógio Mundial</text>
+ <text id="IDS_COM_BODY_SEP">Set.</text>
+ <text id="IDS_COM_BODY_AUG">Ago.</text>
+ <text id="IDS_TMR_SK_START">Iniciar</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Todas as terças-feiras</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarme</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mais</text>
+ <text id="IDS_COM_BODY_TIMER">Temporizador</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarme por tempo esgotado</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetir o alarme</text>
+ <text id="IDS_COM_BODY_SEARCH">Procurar</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmes</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Todos os sábados</text>
+ <text id="IDS_SWT_BUTTON_RESET">Repor</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Todos os dias</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d cidades seleccionadas</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Todas as quintas-feiras</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tempo expirado</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmes seleccionados</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d vezes</text>
+ <text id="IDS_COM_POP_DELETED">Eliminado</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 vezes</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nenhuns resultados de procura</text>
+ <text id="IDS_SWT_BUTTON_LAP">Volta</text>
+ <text id="IDS_COM_SK_ADD">Adicionar</text>
+ <text id="IDS_ALM_BODY_TONE">Tom</text>
+ <text id="IDS_TMR_SK_RESET">Repor</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipo</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodia</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recente</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 cidade seleccionada</text>
+ <text id="IDS_COM_BODY_OCT">Out.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Por nome</text>
+ <text id="IDS_ALM_SK_DELETE">Eliminar</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Todos os domingos</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Sem itens</text>
+ <text id="IDS_COM_BODY_FEB">Fev.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie şi vibraţie</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Fus orar</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 ori</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Selectat</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Selectare fus orar</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Selectare toate</text>\r
- <text id="IDS_NOTHING_SELECTED">Nimic selectat</text>\r
- <text id="IDS_COM_BODY_DEC">Dec</text>\r
- <text id="IDS_ALM_SK_CANCEL">Anulare</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetare</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nicio alarmă</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Niciun element</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">În fiecare luni</text>\r
- <text id="IDS_WCL_TAB_TIME">Oră</text>\r
- <text id="IDS_COM_SK_NEW">Nou</text>\r
- <text id="IDS_ALM_SK3_SAVE">Salvare</text>\r
- <text id="IDS_COM_BODY_JUN">Iun</text>\r
- <text id="IDS_ALM_BODY_TIME">Oră</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Amânare</text>\r
- <text id="IDS_COM_BODY_JUL">Iul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Repornire</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tip</text>\r
- <text id="IDS_TMR_SK3_STOP">Oprire</text>\r
- <text id="IDS_TMR_SK3_RESTART">Repornire</text>\r
- <text id="IDS_WCL_SK_DONE">Gata</text>\r
- <text id="IDS_COM_BODY_APR">Apr</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Mai</text>\r
- <text id="IDS_ALM_BODY_NAME">Nume</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibraţie</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Setări Ora de Vară</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Durată amânare</text>\r
- <text id="IDS_COM_BODY_MAR">Mar</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarmă selectată</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodie</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">În fiecare vineri</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reordonare</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">În fiecare miercuri</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Timp expirat</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Imposibil de adăugat oraşul. Lista Ora pe glob este plină. Mai întâi, ştergeţi câteva elemente</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortare după</text>\r
- <text id="IDS_TMR_BODY_SEC">sec</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 ori</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronometru</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Oprire sonerie</text>\r
- <text id="IDS_TMR_BODY_HOUR">Oră</text>\r
- <text id="IDS_COM_BODY_JAN">Ian</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Ora pe glob</text>\r
- <text id="IDS_COM_BODY_SEP">Sep</text>\r
- <text id="IDS_COM_BODY_AUG">Aug</text>\r
- <text id="IDS_TMR_SK_START">Pornire</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">În fiecare marţi</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarmă</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mai multe</text>\r
- <text id="IDS_COM_BODY_TIMER">Temporizator</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarmă expirare perioadă</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Amânare cu repetare</text>\r
- <text id="IDS_COM_BODY_SEARCH">Căutare</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Selectare alarme</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">În fiecare sâmbătă</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Resetare</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Zilnic</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d oraşe selectate</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Anulaţi ora de vară</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">În fiecare joi</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Timp expirat (sau) Oră depăşită</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarme selectate</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d ori</text>\r
- <text id="IDS_COM_POP_DELETED">Şters</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 ori</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nu există rezultate ale căutării</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Tur</text>\r
- <text id="IDS_COM_SK_ADD">Adaugă</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Reiniţ.</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tip</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Recent</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 oraş selectat</text>\r
- <text id="IDS_COM_BODY_OCT">Oct</text>\r
- <text id="IDS_WCL_SK_BY_NAME">După nume</text>\r
- <text id="IDS_ALM_SK_DELETE">Ştergere</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">În fiecare duminică</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Niciun element</text>\r
- <text id="IDS_COM_BODY_FEB">Feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodie şi vibraţie</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Fus orar</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 ori</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Selectat</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Selectare fus orar</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Selectare toate</text>
+ <text id="IDS_NOTHING_SELECTED">Nimic selectat</text>
+ <text id="IDS_COM_BODY_DEC">Dec</text>
+ <text id="IDS_ALM_SK_CANCEL">Anulare</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetare</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nicio alarmă</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Niciun element</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">În fiecare luni</text>
+ <text id="IDS_WCL_TAB_TIME">Oră</text>
+ <text id="IDS_COM_SK_NEW">Nou</text>
+ <text id="IDS_ALM_SK3_SAVE">Salvare</text>
+ <text id="IDS_COM_BODY_JUN">Iun</text>
+ <text id="IDS_ALM_BODY_TIME">Oră</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Amânare</text>
+ <text id="IDS_COM_BODY_JUL">Iul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Repornire</text>
+ <text id="IDS_ALM_BODY_TYPE">Tip</text>
+ <text id="IDS_TMR_SK3_STOP">Oprire</text>
+ <text id="IDS_TMR_SK3_RESTART">Repornire</text>
+ <text id="IDS_WCL_SK_DONE">Gata</text>
+ <text id="IDS_COM_BODY_APR">Apr</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Mai</text>
+ <text id="IDS_ALM_BODY_NAME">Nume</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibraţie</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Setări Ora de Vară</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Durată amânare</text>
+ <text id="IDS_COM_BODY_MAR">Mar</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarmă selectată</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodie</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">În fiecare vineri</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Reordonare</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">În fiecare miercuri</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Timp expirat</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Imposibil de adăugat oraşul. Lista Ora pe glob este plină. Mai întâi, ştergeţi câteva elemente</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortare după</text>
+ <text id="IDS_TMR_BODY_SEC">sec</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 ori</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronometru</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Oprire sonerie</text>
+ <text id="IDS_TMR_BODY_HOUR">Oră</text>
+ <text id="IDS_COM_BODY_JAN">Ian</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Ora pe glob</text>
+ <text id="IDS_COM_BODY_SEP">Sep</text>
+ <text id="IDS_COM_BODY_AUG">Aug</text>
+ <text id="IDS_TMR_SK_START">Pornire</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">În fiecare marţi</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarmă</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mai multe</text>
+ <text id="IDS_COM_BODY_TIMER">Temporizator</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarmă expirare perioadă</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Amânare cu repetare</text>
+ <text id="IDS_COM_BODY_SEARCH">Căutare</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Selectare alarme</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">În fiecare sâmbătă</text>
+ <text id="IDS_SWT_BUTTON_RESET">Resetare</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Zilnic</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d oraşe selectate</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Anulaţi ora de vară</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">În fiecare joi</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Timp expirat (sau) Oră depăşită</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarme selectate</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d ori</text>
+ <text id="IDS_COM_POP_DELETED">Şters</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 ori</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nu există rezultate ale căutării</text>
+ <text id="IDS_SWT_BUTTON_LAP">Tur</text>
+ <text id="IDS_COM_SK_ADD">Adaugă</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Reiniţ.</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tip</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodie</text>
+ <text id="IDS_COM_BUTTON_RECENT">Recent</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 oraş selectat</text>
+ <text id="IDS_COM_BODY_OCT">Oct</text>
+ <text id="IDS_WCL_SK_BY_NAME">După nume</text>
+ <text id="IDS_ALM_SK_DELETE">Ştergere</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">În fiecare duminică</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Niciun element</text>
+ <text id="IDS_COM_BODY_FEB">Feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Мелодия и вибрация</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Часовой пояс</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 раз</text>\r
- <text id="IDS_COM_BODY_NOV">Ноя</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Выбрано</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Выберите часовой пояс</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Выбрать все</text>\r
- <text id="IDS_NOTHING_SELECTED">Ничего не выбрано</text>\r
- <text id="IDS_COM_BODY_DEC">Дек</text>\r
- <text id="IDS_ALM_SK_CANCEL">Отмена</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Повтор</text>\r
- <text id="IDS_TMR_BODY_MIN1">мин.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Нет будильников</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Нет элементов</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Каждый понедельник</text>\r
- <text id="IDS_WCL_TAB_TIME">Время</text>\r
- <text id="IDS_COM_SK_NEW">Создать</text>\r
- <text id="IDS_ALM_SK3_SAVE">Сохранить</text>\r
- <text id="IDS_COM_BODY_JUN">Июн</text>\r
- <text id="IDS_ALM_BODY_TIME">Время</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Пауза</text>\r
- <text id="IDS_COM_BODY_JUL">Июл</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Рестарт</text>\r
- <text id="IDS_ALM_BODY_TYPE">Тип</text>\r
- <text id="IDS_TMR_SK3_STOP">Стоп</text>\r
- <text id="IDS_TMR_SK3_RESTART">Перезагрузка</text>\r
- <text id="IDS_WCL_SK_DONE">Готово</text>\r
- <text id="IDS_COM_BODY_APR">Апр</text>\r
- <text id="IDS_COM_POP_PM">РМ</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 минут</text>\r
- <text id="IDS_COM_BODY_MAY">Май</text>\r
- <text id="IDS_ALM_BODY_NAME">Имя</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вибрация</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Параметры летнего времени</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Продолжительность паузы</text>\r
- <text id="IDS_COM_BODY_MAR">Мар</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Выбран 1 будильник</text>\r
- <text id="IDS_ALM_BODY_MELODY">Мелодия</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Каждую пятницу</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Изменить порядок</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Каждую среду</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Время истекло</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Не удается добавить город. Список мирового времени заполнен. Сначала удалите несколько элементов</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Сортировка</text>\r
- <text id="IDS_TMR_BODY_SEC">сек.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 раза</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Секундомер</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Отключить звук</text>\r
- <text id="IDS_TMR_BODY_HOUR">Час</text>\r
- <text id="IDS_COM_BODY_JAN">Янв</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Мировое время</text>\r
- <text id="IDS_COM_BODY_SEP">Сен</text>\r
- <text id="IDS_COM_BODY_AUG">Авг</text>\r
- <text id="IDS_TMR_SK_START">Запуск</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Каждый вторник</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Будильник</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Опции</text>\r
- <text id="IDS_COM_BODY_TIMER">Таймер</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Время ожидания сигнала</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Количество повторов</text>\r
- <text id="IDS_COM_BODY_SEARCH">Поиск</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Выберите сигналы</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Каждую субботу</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Сброс</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Ежедневно</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Выбрано городов: %d</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 минут</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Отменить летнее время</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 минуты</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Каждый четверг</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Время истекло</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Выбрано сигналов: %d</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d раз.</text>\r
- <text id="IDS_COM_POP_DELETED">Удалено</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 раз</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Нет результатов поиска</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Круг</text>\r
- <text id="IDS_COM_SK_ADD">Добавить</text>\r
- <text id="IDS_ALM_BODY_TONE">Сигнал</text>\r
- <text id="IDS_TMR_SK_RESET">Сброс</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Тип</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодия</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Последние</text>\r
- <text id="IDS_TMR_BODY_MIN">мин.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Выбран 1 город</text>\r
- <text id="IDS_COM_BODY_OCT">Окт</text>\r
- <text id="IDS_WCL_SK_BY_NAME">По имени</text>\r
- <text id="IDS_ALM_SK_DELETE">Удалить</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Каждое воскресенье</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Нет элементов</text>\r
- <text id="IDS_COM_BODY_FEB">Фев</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Мелодия и вибрация</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Часовой пояс</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 раз</text>
+ <text id="IDS_COM_BODY_NOV">Ноя</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Выбрано</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Выберите часовой пояс</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Выбрать все</text>
+ <text id="IDS_NOTHING_SELECTED">Ничего не выбрано</text>
+ <text id="IDS_COM_BODY_DEC">Дек</text>
+ <text id="IDS_ALM_SK_CANCEL">Отмена</text>
+ <text id="IDS_ALM_BODY_REPEAT">Повтор</text>
+ <text id="IDS_TMR_BODY_MIN1">мин.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Нет будильников</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Нет элементов</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Каждый понедельник</text>
+ <text id="IDS_WCL_TAB_TIME">Время</text>
+ <text id="IDS_COM_SK_NEW">Создать</text>
+ <text id="IDS_ALM_SK3_SAVE">Сохранить</text>
+ <text id="IDS_COM_BODY_JUN">Июн</text>
+ <text id="IDS_ALM_BODY_TIME">Время</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Пауза</text>
+ <text id="IDS_COM_BODY_JUL">Июл</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Рестарт</text>
+ <text id="IDS_ALM_BODY_TYPE">Тип</text>
+ <text id="IDS_TMR_SK3_STOP">Стоп</text>
+ <text id="IDS_TMR_SK3_RESTART">Перезагрузка</text>
+ <text id="IDS_WCL_SK_DONE">Готово</text>
+ <text id="IDS_COM_BODY_APR">Апр</text>
+ <text id="IDS_COM_POP_PM">РМ</text>
+ <text id="IDS_ALM_BODY_5MINS">5 минут</text>
+ <text id="IDS_COM_BODY_MAY">Май</text>
+ <text id="IDS_ALM_BODY_NAME">Имя</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вибрация</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Параметры летнего времени</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Продолжительность паузы</text>
+ <text id="IDS_COM_BODY_MAR">Мар</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Выбран 1 будильник</text>
+ <text id="IDS_ALM_BODY_MELODY">Мелодия</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Каждую пятницу</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Изменить порядок</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Каждую среду</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Время истекло</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Не удается добавить город. Список мирового времени заполнен. Сначала удалите несколько элементов</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Сортировка</text>
+ <text id="IDS_TMR_BODY_SEC">сек.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 раза</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Секундомер</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Отключить звук</text>
+ <text id="IDS_TMR_BODY_HOUR">Час</text>
+ <text id="IDS_COM_BODY_JAN">Янв</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Мировое время</text>
+ <text id="IDS_COM_BODY_SEP">Сен</text>
+ <text id="IDS_COM_BODY_AUG">Авг</text>
+ <text id="IDS_TMR_SK_START">Запуск</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Каждый вторник</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Будильник</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Опции</text>
+ <text id="IDS_COM_BODY_TIMER">Таймер</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Время ожидания сигнала</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Количество повторов</text>
+ <text id="IDS_COM_BODY_SEARCH">Поиск</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Выберите сигналы</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Каждую субботу</text>
+ <text id="IDS_SWT_BUTTON_RESET">Сброс</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Ежедневно</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Выбрано городов: %d</text>
+ <text id="IDS_ALM_BODY_10MINS">10 минут</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Отменить летнее время</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 минуты</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Каждый четверг</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Время истекло</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Выбрано сигналов: %d</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d раз.</text>
+ <text id="IDS_COM_POP_DELETED">Удалено</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 раз</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Нет результатов поиска</text>
+ <text id="IDS_SWT_BUTTON_LAP">Круг</text>
+ <text id="IDS_COM_SK_ADD">Добавить</text>
+ <text id="IDS_ALM_BODY_TONE">Сигнал</text>
+ <text id="IDS_TMR_SK_RESET">Сброс</text>
+ <text id="IDS_ALM_HEADER_TYPE">Тип</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодия</text>
+ <text id="IDS_COM_BUTTON_RECENT">Последние</text>
+ <text id="IDS_TMR_BODY_MIN">мин.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Выбран 1 город</text>
+ <text id="IDS_COM_BODY_OCT">Окт</text>
+ <text id="IDS_WCL_SK_BY_NAME">По имени</text>
+ <text id="IDS_ALM_SK_DELETE">Удалить</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Каждое воскресенье</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Нет элементов</text>
+ <text id="IDS_COM_BODY_FEB">Фев</text>
+</string_table>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201304041646" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_ALARM_EDITOR_FORM">\r
- <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"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" 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="true"/>\r
- <itemSet>\r
- <footerItem accessibilityHint="" actionId="201" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_SK3_SAVE"/>\r
- </itemSet>\r
- </Footer>\r
- <Header>\r
- <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="" titleIconPath="" titleText="" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <ScrollPanel id="IDC_SCROLLPANEL1" parent="IDL_ALARM_EDITOR_FORM">\r
- <property autoResizingEnabled="true" backgroundColor="" backgroundColorOpacity="0" clientAreaHeight="0" clientAreaWidth="0" pageScrollEnabled="false" scrollBarVisible="false" scrollDirection="SCROLL_PANEL_SCROLL_DIRECTION_VERTICAL" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION"/>\r
- <panelLayout height="1347.0" mode="Portrait" width="720.0"/>\r
- <panelLayout height="720.0" mode="Landscape" width="1200.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="931.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>\r
- <layout bottomRelation="IDL_ALARM_EDITOR_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_EDITOR_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_EDITOR_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_EDITOR_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="0.0"/>\r
- </ScrollPanel>\r
- <Label id="IDC_LABEL_TITLE" parent="IDC_SCROLLPANEL1">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="35.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="46.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_SCROLLPANEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="46.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_SCROLLPANEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="0.0"/>\r
- </Label>\r
- <Button id="IDC_BUTTON_MORE" parent="IDC_SCROLLPANEL1">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#FFFFFF" text="::IDS_COM_BODY_MORE" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="33.0" marginRight="0.0" marginTop="56.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="654.0" x="33.0" y="480.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="56.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="800.0" x="200.0" y="480.0"/>\r
- </Button>\r
- <Panel id="IDC_PANEL_LIST" parent="IDC_SCROLLPANEL1">\r
- <property backgroundColor="#F1EEE9" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="832.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="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="448.0"/>\r
- <layout bottomRelation="IDC_SCROLLPANEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="240.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON_MORE" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0" y="480.0"/>\r
- </Panel>\r
- <Slider id="IDC_SLIDER_VOLUME" parent="IDC_PANEL_LIST">\r
- <property accessibilityHint="" backgroundColor="" backgroundStyle="BACKGROUND_STYLE_DEFAULT" barBGColor="" barColor="" color="#F1EEE9" colorOfTitleText="" colorOpacity="100" disabledThumbBitmap="" disabledThumbTextColor="" groupStyle="GROUP_STYLE_NONE" highlightedThumbBitmap="" highlightedThumbTextColor="" leftIconBitmapPath="00_slider_btn_volume01.png" max="15" min="0" normalThumbBitmap="" normalThumbTextColor="" pressedThumbBitmap="" pressedThumbTextColor="" rightIconBitmapPath="00_slider_btn_volume02.png" showTitleText="false" titleText="" value="15"/>\r
- <layout height="112.0" mode="Portrait" width="720.0" x="0.0" y="280.0"/>\r
- <layout height="112.0" mode="Landscape" width="1200.0" x="0.0" y="240.0"/>\r
- </Slider>\r
- <ListView id="IDC_LISTVIEW1" parent="IDC_PANEL_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout height="252.0" mode="Portrait" width="720.0" x="0.0" y="412.0"/>\r
- <layout height="215.0" mode="Landscape" width="1200.0" x="0.0" y="372.0"/>\r
- </ListView>\r
- <Label id="IDC_LABEL1" parent="IDC_PANEL_LIST">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="#F1EEE9" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="::IDS_ALM_BODY_NAME" textColor="#808080" textSize="33.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="35.0" mode="Portrait" width="720.0" x="0.0" y="679.0"/>\r
- <layout height="35.0" mode="Landscape" width="1200.0" x="0.0" y="597.0"/>\r
- </Label>\r
- <EditField id="IDC_EDITFIELD1" parent="IDC_PANEL_LIST">\r
- <property accessibilityHint="" disabledBGBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" enableClear="true" groupStyle="GROUP_STYLE_NONE" guideText="" guideTextColor="" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalMargin="16.0" inputStyle="INPUT_STYLE_OVERLAY" keypadAction="KEYPAD_ACTION_ENTER" keypadEnabled="true" limitLength="100" linkTextColor="" lowerCaseMode="false" normalBGBitmapPath="EditBackground.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedColor="" pressedColorOpacity="100" text="" textHorizontalAlignment="ALIGNMENT_LEFT" textSize="44.0" titleStyle="EDIT_FIELD_TITLE_STYLE_NONE" titleText="Name" titleTextColor="" verticalMargin="0.0" viewMode="false"/>\r
- <layout height="118.0" mode="Portrait" style="EDIT_FIELD_STYLE_NORMAL" width="720.0" x="0.0" y="714.0"/>\r
- <layout height="118.0" mode="Landscape" style="EDIT_FIELD_STYLE_NORMAL" width="1200.0" x="0.0" y="602.0"/>\r
- </EditField>\r
- <GroupedListView id="IDC_GROUPEDLISTVIEW1" parent="IDC_PANEL_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sectionColor="" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout height="280.0" mode="Portrait" style="CUSTOM_LIST_STYLE_NORMAL" width="720.0" x="0.0" y="0.0"/>\r
- <layout height="240.0" mode="Landscape" style="CUSTOM_LIST_STYLE_NORMAL" width="1200.0" x="0.0" y="0.0"/>\r
- </GroupedListView>\r
- <Panel id="IDC_PANEL_EDITTIME" parent="IDC_SCROLLPANEL1">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="236.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LABEL_TITLE" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="46.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="236.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_LABEL_TITLE" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0" y="46.0"/>\r
- </Panel>\r
- <Button id="IDC_BUTTON_HOUR" parent="IDC_PANEL_EDITTIME">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="P03_alarm_edit_time_bg_ef.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#000000" text="" textSize="130.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="236.0" mode="Portrait" width="276.0" x="36.0" y="0.0"/>\r
- <layout height="236.0" mode="Landscape" width="276.0" x="276.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_MIN" parent="IDC_PANEL_EDITTIME">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="P03_alarm_edit_time_bg_ef.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#000000" text="" textSize="130.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="236.0" mode="Portrait" width="276.0" x="332.0" y="0.0"/>\r
- <layout height="236.0" mode="Landscape" width="276.0" x="572.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_TOGGLE" parent="IDC_PANEL_EDITTIME">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="P03_alarm_edit_switch_am.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="152.0" mode="Portrait" width="72.0" x="623.0" y="38.0"/>\r
- <layout height="152.0" mode="Landscape" width="72.0" x="863.0" y="38.0"/>\r
- </Button>\r
- <Label id="IDC_LABEL_AM" parent="IDC_PANEL_EDITTIME">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_COM_BODY_AM" textColor="#505050" textSize="32.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="38.0" mode="Portrait" width="90.0" x="613.0" y="0.0"/>\r
- <layout height="38.0" mode="Landscape" width="90.0" x="863.0" y="0.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL_PM" parent="IDC_PANEL_EDITTIME">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_COM_POP_PM" textColor="#505050" textSize="32.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="38.0" mode="Portrait" width="90.0" x="613.0" y="190.0"/>\r
- <layout height="38.0" mode="Landscape" width="90.0" x="863.0" y="190.0"/>\r
- </Label>\r
- <EditField id="IDC_EDITFIELD2" parent="IDC_PANEL_EDITTIME">\r
- <property accessibilityHint="" disabledBGBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" enableClear="false" groupStyle="GROUP_STYLE_NONE" guideText="" guideTextColor="" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalMargin="16.0" inputStyle="INPUT_STYLE_OVERLAY" keypadAction="KEYPAD_ACTION_ENTER" keypadEnabled="true" limitLength="100" linkTextColor="" lowerCaseMode="false" normalBGBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedColor="" pressedColorOpacity="100" text="" textHorizontalAlignment="ALIGNMENT_LEFT" textSize="45.0" titleStyle="EDIT_FIELD_TITLE_STYLE_NONE" titleText="" titleTextColor="" verticalMargin="12.0" viewMode="false"/>\r
- <layout height="151.0" mode="Portrait" style="EDIT_FIELD_STYLE_NUMBER" width="194.0" x="76.0" y="38.0"/>\r
- <layout height="180.0" mode="Landscape" style="EDIT_FIELD_STYLE_NUMBER" width="185.0" x="323.0" y="22.0"/>\r
- </EditField>\r
- <Panel id="IDC_PANEL_DAYS" parent="IDC_SCROLLPANEL1">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="90.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="52.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_PANEL_EDITTIME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="334.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="90.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="52.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_PANEL_EDITTIME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0" y="334.0"/>\r
- </Panel>\r
- <Button id="IDC_BUTTON_SUN" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="33.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="273.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_MON" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="127.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="367.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_TUE" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="221.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="461.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_WED" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="315.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="555.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_THU" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="409.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="649.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_FRI" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="503.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="743.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_SAT" parent="IDC_PANEL_DAYS">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="90.0" mode="Portrait" width="90.0" x="597.0" y="0.0"/>\r
- <layout height="90.0" mode="Landscape" width="90.0" x="837.0" y="0.0"/>\r
- </Button>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304191935" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_ALARM_EDITOR_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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" 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="true"/>
+ <itemSet>
+ <footerItem accessibilityHint="" actionId="201" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_SK3_SAVE"/>
+ </itemSet>
+ </Footer>
+ <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="" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <ScrollPanel id="IDC_SCROLLPANEL1" parent="IDL_ALARM_EDITOR_FORM">
+ <property autoResizingEnabled="true" backgroundColor="" backgroundColorOpacity="0" clientAreaHeight="0" clientAreaWidth="0" pageScrollEnabled="false" scrollBarVisible="false" scrollDirection="SCROLL_PANEL_SCROLL_DIRECTION_VERTICAL" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION"/>
+ <panelLayout height="1347.0" mode="Portrait" width="720.0"/>
+ <panelLayout height="720.0" mode="Landscape" width="1280.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="1011.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_ALARM_EDITOR_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="523.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_EDITOR_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_EDITOR_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_EDITOR_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </ScrollPanel>
+ <Label id="IDC_LABEL_TITLE" parent="IDC_SCROLLPANEL1">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="35.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="46.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_SCROLLPANEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="46.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_SCROLLPANEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="0.0"/>
+ </Label>
+ <Button id="IDC_BUTTON_MORE" parent="IDC_SCROLLPANEL1">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#FFFFFF" text="::IDS_COM_BODY_MORE" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="33.0" marginRight="0.0" marginTop="56.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="654.0" x="33.0" y="480.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="56.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="800.0" x="240.0" y="480.0"/>
+ </Button>
+ <Panel id="IDC_PANEL_LIST" parent="IDC_SCROLLPANEL1">
+ <property backgroundColor="#F1EEE9" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="832.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="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="448.0"/>
+ <layout bottomRelation="IDC_SCROLLPANEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="240.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON_MORE" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0" y="480.0"/>
+ </Panel>
+ <Slider id="IDC_SLIDER_VOLUME" parent="IDC_PANEL_LIST">
+ <property accessibilityHint="" backgroundColor="" backgroundStyle="BACKGROUND_STYLE_DEFAULT" barBackgroundColor="" barColor="" color="#F1EEE9" colorOfTitleText="" colorOpacity="100" disabledThumbBitmap="" disabledThumbTextColor="" groupStyle="GROUP_STYLE_NONE" highlightedThumbBitmap="" highlightedThumbTextColor="" leftIconBitmapPath="00_slider_btn_volume01.png" max="15" min="0" normalThumbBitmap="" normalThumbTextColor="" pressedThumbBitmap="" pressedThumbTextColor="" rightIconBitmapPath="00_slider_btn_volume02.png" showTitleText="false" titleText="" value="15"/>
+ <layout height="112.0" mode="Portrait" width="720.0" x="0.0" y="280.0"/>
+ <layout height="112.0" mode="Landscape" width="1280.0" x="0.0" y="240.0"/>
+ </Slider>
+ <ListView id="IDC_LISTVIEW1" parent="IDC_PANEL_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" itemDivider="true" itemDividerColor="" listScrollStyle="SCROLL_STYLE_FADE_OUT" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>
+ <layout height="252.0" mode="Portrait" width="720.0" x="0.0" y="412.0"/>
+ <layout height="215.0" mode="Landscape" width="1280.0" x="0.0" y="372.0"/>
+ </ListView>
+ <Label id="IDC_LABEL1" parent="IDC_PANEL_LIST">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="#F1EEE9" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="::IDS_ALM_BODY_NAME" textColor="#808080" textSize="33.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="35.0" mode="Portrait" width="720.0" x="0.0" y="679.0"/>
+ <layout height="35.0" mode="Landscape" width="1280.0" x="0.0" y="597.0"/>
+ </Label>
+ <EditField id="IDC_EDITFIELD1" parent="IDC_PANEL_LIST">
+ <property accessibilityHint="" disabledBGBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" enableClear="true" groupStyle="GROUP_STYLE_NONE" guideText="" guideTextColor="" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalMargin="16.0" inputStyle="INPUT_STYLE_OVERLAY" keypadAction="KEYPAD_ACTION_ENTER" keypadEnabled="true" limitLength="100" linkTextColor="" lowerCaseMode="false" normalBGBitmapPath="EditBackground.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedColor="" pressedColorOpacity="100" text="" textHorizontalAlignment="ALIGNMENT_LEFT" textSize="44.0" titleStyle="EDIT_FIELD_TITLE_STYLE_NONE" titleText="Name" titleTextColor="" verticalMargin="0.0" viewMode="false"/>
+ <layout height="118.0" mode="Portrait" style="EDIT_FIELD_STYLE_NORMAL" width="720.0" x="0.0" y="714.0"/>
+ <layout height="118.0" mode="Landscape" style="EDIT_FIELD_STYLE_NORMAL" width="1280.0" x="0.0" y="602.0"/>
+ </EditField>
+ <GroupedListView id="IDC_GROUPEDLISTVIEW1" parent="IDC_PANEL_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" itemDivider="true" itemDividerColor="" listScrollStyle="SCROLL_STYLE_FADE_OUT" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sectionColor="" sweepEnabled="false" textOfEmptyList=""/>
+ <layout height="280.0" mode="Portrait" style="CUSTOM_LIST_STYLE_NORMAL" width="720.0" x="0.0" y="0.0"/>
+ <layout height="240.0" mode="Landscape" style="CUSTOM_LIST_STYLE_NORMAL" width="1280.0" x="0.0" y="0.0"/>
+ </GroupedListView>
+ <Panel id="IDC_PANEL_EDITTIME" parent="IDC_SCROLLPANEL1">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="236.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LABEL_TITLE" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="46.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="236.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_LABEL_TITLE" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0" y="46.0"/>
+ </Panel>
+ <Button id="IDC_BUTTON_HOUR" parent="IDC_PANEL_EDITTIME">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="P03_alarm_edit_time_bg_ef.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#000000" text="" textSize="130.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="236.0" mode="Portrait" width="276.0" x="36.0" y="0.0"/>
+ <layout height="236.0" mode="Landscape" width="276.0" x="276.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_MIN" parent="IDC_PANEL_EDITTIME">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="P03_alarm_edit_time_bg_ef.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#000000" text="" textSize="130.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="236.0" mode="Portrait" width="276.0" x="332.0" y="0.0"/>
+ <layout height="236.0" mode="Landscape" width="276.0" x="572.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_TOGGLE" parent="IDC_PANEL_EDITTIME">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="P03_alarm_edit_switch_am.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="152.0" mode="Portrait" width="72.0" x="623.0" y="38.0"/>
+ <layout height="152.0" mode="Landscape" width="72.0" x="863.0" y="38.0"/>
+ </Button>
+ <Label id="IDC_LABEL_AM" parent="IDC_PANEL_EDITTIME">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_COM_BODY_AM" textColor="#505050" textSize="32.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="38.0" mode="Portrait" width="90.0" x="613.0" y="0.0"/>
+ <layout height="38.0" mode="Landscape" width="90.0" x="863.0" y="0.0"/>
+ </Label>
+ <Label id="IDC_LABEL_PM" parent="IDC_PANEL_EDITTIME">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_COM_POP_PM" textColor="#505050" textSize="32.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="38.0" mode="Portrait" width="90.0" x="613.0" y="190.0"/>
+ <layout height="38.0" mode="Landscape" width="90.0" x="863.0" y="190.0"/>
+ </Label>
+ <EditField id="IDC_EDITFIELD2" parent="IDC_PANEL_EDITTIME">
+ <property accessibilityHint="" disabledBGBitmapPath="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" enableClear="false" groupStyle="GROUP_STYLE_NONE" guideText="" guideTextColor="" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalMargin="16.0" inputStyle="INPUT_STYLE_OVERLAY" keypadAction="KEYPAD_ACTION_ENTER" keypadEnabled="true" limitLength="100" linkTextColor="" lowerCaseMode="false" normalBGBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedColor="" pressedColorOpacity="100" text="" textHorizontalAlignment="ALIGNMENT_LEFT" textSize="45.0" titleStyle="EDIT_FIELD_TITLE_STYLE_NONE" titleText="" titleTextColor="" verticalMargin="12.0" viewMode="false"/>
+ <layout height="151.0" mode="Portrait" style="EDIT_FIELD_STYLE_NUMBER" width="194.0" x="76.0" y="38.0"/>
+ <layout height="180.0" mode="Landscape" style="EDIT_FIELD_STYLE_NUMBER" width="185.0" x="323.0" y="22.0"/>
+ </EditField>
+ <Panel id="IDC_PANEL_DAYS" parent="IDC_SCROLLPANEL1">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="90.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="52.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_PANEL_EDITTIME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="334.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="90.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_SCROLLPANEL1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="52.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="IDC_PANEL_EDITTIME" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0" y="334.0"/>
+ </Panel>
+ <Button id="IDC_BUTTON_SUN" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="33.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="273.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_MON" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="127.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="367.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_TUE" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="221.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="461.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_WED" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="315.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="555.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_THU" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="409.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="649.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_FRI" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="503.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="743.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_SAT" parent="IDC_PANEL_DAYS">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="90.0" mode="Portrait" width="90.0" x="597.0" y="0.0"/>
+ <layout height="90.0" mode="Landscape" width="90.0" x="837.0" y="0.0"/>
+ </Button>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201303041025" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_ALARM_LIST">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>\r
- <itemSet>\r
- <footerItem actionId="204" disabledIconPath="00_icon_more_dim.png" highlightedIconPath="" normalIconPath="00_icon_more.png" pressedIconPath="00_icon_more_press.png" selectedIconPath="" text=""/>\r
- <footerItem actionId="205" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_COM_SK_CREATE_ALARM"/>\r
- </itemSet>\r
- </Footer>\r
- <Header>\r
- <property backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <ListView id="IDC_LISTVIEW1" parent="IDL_ALARM_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList="::IDS_ALM_BODY_NO_ALARMS"/>\r
- <layout bottomRelation="IDL_ALARM_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_ALARM_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>\r
- <layout bottomRelation="IDL_ALARM_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </ListView>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201303041025" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_ALARM_LIST">
+ <property backgroundColor="" backgroundColorOpacity="100" 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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
+ <itemSet>
+ <footerItem actionId="204" disabledIconPath="00_icon_more_dim.png" highlightedIconPath="" normalIconPath="00_icon_more.png" pressedIconPath="00_icon_more_press.png" selectedIconPath="" text=""/>
+ <footerItem actionId="205" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_COM_SK_CREATE_ALARM"/>
+ </itemSet>
+ </Footer>
+ <Header>
+ <property backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <ListView id="IDC_LISTVIEW1" parent="IDL_ALARM_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList="::IDS_ALM_BODY_NO_ALARMS"/>
+ <layout bottomRelation="IDL_ALARM_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_ALARM_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>
+ <layout bottomRelation="IDL_ALARM_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>
+ </ListView>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201303041025" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_ALARM_RINGING_FORM">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Panel id="IDC_PANEL" parent="IDL_ALARM_RINGING_FORM">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_PARENT" width="720" x="0" y="0"/>\r
- <layout bottomRelation="IDL_ALARM_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </Panel>\r
- <Label id="IDC_LABEL" parent="IDL_ALARM_RINGING_FORM">\r
- <property backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="IDC_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720" x="0" y="0"/>\r
- <layout bottomRelation="IDL_ALARM_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </Label>\r
- <Button id="IDC_BUTTON1" parent="IDL_ALARM_RINGING_FORM">\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="::IDS_ALM_BODY_SNOOZE" textSize="33" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336" x="16" y="998"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336" x="296" y="640"/>\r
- </Button>\r
- <Button id="IDC_BUTTON2" parent="IDL_ALARM_RINGING_FORM">\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="#FF0000" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_TMR_SK3_STOP" textSize="33" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336" x="368" y="998"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336" x="648" y="640"/>\r
- </Button>\r
- <Label id="IDC_LABEL1" parent="IDL_ALARM_RINGING_FORM">\r
- <property backgroundBitmapPath="P03_alarm_clock_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="544" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="374" x="173" y="178"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="544" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="374" x="453" y="0"/>\r
- </Label>\r
- <Label id="IDC_LABEL2" parent="IDL_ALARM_RINGING_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="64" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="663"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="None" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="444"/>\r
- </Label>\r
- <Label id="IDC_LABEL3" parent="IDL_ALARM_RINGING_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="52" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="765"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL2" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="508"/>\r
- </Label>\r
- <Label id="IDC_LABEL4" parent="IDL_ALARM_RINGING_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="52" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="831"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL3" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="560"/>\r
- </Label>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304191935" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_ALARM_RINGING_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_NORMAL" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Panel id="IDC_PANEL" parent="IDL_ALARM_RINGING_FORM">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_ALARM_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </Panel>
+ <Label id="IDC_LABEL" parent="IDL_ALARM_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="IDC_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_ALARM_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_ALARM_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </Label>
+ <Button id="IDC_BUTTON1" parent="IDL_ALARM_RINGING_FORM">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_ALM_BODY_SNOOZE" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336.0" x="16.0" y="998.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336.0" x="296.0" y="640.0"/>
+ </Button>
+ <Button id="IDC_BUTTON2" parent="IDL_ALARM_RINGING_FORM">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#FF0000" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_TMR_SK3_STOP" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336.0" x="368.0" y="998.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="336.0" x="648.0" y="640.0"/>
+ </Button>
+ <Label id="IDC_LABEL1" parent="IDL_ALARM_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_alarm_clock_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="544.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="374.0" x="173.0" y="178.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="544.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="374.0" x="453.0" y="0.0"/>
+ </Label>
+ <Label id="IDC_LABEL2" parent="IDL_ALARM_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="64.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="663.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="444.0"/>
+ </Label>
+ <Label id="IDC_LABEL3" parent="IDL_ALARM_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="52.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="765.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL2" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="508.0"/>
+ </Label>
+ <Label id="IDC_LABEL4" parent="IDL_ALARM_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="52.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="60.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="831.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="60.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_ALARM_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_ALARM_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL3" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="560.0"/>
+ </Label>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="3.0.0.201301291730" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_ALARM_RINGING_LOCK_FORM">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Portrait" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Label id="IDC_LABEL" parent="IDL_ALARM_RINGING_LOCK_FORM">\r
- <property backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720" x="0" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533" x="407" y="200"/>\r
- </Label>\r
- <Label id="IDC_LABEL1" parent="IDL_ALARM_RINGING_LOCK_FORM">\r
- <property backgroundBitmapPath="P03_alarm_clock_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="544" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="374" x="173" y="178"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533" x="412" y="229"/>\r
- </Label>\r
- <Label id="IDC_LABEL2" parent="IDL_ALARM_RINGING_LOCK_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="64" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="663"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="499" x="780" y="481"/>\r
- </Label>\r
- <Label id="IDC_LABEL3" parent="IDL_ALARM_RINGING_LOCK_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="52" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="765"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533" x="579" y="516"/>\r
- </Label>\r
- <Label id="IDC_LABEL4" parent="IDL_ALARM_RINGING_LOCK_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="52" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="831"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533" x="595" y="543"/>\r
- </Label>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304191935" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_ALARM_RINGING_LOCK_FORM">
+ <property backgroundColor="" backgroundColorOpacity="100" notificationTrayOpenEnabled="false" orientation="Portrait" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>
+ <layout mode="Portrait" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Label id="IDC_LABEL" parent="IDL_ALARM_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533.0" x="407.0" y="200.0"/>
+ </Label>
+ <Label id="IDC_LABEL1" parent="IDL_ALARM_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_alarm_clock_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="544.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="374.0" x="173.0" y="178.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533.0" x="412.0" y="229.0"/>
+ </Label>
+ <Label id="IDC_LABEL2" parent="IDL_ALARM_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="64.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="64.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="663.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="499.0" x="780.0" y="481.0"/>
+ </Label>
+ <Label id="IDC_LABEL3" parent="IDL_ALARM_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="52.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="765.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533.0" x="579.0" y="516.0"/>
+ </Label>
+ <Label id="IDC_LABEL4" parent="IDL_ALARM_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="52.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="60.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="831.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="60.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="533.0" x="595.0" y="543.0"/>
+ </Label>
+</Scene>
-<?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
-\r
-<ScenePanel Bversion="3.0.0.201211232005" Dversion="20120315">\r
- <Panel id="IDC_ALARM_RINGING_LOCK_PANEL">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout height="200" mode="Portrait" type="NONE" width="720" x="0" y="0"/>\r
- <layout height="300" mode="Landscape" type="NONE" width="93" x="0" y="0"/>\r
- </Panel>\r
- <Panel id="IDC_SNOOZE_PANEL" parent="IDC_ALARM_RINGING_LOCK_PANEL">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout height="200" mode="Portrait" type="NONE" width="360" x="2" y="0"/>\r
- <layout height="720" mode="Landscape" type="NONE" width="102" x="0" y="0"/>\r
- </Panel>\r
- <Label id="IDC_LABEL1" parent="IDC_SNOOZE_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_snooze_circle_small.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="188" mode="Portrait" width="188" x="6" y="6"/>\r
- <layout height="343" mode="Landscape" width="76" x="4" y="9"/>\r
- </Label>\r
- <Label id="IDC_SNOOZE_LABEL" parent="IDC_SNOOZE_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="100" mode="Portrait" width="100" x="50" y="50"/>\r
- <layout height="142" mode="Landscape" width="65" x="26" y="109"/>\r
- </Label>\r
- <Label id="IDC_SNOOZE_ARROW_LABEL3" parent="IDC_SNOOZE_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="32" mode="Portrait" width="20" x="212" y="84"/>\r
- <layout height="52" mode="Landscape" width="8" x="94" y="140"/>\r
- </Label>\r
- <Label id="IDC_SNOOZE_ARROW_LABEL2" parent="IDC_SNOOZE_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="32" mode="Portrait" width="20" x="260" y="84"/>\r
- <layout height="52" mode="Landscape" width="8" x="104" y="150"/>\r
- </Label>\r
- <Label id="IDC_SNOOZE_ARROW_LABEL1" parent="IDC_SNOOZE_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_snooze_arrow_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="32" mode="Portrait" width="20" x="305" y="84"/>\r
- <layout height="52" mode="Landscape" width="8" x="104" y="160"/>\r
- </Label>\r
- <Panel id="IDC_STOP_PANEL" parent="IDC_ALARM_RINGING_LOCK_PANEL">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout height="200" mode="Portrait" type="NONE" width="360" x="360" y="0"/>\r
- <layout height="712" mode="Landscape" type="NONE" width="93" x="0" y="0"/>\r
- </Panel>\r
- <Label id="IDC_STOP_ARROW_LABEL1" parent="IDC_STOP_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_dismiss_arrow_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="32" mode="Portrait" width="20" x="6" y="84"/>\r
- <layout height="99" mode="Landscape" width="27" x="7" y="126"/>\r
- </Label>\r
- <Label id="IDC_STOP_ARROW_LABEL2" parent="IDC_STOP_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="32" mode="Portrait" width="20" x="51" y="84"/>\r
- <layout height="99" mode="Landscape" width="27" x="17" y="136"/>\r
- </Label>\r
- <Label id="IDC_STOP_ARROW_LABEL3" parent="IDC_STOP_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="32" mode="Portrait" width="20" x="96" y="84"/>\r
- <layout height="99" mode="Landscape" width="27" x="27" y="146"/>\r
- </Label>\r
- <Label id="IDC_LABEL9" parent="IDC_STOP_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_dismiss_circle_small.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="188" mode="Portrait" width="188" x="134" y="6"/>\r
- <layout height="253" mode="Landscape" width="73" x="20" y="59"/>\r
- </Label>\r
- <Label id="IDC_STOP_LABEL" parent="IDC_STOP_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout height="100" mode="Portrait" width="100" x="178" y="50"/>\r
- <layout height="190" mode="Landscape" width="71" x="22" y="82"/>\r
- </Label>\r
-</ScenePanel>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePanel SYSTEM "UIForm.dtd">
+
+<ScenePanel Bversion="3.0.0.201211232005" Dversion="20120315">
+ <Panel id="IDC_ALARM_RINGING_LOCK_PANEL">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout height="200" mode="Portrait" type="NONE" width="720" x="0" y="0"/>
+ <layout height="300" mode="Landscape" type="NONE" width="93" x="0" y="0"/>
+ </Panel>
+ <Panel id="IDC_SNOOZE_PANEL" parent="IDC_ALARM_RINGING_LOCK_PANEL">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout height="200" mode="Portrait" type="NONE" width="360" x="2" y="0"/>
+ <layout height="720" mode="Landscape" type="NONE" width="102" x="0" y="0"/>
+ </Panel>
+ <Label id="IDC_LABEL1" parent="IDC_SNOOZE_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_snooze_circle_small.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="188" mode="Portrait" width="188" x="6" y="6"/>
+ <layout height="343" mode="Landscape" width="76" x="4" y="9"/>
+ </Label>
+ <Label id="IDC_SNOOZE_LABEL" parent="IDC_SNOOZE_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="100" mode="Portrait" width="100" x="50" y="50"/>
+ <layout height="142" mode="Landscape" width="65" x="26" y="109"/>
+ </Label>
+ <Label id="IDC_SNOOZE_ARROW_LABEL3" parent="IDC_SNOOZE_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="32" mode="Portrait" width="20" x="212" y="84"/>
+ <layout height="52" mode="Landscape" width="8" x="94" y="140"/>
+ </Label>
+ <Label id="IDC_SNOOZE_ARROW_LABEL2" parent="IDC_SNOOZE_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="32" mode="Portrait" width="20" x="260" y="84"/>
+ <layout height="52" mode="Landscape" width="8" x="104" y="150"/>
+ </Label>
+ <Label id="IDC_SNOOZE_ARROW_LABEL1" parent="IDC_SNOOZE_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_snooze_arrow_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="32" mode="Portrait" width="20" x="305" y="84"/>
+ <layout height="52" mode="Landscape" width="8" x="104" y="160"/>
+ </Label>
+ <Panel id="IDC_STOP_PANEL" parent="IDC_ALARM_RINGING_LOCK_PANEL">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout height="200" mode="Portrait" type="NONE" width="360" x="360" y="0"/>
+ <layout height="712" mode="Landscape" type="NONE" width="93" x="0" y="0"/>
+ </Panel>
+ <Label id="IDC_STOP_ARROW_LABEL1" parent="IDC_STOP_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_dismiss_arrow_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="32" mode="Portrait" width="20" x="6" y="84"/>
+ <layout height="99" mode="Landscape" width="27" x="7" y="126"/>
+ </Label>
+ <Label id="IDC_STOP_ARROW_LABEL2" parent="IDC_STOP_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="32" mode="Portrait" width="20" x="51" y="84"/>
+ <layout height="99" mode="Landscape" width="27" x="17" y="136"/>
+ </Label>
+ <Label id="IDC_STOP_ARROW_LABEL3" parent="IDC_STOP_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="32" mode="Portrait" width="20" x="96" y="84"/>
+ <layout height="99" mode="Landscape" width="27" x="27" y="146"/>
+ </Label>
+ <Label id="IDC_LABEL9" parent="IDC_STOP_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_dismiss_circle_small.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="188" mode="Portrait" width="188" x="134" y="6"/>
+ <layout height="253" mode="Landscape" width="73" x="20" y="59"/>
+ </Label>
+ <Label id="IDC_STOP_LABEL" parent="IDC_STOP_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout height="100" mode="Portrait" width="100" x="178" y="50"/>
+ <layout height="190" mode="Landscape" width="71" x="22" y="82"/>
+ </Label>
+</ScenePanel>
-<?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.201303041025" Dversion="20120315">\r
- <Panel id="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout height="200" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>\r
- <layout height="200" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>\r
- </Panel>\r
- <Label id="IDC_LABEL1" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_dismiss_circle_small.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="200" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200" x="260" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="200" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200" x="540" y="0"/>\r
- </Label>\r
- <Label id="IDC_STOP_ALARM_LABEL" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="101" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="116" x="302" y="49"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="101" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="116" x="582" y="49"/>\r
- </Label>\r
- <Label id="IDC_STOP_LEFT_LABEL2" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="174" y="84"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="454" y="84"/>\r
- </Label>\r
- <Label id="IDC_STOP_LEFT_LABEL1" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_dismiss_arrow_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="126" y="84"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="406" y="84"/>\r
- </Label>\r
- <Label id="IDC_STOP_RIGHT_LABEL3" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="478" y="84"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="758" y="84"/>\r
- </Label>\r
- <Label id="IDC_STOP_RIGHT_LABEL2" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="526" y="84"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="806" y="84"/>\r
- </Label>\r
- <Label id="IDC_STOP_RIGHT_LABEL1" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="P03_alarm_jog_dismiss_arrow_01.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="574" y="84"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="854" y="84"/>\r
- </Label>\r
- <Label id="IDC_STOP_LEFT_LABEL3" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="222" y="84"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="502" y="84"/>\r
- </Label>\r
-</ScenePanel>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePanel SYSTEM "UIForm.dtd">
+<ScenePanel Bversion="2.0.0.201303041025" Dversion="20120315">
+ <Panel id="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout height="200" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>
+ <layout height="200" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>
+ </Panel>
+ <Label id="IDC_LABEL1" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_dismiss_circle_small.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="200" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200" x="260" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="200" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200" x="540" y="0"/>
+ </Label>
+ <Label id="IDC_STOP_ALARM_LABEL" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="101" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="116" x="302" y="49"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="101" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="116" x="582" y="49"/>
+ </Label>
+ <Label id="IDC_STOP_LEFT_LABEL2" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="174" y="84"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="454" y="84"/>
+ </Label>
+ <Label id="IDC_STOP_LEFT_LABEL1" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_dismiss_arrow_02.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="126" y="84"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="406" y="84"/>
+ </Label>
+ <Label id="IDC_STOP_RIGHT_LABEL3" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="478" y="84"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="758" y="84"/>
+ </Label>
+ <Label id="IDC_STOP_RIGHT_LABEL2" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="526" y="84"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="806" y="84"/>
+ </Label>
+ <Label id="IDC_STOP_RIGHT_LABEL1" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="P03_alarm_jog_dismiss_arrow_01.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="574" y="84"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="854" y="84"/>
+ </Label>
+ <Label id="IDC_STOP_LEFT_LABEL3" parent="IDL_ALARM_RINGING_SNOOZE_OFF_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="222" y="84"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="32" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="20" x="502" y="84"/>
+ </Label>
+</ScenePanel>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201303041025" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_CITY_LIST">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_SEGMENTED_TEXT" 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="true"/>\r
- <itemSet>\r
- <footerItem actionId="101" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_BODY_NAME"/>\r
- <footerItem actionId="102" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_WCL_TAB_TIME"/>\r
- </itemSet>\r
- </Footer>\r
- <Header>\r
- <property 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="" titleIconPath="" titleText="::IDS_WCL_HEADER_SELECT_TIME_ZONE" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <SearchBar id="IDC_CITY_SEARCHBAR" parent="IDL_CITY_LIST">\r
- <property backgroundBitmapPath="" buttonActionId="103" buttonText="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonTextColor="" disabledSearchFieldColor="" disabledSearchFieldTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" guideText="::IDS_COM_BODY_SEARCH" guideTextColor="" highlightedButtonColor="" highlightedButtonTextColor="" highlightedSearchFieldColor="" highlightedSearchFieldTextColor="" keypadAction="KEYPAD_ACTION_SEARCH" limitLength="500" lowerCaseMode="false" normalButtonColor="" normalButtonTextColor="" normalSearchFieldColor="" normalSearchFieldTextColor="" pressedButtonColor="" pressedButtonTextColor="" searchFieldTextSize="33" showSearchBarButton="true" text="" textPredictionEnabled="false"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="86" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_CITY_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="86" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_CITY_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </SearchBar>\r
- <ListView id="IDC_CITY_LISTVIEW" parent="IDL_CITY_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="true" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList="::IDS_COM_BODY_NO_SEARCH_RESULTS"/>\r
- <layout bottomRelation="IDL_CITY_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="845" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_CITY_SEARCHBAR" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="86"/>\r
- <layout bottomRelation="IDL_CITY_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="398" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_CITY_SEARCHBAR" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="86"/>\r
- </ListView>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201303041025" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_CITY_LIST">
+ <property backgroundColor="" backgroundColorOpacity="100" 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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_SEGMENTED_TEXT" 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="true"/>
+ <itemSet>
+ <footerItem actionId="101" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_BODY_NAME"/>
+ <footerItem actionId="102" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_WCL_TAB_TIME"/>
+ </itemSet>
+ </Footer>
+ <Header>
+ <property 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="" titleIconPath="" titleText="::IDS_WCL_HEADER_SELECT_TIME_ZONE" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <SearchBar id="IDC_CITY_SEARCHBAR" parent="IDL_CITY_LIST">
+ <property backgroundBitmapPath="" buttonActionId="103" buttonText="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonTextColor="" disabledSearchFieldColor="" disabledSearchFieldTextColor="" ellipsisPosition="ELLIPSIS_POSITION_END" guideText="::IDS_COM_BODY_SEARCH" guideTextColor="" highlightedButtonColor="" highlightedButtonTextColor="" highlightedSearchFieldColor="" highlightedSearchFieldTextColor="" keypadAction="KEYPAD_ACTION_SEARCH" limitLength="500" lowerCaseMode="false" normalButtonColor="" normalButtonTextColor="" normalSearchFieldColor="" normalSearchFieldTextColor="" pressedButtonColor="" pressedButtonTextColor="" searchFieldTextSize="33" showSearchBarButton="true" text="" textPredictionEnabled="false"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="86" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_CITY_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="86" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_CITY_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>
+ </SearchBar>
+ <ListView id="IDC_CITY_LISTVIEW" parent="IDL_CITY_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="true" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList="::IDS_COM_BODY_NO_SEARCH_RESULTS"/>
+ <layout bottomRelation="IDL_CITY_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="845" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_CITY_SEARCHBAR" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="86"/>
+ <layout bottomRelation="IDL_CITY_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="398" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_CITY_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_CITY_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_CITY_SEARCHBAR" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="86"/>
+ </ListView>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_DELETE_WORLD_CLOCK_LIST">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>\r
- <itemSet>\r
- <footerItem actionId="206" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_SK_DELETE"/>\r
- </itemSet>\r
- </Footer>\r
- <Header>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="Delete" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <CheckButton id="IDC_SELECT_ALL" parent="IDL_DELETE_WORLD_CLOCK_LIST">\r
- <property backgroundStyle="BACKGROUND_STYLE_DEFAULT" colorOfText="" colorOfTitleText="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" disabledTitleTextColor="" groupId="0" groupStyle="GROUP_STYLE_MIDDLE" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" highlightedTitleTextColor="" horizontalAlign="ALIGN_LEFT" normalColor="#DCDAD3" normalColorOpacity="100" pressedColor="" pressedColorOpacity="100" pressedTextColor="" pressedTitleTextColor="" showTitleText="false" text="::IDS_COM_BODY_SELECT_ALL" titleText="" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="112" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CHECK_BUTTON_STYLE_MARK" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="112" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CHECK_BUTTON_STYLE_MARK" topRelation="IDL_DELETE_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </CheckButton>\r
- <Label id="IDC_LABEL1" parent="IDL_DELETE_WORLD_CLOCK_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="#444444" backgroundColorOpacity="100" horizontalAlign="ALIGN_LEFT" text=" Selected(0)" textColor="#FFFFFF" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_DELETE_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="72" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="939"/>\r
- <layout bottomRelation="IDL_DELETE_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="72" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="412"/>\r
- </Label>\r
- <ListView id="IDC_LISTVIEW_ALARM" parent="IDL_DELETE_WORLD_CLOCK_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="IDC_LABEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="827" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_SELECT_ALL" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="112"/>\r
- <layout bottomRelation="IDC_LABEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="300" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_DELETE_WORLD_CLOCK_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_DELETE_WORLD_CLOCK_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_SELECT_ALL" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="112"/>\r
- </ListView>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304191935" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_DELETE_WORLD_CLOCK_LIST">
+ <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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
+ <itemSet>
+ <footerItem accessibilityHint="" actionId="206" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_SK_DELETE"/>
+ </itemSet>
+ </Footer>
+ <Header>
+ <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" showBackButton="false" titleIconPath="" titleText="Delete" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <CheckButton id="IDC_SELECT_ALL" parent="IDL_DELETE_WORLD_CLOCK_LIST">
+ <property accessibilityHint1="" accessibilityHint2="" backgroundStyle="BACKGROUND_STYLE_DEFAULT" colorOfText="" colorOfTitleText="" disabledColor="" disabledColorOpacity="100" disabledTextColor="" disabledTitleTextColor="" groupId="0" groupStyle="GROUP_STYLE_MIDDLE" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" highlightedTitleTextColor="" horizontalAlign="ALIGN_LEFT" normalColor="#DCDAD3" normalColorOpacity="100" pressedColor="" pressedColorOpacity="100" pressedTextColor="" pressedTitleTextColor="" showTitleText="false" text="::IDS_COM_BODY_SELECT_ALL" titleText="" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="112.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CHECK_BUTTON_STYLE_MARK" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="112.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CHECK_BUTTON_STYLE_MARK" topRelation="IDL_DELETE_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0" y="0.0"/>
+ </CheckButton>
+ <Label id="IDC_LABEL1" parent="IDL_DELETE_WORLD_CLOCK_LIST">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="#444444" backgroundColorOpacity="100" horizontalAlign="ALIGN_LEFT" leftMargin="16" text=" Selected(0)" textColor="#FFFFFF" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_DELETE_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="939.0"/>
+ <layout bottomRelation="IDL_DELETE_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="412.0"/>
+ </Label>
+ <ListView id="IDC_LISTVIEW_ALARM" parent="IDL_DELETE_WORLD_CLOCK_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" itemDivider="true" itemDividerColor="" listScrollStyle="SCROLL_STYLE_FADE_OUT" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="None" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="827.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="112.0"/>
+ <layout bottomRelation="IDC_LABEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="300.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_DELETE_WORLD_CLOCK_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_DELETE_WORLD_CLOCK_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_SELECT_ALL" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="112.0"/>
+ </ListView>
+</Scene>
-<?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 ScenePopup SYSTEM "UIForm.dtd">\r
-<ScenePopup Bversion="2.0.0.201302250946" Dversion="20120315">\r
- <Popup id="IDL_DST_POPUP">\r
- <property color="#FFFFFF" titleText="::IDS_WCL_OPT_DST_SETTINGS" titleTextColor=""/>\r
- <layout height="585" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="666"/>\r
- <layout height="594" mode="Landscape" style="" type="LAYOUT_RELATIVE" width="666"/>\r
- </Popup>\r
- <ListView id="IDC_POPUP_LIST" parent="IDL_DST_POPUP">\r
- <property backgroundBitmapPath="" backgroundColor="#FFFFFF" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="336" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="626" x="0" y="3"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="336" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="626" x="0" y="3"/>\r
- </ListView>\r
- <Button id="IDC_BUTTON" parent="IDL_DST_POPUP">\r
- <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_ALM_SK_CANCEL" textSize="33" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500" x="75" y="367"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500" x="75" y="367"/>\r
- </Button>\r
-</ScenePopup>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePopup SYSTEM "UIForm.dtd">
+<ScenePopup Bversion="2.0.0.201302250946" Dversion="20120315">
+ <Popup id="IDL_DST_POPUP">
+ <property color="#FFFFFF" titleText="::IDS_WCL_OPT_DST_SETTINGS" titleTextColor=""/>
+ <layout height="585" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="666"/>
+ <layout height="594" mode="Landscape" style="" type="LAYOUT_RELATIVE" width="666"/>
+ </Popup>
+ <ListView id="IDC_POPUP_LIST" parent="IDL_DST_POPUP">
+ <property backgroundBitmapPath="" backgroundColor="#FFFFFF" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="336" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="626" x="0" y="3"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="336" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="626" x="0" y="3"/>
+ </ListView>
+ <Button id="IDC_BUTTON" parent="IDL_DST_POPUP">
+ <property DisabledBitmapX="0" DisabledBitmapY="0" NormalBitmapX="0" NormalBitmapY="0" PressedBitmapX="0" PressedBitmapY="0" disableTextColor="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_ALM_SK_CANCEL" textSize="33" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500" x="75" y="367"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500" x="75" y="367"/>
+ </Button>
+</ScenePopup>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201303041025" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_EDIT_SNOOZE_FORM">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_TEXT" 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="true"/>\r
- <itemSet/>\r
- </Footer>\r
- <Header>\r
- <property 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="" titleIconPath="" titleText="Snooze duration & Repeat" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <GroupedListView id="IDC_SETTING_LIST" parent="IDL_EDIT_SNOOZE_FORM">\r
- <property backgroundBitmapPath="" backgroundColor="#F9F9F9" backgroundColorOpacity="100" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="#8E9AA3" sectionColor="" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="16" marginRight="16" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="688" x="16" y="0"/>\r
- <layout bottomRelation="IDL_EDIT_SNOOZE_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_EDIT_SNOOZE_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_EDIT_SNOOZE_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="IDL_EDIT_SNOOZE_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="1280" x="0" y="0"/>\r
- </GroupedListView>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201303041025" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_EDIT_SNOOZE_FORM">
+ <property backgroundColor="" backgroundColorOpacity="100" 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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_TEXT" 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="true"/>
+ <itemSet/>
+ </Footer>
+ <Header>
+ <property 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="" titleIconPath="" titleText="Snooze duration & Repeat" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <GroupedListView id="IDC_SETTING_LIST" parent="IDL_EDIT_SNOOZE_FORM">
+ <property backgroundBitmapPath="" backgroundColor="#F9F9F9" backgroundColorOpacity="100" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="#8E9AA3" sectionColor="" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="16" marginRight="16" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="688" x="16" y="0"/>
+ <layout bottomRelation="IDL_EDIT_SNOOZE_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_EDIT_SNOOZE_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_EDIT_SNOOZE_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" style="CUSTOM_LIST_STYLE_NORMAL" topRelation="IDL_EDIT_SNOOZE_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="1280" x="0" y="0"/>
+ </GroupedListView>
+</Scene>
-<?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.201303111438" Dversion="20120315">\r
- <Panel id="IDL_NOTIFICATION_PANEL">\r
- <property backgroundColor="#444444" backgroundColorOpacity="100" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout height="52" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="4" y="113"/>\r
- <layout height="52" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="30" y="538"/>\r
- </Panel>\r
- <Label id="IDC_NOTIFICATION_LABEL" parent="IDL_NOTIFICATION_PANEL">\r
- <property backgroundBitmapPath="" backgroundColor="#444444" backgroundColorOpacity="100" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="32" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_NOTIFICATION_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_NOTIFICATION_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720" x="0" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="true" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_NOTIFICATION_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_PARENT" width="1280" x="0" y="0"/>\r
- </Label>\r
-</ScenePanel>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePanel SYSTEM "UIForm.dtd">
+<ScenePanel Bversion="2.0.0.201303111438" Dversion="20120315">
+ <Panel id="IDL_NOTIFICATION_PANEL">
+ <property backgroundColor="#444444" backgroundColorOpacity="100" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout height="52" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="4" y="113"/>
+ <layout height="52" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="30" y="538"/>
+ </Panel>
+ <Label id="IDC_NOTIFICATION_LABEL" parent="IDL_NOTIFICATION_PANEL">
+ <property backgroundBitmapPath="" backgroundColor="#444444" backgroundColorOpacity="100" horizontalAlign="ALIGN_CENTER" text="" textColor="#FFFFFF" textSize="32" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_NOTIFICATION_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_NOTIFICATION_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720" x="0" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="true" height="52" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_NOTIFICATION_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_PARENT" width="1280" x="0" y="0"/>
+ </Label>
+</ScenePanel>
-<?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.201303111438" Dversion="20120315">\r
- <Panel id="IDL_NUMBER_SELECTOR">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout height="124" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>\r
- <layout height="124" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>\r
- </Panel>\r
- <Label id="IDC_ANCHOR" parent="IDL_NUMBER_SELECTOR">\r
- <property backgroundBitmapPath="00_timepicker_tail.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="18" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="4" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_NUMBER_SELECTOR" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="30" x="24" y="4"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="18" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="30" x="24" y="4"/>\r
- </Label>\r
- <ScrollPanel id="IDC_SCROLLPANEL1" parent="IDL_NUMBER_SELECTOR">\r
- <property autoResizingEnabled="true" backgroundColor="#FFFFFF" backgroundColorOpacity="0" clientAreaHeight="0" clientAreaWidth="0" pageScrollEnabled="false" scrollBarVisible="true" scrollDirection="SCROLL_PANEL_SCROLL_DIRECTION_VERTICAL" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION"/>\r
- <panelLayout height="102" mode="Portrait" width="720"/>\r
- <panelLayout height="102" mode="Landscape" width="1280"/>\r
- <layout bottomRelation="IDL_NUMBER_SELECTOR" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_NUMBER_SELECTOR" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_NUMBER_SELECTOR" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="22"/>\r
- <layout bottomRelation="IDL_NUMBER_SELECTOR" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_NUMBER_SELECTOR" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="22"/>\r
- </ScrollPanel>\r
- <Button id="IDC_BUTTON2" parent="IDC_SCROLLPANEL1">\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="EditBackground.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="EditBackground.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="00" textSize="48" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="102" mode="Portrait" width="102" x="0" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="102" x="0" y="0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON3" parent="IDC_SCROLLPANEL1">\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="EditBackground.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="EditBackground.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="01" textSize="48" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout height="102" mode="Portrait" width="102" x="102" y="0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="102" x="102" y="0"/>\r
- </Button>\r
- <Label id="IDC_BG" parent="IDL_NUMBER_SELECTOR">\r
- <property backgroundBitmapPath="00_timepicker_number_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="22"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="22"/>\r
- </Label>\r
-</ScenePanel>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePanel SYSTEM "UIForm.dtd">
+<ScenePanel Bversion="2.0.0.201303111438" Dversion="20120315">
+ <Panel id="IDL_NUMBER_SELECTOR">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout height="124" mode="Portrait" type="LAYOUT_RELATIVE" width="720" x="0" y="0"/>
+ <layout height="124" mode="Landscape" type="LAYOUT_RELATIVE" width="1280" x="0" y="0"/>
+ </Panel>
+ <Label id="IDC_ANCHOR" parent="IDL_NUMBER_SELECTOR">
+ <property backgroundBitmapPath="00_timepicker_tail.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="18" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="4" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_NUMBER_SELECTOR" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="30" x="24" y="4"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="18" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="30" x="24" y="4"/>
+ </Label>
+ <ScrollPanel id="IDC_SCROLLPANEL1" parent="IDL_NUMBER_SELECTOR">
+ <property autoResizingEnabled="true" backgroundColor="#FFFFFF" backgroundColorOpacity="0" clientAreaHeight="0" clientAreaWidth="0" pageScrollEnabled="false" scrollBarVisible="true" scrollDirection="SCROLL_PANEL_SCROLL_DIRECTION_VERTICAL" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION"/>
+ <panelLayout height="102" mode="Portrait" width="720"/>
+ <panelLayout height="102" mode="Landscape" width="1280"/>
+ <layout bottomRelation="IDL_NUMBER_SELECTOR" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_NUMBER_SELECTOR" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="IDL_NUMBER_SELECTOR" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="22"/>
+ <layout bottomRelation="IDL_NUMBER_SELECTOR" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_NUMBER_SELECTOR" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="22"/>
+ </ScrollPanel>
+ <Button id="IDC_BUTTON2" parent="IDC_SCROLLPANEL1">
+ <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="EditBackground.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="EditBackground.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="00" textSize="48" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="102" mode="Portrait" width="102" x="0" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="102" x="0" y="0"/>
+ </Button>
+ <Button id="IDC_BUTTON3" parent="IDC_SCROLLPANEL1">
+ <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="EditBackground.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="EditBackground.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="01" textSize="48" verticalAlign="ALIGN_MIDDLE"/>
+ <layout height="102" mode="Portrait" width="102" x="102" y="0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="102" x="102" y="0"/>
+ </Button>
+ <Label id="IDC_BG" parent="IDL_NUMBER_SELECTOR">
+ <property backgroundBitmapPath="00_timepicker_number_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="22"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="102" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="22"/>
+ </Label>
+</ScenePanel>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201302250946" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_REORDER_WORLD_CLOCK_LIST">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="false"/>\r
- <itemSet>\r
- <footerItem actionId="204" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_WCL_SK_DONE"/>\r
- <footerItem actionId="205" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_SK_CANCEL"/>\r
- </itemSet>\r
- </Footer>\r
- <Header>\r
- <property backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <ListView id="IDC_LISTVIEW_WORLD_CLOCK" parent="IDL_REORDER_WORLD_CLOCK_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="IDL_REORDER_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_REORDER_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>\r
- <layout bottomRelation="IDL_REORDER_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_REORDER_WORLD_CLOCK_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_REORDER_WORLD_CLOCK_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_REORDER_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </ListView>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201302250946" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_REORDER_WORLD_CLOCK_LIST">
+ <property backgroundColor="" backgroundColorOpacity="100" 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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" disabledButtonColor="" disabledButtonColorOpacity="100" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="100" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="false"/>
+ <itemSet>
+ <footerItem actionId="204" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_WCL_SK_DONE"/>
+ <footerItem actionId="205" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_ALM_SK_CANCEL"/>
+ </itemSet>
+ </Footer>
+ <Header>
+ <property backgroundBitmapPath="" color="" colorOpacity="100" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TITLE" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <ListView id="IDC_LISTVIEW_WORLD_CLOCK" parent="IDL_REORDER_WORLD_CLOCK_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="IDL_REORDER_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_REORDER_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>
+ <layout bottomRelation="IDL_REORDER_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_REORDER_WORLD_CLOCK_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_REORDER_WORLD_CLOCK_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_REORDER_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>
+ </ListView>
+</Scene>
-<?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 ScenePopup SYSTEM "UIForm.dtd">\r
-<ScenePopup Bversion="2.0.0.201303182057" Dversion="20120315">\r
- <Popup id="IDL_SORT_BY">\r
- <property accessibilityHint="" color="#FFFFFF" titleText="" titleTextColor=""/>\r
- <layout height="438.0" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="648.0"/>\r
- <layout height="438.0" mode="Landscape" style="" type="LAYOUT_RELATIVE" width="648.0"/>\r
- </Popup>\r
- <Label id="IDC_LABEL1" parent="IDL_SORT_BY">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="::IDS_ALM_OPT_SORT_BY" textColor="#3B73B6" textSize="50.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_SORT_BY" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="18.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_SORT_BY" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0" y="18.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0.0" y="18.0"/>\r
- </Label>\r
- <ListView id="IDC_LISTVIEW1" parent="IDL_SORT_BY">\r
- <property backgroundBitmapPath="" backgroundColor="#FFFFFF" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="223.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_SORT_BY" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0" y="80.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="223.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0.0" y="80.0"/>\r
- </ListView>\r
- <Button id="IDC_BUTTON1" parent="IDL_SORT_BY">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_ALM_SK_CANCEL" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="20.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LISTVIEW1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="300.0" x="154.0" y="323.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="300.0" x="154.0" y="323.0"/>\r
- </Button>\r
-</ScenePopup>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE ScenePopup SYSTEM "UIForm.dtd">
+<ScenePopup Bversion="2.0.0.201303182057" Dversion="20120315">
+ <Popup id="IDL_SORT_BY">
+ <property accessibilityHint="" color="#FFFFFF" titleText="" titleTextColor=""/>
+ <layout height="438.0" mode="Portrait" style="" type="LAYOUT_RELATIVE" width="648.0"/>
+ <layout height="438.0" mode="Landscape" style="" type="LAYOUT_RELATIVE" width="648.0"/>
+ </Popup>
+ <Label id="IDC_LABEL1" parent="IDL_SORT_BY">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="::IDS_ALM_OPT_SORT_BY" textColor="#3B73B6" textSize="50.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_SORT_BY" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="18.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_SORT_BY" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0" y="18.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="62.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0.0" y="18.0"/>
+ </Label>
+ <ListView id="IDC_LISTVIEW1" parent="IDL_SORT_BY">
+ <property backgroundBitmapPath="" backgroundColor="#FFFFFF" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="223.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDL_SORT_BY" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0" y="80.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="223.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="608.0" x="0.0" y="80.0"/>
+ </ListView>
+ <Button id="IDC_BUTTON1" parent="IDL_SORT_BY">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_ALM_SK_CANCEL" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="20.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LISTVIEW1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="300.0" x="154.0" y="323.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="300.0" x="154.0" y="323.0"/>
+ </Button>
+</ScenePopup>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201304011930" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_STOP_WATCH">\r
- <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"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>\r
- <itemSet/>\r
- </Footer>\r
- <Header>\r
- <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <Label id="IDC_LABEL11" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="176.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="176.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="260.0" y="0.0"/>\r
- </Label>\r
- <Panel id="IDC_PANEL1" parent="IDL_STOP_WATCH">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="163.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="768.0"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_STOP_WATCH" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_STOP_WATCH" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="384.0"/>\r
- </Panel>\r
- <ListView id="IDC_LISTVIEW1" parent="IDL_STOP_WATCH">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="IDC_PANEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="592.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LABEL11" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="176.0"/>\r
- <layout bottomRelation="IDC_PANEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="208.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_STOP_WATCH" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_STOP_WATCH" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL11" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="176.0"/>\r
- </ListView>\r
- <Button id="IDC_BUTTON_STOP" parent="IDL_STOP_WATCH">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="781.0"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="90.0" y="402.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_LAP" parent="IDL_STOP_WATCH">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="374.0" y="781.0"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="645.0" y="402.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_RESTART" parent="IDL_STOP_WATCH">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="781.0"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="90.0" y="402.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_RESET" parent="IDL_STOP_WATCH">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="374.0" y="781.0"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="645.0" y="402.0"/>\r
- </Button>\r
- <Label id="IDC_LABEL1" parent="IDL_STOP_WATCH">\r
- <property backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80" x="78" y="32"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80" x="336" y="32"/>\r
- <Label id="IDC_LABEL2" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="158.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="416.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL3" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_colon.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="238.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="496.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL4" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="263.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="521.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL5" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="343.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="601.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL6" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_colon.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="423.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="681.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL7" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="448.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="706.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL8" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="528.0" y="32.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="786.0" y="32.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL9" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_small_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="622.0" y="101.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="880.0" y="101.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL10" parent="IDL_STOP_WATCH">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_small_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="654.0" y="101.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="912.0" y="101.0"/>\r
- </Label>\r
- <Button id="IDC_BUTTON_START" parent="IDL_STOP_WATCH">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="400.0" x="160.0" y="781.0"/>\r
- <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500.0" x="350.0" y="402.0"/>\r
- </Button>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304011930" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_STOP_WATCH">
+ <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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
+ <itemSet/>
+ </Footer>
+ <Header>
+ <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <Label id="IDC_LABEL11" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="176.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="176.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="260.0" y="0.0"/>
+ </Label>
+ <Panel id="IDC_PANEL1" parent="IDL_STOP_WATCH">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="163.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="768.0"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_STOP_WATCH" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_STOP_WATCH" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="384.0"/>
+ </Panel>
+ <ListView id="IDC_LISTVIEW1" parent="IDL_STOP_WATCH">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" scrollInputMode="SCROLL_INPUT_MODE_ALLOW_ANY_DIRECTION" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="IDC_PANEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="592.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_LABEL11" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="176.0"/>
+ <layout bottomRelation="IDC_PANEL1" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="208.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_STOP_WATCH" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_STOP_WATCH" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL11" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="0.0" y="176.0"/>
+ </ListView>
+ <Button id="IDC_BUTTON_STOP" parent="IDL_STOP_WATCH">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="781.0"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="90.0" y="402.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_LAP" parent="IDL_STOP_WATCH">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="374.0" y="781.0"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="645.0" y="402.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_RESTART" parent="IDL_STOP_WATCH">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="781.0"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="90.0" y="402.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_RESET" parent="IDL_STOP_WATCH">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="374.0" y="781.0"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="465.0" x="645.0" y="402.0"/>
+ </Button>
+ <Label id="IDC_LABEL1" parent="IDL_STOP_WATCH">
+ <property backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" text="" textColor="" textSize="33" textStyle="LABEL_TEXT_STYLE_NORMAL" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80" x="78" y="32"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80" x="336" y="32"/>
+ <Label id="IDC_LABEL2" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="158.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="416.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL3" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_colon.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="238.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="496.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL4" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="263.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="521.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL5" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="343.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="601.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL6" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_colon.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="423.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="25.0" x="681.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL7" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="448.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="706.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL8" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="528.0" y="32.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="80.0" x="786.0" y="32.0"/>
+ </Label>
+ <Label id="IDC_LABEL9" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_small_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="622.0" y="101.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="880.0" y="101.0"/>
+ </Label>
+ <Label id="IDC_LABEL10" parent="IDL_STOP_WATCH">
+ <property accessibilityHint="" backgroundBitmapPath="P03_stopwatch_time_small_00.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="654.0" y="101.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="47.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="32.0" x="912.0" y="101.0"/>
+ </Label>
+ <Button id="IDC_BUTTON_START" parent="IDL_STOP_WATCH">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="50.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="400.0" x="160.0" y="781.0"/>
+ <layout bottomRelation="IDL_STOP_WATCH" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="82.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500.0" x="350.0" y="402.0"/>
+ </Button>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201304161803" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_TIMER">\r
- <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"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>\r
- <itemSet/>\r
- </Footer>\r
- <Header>\r
- <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <Panel id="IDC_INPUT_PANEL" parent="IDL_TIMER">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="600.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="248.0"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="true" centerVertical="false" height="260.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="40.0" y="263.0"/>\r
- </Panel>\r
- <Button id="IDC_BUTTON1" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_01.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="0.0" y="25.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_INPUT_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="0.0" y="10.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON2" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_02.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="25.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="200.0" y="10.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON3" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_03.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="25.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON2" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="400.0" y="10.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON4" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_04.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="0.0" y="155.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON3" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="600.0" y="10.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON5" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_05.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="155.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON4" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="800.0" y="10.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON6" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_06.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_BUTTON3" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="155.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON5" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="1000.0" y="10.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON7" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_07.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON4" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="0.0" y="285.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_INPUT_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="0.0" y="130.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON8" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_08.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON5" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="285.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON7" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="200.0" y="130.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON9" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_09.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_BUTTON6" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="285.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON8" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="400.0" y="130.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON0" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_00.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON8" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="415.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON9" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="600.0" y="130.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_CLR" parent="IDC_INPUT_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_clear.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_BUTTON9" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="415.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON0" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="800.0" y="130.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_START" parent="IDL_TIMER">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="400.0" x="160.0" y="886.0"/>\r
- <layout bottomRelation="IDC_INPUT_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_INPUT_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="1040.0" y="393.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_STOP" parent="IDL_TIMER">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="886.0"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="525.0" x="51.0" y="398.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_RESET" parent="IDL_TIMER">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="374.0" y="886.0"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="525.0" x="625.0" y="398.0"/>\r
- </Button>\r
- <Panel id="IDC_TIMER_PANEL" parent="IDL_TIMER">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="62.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="66.0"/>\r
- </Panel>\r
- <Button id="IDC_BUTTON_MINUTES" parent="IDC_TIMER_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="250.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="529.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_HOURS" parent="IDC_TIMER_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="16.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="20.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_BUTTON_MINUTES" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="287.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_SECONDS" parent="IDC_TIMER_PANEL">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="484.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON_MINUTES" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="771.0" y="0.0"/>\r
- </Button>\r
- <Label id="IDC_LABEL_TIMER" parent="IDL_TIMER">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="210.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="63.0"/>\r
- <layout bottomRelation="IDC_INPUT_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="158.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="105.0"/>\r
- </Label>\r
- <Button id="IDC_BUTTON_RESTART" parent="IDL_TIMER">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="886.0"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="525.0" x="50.0" y="398.0"/>\r
- </Button>\r
- <Label id="IDC_LABEL2" parent="IDL_TIMER">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="min" textColor="#797977" textSize="24.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="250.0" y="22.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="529.0" y="22.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL1" parent="IDL_TIMER">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="hr" textColor="#797977" textSize="24.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="16.0" y="22.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="20.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_LABEL2" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="287.0" y="22.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL3" parent="IDL_TIMER">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="sec" textColor="#797977" textSize="24.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="484.0" y="22.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_LABEL2" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="771.0" y="22.0"/>\r
- </Label>\r
- <Panel id="IDC_PANEL_TIMER_STARTED" parent="IDL_TIMER">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.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="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="62.0"/>\r
- <layout bottomRelation="IDC_TIMER_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="66.0"/>\r
- </Panel>\r
- <Button id="IDC_BUTTON_MINUTE_DISPLAY" parent="IDC_PANEL_TIMER_STARTED">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#323232" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="250.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="529.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_HOUR_DISPLAY" parent="IDC_PANEL_TIMER_STARTED">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#323232" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="16.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="20.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_BUTTON_MINUTE_DISPLAY" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="287.0" y="0.0"/>\r
- </Button>\r
- <Button id="IDC_BUTTON_SECOND_DISPLAY" parent="IDC_PANEL_TIMER_STARTED">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#323232" text="" textSize="130.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="484.0" y="0.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON_MINUTE_DISPLAY" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="771.0" y="0.0"/>\r
- </Button>\r
- <Panel id="IDC_PANEL1" parent="IDL_TIMER">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="163.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_INPUT_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="848.0"/>\r
- <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="389.0"/>\r
- </Panel>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304161803" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_TIMER">
+ <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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
+ <itemSet/>
+ </Footer>
+ <Header>
+ <property accessibilityHint="" backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <Panel id="IDC_INPUT_PANEL" parent="IDL_TIMER">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="600.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="248.0"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="true" centerVertical="false" height="260.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1200.0" x="40.0" y="263.0"/>
+ </Panel>
+ <Button id="IDC_BUTTON1" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_01.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="0.0" y="25.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_INPUT_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="0.0" y="10.0"/>
+ </Button>
+ <Button id="IDC_BUTTON2" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_02.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="25.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="200.0" y="10.0"/>
+ </Button>
+ <Button id="IDC_BUTTON3" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_03.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="25.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON2" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="400.0" y="10.0"/>
+ </Button>
+ <Button id="IDC_BUTTON4" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_04.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="0.0" y="155.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON3" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="600.0" y="10.0"/>
+ </Button>
+ <Button id="IDC_BUTTON5" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_05.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="155.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON4" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="800.0" y="10.0"/>
+ </Button>
+ <Button id="IDC_BUTTON6" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_06.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_BUTTON3" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="155.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON5" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="1000.0" y="10.0"/>
+ </Button>
+ <Button id="IDC_BUTTON7" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_07.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON4" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="0.0" y="285.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_INPUT_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="0.0" y="130.0"/>
+ </Button>
+ <Button id="IDC_BUTTON8" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_08.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON5" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="285.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON7" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="200.0" y="130.0"/>
+ </Button>
+ <Button id="IDC_BUTTON9" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_09.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_BUTTON6" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="285.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON8" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="400.0" y="130.0"/>
+ </Button>
+ <Button id="IDC_BUTTON0" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_00.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON1" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_BUTTON8" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="240.0" y="415.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON9" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="600.0" y="130.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_CLR" parent="IDC_INPUT_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="P03_timer_keypad_number_clear.png" normalColor="" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="130.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_BUTTON9" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="240.0" x="480.0" y="415.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON0" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="800.0" y="130.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_START" parent="IDL_TIMER">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="400.0" x="160.0" y="886.0"/>
+ <layout bottomRelation="IDC_INPUT_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="120.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="10.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_INPUT_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="200.0" x="1040.0" y="393.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_STOP" parent="IDL_TIMER">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="886.0"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="525.0" x="51.0" y="398.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_RESET" parent="IDL_TIMER">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="374.0" y="886.0"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="525.0" x="625.0" y="398.0"/>
+ </Button>
+ <Panel id="IDC_TIMER_PANEL" parent="IDL_TIMER">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="62.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="66.0"/>
+ </Panel>
+ <Button id="IDC_BUTTON_MINUTES" parent="IDC_TIMER_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="250.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="529.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_HOURS" parent="IDC_TIMER_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="16.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="20.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_BUTTON_MINUTES" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="287.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_SECONDS" parent="IDC_TIMER_PANEL">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="484.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON_MINUTES" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="771.0" y="0.0"/>
+ </Button>
+ <Label id="IDC_LABEL_TIMER" parent="IDL_TIMER">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="210.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="63.0"/>
+ <layout bottomRelation="IDC_INPUT_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_TOP" centerHorizontal="false" centerVertical="false" height="158.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="105.0"/>
+ </Label>
+ <Button id="IDC_BUTTON_RESTART" parent="IDL_TIMER">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="Timer_Button.#.png" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="Timer_Button_Pressed.#.png" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="" textSize="45.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="328.0" x="18.0" y="886.0"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="25.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="525.0" x="50.0" y="398.0"/>
+ </Button>
+ <Label id="IDC_LABEL2" parent="IDL_TIMER">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="min" textColor="#797977" textSize="24.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="250.0" y="22.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="529.0" y="22.0"/>
+ </Label>
+ <Label id="IDC_LABEL1" parent="IDL_TIMER">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="hr" textColor="#797977" textSize="24.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="16.0" y="22.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="20.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_LABEL2" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="287.0" y="22.0"/>
+ </Label>
+ <Label id="IDC_LABEL3" parent="IDL_TIMER">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="sec" textColor="#797977" textSize="24.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="484.0" y="22.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="40.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_LABEL2" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="771.0" y="22.0"/>
+ </Label>
+ <Panel id="IDC_PANEL_TIMER_STARTED" parent="IDL_TIMER">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.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="" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="62.0"/>
+ <layout bottomRelation="IDC_TIMER_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_TIMER_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="LAYOUT_RELATIVE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="66.0"/>
+ </Panel>
+ <Button id="IDC_BUTTON_MINUTE_DISPLAY" parent="IDC_PANEL_TIMER_STARTED">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#323232" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="250.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="true" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="529.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_HOUR_DISPLAY" parent="IDC_PANEL_TIMER_STARTED">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#323232" text="" textSize="110.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="16.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="20.0" marginTop="0.0" mode="Landscape" rightRelation="IDC_BUTTON_MINUTE_DISPLAY" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_LEFT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="287.0" y="0.0"/>
+ </Button>
+ <Button id="IDC_BUTTON_SECOND_DISPLAY" parent="IDC_PANEL_TIMER_STARTED">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="" normalColorOpacity="100" normalTextColor="#323232" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="#323232" text="" textSize="130.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="186.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="484.0" y="0.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDC_BUTTON_MINUTE_DISPLAY" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_RIGHT" marginBottom="0.0" marginLeft="20.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="222.0" x="771.0" y="0.0"/>
+ </Button>
+ <Panel id="IDC_PANEL1" parent="IDL_TIMER">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="163.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_INPUT_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0.0" y="848.0"/>
+ <layout bottomRelation="IDL_TIMER" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="134.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="389.0"/>
+ </Panel>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201304110859" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_TIMER_RINGING_FORM">\r
- <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"/>\r
- <layout mode="Portrait" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Panel id="IDC_PANEL" parent="IDL_TIMER_RINGING_FORM">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>\r
- <layout bottomRelation="IDL_TIMER_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>\r
- </Panel>\r
- <Label id="IDC_LABEL" parent="IDL_TIMER_RINGING_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="IDC_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>\r
- <layout bottomRelation="IDL_TIMER_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>\r
- </Label>\r
- <Button id="IDC_BUTTON1" parent="IDL_TIMER_RINGING_FORM">\r
- <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#FF0000" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_TMR_SK3_STOP" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500.0" x="110.0" y="998.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="480.0" x="400.0" y="606.0"/>\r
- </Button>\r
- <Label id="IDC_LABEL1" parent="IDL_TIMER_RINGING_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_timer_glass.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="532.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="204.0" y="198.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="432.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="484.0" y="0.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL2" parent="IDL_TIMER_RINGING_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="140.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="140.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="737.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="432.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL3" parent="IDL_TIMER_RINGING_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_TMR_POP_TIME_IS_UP" textColor="#181818" textSize="48.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="75.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="877.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL2" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="532.0"/>\r
- </Label>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304110859" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_TIMER_RINGING_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_NORMAL" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Panel id="IDC_PANEL" parent="IDL_TIMER_RINGING_FORM">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_TIMER_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </Panel>
+ <Label id="IDC_LABEL" parent="IDL_TIMER_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="IDC_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_TIMER_RINGING_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </Label>
+ <Button id="IDC_BUTTON1" parent="IDL_TIMER_RINGING_FORM">
+ <property DisabledBitmapX="0.0" DisabledBitmapY="0.0" NormalBitmapX="0.0" NormalBitmapY="0.0" PressedBitmapX="0.0" PressedBitmapY="0.0" accessibilityHint="" disableTextColor="" disabledBGBitmapPath="" disabledBitmapPath="" disabledColor="" disabledColorOpacity="100" highlightedBGBitmapPath="" highlightedBitmapPath="" highlightedBitmapX="0.0" highlightedBitmapY="0.0" highlightedColor="" highlightedColorOpacity="100" highlightedTextColor="" horizontalAlign="ALIGN_CENTER" normalBGBitmapPath="" normalBitmapPath="" normalColor="#FF0000" normalColorOpacity="100" normalTextColor="" pressedBGBitmapPath="" pressedBitmapPath="" pressedColor="" pressedColorOpacity="100" pressedTextColor="" text="::IDS_TMR_SK3_STOP" textSize="33.0" verticalAlign="ALIGN_MIDDLE"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="500.0" x="110.0" y="998.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="74.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="480.0" x="400.0" y="606.0"/>
+ </Button>
+ <Label id="IDC_LABEL1" parent="IDL_TIMER_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_timer_glass.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="532.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="204.0" y="198.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="432.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="484.0" y="0.0"/>
+ </Label>
+ <Label id="IDC_LABEL2" parent="IDL_TIMER_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="140.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="140.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="737.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="432.0"/>
+ </Label>
+ <Label id="IDC_LABEL3" parent="IDL_TIMER_RINGING_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_TMR_POP_TIME_IS_UP" textColor="#181818" textSize="48.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="75.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="877.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="72.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL2" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="532.0"/>
+ </Label>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201304081058" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_TIMER_RINGING_LOCK_FORM">\r
- <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"/>\r
- <layout mode="Portrait" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Panel id="IDC_PANEL" parent="IDL_TIMER_RINGING_LOCK_FORM">\r
- <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>\r
- <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>\r
- <layout bottomRelation="IDL_TIMER_RINGING_LOCK_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_LOCK_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>\r
- </Panel>\r
- <Label id="IDC_LABEL" parent="IDL_TIMER_RINGING_LOCK_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="IDC_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>\r
- <layout bottomRelation="IDL_TIMER_RINGING_LOCK_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_LOCK_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL1" parent="IDL_TIMER_RINGING_LOCK_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="P03_timer_glass.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="532.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="204.0" y="198.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="360.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="484.0" y="0.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL2" parent="IDL_TIMER_RINGING_LOCK_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="140.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="140.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="737.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="360.0"/>\r
- </Label>\r
- <Label id="IDC_LABEL3" parent="IDL_TIMER_RINGING_LOCK_FORM">\r
- <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_TMR_POP_TIME_IS_UP" textColor="#181818" textSize="48.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_TOP"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="78.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="877.0"/>\r
- <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="50.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL2" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="460.0"/>\r
- </Label>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201304081058" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_TIMER_RINGING_LOCK_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_NORMAL" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_NORMAL" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Panel id="IDC_PANEL" parent="IDL_TIMER_RINGING_LOCK_FORM">
+ <property backgroundColor="" backgroundColorOpacity="0" compositeEnabled="true" groupStyle="GROUP_STYLE_NONE"/>
+ <layout bottomRelation="" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_TIMER_RINGING_LOCK_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_LOCK_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" type="NONE" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </Panel>
+ <Label id="IDC_LABEL" parent="IDL_TIMER_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_clock_bg.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="IDC_PANEL" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1280.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_PANEL" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_PARENT" width="720.0" x="0" y="0"/>
+ <layout bottomRelation="IDL_TIMER_RINGING_LOCK_FORM" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="720.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_TIMER_RINGING_LOCK_FORM" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="0.0"/>
+ </Label>
+ <Label id="IDC_LABEL1" parent="IDL_TIMER_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="P03_timer_glass.png" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_LEFT" leftMargin="16" text="" textColor="" textSize="33.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="532.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="204.0" y="198.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="360.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="" rightRelationType="" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="312.0" x="484.0" y="0.0"/>
+ </Label>
+ <Label id="IDC_LABEL2" parent="IDL_TIMER_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="" textColor="#FFFFFF" textSize="140.0" textStyle="LABEL_TEXT_STYLE_NORMAL" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="140.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="737.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="100.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL1" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="360.0"/>
+ </Label>
+ <Label id="IDC_LABEL3" parent="IDL_TIMER_RINGING_LOCK_FORM">
+ <property accessibilityHint="" backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" horizontalAlign="ALIGN_CENTER" leftMargin="16" text="::IDS_TMR_POP_TIME_IS_UP" textColor="#181818" textSize="48.0" textStyle="LABEL_TEXT_STYLE_BOLD" topMargin="0" verticalAlign="ALIGN_TOP"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="78.0" horizontalFitPolicy="FIT_POLICY_PARENT" leftRelation="IDC_PANEL" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Portrait" rightRelation="IDC_PANEL" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="" topRelationType="" verticalFitPolicy="FIT_POLICY_FIXED" width="720.0" x="0" y="877.0"/>
+ <layout bottomRelation="" bottomRelationType="" centerHorizontal="false" centerVertical="false" height="50.0" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_TIMER_RINGING_LOCK_FORM" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0.0" marginLeft="0.0" marginRight="0.0" marginTop="0.0" mode="Landscape" rightRelation="IDL_TIMER_RINGING_LOCK_FORM" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDC_LABEL2" topRelationType="RECT_EDGE_RELATION_TOP_TO_BOTTOM" verticalFitPolicy="FIT_POLICY_FIXED" width="1280.0" x="0.0" y="460.0"/>
+ </Label>
+</Scene>
-<?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 Scene SYSTEM "UIForm.dtd">\r
-<Scene Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <LogicalCoordinate>720</LogicalCoordinate>\r
- <Form id="IDL_WORLD_CLOCK_LIST">\r
- <property backgroundColor="" backgroundColorOpacity="100" orientation="Automatic:4Dir" softKey0NormalIcon="" softKey0PressedIcon="" softKey0Text="" softKey1NormalIcon="" softKey1PressedIcon="" softKey1Text="" title="" titleAlign="ALIGN_CENTER" titleIcon="" translucentFooter="false" translucentHeader="false" translucentIndicator="false"/>\r
- <layout mode="Portrait" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>\r
- </Form>\r
- <Footer>\r
- <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>\r
- <itemSet>\r
- <footerItem actionId="100" disabledIconPath="00_icon_more_dim.png" highlightedIconPath="" normalIconPath="00_icon_more.png" pressedIconPath="00_icon_more_press.png" selectedIconPath="" text=""/>\r
- <footerItem actionId="101" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_COM_SK_ADD_CITY"/>\r
- </itemSet>\r
- </Footer>\r
- <Header>\r
- <property backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>\r
- <itemSet/>\r
- </Header>\r
- <ListView id="IDC_LISTVIEW1" parent="IDL_WORLD_CLOCK_LIST">\r
- <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>\r
- <layout bottomRelation="IDL_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>\r
- <layout bottomRelation="IDL_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_WORLD_CLOCK_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_WORLD_CLOCK_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>\r
- </ListView>\r
-</Scene>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+-->
+<!DOCTYPE Scene SYSTEM "UIForm.dtd">
+<Scene Bversion="2.0.0.201303111438" Dversion="20120315">
+ <LogicalCoordinate>720</LogicalCoordinate>
+ <Form id="IDL_WORLD_CLOCK_LIST">
+ <property backgroundColor="" backgroundColorOpacity="100" 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_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ <layout mode="Landscape" style="FORM_STYLE_INDICATOR|FORM_STYLE_HEADER|FORM_STYLE_FOOTER" type="LAYOUT_RELATIVE"/>
+ </Form>
+ <Footer>
+ <property backgroundBitmapPath="" color="" colorOpacity="0" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="100" disabledItemTextColor="" footerStyle="FOOTER_STYLE_BUTTON_ICON_TEXT" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="100" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="100" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="100" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="100" selectedItemTextColor="" showBackButton="true"/>
+ <itemSet>
+ <footerItem actionId="100" disabledIconPath="00_icon_more_dim.png" highlightedIconPath="" normalIconPath="00_icon_more.png" pressedIconPath="00_icon_more_press.png" selectedIconPath="" text=""/>
+ <footerItem actionId="101" disabledIconPath="" highlightedIconPath="" normalIconPath="" pressedIconPath="" selectedIconPath="" text="::IDS_COM_SK_ADD_CITY"/>
+ </itemSet>
+ </Footer>
+ <Header>
+ <property backgroundBitmapPath="" color="" colorOpacity="0" descriptionText="" descriptionTextColor="" disabledButtonColor="" disabledButtonColorOpacity="0" disabledButtonTextColor="" disabledItemColor="" disabledItemColorOpacity="0" disabledItemTextColor="" headerStyle="HEADER_STYLE_TAB" highlightedButtonColor="" highlightedButtonColorOpacity="0" highlightedButtonTextColor="" highlightedItemColor="" highlightedItemColorOpacity="0" highlightedItemTextColor="" normalButtonColor="" normalButtonColorOpacity="0" normalButtonTextColor="" normalItemColor="" normalItemColorOpacity="0" normalItemTextColor="" pressedButtonColor="" pressedButtonColorOpacity="0" pressedButtonTextColor="" pressedItemColor="" pressedItemColorOpacity="0" pressedItemTextColor="" selectedItemColor="" selectedItemColorOpacity="0" selectedItemTextColor="" titleIconPath="" titleText="" titleTextColor=""/>
+ <itemSet/>
+ </Header>
+ <ListView id="IDC_LISTVIEW1" parent="IDL_WORLD_CLOCK_LIST">
+ <property backgroundBitmapPath="" backgroundColor="" backgroundColorOpacity="0" bitmapPathOfEmptyList="" colorOfEmptyListText="" fastScroll="false" itemDivider="true" itemDividerColor="" sweepEnabled="false" textOfEmptyList=""/>
+ <layout bottomRelation="IDL_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="1011" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="" leftRelationType="" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Portrait" rightRelation="" rightRelationType="" topRelation="IDL_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="720" x="0" y="0"/>
+ <layout bottomRelation="IDL_WORLD_CLOCK_LIST" bottomRelationType="RECT_EDGE_RELATION_BOTTOM_TO_BOTTOM" centerHorizontal="false" centerVertical="false" height="484" horizontalFitPolicy="FIT_POLICY_FIXED" leftRelation="IDL_WORLD_CLOCK_LIST" leftRelationType="RECT_EDGE_RELATION_LEFT_TO_LEFT" marginBottom="0" marginLeft="0" marginRight="0" marginTop="0" mode="Landscape" rightRelation="IDL_WORLD_CLOCK_LIST" rightRelationType="RECT_EDGE_RELATION_RIGHT_TO_RIGHT" topRelation="IDL_WORLD_CLOCK_LIST" topRelationType="RECT_EDGE_RELATION_TOP_TO_TOP" verticalFitPolicy="FIT_POLICY_FIXED" width="1280" x="0" y="0"/>
+ </ListView>
+</Scene>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melódia a vibrovanie</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Časové pásmo</text>\r
- <text id="IDS_ALM_BODY_10TIMES">Desaťkrát</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Vybrané</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vybrať časové pásmo</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Vybrať všetky</text>\r
- <text id="IDS_NOTHING_SELECTED">Nič nie je vybrané</text>\r
- <text id="IDS_COM_BODY_DEC">Dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Zrušiť</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Opakovať</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Žiadne budíky</text>\r
- <text id="IDS_COM_BODY_AM">dp</text>\r
- <text id="IDS_NO_ITEMS">Žiadne položky</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Každý pondelok</text>\r
- <text id="IDS_WCL_TAB_TIME">Čas</text>\r
- <text id="IDS_COM_SK_NEW">Nové</text>\r
- <text id="IDS_ALM_SK3_SAVE">Uložiť</text>\r
- <text id="IDS_COM_BODY_JUN">Jún</text>\r
- <text id="IDS_ALM_BODY_TIME">Čas</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Posunúť budík</text>\r
- <text id="IDS_COM_BODY_JUL">Júl</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reštartovať</text>\r
- <text id="IDS_ALM_BODY_TYPE">Typ</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reštart</text>\r
- <text id="IDS_WCL_SK_DONE">Hotovo</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">pp</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Máj</text>\r
- <text id="IDS_ALM_BODY_NAME">Meno</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrácia</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Nastavenia letného času</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Trvanie odloženia</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 vybratý budík</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melódia</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Každý piatok</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Zmeniť poradie</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Každú stredu</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Čas vypršal</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Mesto sa nedá pridať. Zoznam Svetový čas je plný. Najprv odstráňte niektoré položky</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Usporiadať podľa</text>\r
- <text id="IDS_TMR_BODY_SEC">s</text>\r
- <text id="IDS_ALM_BODY_3TIMES">Trikrát</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stopky</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Vypnúť zvonenie</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hodina</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Svetový čas</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Aug.</text>\r
- <text id="IDS_TMR_SK_START">Štart</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Každý utorok</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Upozornenie</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Ďalšie</text>\r
- <text id="IDS_COM_BODY_TIMER">Časovač</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Upozornenie po časovom limite</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Opakovanie posunutia</text>\r
- <text id="IDS_COM_BODY_SEARCH">Hľadať</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Vyberte budíky</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Každú sobotu</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Vynulovať</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Každý deň</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Vybraté mestá: %d</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Zrušiť letný čas</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Každý štvrtok</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Časový limit vypršal</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Vybraté budíky: %d</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d krát</text>\r
- <text id="IDS_COM_POP_DELETED">Odstránené</text>\r
- <text id="IDS_ALM_BODY_5TIMES">Päťkrát</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Žiadne výsledky vyhľadávania</text>\r
- <text id="IDS_COM_SK_ADD">Pridať</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Okruh</text>\r
- <text id="IDS_ALM_BODY_TONE">Tón</text>\r
- <text id="IDS_TMR_SK_RESET">Vynulovať</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Typ</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Nedávne</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melódia</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 vybraté mesto</text>\r
- <text id="IDS_WCL_SK_BY_NAME">P. názvu</text>\r
- <text id="IDS_COM_BODY_OCT">Okt.</text>\r
- <text id="IDS_ALM_SK_DELETE">Odstrániť</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Každú nedeľu</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Žiadne položky</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melódia a vibrovanie</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Časové pásmo</text>
+ <text id="IDS_ALM_BODY_10TIMES">Desaťkrát</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Vybrané</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vybrať časové pásmo</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Vybrať všetky</text>
+ <text id="IDS_NOTHING_SELECTED">Nič nie je vybrané</text>
+ <text id="IDS_COM_BODY_DEC">Dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Zrušiť</text>
+ <text id="IDS_ALM_BODY_REPEAT">Opakovať</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Žiadne budíky</text>
+ <text id="IDS_COM_BODY_AM">dp</text>
+ <text id="IDS_NO_ITEMS">Žiadne položky</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Každý pondelok</text>
+ <text id="IDS_WCL_TAB_TIME">Čas</text>
+ <text id="IDS_COM_SK_NEW">Nové</text>
+ <text id="IDS_ALM_SK3_SAVE">Uložiť</text>
+ <text id="IDS_COM_BODY_JUN">Jún</text>
+ <text id="IDS_ALM_BODY_TIME">Čas</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Posunúť budík</text>
+ <text id="IDS_COM_BODY_JUL">Júl</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reštartovať</text>
+ <text id="IDS_ALM_BODY_TYPE">Typ</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Reštart</text>
+ <text id="IDS_WCL_SK_DONE">Hotovo</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">pp</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Máj</text>
+ <text id="IDS_ALM_BODY_NAME">Meno</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibrácia</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Nastavenia letného času</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Trvanie odloženia</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 vybratý budík</text>
+ <text id="IDS_ALM_BODY_MELODY">Melódia</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Každý piatok</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Zmeniť poradie</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Každú stredu</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Čas vypršal</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Mesto sa nedá pridať. Zoznam Svetový čas je plný. Najprv odstráňte niektoré položky</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Usporiadať podľa</text>
+ <text id="IDS_TMR_BODY_SEC">s</text>
+ <text id="IDS_ALM_BODY_3TIMES">Trikrát</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stopky</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Vypnúť zvonenie</text>
+ <text id="IDS_TMR_BODY_HOUR">Hodina</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Svetový čas</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Aug.</text>
+ <text id="IDS_TMR_SK_START">Štart</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Každý utorok</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Upozornenie</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Ďalšie</text>
+ <text id="IDS_COM_BODY_TIMER">Časovač</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Upozornenie po časovom limite</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Opakovanie posunutia</text>
+ <text id="IDS_COM_BODY_SEARCH">Hľadať</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Vyberte budíky</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Každú sobotu</text>
+ <text id="IDS_SWT_BUTTON_RESET">Vynulovať</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Každý deň</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Vybraté mestá: %d</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Zrušiť letný čas</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Každý štvrtok</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Časový limit vypršal</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Vybraté budíky: %d</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d krát</text>
+ <text id="IDS_COM_POP_DELETED">Odstránené</text>
+ <text id="IDS_ALM_BODY_5TIMES">Päťkrát</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Žiadne výsledky vyhľadávania</text>
+ <text id="IDS_COM_SK_ADD">Pridať</text>
+ <text id="IDS_SWT_BUTTON_LAP">Okruh</text>
+ <text id="IDS_ALM_BODY_TONE">Tón</text>
+ <text id="IDS_TMR_SK_RESET">Vynulovať</text>
+ <text id="IDS_ALM_HEADER_TYPE">Typ</text>
+ <text id="IDS_COM_BUTTON_RECENT">Nedávne</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melódia</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 vybraté mesto</text>
+ <text id="IDS_WCL_SK_BY_NAME">P. názvu</text>
+ <text id="IDS_COM_BODY_OCT">Okt.</text>
+ <text id="IDS_ALM_SK_DELETE">Odstrániť</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Každú nedeľu</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Žiadne položky</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Vibriranje in melodija</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Časovni pas</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10-krat</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Izbrano</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Izberi časovni pas</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Izberi vse</text>\r
- <text id="IDS_NOTHING_SELECTED">Nič ni izbrano</text>\r
- <text id="IDS_COM_BODY_DEC">Dec</text>\r
- <text id="IDS_ALM_SK_CANCEL">Prekliči</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Ponovi</text>\r
- <text id="IDS_TMR_BODY_MIN1">minut</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ni opozoril</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Ni predmetov</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Vsak ponedeljek</text>\r
- <text id="IDS_WCL_TAB_TIME">Ura</text>\r
- <text id="IDS_COM_SK_NEW">Novo</text>\r
- <text id="IDS_ALM_SK3_SAVE">Shrani</text>\r
- <text id="IDS_COM_BODY_JUN">Jun</text>\r
- <text id="IDS_ALM_BODY_TIME">Čas</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Dremež</text>\r
- <text id="IDS_COM_BODY_JUL">Jul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Znova zaženi</text>\r
- <text id="IDS_ALM_BODY_TYPE">Vrsta</text>\r
- <text id="IDS_TMR_SK3_STOP">Ustavi</text>\r
- <text id="IDS_TMR_SK3_RESTART">Znova zaženi</text>\r
- <text id="IDS_WCL_SK_DONE">Končano</text>\r
- <text id="IDS_COM_BODY_APR">Apr</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Maj</text>\r
- <text id="IDS_ALM_BODY_NAME">Ime</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibriranje</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Nastavitve DST</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Trajanje dremeža</text>\r
- <text id="IDS_COM_BODY_MAR">Mar</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 opozorilo izbrano</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodija</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Vsak petek</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Spremeni zaporedje</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Vsako sredo</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Časa je zmanjkalo</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Mesta ni mogoče dodati. Seznam Svetovne ure je poln. Najprej izbrišite nekaj elementov</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Uredi po</text>\r
- <text id="IDS_TMR_BODY_SEC">sek</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3-krat</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Štoparica</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Ustavi zvonjenje</text>\r
- <text id="IDS_TMR_BODY_HOUR">Ura</text>\r
- <text id="IDS_COM_BODY_JAN">Jan</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Svetovna ura</text>\r
- <text id="IDS_COM_BODY_SEP">Sep</text>\r
- <text id="IDS_COM_BODY_AUG">Avg</text>\r
- <text id="IDS_TMR_SK_START">Začni</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Vsak torek</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Budilka</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Več</text>\r
- <text id="IDS_COM_BODY_TIMER">Časovnik</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Zakasnjeni alarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ponovi dremež</text>\r
- <text id="IDS_COM_BODY_SEARCH">Iskanje</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Izberi opozorila</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Vsako soboto</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Ponastavi</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Vsak dan</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d mest je izbranih</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Prekliči DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Vsak četrtek</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Čas je potekel</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d opozoril je izbranih</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d-krat</text>\r
- <text id="IDS_COM_POP_DELETED">Izbrisano</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5-krat</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ni rezultatov iskanja</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Krog</text>\r
- <text id="IDS_COM_SK_ADD">Dodaj</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Ponastavi</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Vrsta</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Nedavno</text>\r
- <text id="IDS_TMR_BODY_MIN">minut</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 mesto je izbrano</text>\r
- <text id="IDS_COM_BODY_OCT">Okt</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Po imenu</text>\r
- <text id="IDS_ALM_SK_DELETE">Izbriši</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Vsako nedeljo</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Ni predmetov</text>\r
- <text id="IDS_COM_BODY_FEB">Feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Vibriranje in melodija</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Časovni pas</text>
+ <text id="IDS_ALM_BODY_10TIMES">10-krat</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Izbrano</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Izberi časovni pas</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Izberi vse</text>
+ <text id="IDS_NOTHING_SELECTED">Nič ni izbrano</text>
+ <text id="IDS_COM_BODY_DEC">Dec</text>
+ <text id="IDS_ALM_SK_CANCEL">Prekliči</text>
+ <text id="IDS_ALM_BODY_REPEAT">Ponovi</text>
+ <text id="IDS_TMR_BODY_MIN1">minut</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ni opozoril</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Ni predmetov</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Vsak ponedeljek</text>
+ <text id="IDS_WCL_TAB_TIME">Ura</text>
+ <text id="IDS_COM_SK_NEW">Novo</text>
+ <text id="IDS_ALM_SK3_SAVE">Shrani</text>
+ <text id="IDS_COM_BODY_JUN">Jun</text>
+ <text id="IDS_ALM_BODY_TIME">Čas</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Dremež</text>
+ <text id="IDS_COM_BODY_JUL">Jul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Znova zaženi</text>
+ <text id="IDS_ALM_BODY_TYPE">Vrsta</text>
+ <text id="IDS_TMR_SK3_STOP">Ustavi</text>
+ <text id="IDS_TMR_SK3_RESTART">Znova zaženi</text>
+ <text id="IDS_WCL_SK_DONE">Končano</text>
+ <text id="IDS_COM_BODY_APR">Apr</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Maj</text>
+ <text id="IDS_ALM_BODY_NAME">Ime</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibriranje</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Nastavitve DST</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Trajanje dremeža</text>
+ <text id="IDS_COM_BODY_MAR">Mar</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 opozorilo izbrano</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodija</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Vsak petek</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Spremeni zaporedje</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Vsako sredo</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Časa je zmanjkalo</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Mesta ni mogoče dodati. Seznam Svetovne ure je poln. Najprej izbrišite nekaj elementov</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Uredi po</text>
+ <text id="IDS_TMR_BODY_SEC">sek</text>
+ <text id="IDS_ALM_BODY_3TIMES">3-krat</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Štoparica</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Ustavi zvonjenje</text>
+ <text id="IDS_TMR_BODY_HOUR">Ura</text>
+ <text id="IDS_COM_BODY_JAN">Jan</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Svetovna ura</text>
+ <text id="IDS_COM_BODY_SEP">Sep</text>
+ <text id="IDS_COM_BODY_AUG">Avg</text>
+ <text id="IDS_TMR_SK_START">Začni</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Vsak torek</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Budilka</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Več</text>
+ <text id="IDS_COM_BODY_TIMER">Časovnik</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Zakasnjeni alarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ponovi dremež</text>
+ <text id="IDS_COM_BODY_SEARCH">Iskanje</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Izberi opozorila</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Vsako soboto</text>
+ <text id="IDS_SWT_BUTTON_RESET">Ponastavi</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Vsak dan</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d mest je izbranih</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Prekliči DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Vsak četrtek</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Čas je potekel</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d opozoril je izbranih</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d-krat</text>
+ <text id="IDS_COM_POP_DELETED">Izbrisano</text>
+ <text id="IDS_ALM_BODY_5TIMES">5-krat</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Ni rezultatov iskanja</text>
+ <text id="IDS_SWT_BUTTON_LAP">Krog</text>
+ <text id="IDS_COM_SK_ADD">Dodaj</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Ponastavi</text>
+ <text id="IDS_ALM_HEADER_TYPE">Vrsta</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>
+ <text id="IDS_COM_BUTTON_RECENT">Nedavno</text>
+ <text id="IDS_TMR_BODY_MIN">minut</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 mesto je izbrano</text>
+ <text id="IDS_COM_BODY_OCT">Okt</text>
+ <text id="IDS_WCL_SK_BY_NAME">Po imenu</text>
+ <text id="IDS_ALM_SK_DELETE">Izbriši</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Vsako nedeljo</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Ni predmetov</text>
+ <text id="IDS_COM_BODY_FEB">Feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodía y vibración</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Zona horaria</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 veces</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horaria</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Seleccionar todo</text>\r
- <text id="IDS_NOTHING_SELECTED">No se ha seleccionado nada</text>\r
- <text id="IDS_COM_BODY_DEC">Dic.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancelar</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetir</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ninguna alarma</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Ningún elemento</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Cada lunes</text>\r
- <text id="IDS_WCL_TAB_TIME">Hora</text>\r
- <text id="IDS_COM_SK_NEW">Nuevo</text>\r
- <text id="IDS_ALM_SK3_SAVE">Guardar</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Hora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Repetición de alarma</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipo</text>\r
- <text id="IDS_TMR_SK3_STOP">Parar</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>\r
- <text id="IDS_WCL_SK_DONE">Hecho</text>\r
- <text id="IDS_COM_BODY_APR">Abr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Mayo</text>\r
- <text id="IDS_ALM_BODY_NAME">Nombre</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibración</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Ajustes de horario de verano</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duración de la repetición de alarma</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodía</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Cada viernes</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reordenar</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Cada miércoles</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tiempo agotado</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">No se puede añadir ciudad. La lista Reloj mundial está llena. Elimine primero algunos elementos</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>\r
- <text id="IDS_TMR_BODY_SEC">seg</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 veces</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Detener timbre</text>\r
- <text id="IDS_TMR_BODY_HOUR">Hora</text>\r
- <text id="IDS_COM_BODY_JAN">Ene.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Reloj mundial</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Ago.</text>\r
- <text id="IDS_TMR_SK_START">Iniciar</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Cada martes</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarma</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Más</text>\r
- <text id="IDS_COM_BODY_TIMER">Temporizador</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarma de tiempo agotado</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Prolongación de la repetición de alarma</text>\r
- <text id="IDS_COM_BODY_SEARCH">Buscar</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmas</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Cada sábado</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Restab.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Todos los días</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d ciudades seleccionadas</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Cada jueves</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tiempo agotado</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmas seleccionadas</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d veces</text>\r
- <text id="IDS_COM_POP_DELETED">Eliminado</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 veces</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No se han encontrado resultados</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Etapa</text>\r
- <text id="IDS_COM_SK_ADD">Añadir</text>\r
- <text id="IDS_ALM_BODY_TONE">Tono</text>\r
- <text id="IDS_TMR_SK_RESET">Restablecer</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipo</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodía</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Reciente</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ciudad seleccionada</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Por nombr</text>\r
- <text id="IDS_ALM_SK_DELETE">Eliminar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Cada domingo</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Ningún elemento</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodía y vibración</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Zona horaria</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 veces</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horaria</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Seleccionar todo</text>
+ <text id="IDS_NOTHING_SELECTED">No se ha seleccionado nada</text>
+ <text id="IDS_COM_BODY_DEC">Dic.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancelar</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetir</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ninguna alarma</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Ningún elemento</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Cada lunes</text>
+ <text id="IDS_WCL_TAB_TIME">Hora</text>
+ <text id="IDS_COM_SK_NEW">Nuevo</text>
+ <text id="IDS_ALM_SK3_SAVE">Guardar</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Hora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Repetición de alarma</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipo</text>
+ <text id="IDS_TMR_SK3_STOP">Parar</text>
+ <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>
+ <text id="IDS_WCL_SK_DONE">Hecho</text>
+ <text id="IDS_COM_BODY_APR">Abr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Mayo</text>
+ <text id="IDS_ALM_BODY_NAME">Nombre</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibración</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Ajustes de horario de verano</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duración de la repetición de alarma</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodía</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Cada viernes</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Reordenar</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Cada miércoles</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tiempo agotado</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">No se puede añadir ciudad. La lista Reloj mundial está llena. Elimine primero algunos elementos</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>
+ <text id="IDS_TMR_BODY_SEC">seg</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 veces</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Detener timbre</text>
+ <text id="IDS_TMR_BODY_HOUR">Hora</text>
+ <text id="IDS_COM_BODY_JAN">Ene.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Reloj mundial</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Ago.</text>
+ <text id="IDS_TMR_SK_START">Iniciar</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Cada martes</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarma</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Más</text>
+ <text id="IDS_COM_BODY_TIMER">Temporizador</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarma de tiempo agotado</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Prolongación de la repetición de alarma</text>
+ <text id="IDS_COM_BODY_SEARCH">Buscar</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmas</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Cada sábado</text>
+ <text id="IDS_SWT_BUTTON_RESET">Restab.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Todos los días</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d ciudades seleccionadas</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Cada jueves</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tiempo agotado</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmas seleccionadas</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d veces</text>
+ <text id="IDS_COM_POP_DELETED">Eliminado</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 veces</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No se han encontrado resultados</text>
+ <text id="IDS_SWT_BUTTON_LAP">Etapa</text>
+ <text id="IDS_COM_SK_ADD">Añadir</text>
+ <text id="IDS_ALM_BODY_TONE">Tono</text>
+ <text id="IDS_TMR_SK_RESET">Restablecer</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipo</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodía</text>
+ <text id="IDS_COM_BUTTON_RECENT">Reciente</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ciudad seleccionada</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Por nombr</text>
+ <text id="IDS_ALM_SK_DELETE">Eliminar</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Cada domingo</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Ningún elemento</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodía y vibración</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Zona horaria</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 veces</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horaria</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Seleccionar todo</text>\r
- <text id="IDS_NOTHING_SELECTED">No se ha seleccionado nada</text>\r
- <text id="IDS_COM_BODY_DEC">Dic.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Cancelar</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Repetir</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Ninguna alarma</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Ningún elemento</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Cada Lunes</text>\r
- <text id="IDS_WCL_TAB_TIME">Hora</text>\r
- <text id="IDS_COM_SK_NEW">Nuevo</text>\r
- <text id="IDS_ALM_SK3_SAVE">Guardar</text>\r
- <text id="IDS_COM_BODY_JUN">Jun.</text>\r
- <text id="IDS_ALM_BODY_TIME">Hora</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Aplazar</text>\r
- <text id="IDS_COM_BODY_JUL">Jul.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tipo</text>\r
- <text id="IDS_TMR_SK3_STOP">Detener</text>\r
- <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>\r
- <text id="IDS_WCL_SK_DONE">Realizado</text>\r
- <text id="IDS_COM_BODY_APR">Abr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">Mayo</text>\r
- <text id="IDS_ALM_BODY_NAME">Nombre</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibración</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Configuración de horario de verano</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duración</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodía</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Cada Viernes</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Reordenar</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Cada Miércoles</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tiempo agotado</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">No se puede añadir la ciudad. La lista de Reloj Mundial está llena. Elimine algunos elementos</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>\r
- <text id="IDS_TMR_BODY_SEC">seg</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 veces</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Detener sonido</text>\r
- <text id="IDS_TMR_BODY_HOUR">hora</text>\r
- <text id="IDS_COM_BODY_JAN">Ene.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Reloj Mundial</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Ago.</text>\r
- <text id="IDS_TMR_SK_START">Iniciar</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Cada Martes</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarma</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Más</text>\r
- <text id="IDS_COM_BODY_TIMER">Temporizador</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarma después de</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetir</text>\r
- <text id="IDS_COM_BODY_SEARCH">Buscar</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmas</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Cada Sábado</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Restabl.</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Diariamente</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d ciudades seleccionadas</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar Horario de verano</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Cada Jueves</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tiempo de espera</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmas seleccionadas</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d veces</text>\r
- <text id="IDS_COM_POP_DELETED">Eliminado</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 veces</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No se han encontrado resultados</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Vuelta</text>\r
- <text id="IDS_COM_SK_ADD">Añadir</text>\r
- <text id="IDS_ALM_BODY_TONE">Tono</text>\r
- <text id="IDS_TMR_SK_RESET">Restabl.</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tipo</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodía</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Reciente</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ciudad seleccionada</text>\r
- <text id="IDS_COM_BODY_OCT">Oct.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Por nomb.</text>\r
- <text id="IDS_ALM_SK_DELETE">Eliminar</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Cada Domingo</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Ningún elemento</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodía y vibración</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Zona horaria</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 veces</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seleccionado</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Seleccionar zona horaria</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Seleccionar todo</text>
+ <text id="IDS_NOTHING_SELECTED">No se ha seleccionado nada</text>
+ <text id="IDS_COM_BODY_DEC">Dic.</text>
+ <text id="IDS_ALM_SK_CANCEL">Cancelar</text>
+ <text id="IDS_ALM_BODY_REPEAT">Repetir</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Ninguna alarma</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Ningún elemento</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Cada Lunes</text>
+ <text id="IDS_WCL_TAB_TIME">Hora</text>
+ <text id="IDS_COM_SK_NEW">Nuevo</text>
+ <text id="IDS_ALM_SK3_SAVE">Guardar</text>
+ <text id="IDS_COM_BODY_JUN">Jun.</text>
+ <text id="IDS_ALM_BODY_TIME">Hora</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Aplazar</text>
+ <text id="IDS_COM_BODY_JUL">Jul.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Reiniciar</text>
+ <text id="IDS_ALM_BODY_TYPE">Tipo</text>
+ <text id="IDS_TMR_SK3_STOP">Detener</text>
+ <text id="IDS_TMR_SK3_RESTART">Reiniciar</text>
+ <text id="IDS_WCL_SK_DONE">Realizado</text>
+ <text id="IDS_COM_BODY_APR">Abr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">Mayo</text>
+ <text id="IDS_ALM_BODY_NAME">Nombre</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibración</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Configuración de horario de verano</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duración</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarma seleccionada</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodía</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Cada Viernes</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Reordenar</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Cada Miércoles</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tiempo agotado</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">No se puede añadir la ciudad. La lista de Reloj Mundial está llena. Elimine algunos elementos</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Ordenar por</text>
+ <text id="IDS_TMR_BODY_SEC">seg</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 veces</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Cronómetro</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Detener sonido</text>
+ <text id="IDS_TMR_BODY_HOUR">hora</text>
+ <text id="IDS_COM_BODY_JAN">Ene.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Reloj Mundial</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Ago.</text>
+ <text id="IDS_TMR_SK_START">Iniciar</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Cada Martes</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarma</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Más</text>
+ <text id="IDS_COM_BODY_TIMER">Temporizador</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarma después de</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Repetir</text>
+ <text id="IDS_COM_BODY_SEARCH">Buscar</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Seleccionar alarmas</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Cada Sábado</text>
+ <text id="IDS_SWT_BUTTON_RESET">Restabl.</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Diariamente</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d ciudades seleccionadas</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Cancelar Horario de verano</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Cada Jueves</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tiempo de espera</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarmas seleccionadas</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d veces</text>
+ <text id="IDS_COM_POP_DELETED">Eliminado</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 veces</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">No se han encontrado resultados</text>
+ <text id="IDS_SWT_BUTTON_LAP">Vuelta</text>
+ <text id="IDS_COM_SK_ADD">Añadir</text>
+ <text id="IDS_ALM_BODY_TONE">Tono</text>
+ <text id="IDS_TMR_SK_RESET">Restabl.</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tipo</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodía</text>
+ <text id="IDS_COM_BUTTON_RECENT">Reciente</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 ciudad seleccionada</text>
+ <text id="IDS_COM_BODY_OCT">Oct.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Por nomb.</text>
+ <text id="IDS_ALM_SK_DELETE">Eliminar</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Cada Domingo</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Ningún elemento</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodija i vibracija</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Vremenska zona</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 puta</text>\r
- <text id="IDS_COM_BODY_NOV">Nov.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Označeno</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Izaberi vremensku zonu</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Izaberi sve</text>\r
- <text id="IDS_NOTHING_SELECTED">Ništa nije izabrano</text>\r
- <text id="IDS_COM_BODY_DEC">Dec.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Poništi</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Ponovi</text>\r
- <text id="IDS_TMR_BODY_MIN1">min.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Nema alarma</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Nema stavki</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Svakog ponedeljka</text>\r
- <text id="IDS_WCL_TAB_TIME">Vreme</text>\r
- <text id="IDS_COM_SK_NEW">Nova</text>\r
- <text id="IDS_ALM_SK3_SAVE">Sačuvaj</text>\r
- <text id="IDS_COM_BODY_JUN">Jun</text>\r
- <text id="IDS_ALM_BODY_TIME">Vreme</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Odremaj</text>\r
- <text id="IDS_COM_BODY_JUL">Jul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Počni ponovo</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tip</text>\r
- <text id="IDS_TMR_SK3_STOP">Stop</text>\r
- <text id="IDS_TMR_SK3_RESTART">Restart</text>\r
- <text id="IDS_WCL_SK_DONE">Gotovo</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min.</text>\r
- <text id="IDS_COM_BODY_MAY">Maj</text>\r
- <text id="IDS_ALM_BODY_NAME">Ime</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibracija</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Podešavanja letnjeg računanja vremena</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Trajanje odlaganja</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Izabran je jedan alarm</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodija</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Svakog petka</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Preuredi</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Svake srede</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Vreme je isteklo</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nije moguće dodati grad. Lista Svetskog vremena je puna. Najpre izbriši neke stavke</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortiraj po</text>\r
- <text id="IDS_TMR_BODY_SEC">s.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 puta</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Štoperica</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Prekini zvono</text>\r
- <text id="IDS_TMR_BODY_HOUR">Sat</text>\r
- <text id="IDS_COM_BODY_JAN">Jan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Svetsko vreme</text>\r
- <text id="IDS_COM_BODY_SEP">Sep.</text>\r
- <text id="IDS_COM_BODY_AUG">Avg.</text>\r
- <text id="IDS_TMR_SK_START">Pokreni</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Svakog utorka</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Još</text>\r
- <text id="IDS_COM_BODY_TIMER">Tajmer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarm isteka vremena</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ponavljanje odlaganja</text>\r
- <text id="IDS_COM_BODY_SEARCH">Pretraži</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Izaberi alarme</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Svake subote</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Resetuj</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Svaki dan</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d grad(ov)a izabrano</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Otkaži letnje vreme</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Svakog četvrtka</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Vreme isteklo</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Izabrano je %d alarma</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d puta</text>\r
- <text id="IDS_COM_POP_DELETED">Obrisano</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 puta</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nema rezultata pretrage</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Prolazno vreme</text>\r
- <text id="IDS_COM_SK_ADD">Dodaj</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Resetuj</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tip</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Nedavno</text>\r
- <text id="IDS_TMR_BODY_MIN">min.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 grad izabran</text>\r
- <text id="IDS_COM_BODY_OCT">Okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Po imenu</text>\r
- <text id="IDS_ALM_SK_DELETE">Obriši</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Svake nedelje</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Nema stavki</text>\r
- <text id="IDS_COM_BODY_FEB">Feb.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodija i vibracija</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Vremenska zona</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 puta</text>
+ <text id="IDS_COM_BODY_NOV">Nov.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Označeno</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Izaberi vremensku zonu</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Izaberi sve</text>
+ <text id="IDS_NOTHING_SELECTED">Ništa nije izabrano</text>
+ <text id="IDS_COM_BODY_DEC">Dec.</text>
+ <text id="IDS_ALM_SK_CANCEL">Poništi</text>
+ <text id="IDS_ALM_BODY_REPEAT">Ponovi</text>
+ <text id="IDS_TMR_BODY_MIN1">min.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Nema alarma</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Nema stavki</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Svakog ponedeljka</text>
+ <text id="IDS_WCL_TAB_TIME">Vreme</text>
+ <text id="IDS_COM_SK_NEW">Nova</text>
+ <text id="IDS_ALM_SK3_SAVE">Sačuvaj</text>
+ <text id="IDS_COM_BODY_JUN">Jun</text>
+ <text id="IDS_ALM_BODY_TIME">Vreme</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Odremaj</text>
+ <text id="IDS_COM_BODY_JUL">Jul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Počni ponovo</text>
+ <text id="IDS_ALM_BODY_TYPE">Tip</text>
+ <text id="IDS_TMR_SK3_STOP">Stop</text>
+ <text id="IDS_TMR_SK3_RESTART">Restart</text>
+ <text id="IDS_WCL_SK_DONE">Gotovo</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min.</text>
+ <text id="IDS_COM_BODY_MAY">Maj</text>
+ <text id="IDS_ALM_BODY_NAME">Ime</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibracija</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Podešavanja letnjeg računanja vremena</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Trajanje odlaganja</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Izabran je jedan alarm</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodija</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Svakog petka</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Preuredi</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Svake srede</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Vreme je isteklo</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Nije moguće dodati grad. Lista Svetskog vremena je puna. Najpre izbriši neke stavke</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortiraj po</text>
+ <text id="IDS_TMR_BODY_SEC">s.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 puta</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Štoperica</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Prekini zvono</text>
+ <text id="IDS_TMR_BODY_HOUR">Sat</text>
+ <text id="IDS_COM_BODY_JAN">Jan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Svetsko vreme</text>
+ <text id="IDS_COM_BODY_SEP">Sep.</text>
+ <text id="IDS_COM_BODY_AUG">Avg.</text>
+ <text id="IDS_TMR_SK_START">Pokreni</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Svakog utorka</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Još</text>
+ <text id="IDS_COM_BODY_TIMER">Tajmer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Alarm isteka vremena</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Ponavljanje odlaganja</text>
+ <text id="IDS_COM_BODY_SEARCH">Pretraži</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Izaberi alarme</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Svake subote</text>
+ <text id="IDS_SWT_BUTTON_RESET">Resetuj</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Svaki dan</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d grad(ov)a izabrano</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Otkaži letnje vreme</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Svakog četvrtka</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Vreme isteklo</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Izabrano je %d alarma</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d puta</text>
+ <text id="IDS_COM_POP_DELETED">Obrisano</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 puta</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Nema rezultata pretrage</text>
+ <text id="IDS_SWT_BUTTON_LAP">Prolazno vreme</text>
+ <text id="IDS_COM_SK_ADD">Dodaj</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Resetuj</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tip</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodija</text>
+ <text id="IDS_COM_BUTTON_RECENT">Nedavno</text>
+ <text id="IDS_TMR_BODY_MIN">min.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 grad izabran</text>
+ <text id="IDS_COM_BODY_OCT">Okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Po imenu</text>
+ <text id="IDS_ALM_SK_DELETE">Obriši</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Svake nedelje</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Nema stavki</text>
+ <text id="IDS_COM_BODY_FEB">Feb.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi och vibration</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Tidzon</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 gånger</text>\r
- <text id="IDS_COM_BODY_NOV">Nov</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Markerade</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Välj tidszon</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Välj alla</text>\r
- <text id="IDS_NOTHING_SELECTED">Inget markerat</text>\r
- <text id="IDS_COM_BODY_DEC">Dec</text>\r
- <text id="IDS_ALM_SK_CANCEL">Avbryt</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Upprepa</text>\r
- <text id="IDS_TMR_BODY_MIN1">min</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Inga alarm</text>\r
- <text id="IDS_COM_BODY_AM">FM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Inga objekt</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Varje måndag</text>\r
- <text id="IDS_WCL_TAB_TIME">Tid</text>\r
- <text id="IDS_COM_SK_NEW">Nytt</text>\r
- <text id="IDS_ALM_SK3_SAVE">Spara</text>\r
- <text id="IDS_COM_BODY_JUN">Jun</text>\r
- <text id="IDS_ALM_BODY_TIME">Tid</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>\r
- <text id="IDS_COM_BODY_JUL">Jul</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Omstart</text>\r
- <text id="IDS_ALM_BODY_TYPE">Typ</text>\r
- <text id="IDS_TMR_SK3_STOP">Stopp</text>\r
- <text id="IDS_TMR_SK3_RESTART">Omstart</text>\r
- <text id="IDS_WCL_SK_DONE">Klar</text>\r
- <text id="IDS_COM_BODY_APR">Apr</text>\r
- <text id="IDS_COM_POP_PM">EM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 min</text>\r
- <text id="IDS_COM_BODY_MAY">maj</text>\r
- <text id="IDS_ALM_BODY_NAME">Namn</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST-inställningar</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Tidsperiod för snooze</text>\r
- <text id="IDS_COM_BODY_MAR">Mar</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 valt larm</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodi</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Varje fredag</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Ändra ordningsföljd</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Varje onsdag</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Tiden har gått ut</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Det går inte att lägga till en ort. Världsklockslistan är full. Radera några objekt först</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sortera efter</text>\r
- <text id="IDS_TMR_BODY_SEC">s</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 gånger</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stoppur</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Stoppa uppringning</text>\r
- <text id="IDS_TMR_BODY_HOUR">Timme</text>\r
- <text id="IDS_COM_BODY_JAN">Jan</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Världsklocka</text>\r
- <text id="IDS_COM_BODY_SEP">Sept</text>\r
- <text id="IDS_COM_BODY_AUG">Aug</text>\r
- <text id="IDS_TMR_SK_START">Start</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Varje tisdag</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Mer</text>\r
- <text id="IDS_COM_BODY_TIMER">Timer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timeoutlarm</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Upprepa snooze</text>\r
- <text id="IDS_COM_BODY_SEARCH">Sök</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Välj larm</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Varje lördag</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Nollställ</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Varje dag</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d valda orter</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 min</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Avbryt SMT</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 min</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Varje torsdag</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Tidsgräns</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d valda larm</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d gånger</text>\r
- <text id="IDS_COM_POP_DELETED">Raderad</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 gånger</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Inga sökresultat</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Varv</text>\r
- <text id="IDS_COM_SK_ADD">Lägg till</text>\r
- <text id="IDS_ALM_BODY_TONE">Signal</text>\r
- <text id="IDS_TMR_SK_RESET">Nollställ</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Typ</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Senaste</text>\r
- <text id="IDS_TMR_BODY_MIN">min</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 vald ort</text>\r
- <text id="IDS_COM_BODY_OCT">Okt</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Eft. namn</text>\r
- <text id="IDS_ALM_SK_DELETE">Radera</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Varje söndag</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Inga objekt</text>\r
- <text id="IDS_COM_BODY_FEB">Feb</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi och vibration</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Tidzon</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 gånger</text>
+ <text id="IDS_COM_BODY_NOV">Nov</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Markerade</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Välj tidszon</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Välj alla</text>
+ <text id="IDS_NOTHING_SELECTED">Inget markerat</text>
+ <text id="IDS_COM_BODY_DEC">Dec</text>
+ <text id="IDS_ALM_SK_CANCEL">Avbryt</text>
+ <text id="IDS_ALM_BODY_REPEAT">Upprepa</text>
+ <text id="IDS_TMR_BODY_MIN1">min</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Inga alarm</text>
+ <text id="IDS_COM_BODY_AM">FM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Inga objekt</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Varje måndag</text>
+ <text id="IDS_WCL_TAB_TIME">Tid</text>
+ <text id="IDS_COM_SK_NEW">Nytt</text>
+ <text id="IDS_ALM_SK3_SAVE">Spara</text>
+ <text id="IDS_COM_BODY_JUN">Jun</text>
+ <text id="IDS_ALM_BODY_TIME">Tid</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Snooze</text>
+ <text id="IDS_COM_BODY_JUL">Jul</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Omstart</text>
+ <text id="IDS_ALM_BODY_TYPE">Typ</text>
+ <text id="IDS_TMR_SK3_STOP">Stopp</text>
+ <text id="IDS_TMR_SK3_RESTART">Omstart</text>
+ <text id="IDS_WCL_SK_DONE">Klar</text>
+ <text id="IDS_COM_BODY_APR">Apr</text>
+ <text id="IDS_COM_POP_PM">EM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 min</text>
+ <text id="IDS_COM_BODY_MAY">maj</text>
+ <text id="IDS_ALM_BODY_NAME">Namn</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibration</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST-inställningar</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Tidsperiod för snooze</text>
+ <text id="IDS_COM_BODY_MAR">Mar</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 valt larm</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodi</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Varje fredag</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Ändra ordningsföljd</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Varje onsdag</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Tiden har gått ut</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Det går inte att lägga till en ort. Världsklockslistan är full. Radera några objekt först</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sortera efter</text>
+ <text id="IDS_TMR_BODY_SEC">s</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 gånger</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stoppur</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Stoppa uppringning</text>
+ <text id="IDS_TMR_BODY_HOUR">Timme</text>
+ <text id="IDS_COM_BODY_JAN">Jan</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Världsklocka</text>
+ <text id="IDS_COM_BODY_SEP">Sept</text>
+ <text id="IDS_COM_BODY_AUG">Aug</text>
+ <text id="IDS_TMR_SK_START">Start</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Varje tisdag</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Mer</text>
+ <text id="IDS_COM_BODY_TIMER">Timer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Timeoutlarm</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Upprepa snooze</text>
+ <text id="IDS_COM_BODY_SEARCH">Sök</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Välj larm</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Varje lördag</text>
+ <text id="IDS_SWT_BUTTON_RESET">Nollställ</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Varje dag</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d valda orter</text>
+ <text id="IDS_ALM_BODY_10MINS">10 min</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Avbryt SMT</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 min</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Varje torsdag</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Tidsgräns</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d valda larm</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d gånger</text>
+ <text id="IDS_COM_POP_DELETED">Raderad</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 gånger</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Inga sökresultat</text>
+ <text id="IDS_SWT_BUTTON_LAP">Varv</text>
+ <text id="IDS_COM_SK_ADD">Lägg till</text>
+ <text id="IDS_ALM_BODY_TONE">Signal</text>
+ <text id="IDS_TMR_SK_RESET">Nollställ</text>
+ <text id="IDS_ALM_HEADER_TYPE">Typ</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>
+ <text id="IDS_COM_BUTTON_RECENT">Senaste</text>
+ <text id="IDS_TMR_BODY_MIN">min</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 vald ort</text>
+ <text id="IDS_COM_BODY_OCT">Okt</text>
+ <text id="IDS_WCL_SK_BY_NAME">Eft. namn</text>
+ <text id="IDS_ALM_SK_DELETE">Radera</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Varje söndag</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Inga objekt</text>
+ <text id="IDS_COM_BODY_FEB">Feb</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi ve titreşim</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Saat dilimi</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 kez</text>\r
- <text id="IDS_COM_BODY_NOV">Kas.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Seçili</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Saat dilimini seçin</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Hepsini seç</text>\r
- <text id="IDS_NOTHING_SELECTED">Bir şey seçilmedi</text>\r
- <text id="IDS_COM_BODY_DEC">Ara.</text>\r
- <text id="IDS_ALM_SK_CANCEL">İptal</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Tekrar</text>\r
- <text id="IDS_TMR_BODY_MIN1">dk</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Alarm yok</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Öğe yok</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Her Pazartesi</text>\r
- <text id="IDS_WCL_TAB_TIME">Saat</text>\r
- <text id="IDS_COM_SK_NEW">Yeni</text>\r
- <text id="IDS_ALM_SK3_SAVE">Kaydet</text>\r
- <text id="IDS_COM_BODY_JUN">Haz.</text>\r
- <text id="IDS_ALM_BODY_TIME">Saat</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Erteleme</text>\r
- <text id="IDS_COM_BODY_JUL">Tem.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Yeniden Başlat</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tür</text>\r
- <text id="IDS_TMR_SK3_STOP">Durdur</text>\r
- <text id="IDS_TMR_SK3_RESTART">Yeniden başlat</text>\r
- <text id="IDS_WCL_SK_DONE">Kaydet</text>\r
- <text id="IDS_COM_BODY_APR">Nis.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 dk</text>\r
- <text id="IDS_COM_BODY_MAY">Mayıs</text>\r
- <text id="IDS_ALM_BODY_NAME">İsim</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Titreşim</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">DST ayarları</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duraklatma süresi</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm seçildi</text>\r
- <text id="IDS_ALM_BODY_MELODY">Melodi</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Her Cuma</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Yeniden düzenle</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Her Çarşamba</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Süre doldu</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Şehir eklenemiyor. Dünya Saati listesi dolu. Önce bazı öğeleri silin</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Sırala</text>\r
- <text id="IDS_TMR_BODY_SEC">sn</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 kez</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Kronometre</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Çalmayı durdur</text>\r
- <text id="IDS_TMR_BODY_HOUR">Saat</text>\r
- <text id="IDS_COM_BODY_JAN">Oca.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Dünya Saati</text>\r
- <text id="IDS_COM_BODY_SEP">Eyl.</text>\r
- <text id="IDS_COM_BODY_AUG">Ağu.</text>\r
- <text id="IDS_TMR_SK_START">Başlat</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Her Salı</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Alarm</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Diğer</text>\r
- <text id="IDS_COM_BODY_TIMER">Zamanlayıcı</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Zaman aşımı alarmı</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Duraklatma tekrarı</text>\r
- <text id="IDS_COM_BODY_SEARCH">Buluyor</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Alarmları seç</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Her Cumartesi</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Sıfırla</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Her gün</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d şehir seçildi</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 dk</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DST iptal</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 dk</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Her Perşembe</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Süre sona erdi</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarm seçildi</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d kere</text>\r
- <text id="IDS_COM_POP_DELETED">Silindi</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 kez</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Hiç arama sonucu bulunamadı</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Tur</text>\r
- <text id="IDS_COM_SK_ADD">Ekle</text>\r
- <text id="IDS_ALM_BODY_TONE">Ton</text>\r
- <text id="IDS_TMR_SK_RESET">Sıfırla</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tür</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Yakın</text>\r
- <text id="IDS_TMR_BODY_MIN">dk</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 şehir seçildi</text>\r
- <text id="IDS_COM_BODY_OCT">Eki.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Ada göre</text>\r
- <text id="IDS_ALM_SK_DELETE">Sil</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Her Pazar</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Öğe yok</text>\r
- <text id="IDS_COM_BODY_FEB">Şub.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Melodi ve titreşim</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Saat dilimi</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 kez</text>
+ <text id="IDS_COM_BODY_NOV">Kas.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Seçili</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Saat dilimini seçin</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Hepsini seç</text>
+ <text id="IDS_NOTHING_SELECTED">Bir şey seçilmedi</text>
+ <text id="IDS_COM_BODY_DEC">Ara.</text>
+ <text id="IDS_ALM_SK_CANCEL">İptal</text>
+ <text id="IDS_ALM_BODY_REPEAT">Tekrar</text>
+ <text id="IDS_TMR_BODY_MIN1">dk</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Alarm yok</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Öğe yok</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Her Pazartesi</text>
+ <text id="IDS_WCL_TAB_TIME">Saat</text>
+ <text id="IDS_COM_SK_NEW">Yeni</text>
+ <text id="IDS_ALM_SK3_SAVE">Kaydet</text>
+ <text id="IDS_COM_BODY_JUN">Haz.</text>
+ <text id="IDS_ALM_BODY_TIME">Saat</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Erteleme</text>
+ <text id="IDS_COM_BODY_JUL">Tem.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Yeniden Başlat</text>
+ <text id="IDS_ALM_BODY_TYPE">Tür</text>
+ <text id="IDS_TMR_SK3_STOP">Durdur</text>
+ <text id="IDS_TMR_SK3_RESTART">Yeniden başlat</text>
+ <text id="IDS_WCL_SK_DONE">Kaydet</text>
+ <text id="IDS_COM_BODY_APR">Nis.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 dk</text>
+ <text id="IDS_COM_BODY_MAY">Mayıs</text>
+ <text id="IDS_ALM_BODY_NAME">İsim</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Titreşim</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">DST ayarları</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Duraklatma süresi</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 alarm seçildi</text>
+ <text id="IDS_ALM_BODY_MELODY">Melodi</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Her Cuma</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Yeniden düzenle</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Her Çarşamba</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Süre doldu</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Şehir eklenemiyor. Dünya Saati listesi dolu. Önce bazı öğeleri silin</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Sırala</text>
+ <text id="IDS_TMR_BODY_SEC">sn</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 kez</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Kronometre</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Çalmayı durdur</text>
+ <text id="IDS_TMR_BODY_HOUR">Saat</text>
+ <text id="IDS_COM_BODY_JAN">Oca.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Dünya Saati</text>
+ <text id="IDS_COM_BODY_SEP">Eyl.</text>
+ <text id="IDS_COM_BODY_AUG">Ağu.</text>
+ <text id="IDS_TMR_SK_START">Başlat</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Her Salı</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Alarm</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Diğer</text>
+ <text id="IDS_COM_BODY_TIMER">Zamanlayıcı</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Zaman aşımı alarmı</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Duraklatma tekrarı</text>
+ <text id="IDS_COM_BODY_SEARCH">Buluyor</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Alarmları seç</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Her Cumartesi</text>
+ <text id="IDS_SWT_BUTTON_RESET">Sıfırla</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Her gün</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d şehir seçildi</text>
+ <text id="IDS_ALM_BODY_10MINS">10 dk</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DST iptal</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 dk</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Her Perşembe</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Süre sona erdi</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d alarm seçildi</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d kere</text>
+ <text id="IDS_COM_POP_DELETED">Silindi</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 kez</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Hiç arama sonucu bulunamadı</text>
+ <text id="IDS_SWT_BUTTON_LAP">Tur</text>
+ <text id="IDS_COM_SK_ADD">Ekle</text>
+ <text id="IDS_ALM_BODY_TONE">Ton</text>
+ <text id="IDS_TMR_SK_RESET">Sıfırla</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tür</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Melodi</text>
+ <text id="IDS_COM_BUTTON_RECENT">Yakın</text>
+ <text id="IDS_TMR_BODY_MIN">dk</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 şehir seçildi</text>
+ <text id="IDS_COM_BODY_OCT">Eki.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Ada göre</text>
+ <text id="IDS_ALM_SK_DELETE">Sil</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Her Pazar</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Öğe yok</text>
+ <text id="IDS_COM_BODY_FEB">Şub.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Мелодія та вібрація</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Часовий пояс</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 разів</text>\r
- <text id="IDS_COM_BODY_NOV">Лис</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Вибране</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Вибрати часовий пояс</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Вибрати всі</text>\r
- <text id="IDS_NOTHING_SELECTED">Нічого не вибрано</text>\r
- <text id="IDS_COM_BODY_DEC">Гру</text>\r
- <text id="IDS_ALM_SK_CANCEL">Скасувати</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Повторити</text>\r
- <text id="IDS_TMR_BODY_MIN1">хв.</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Немає будильників</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Немає об’єктів</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Щопонеділка</text>\r
- <text id="IDS_WCL_TAB_TIME">Час</text>\r
- <text id="IDS_COM_SK_NEW">Нове</text>\r
- <text id="IDS_ALM_SK3_SAVE">Зберегти</text>\r
- <text id="IDS_COM_BODY_JUN">Чер</text>\r
- <text id="IDS_ALM_BODY_TIME">Час</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Пауза</text>\r
- <text id="IDS_COM_BODY_JUL">Лип</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Перезапустити</text>\r
- <text id="IDS_ALM_BODY_TYPE">Тип</text>\r
- <text id="IDS_TMR_SK3_STOP">Стоп</text>\r
- <text id="IDS_TMR_SK3_RESTART">Відновити</text>\r
- <text id="IDS_WCL_SK_DONE">Готово</text>\r
- <text id="IDS_COM_BODY_APR">Кві</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 хв.</text>\r
- <text id="IDS_COM_BODY_MAY">Трав.</text>\r
- <text id="IDS_ALM_BODY_NAME">Назва</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вібрація</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Установки переходу на літній час</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Повторний сигнал через</text>\r
- <text id="IDS_COM_BODY_MAR">бер</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Вибрано 1 будильник</text>\r
- <text id="IDS_ALM_BODY_MELODY">Мелодія</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Щоп’ятниці</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Упорядкувати</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Щосереди</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Час вичерпано</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Неможливо додати місто. Список світового часу заповнено. Спочатку видаліть деякі об’єкти</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Сортувати за</text>\r
- <text id="IDS_TMR_BODY_SEC">сек.</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 рази</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Секундомір</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Зупинити дзвінок</text>\r
- <text id="IDS_TMR_BODY_HOUR">Година</text>\r
- <text id="IDS_COM_BODY_JAN">Січ</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Світовий час</text>\r
- <text id="IDS_COM_BODY_SEP">Вер</text>\r
- <text id="IDS_COM_BODY_AUG">Сер</text>\r
- <text id="IDS_TMR_SK_START">Почати</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Щовівторка</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Будильник</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Більше</text>\r
- <text id="IDS_COM_BODY_TIMER">Таймер</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Сигнал будильника після очікування</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Кількість повторень</text>\r
- <text id="IDS_COM_BODY_SEARCH">Пошук</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Вибір будильника</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Щосуботи</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Скинути</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Щодня</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Вибрано міст: %d</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 хв.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">Скасувати літній час</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 хв.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Щочетверга</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Час вичерпаний</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Вибрано будильників: %d</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d разів</text>\r
- <text id="IDS_COM_POP_DELETED">Видалено</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 разів</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Пошук не дав результатів</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Коло</text>\r
- <text id="IDS_COM_SK_ADD">Додати</text>\r
- <text id="IDS_ALM_BODY_TONE">Звук</text>\r
- <text id="IDS_TMR_SK_RESET">Скинути</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Тип</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодія</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Останні</text>\r
- <text id="IDS_TMR_BODY_MIN">хв.</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">Вибрано 1 місто</text>\r
- <text id="IDS_COM_BODY_OCT">Жов</text>\r
- <text id="IDS_WCL_SK_BY_NAME">За іменем</text>\r
- <text id="IDS_ALM_SK_DELETE">Видалити</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Щонеділі</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Немає об’єктів</text>\r
- <text id="IDS_COM_BODY_FEB">Лют</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Мелодія та вібрація</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Часовий пояс</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 разів</text>
+ <text id="IDS_COM_BODY_NOV">Лис</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Вибране</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Вибрати часовий пояс</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Вибрати всі</text>
+ <text id="IDS_NOTHING_SELECTED">Нічого не вибрано</text>
+ <text id="IDS_COM_BODY_DEC">Гру</text>
+ <text id="IDS_ALM_SK_CANCEL">Скасувати</text>
+ <text id="IDS_ALM_BODY_REPEAT">Повторити</text>
+ <text id="IDS_TMR_BODY_MIN1">хв.</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Немає будильників</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Немає об’єктів</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Щопонеділка</text>
+ <text id="IDS_WCL_TAB_TIME">Час</text>
+ <text id="IDS_COM_SK_NEW">Нове</text>
+ <text id="IDS_ALM_SK3_SAVE">Зберегти</text>
+ <text id="IDS_COM_BODY_JUN">Чер</text>
+ <text id="IDS_ALM_BODY_TIME">Час</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Пауза</text>
+ <text id="IDS_COM_BODY_JUL">Лип</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Перезапустити</text>
+ <text id="IDS_ALM_BODY_TYPE">Тип</text>
+ <text id="IDS_TMR_SK3_STOP">Стоп</text>
+ <text id="IDS_TMR_SK3_RESTART">Відновити</text>
+ <text id="IDS_WCL_SK_DONE">Готово</text>
+ <text id="IDS_COM_BODY_APR">Кві</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 хв.</text>
+ <text id="IDS_COM_BODY_MAY">Трав.</text>
+ <text id="IDS_ALM_BODY_NAME">Назва</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Вібрація</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Установки переходу на літній час</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Повторний сигнал через</text>
+ <text id="IDS_COM_BODY_MAR">бер</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">Вибрано 1 будильник</text>
+ <text id="IDS_ALM_BODY_MELODY">Мелодія</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Щоп’ятниці</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Упорядкувати</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Щосереди</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Час вичерпано</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Неможливо додати місто. Список світового часу заповнено. Спочатку видаліть деякі об’єкти</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Сортувати за</text>
+ <text id="IDS_TMR_BODY_SEC">сек.</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 рази</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Секундомір</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Зупинити дзвінок</text>
+ <text id="IDS_TMR_BODY_HOUR">Година</text>
+ <text id="IDS_COM_BODY_JAN">Січ</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Світовий час</text>
+ <text id="IDS_COM_BODY_SEP">Вер</text>
+ <text id="IDS_COM_BODY_AUG">Сер</text>
+ <text id="IDS_TMR_SK_START">Почати</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Щовівторка</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Будильник</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Більше</text>
+ <text id="IDS_COM_BODY_TIMER">Таймер</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Сигнал будильника після очікування</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Кількість повторень</text>
+ <text id="IDS_COM_BODY_SEARCH">Пошук</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Вибір будильника</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Щосуботи</text>
+ <text id="IDS_SWT_BUTTON_RESET">Скинути</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Щодня</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">Вибрано міст: %d</text>
+ <text id="IDS_ALM_BODY_10MINS">10 хв.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">Скасувати літній час</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 хв.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Щочетверга</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Час вичерпаний</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">Вибрано будильників: %d</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d разів</text>
+ <text id="IDS_COM_POP_DELETED">Видалено</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 разів</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Пошук не дав результатів</text>
+ <text id="IDS_SWT_BUTTON_LAP">Коло</text>
+ <text id="IDS_COM_SK_ADD">Додати</text>
+ <text id="IDS_ALM_BODY_TONE">Звук</text>
+ <text id="IDS_TMR_SK_RESET">Скинути</text>
+ <text id="IDS_ALM_HEADER_TYPE">Тип</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Мелодія</text>
+ <text id="IDS_COM_BUTTON_RECENT">Останні</text>
+ <text id="IDS_TMR_BODY_MIN">хв.</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">Вибрано 1 місто</text>
+ <text id="IDS_COM_BODY_OCT">Жов</text>
+ <text id="IDS_WCL_SK_BY_NAME">За іменем</text>
+ <text id="IDS_ALM_SK_DELETE">Видалити</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Щонеділі</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Немає об’єктів</text>
+ <text id="IDS_COM_BODY_FEB">Лют</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Musiqa va vibratsiya</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">Vaqt mintaqasi</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 marta</text>\r
- <text id="IDS_COM_BODY_NOV">Noy.</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d Tanlangan</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vaqt mintaqasini tanlash</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">Barchasini tanlash</text>\r
- <text id="IDS_NOTHING_SELECTED">Hech narsa tanlanmagan</text>\r
- <text id="IDS_COM_BODY_DEC">Dek.</text>\r
- <text id="IDS_ALM_SK_CANCEL">Bekor q.</text>\r
- <text id="IDS_ALM_BODY_REPEAT">Takrorlash</text>\r
- <text id="IDS_TMR_BODY_MIN1">daq</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">Budilniklar yo‘q</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">Elementlar yo‘q</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">Har dushanba</text>\r
- <text id="IDS_WCL_TAB_TIME">Vaqt</text>\r
- <text id="IDS_COM_SK_NEW">Yangi</text>\r
- <text id="IDS_ALM_SK3_SAVE">Saqlash</text>\r
- <text id="IDS_COM_BODY_JUN">Iyn.</text>\r
- <text id="IDS_ALM_BODY_TIME">Vaqt</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">Pauza</text>\r
- <text id="IDS_COM_BODY_JUL">Iyl.</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">Qay/yuklash</text>\r
- <text id="IDS_ALM_BODY_TYPE">Tur</text>\r
- <text id="IDS_TMR_SK3_STOP">To‘xtatish</text>\r
- <text id="IDS_TMR_SK3_RESTART">Qayta yuklash</text>\r
- <text id="IDS_WCL_SK_DONE">Bajarildi</text>\r
- <text id="IDS_COM_BODY_APR">Apr.</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 daq.</text>\r
- <text id="IDS_COM_BODY_MAY">May</text>\r
- <text id="IDS_ALM_BODY_NAME">Nom</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibratsiya</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">Yozgi vaqt parametrlari</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">Pauza davomiyligi</text>\r
- <text id="IDS_COM_BODY_MAR">Mar.</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 signal tanlandi</text>\r
- <text id="IDS_ALM_BODY_MELODY">Musiqa</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">Har juma</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">Qayta saralash</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Har chorshanba</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">Vaqt bo‘ldi</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Shahar qo‘shib bo‘lmaydi. Xalqaro soatlar ro‘yxati to‘la. Avval ba’zi elementlarni o'chiring</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">Saralash</text>\r
- <text id="IDS_TMR_BODY_SEC">soniya</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 marta</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">Stop-soat</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">Qo‘ng‘iroq chalinishini to‘xtatish</text>\r
- <text id="IDS_TMR_BODY_HOUR">Soat</text>\r
- <text id="IDS_COM_BODY_JAN">Yan.</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">Xalqaro soat</text>\r
- <text id="IDS_COM_BODY_SEP">Sen.</text>\r
- <text id="IDS_COM_BODY_AUG">Avg.</text>\r
- <text id="IDS_TMR_SK_START">Boshlash</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">Har seshanba</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">Signal</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">Ko‘proq</text>\r
- <text id="IDS_COM_BODY_TIMER">Taymer</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Taym-aut signali</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Keyinroq takrorlash</text>\r
- <text id="IDS_COM_BODY_SEARCH">Qidirish</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">Budilniklarni tanlash</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">Har shanba</text>\r
- <text id="IDS_SWT_BUTTON_RESET">Tashlash</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">Har kun</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d shahar tanlangan</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 daq.</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">DSTni bekor qilish</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 daq.</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">Har payshanba</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">Taym-aut</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d signal tanlangan</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d marta</text>\r
- <text id="IDS_COM_POP_DELETED">O'chirildi</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 marta</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Qidirish natijalari yo‘q</text>\r
- <text id="IDS_SWT_BUTTON_LAP">Aylana</text>\r
- <text id="IDS_COM_SK_ADD">Qo‘shish</text>\r
- <text id="IDS_ALM_BODY_TONE">Ohang</text>\r
- <text id="IDS_TMR_SK_RESET">Qay. o'r.</text>\r
- <text id="IDS_ALM_HEADER_TYPE">Tur</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Musiqa</text>\r
- <text id="IDS_COM_BUTTON_RECENT">Oxirgi</text>\r
- <text id="IDS_TMR_BODY_MIN">daq</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">1 shahar tanlangan</text>\r
- <text id="IDS_COM_BODY_OCT">Okt.</text>\r
- <text id="IDS_WCL_SK_BY_NAME">Nom bo‘y.</text>\r
- <text id="IDS_ALM_SK_DELETE">O'chirish</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">Har yakshanba</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">Elementlar yo‘q</text>\r
- <text id="IDS_COM_BODY_FEB">Fev.</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">Musiqa va vibratsiya</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">Vaqt mintaqasi</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 marta</text>
+ <text id="IDS_COM_BODY_NOV">Noy.</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d Tanlangan</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">Vaqt mintaqasini tanlash</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">Barchasini tanlash</text>
+ <text id="IDS_NOTHING_SELECTED">Hech narsa tanlanmagan</text>
+ <text id="IDS_COM_BODY_DEC">Dek.</text>
+ <text id="IDS_ALM_SK_CANCEL">Bekor q.</text>
+ <text id="IDS_ALM_BODY_REPEAT">Takrorlash</text>
+ <text id="IDS_TMR_BODY_MIN1">daq</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">Budilniklar yo‘q</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">Elementlar yo‘q</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">Har dushanba</text>
+ <text id="IDS_WCL_TAB_TIME">Vaqt</text>
+ <text id="IDS_COM_SK_NEW">Yangi</text>
+ <text id="IDS_ALM_SK3_SAVE">Saqlash</text>
+ <text id="IDS_COM_BODY_JUN">Iyn.</text>
+ <text id="IDS_ALM_BODY_TIME">Vaqt</text>
+ <text id="IDS_ALM_BODY_SNOOZE">Pauza</text>
+ <text id="IDS_COM_BODY_JUL">Iyl.</text>
+ <text id="IDS_SWT_BUTTON_RESTART">Qay/yuklash</text>
+ <text id="IDS_ALM_BODY_TYPE">Tur</text>
+ <text id="IDS_TMR_SK3_STOP">To‘xtatish</text>
+ <text id="IDS_TMR_SK3_RESTART">Qayta yuklash</text>
+ <text id="IDS_WCL_SK_DONE">Bajarildi</text>
+ <text id="IDS_COM_BODY_APR">Apr.</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 daq.</text>
+ <text id="IDS_COM_BODY_MAY">May</text>
+ <text id="IDS_ALM_BODY_NAME">Nom</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">Vibratsiya</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">Yozgi vaqt parametrlari</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">Pauza davomiyligi</text>
+ <text id="IDS_COM_BODY_MAR">Mar.</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">1 signal tanlandi</text>
+ <text id="IDS_ALM_BODY_MELODY">Musiqa</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">Har juma</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">Qayta saralash</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">Har chorshanba</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">Vaqt bo‘ldi</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">Shahar qo‘shib bo‘lmaydi. Xalqaro soatlar ro‘yxati to‘la. Avval ba’zi elementlarni o'chiring</text>
+ <text id="IDS_ALM_OPT_SORT_BY">Saralash</text>
+ <text id="IDS_TMR_BODY_SEC">soniya</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 marta</text>
+ <text id="IDS_COM_BODY_STOPWATCH">Stop-soat</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">Qo‘ng‘iroq chalinishini to‘xtatish</text>
+ <text id="IDS_TMR_BODY_HOUR">Soat</text>
+ <text id="IDS_COM_BODY_JAN">Yan.</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">Xalqaro soat</text>
+ <text id="IDS_COM_BODY_SEP">Sen.</text>
+ <text id="IDS_COM_BODY_AUG">Avg.</text>
+ <text id="IDS_TMR_SK_START">Boshlash</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">Har seshanba</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">Signal</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">Ko‘proq</text>
+ <text id="IDS_COM_BODY_TIMER">Taymer</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">Taym-aut signali</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">Keyinroq takrorlash</text>
+ <text id="IDS_COM_BODY_SEARCH">Qidirish</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">Budilniklarni tanlash</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">Har shanba</text>
+ <text id="IDS_SWT_BUTTON_RESET">Tashlash</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">Har kun</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">%d shahar tanlangan</text>
+ <text id="IDS_ALM_BODY_10MINS">10 daq.</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">DSTni bekor qilish</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 daq.</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">Har payshanba</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">Taym-aut</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">%d signal tanlangan</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d marta</text>
+ <text id="IDS_COM_POP_DELETED">O'chirildi</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 marta</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">Qidirish natijalari yo‘q</text>
+ <text id="IDS_SWT_BUTTON_LAP">Aylana</text>
+ <text id="IDS_COM_SK_ADD">Qo‘shish</text>
+ <text id="IDS_ALM_BODY_TONE">Ohang</text>
+ <text id="IDS_TMR_SK_RESET">Qay. o'r.</text>
+ <text id="IDS_ALM_HEADER_TYPE">Tur</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">Musiqa</text>
+ <text id="IDS_COM_BUTTON_RECENT">Oxirgi</text>
+ <text id="IDS_TMR_BODY_MIN">daq</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">1 shahar tanlangan</text>
+ <text id="IDS_COM_BODY_OCT">Okt.</text>
+ <text id="IDS_WCL_SK_BY_NAME">Nom bo‘y.</text>
+ <text id="IDS_ALM_SK_DELETE">O'chirish</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">Har yakshanba</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">Elementlar yo‘q</text>
+ <text id="IDS_COM_BODY_FEB">Fev.</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">乐曲并振动</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">时区</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 次</text>\r
- <text id="IDS_COM_BODY_NOV">11 月</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d 已选择</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">选择时区</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">全选</text>\r
- <text id="IDS_NOTHING_SELECTED">未选择</text>\r
- <text id="IDS_COM_BODY_DEC">12 月</text>\r
- <text id="IDS_ALM_SK_CANCEL">取消</text>\r
- <text id="IDS_ALM_BODY_REPEAT">重复</text>\r
- <text id="IDS_TMR_BODY_MIN1">分钟</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">无闹钟</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">无项目</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">每周一</text>\r
- <text id="IDS_WCL_TAB_TIME">时间</text>\r
- <text id="IDS_COM_SK_NEW">新建</text>\r
- <text id="IDS_ALM_SK3_SAVE">保存</text>\r
- <text id="IDS_COM_BODY_JUN">6 月</text>\r
- <text id="IDS_ALM_BODY_TIME">时间</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">多睡一会</text>\r
- <text id="IDS_COM_BODY_JUL">7 月</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">重新启动</text>\r
- <text id="IDS_ALM_BODY_TYPE">类型</text>\r
- <text id="IDS_TMR_SK3_STOP">停止</text>\r
- <text id="IDS_TMR_SK3_RESTART">重新启动</text>\r
- <text id="IDS_WCL_SK_DONE">完成</text>\r
- <text id="IDS_COM_BODY_APR">4 月</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 分钟</text>\r
- <text id="IDS_COM_BODY_MAY">5月</text>\r
- <text id="IDS_ALM_BODY_NAME">名称</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">振动</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">夏时制设置</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">多睡一会儿持续时间</text>\r
- <text id="IDS_COM_BODY_MAR">3 月</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已选择1个闹钟</text>\r
- <text id="IDS_ALM_BODY_MELODY">乐曲</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">每周五</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">重新排序</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">每周三</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">时间到</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">无法添加城市。世界时间列表已满。请先删除部分项目</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">排序方式</text>\r
- <text id="IDS_TMR_BODY_SEC">秒</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 次</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">秒表</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">停止铃声</text>\r
- <text id="IDS_TMR_BODY_HOUR">小时</text>\r
- <text id="IDS_COM_BODY_JAN">1 月</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">世界时间</text>\r
- <text id="IDS_COM_BODY_SEP">9月</text>\r
- <text id="IDS_COM_BODY_AUG">8 月</text>\r
- <text id="IDS_TMR_SK_START">开始</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">每周二</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">闹钟</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">更多</text>\r
- <text id="IDS_COM_BODY_TIMER">计时器</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">倒计时</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">多睡一会次数</text>\r
- <text id="IDS_COM_BODY_SEARCH">搜索</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">选择闹钟</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">每周六</text>\r
- <text id="IDS_SWT_BUTTON_RESET">重置</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">每日</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已选择%d个城市</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 分钟</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">取消夏时制</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 分钟</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">每周四</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">超时</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已选择%d个闹钟</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>\r
- <text id="IDS_COM_POP_DELETED">已删除</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 次</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">无搜索结果</text>\r
- <text id="IDS_SWT_BUTTON_LAP">圈</text>\r
- <text id="IDS_COM_SK_ADD">添加</text>\r
- <text id="IDS_ALM_BODY_TONE">提示音</text>\r
- <text id="IDS_TMR_SK_RESET">重置</text>\r
- <text id="IDS_ALM_HEADER_TYPE">类型</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">乐曲</text>\r
- <text id="IDS_COM_BUTTON_RECENT">最近</text>\r
- <text id="IDS_TMR_BODY_MIN">分钟</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">已选择1个城市</text>\r
- <text id="IDS_COM_BODY_OCT">10 月</text>\r
- <text id="IDS_WCL_SK_BY_NAME">按名称</text>\r
- <text id="IDS_ALM_SK_DELETE">删除</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">每周日</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">无项目</text>\r
- <text id="IDS_COM_BODY_FEB">2 月</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">乐曲并振动</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">时区</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 次</text>
+ <text id="IDS_COM_BODY_NOV">11 月</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d 已选择</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">选择时区</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">全选</text>
+ <text id="IDS_NOTHING_SELECTED">未选择</text>
+ <text id="IDS_COM_BODY_DEC">12 月</text>
+ <text id="IDS_ALM_SK_CANCEL">取消</text>
+ <text id="IDS_ALM_BODY_REPEAT">重复</text>
+ <text id="IDS_TMR_BODY_MIN1">分钟</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">无闹钟</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">无项目</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">每周一</text>
+ <text id="IDS_WCL_TAB_TIME">时间</text>
+ <text id="IDS_COM_SK_NEW">新建</text>
+ <text id="IDS_ALM_SK3_SAVE">保存</text>
+ <text id="IDS_COM_BODY_JUN">6 月</text>
+ <text id="IDS_ALM_BODY_TIME">时间</text>
+ <text id="IDS_ALM_BODY_SNOOZE">多睡一会</text>
+ <text id="IDS_COM_BODY_JUL">7 月</text>
+ <text id="IDS_SWT_BUTTON_RESTART">重新启动</text>
+ <text id="IDS_ALM_BODY_TYPE">类型</text>
+ <text id="IDS_TMR_SK3_STOP">停止</text>
+ <text id="IDS_TMR_SK3_RESTART">重新启动</text>
+ <text id="IDS_WCL_SK_DONE">完成</text>
+ <text id="IDS_COM_BODY_APR">4 月</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5 分钟</text>
+ <text id="IDS_COM_BODY_MAY">5月</text>
+ <text id="IDS_ALM_BODY_NAME">名称</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">振动</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">夏时制设置</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">多睡一会儿持续时间</text>
+ <text id="IDS_COM_BODY_MAR">3 月</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已选择1个闹钟</text>
+ <text id="IDS_ALM_BODY_MELODY">乐曲</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">每周五</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">重新排序</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">每周三</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">时间到</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">无法添加城市。世界时间列表已满。请先删除部分项目</text>
+ <text id="IDS_ALM_OPT_SORT_BY">排序方式</text>
+ <text id="IDS_TMR_BODY_SEC">秒</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 次</text>
+ <text id="IDS_COM_BODY_STOPWATCH">秒表</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">停止铃声</text>
+ <text id="IDS_TMR_BODY_HOUR">小时</text>
+ <text id="IDS_COM_BODY_JAN">1 月</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">世界时间</text>
+ <text id="IDS_COM_BODY_SEP">9月</text>
+ <text id="IDS_COM_BODY_AUG">8 月</text>
+ <text id="IDS_TMR_SK_START">开始</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">每周二</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">闹钟</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">更多</text>
+ <text id="IDS_COM_BODY_TIMER">计时器</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">倒计时</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">多睡一会次数</text>
+ <text id="IDS_COM_BODY_SEARCH">搜索</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">选择闹钟</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">每周六</text>
+ <text id="IDS_SWT_BUTTON_RESET">重置</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">每日</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已选择%d个城市</text>
+ <text id="IDS_ALM_BODY_10MINS">10 分钟</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">取消夏时制</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 分钟</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">每周四</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">超时</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已选择%d个闹钟</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>
+ <text id="IDS_COM_POP_DELETED">已删除</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 次</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">无搜索结果</text>
+ <text id="IDS_SWT_BUTTON_LAP">圈</text>
+ <text id="IDS_COM_SK_ADD">添加</text>
+ <text id="IDS_ALM_BODY_TONE">提示音</text>
+ <text id="IDS_TMR_SK_RESET">重置</text>
+ <text id="IDS_ALM_HEADER_TYPE">类型</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">乐曲</text>
+ <text id="IDS_COM_BUTTON_RECENT">最近</text>
+ <text id="IDS_TMR_BODY_MIN">分钟</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">已选择1个城市</text>
+ <text id="IDS_COM_BODY_OCT">10 月</text>
+ <text id="IDS_WCL_SK_BY_NAME">按名称</text>
+ <text id="IDS_ALM_SK_DELETE">删除</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">每周日</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">无项目</text>
+ <text id="IDS_COM_BODY_FEB">2 月</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">響鈴和震動</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">時區</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 次</text>\r
- <text id="IDS_COM_BODY_NOV">11 月</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d 已選擇</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">選擇時區</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">選擇全部</text>\r
- <text id="IDS_NOTHING_SELECTED">無已選擇項目</text>\r
- <text id="IDS_COM_BODY_DEC">12 月</text>\r
- <text id="IDS_ALM_SK_CANCEL">取消</text>\r
- <text id="IDS_ALM_BODY_REPEAT">重複</text>\r
- <text id="IDS_TMR_BODY_MIN1">分鐘</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">無鬧鐘</text>\r
- <text id="IDS_COM_BODY_AM">上午</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">無項目</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">逢星期一</text>\r
- <text id="IDS_WCL_TAB_TIME">時間</text>\r
- <text id="IDS_COM_SK_NEW">新增</text>\r
- <text id="IDS_ALM_SK3_SAVE">儲存</text>\r
- <text id="IDS_COM_BODY_JUN">6 月</text>\r
- <text id="IDS_ALM_BODY_TIME">時間</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">重響</text>\r
- <text id="IDS_COM_BODY_JUL">7 月</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">重新啟動</text>\r
- <text id="IDS_ALM_BODY_TYPE">類型</text>\r
- <text id="IDS_TMR_SK3_STOP">停止</text>\r
- <text id="IDS_TMR_SK3_RESTART">重新啟動</text>\r
- <text id="IDS_WCL_SK_DONE">完成</text>\r
- <text id="IDS_COM_BODY_APR">4 月</text>\r
- <text id="IDS_COM_POP_PM">下午</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 分鐘</text>\r
- <text id="IDS_COM_BODY_MAY">5 月</text>\r
- <text id="IDS_ALM_BODY_NAME">名稱</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">震動</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">夏令時間設定</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">重響持續時間</text>\r
- <text id="IDS_COM_BODY_MAR">3 月</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已選擇 1 個提醒</text>\r
- <text id="IDS_ALM_BODY_MELODY">鈴聲</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">逢星期五</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">重新排序</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">逢星期三</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">時間到了</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">無法加入城市。世界時間列表已滿。先刪除些項目</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">排序方式</text>\r
- <text id="IDS_TMR_BODY_SEC">秒</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 次</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">計秒錶</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">停止鈴響</text>\r
- <text id="IDS_TMR_BODY_HOUR">小時</text>\r
- <text id="IDS_COM_BODY_JAN">1 月</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">世界時間</text>\r
- <text id="IDS_COM_BODY_SEP">9 月</text>\r
- <text id="IDS_COM_BODY_AUG">8 月</text>\r
- <text id="IDS_TMR_SK_START">開始</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">逢星期二</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">鬧鐘</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">更多</text>\r
- <text id="IDS_COM_BODY_TIMER">計時器</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">鬧鐘響鬧暫停</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">重覆</text>\r
- <text id="IDS_COM_BODY_SEARCH">搜尋</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">選擇鬧鐘</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">逢星期六</text>\r
- <text id="IDS_SWT_BUTTON_RESET">重設</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">每日</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已選擇 %d 城市</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 分鐘</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">取消夏令時間</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 分鐘</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">逢星期四</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">逾時</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已選擇 %d 個鬧鐘</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>\r
- <text id="IDS_COM_POP_DELETED">已刪除</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 次</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">無搜尋結果</text>\r
- <text id="IDS_SWT_BUTTON_LAP">圈數</text>\r
- <text id="IDS_COM_SK_ADD">加入</text>\r
- <text id="IDS_ALM_BODY_TONE">提示音</text>\r
- <text id="IDS_TMR_SK_RESET">重設</text>\r
- <text id="IDS_ALM_HEADER_TYPE">類型</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">鈴聲</text>\r
- <text id="IDS_COM_BUTTON_RECENT">最近</text>\r
- <text id="IDS_TMR_BODY_MIN">分鐘</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">已選擇 1 城市</text>\r
- <text id="IDS_COM_BODY_OCT">10 月</text>\r
- <text id="IDS_WCL_SK_BY_NAME">按名稱</text>\r
- <text id="IDS_ALM_SK_DELETE">刪除</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">逢星期日</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">無項目</text>\r
- <text id="IDS_COM_BODY_FEB">2 月</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">響鈴和震動</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">時區</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 次</text>
+ <text id="IDS_COM_BODY_NOV">11 月</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d 已選擇</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">選擇時區</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">選擇全部</text>
+ <text id="IDS_NOTHING_SELECTED">無已選擇項目</text>
+ <text id="IDS_COM_BODY_DEC">12 月</text>
+ <text id="IDS_ALM_SK_CANCEL">取消</text>
+ <text id="IDS_ALM_BODY_REPEAT">重複</text>
+ <text id="IDS_TMR_BODY_MIN1">分鐘</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">無鬧鐘</text>
+ <text id="IDS_COM_BODY_AM">上午</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">無項目</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">逢星期一</text>
+ <text id="IDS_WCL_TAB_TIME">時間</text>
+ <text id="IDS_COM_SK_NEW">新增</text>
+ <text id="IDS_ALM_SK3_SAVE">儲存</text>
+ <text id="IDS_COM_BODY_JUN">6 月</text>
+ <text id="IDS_ALM_BODY_TIME">時間</text>
+ <text id="IDS_ALM_BODY_SNOOZE">重響</text>
+ <text id="IDS_COM_BODY_JUL">7 月</text>
+ <text id="IDS_SWT_BUTTON_RESTART">重新啟動</text>
+ <text id="IDS_ALM_BODY_TYPE">類型</text>
+ <text id="IDS_TMR_SK3_STOP">停止</text>
+ <text id="IDS_TMR_SK3_RESTART">重新啟動</text>
+ <text id="IDS_WCL_SK_DONE">完成</text>
+ <text id="IDS_COM_BODY_APR">4 月</text>
+ <text id="IDS_COM_POP_PM">下午</text>
+ <text id="IDS_ALM_BODY_5MINS">5 分鐘</text>
+ <text id="IDS_COM_BODY_MAY">5 月</text>
+ <text id="IDS_ALM_BODY_NAME">名稱</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">震動</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">夏令時間設定</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">重響持續時間</text>
+ <text id="IDS_COM_BODY_MAR">3 月</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已選擇 1 個提醒</text>
+ <text id="IDS_ALM_BODY_MELODY">鈴聲</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">逢星期五</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">重新排序</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">逢星期三</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">時間到了</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">無法加入城市。世界時間列表已滿。先刪除些項目</text>
+ <text id="IDS_ALM_OPT_SORT_BY">排序方式</text>
+ <text id="IDS_TMR_BODY_SEC">秒</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 次</text>
+ <text id="IDS_COM_BODY_STOPWATCH">計秒錶</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">停止鈴響</text>
+ <text id="IDS_TMR_BODY_HOUR">小時</text>
+ <text id="IDS_COM_BODY_JAN">1 月</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">世界時間</text>
+ <text id="IDS_COM_BODY_SEP">9 月</text>
+ <text id="IDS_COM_BODY_AUG">8 月</text>
+ <text id="IDS_TMR_SK_START">開始</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">逢星期二</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">鬧鐘</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">更多</text>
+ <text id="IDS_COM_BODY_TIMER">計時器</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">鬧鐘響鬧暫停</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">重覆</text>
+ <text id="IDS_COM_BODY_SEARCH">搜尋</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">選擇鬧鐘</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">逢星期六</text>
+ <text id="IDS_SWT_BUTTON_RESET">重設</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">每日</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已選擇 %d 城市</text>
+ <text id="IDS_ALM_BODY_10MINS">10 分鐘</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">取消夏令時間</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 分鐘</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">逢星期四</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">逾時</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已選擇 %d 個鬧鐘</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>
+ <text id="IDS_COM_POP_DELETED">已刪除</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 次</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">無搜尋結果</text>
+ <text id="IDS_SWT_BUTTON_LAP">圈數</text>
+ <text id="IDS_COM_SK_ADD">加入</text>
+ <text id="IDS_ALM_BODY_TONE">提示音</text>
+ <text id="IDS_TMR_SK_RESET">重設</text>
+ <text id="IDS_ALM_HEADER_TYPE">類型</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">鈴聲</text>
+ <text id="IDS_COM_BUTTON_RECENT">最近</text>
+ <text id="IDS_TMR_BODY_MIN">分鐘</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">已選擇 1 城市</text>
+ <text id="IDS_COM_BODY_OCT">10 月</text>
+ <text id="IDS_WCL_SK_BY_NAME">按名稱</text>
+ <text id="IDS_ALM_SK_DELETE">刪除</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">逢星期日</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">無項目</text>
+ <text id="IDS_COM_BODY_FEB">2 月</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">乐曲并振动</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">时区</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10次</text>\r
- <text id="IDS_COM_BODY_NOV">11月</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d 已选定</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">选择时区</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">全选</text>\r
- <text id="IDS_NOTHING_SELECTED">未选择</text>\r
- <text id="IDS_COM_BODY_DEC">12月</text>\r
- <text id="IDS_ALM_SK_CANCEL">取消</text>\r
- <text id="IDS_ALM_BODY_REPEAT">重复</text>\r
- <text id="IDS_TMR_BODY_MIN1">分钟</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">无闹钟</text>\r
- <text id="IDS_COM_BODY_AM">AM</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">无项目</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">每周一</text>\r
- <text id="IDS_WCL_TAB_TIME">时间</text>\r
- <text id="IDS_COM_SK_NEW">新建</text>\r
- <text id="IDS_ALM_SK3_SAVE">储存</text>\r
- <text id="IDS_COM_BODY_JUN">6月</text>\r
- <text id="IDS_ALM_BODY_TIME">时间</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">多睡一点</text>\r
- <text id="IDS_COM_BODY_JUL">7月</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">重新启动</text>\r
- <text id="IDS_ALM_BODY_TYPE">类型</text>\r
- <text id="IDS_TMR_SK3_STOP">停止</text>\r
- <text id="IDS_TMR_SK3_RESTART">重新启动</text>\r
- <text id="IDS_WCL_SK_DONE">已完成</text>\r
- <text id="IDS_COM_BODY_APR">4月</text>\r
- <text id="IDS_COM_POP_PM">PM</text>\r
- <text id="IDS_ALM_BODY_5MINS">5分钟</text>\r
- <text id="IDS_COM_BODY_MAY">5月</text>\r
- <text id="IDS_ALM_BODY_NAME">名称</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">振动</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">夏时制设置</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">重响时长</text>\r
- <text id="IDS_COM_BODY_MAR">3月</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已选择1个闹钟</text>\r
- <text id="IDS_ALM_BODY_MELODY">旋律</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">每周五</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">重新排序</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">每周三</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">时间已到</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">无法添加城市。世界时钟列表已满。请先删除部分项目</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">排序通过</text>\r
- <text id="IDS_TMR_BODY_SEC">秒</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3次</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">秒表</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">停止铃声</text>\r
- <text id="IDS_TMR_BODY_HOUR">小时</text>\r
- <text id="IDS_COM_BODY_JAN">1月</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">世界时钟</text>\r
- <text id="IDS_COM_BODY_SEP">9月</text>\r
- <text id="IDS_COM_BODY_AUG">8月</text>\r
- <text id="IDS_TMR_SK_START">开始</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">每周二</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">闹钟</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">更多</text>\r
- <text id="IDS_COM_BODY_TIMER">计时器</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">暂停闹钟</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">重响方式</text>\r
- <text id="IDS_COM_BODY_SEARCH">搜寻</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">选择闹钟</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">每周六</text>\r
- <text id="IDS_SWT_BUTTON_RESET">重置</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">每日</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已选择%d个城市</text>\r
- <text id="IDS_ALM_BODY_10MINS">10分钟</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">取消 DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3分钟</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">每周四</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">暂停</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已选择%d个闹钟</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>\r
- <text id="IDS_COM_POP_DELETED">已删除</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5次</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">无搜索结果</text>\r
- <text id="IDS_SWT_BUTTON_LAP">圈</text>\r
- <text id="IDS_COM_SK_ADD">添加</text>\r
- <text id="IDS_ALM_BODY_TONE">提示音</text>\r
- <text id="IDS_TMR_SK_RESET">重置</text>\r
- <text id="IDS_ALM_HEADER_TYPE">类型</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">旋律</text>\r
- <text id="IDS_COM_BUTTON_RECENT">最近联系人</text>\r
- <text id="IDS_TMR_BODY_MIN">分钟</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">已选择1个城市</text>\r
- <text id="IDS_COM_BODY_OCT">10月</text>\r
- <text id="IDS_WCL_SK_BY_NAME">按名称</text>\r
- <text id="IDS_ALM_SK_DELETE">删除</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">每周日</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">无项目</text>\r
- <text id="IDS_COM_BODY_FEB">2月</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">乐曲并振动</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">时区</text>
+ <text id="IDS_ALM_BODY_10TIMES">10次</text>
+ <text id="IDS_COM_BODY_NOV">11月</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d 已选定</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">选择时区</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">全选</text>
+ <text id="IDS_NOTHING_SELECTED">未选择</text>
+ <text id="IDS_COM_BODY_DEC">12月</text>
+ <text id="IDS_ALM_SK_CANCEL">取消</text>
+ <text id="IDS_ALM_BODY_REPEAT">重复</text>
+ <text id="IDS_TMR_BODY_MIN1">分钟</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">无闹钟</text>
+ <text id="IDS_COM_BODY_AM">AM</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">无项目</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">每周一</text>
+ <text id="IDS_WCL_TAB_TIME">时间</text>
+ <text id="IDS_COM_SK_NEW">新建</text>
+ <text id="IDS_ALM_SK3_SAVE">储存</text>
+ <text id="IDS_COM_BODY_JUN">6月</text>
+ <text id="IDS_ALM_BODY_TIME">时间</text>
+ <text id="IDS_ALM_BODY_SNOOZE">多睡一点</text>
+ <text id="IDS_COM_BODY_JUL">7月</text>
+ <text id="IDS_SWT_BUTTON_RESTART">重新启动</text>
+ <text id="IDS_ALM_BODY_TYPE">类型</text>
+ <text id="IDS_TMR_SK3_STOP">停止</text>
+ <text id="IDS_TMR_SK3_RESTART">重新启动</text>
+ <text id="IDS_WCL_SK_DONE">已完成</text>
+ <text id="IDS_COM_BODY_APR">4月</text>
+ <text id="IDS_COM_POP_PM">PM</text>
+ <text id="IDS_ALM_BODY_5MINS">5分钟</text>
+ <text id="IDS_COM_BODY_MAY">5月</text>
+ <text id="IDS_ALM_BODY_NAME">名称</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">振动</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">夏时制设置</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">重响时长</text>
+ <text id="IDS_COM_BODY_MAR">3月</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已选择1个闹钟</text>
+ <text id="IDS_ALM_BODY_MELODY">旋律</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">每周五</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">重新排序</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">每周三</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">时间已到</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">无法添加城市。世界时钟列表已满。请先删除部分项目</text>
+ <text id="IDS_ALM_OPT_SORT_BY">排序通过</text>
+ <text id="IDS_TMR_BODY_SEC">秒</text>
+ <text id="IDS_ALM_BODY_3TIMES">3次</text>
+ <text id="IDS_COM_BODY_STOPWATCH">秒表</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">停止铃声</text>
+ <text id="IDS_TMR_BODY_HOUR">小时</text>
+ <text id="IDS_COM_BODY_JAN">1月</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">世界时钟</text>
+ <text id="IDS_COM_BODY_SEP">9月</text>
+ <text id="IDS_COM_BODY_AUG">8月</text>
+ <text id="IDS_TMR_SK_START">开始</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">每周二</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">闹钟</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">更多</text>
+ <text id="IDS_COM_BODY_TIMER">计时器</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">暂停闹钟</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">重响方式</text>
+ <text id="IDS_COM_BODY_SEARCH">搜寻</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">选择闹钟</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">每周六</text>
+ <text id="IDS_SWT_BUTTON_RESET">重置</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">每日</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已选择%d个城市</text>
+ <text id="IDS_ALM_BODY_10MINS">10分钟</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">取消 DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3分钟</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">每周四</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">暂停</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已选择%d个闹钟</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>
+ <text id="IDS_COM_POP_DELETED">已删除</text>
+ <text id="IDS_ALM_BODY_5TIMES">5次</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">无搜索结果</text>
+ <text id="IDS_SWT_BUTTON_LAP">圈</text>
+ <text id="IDS_COM_SK_ADD">添加</text>
+ <text id="IDS_ALM_BODY_TONE">提示音</text>
+ <text id="IDS_TMR_SK_RESET">重置</text>
+ <text id="IDS_ALM_HEADER_TYPE">类型</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">旋律</text>
+ <text id="IDS_COM_BUTTON_RECENT">最近联系人</text>
+ <text id="IDS_TMR_BODY_MIN">分钟</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">已选择1个城市</text>
+ <text id="IDS_COM_BODY_OCT">10月</text>
+ <text id="IDS_WCL_SK_BY_NAME">按名称</text>
+ <text id="IDS_ALM_SK_DELETE">删除</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">每周日</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">无项目</text>
+ <text id="IDS_COM_BODY_FEB">2月</text>
+</string_table>
-<?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
---><string_table Bversion="2.0.0.201303111438" Dversion="20120315">\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">旋律與震動</text>\r
- <text id="IDS_WCL_BODY_TIME_ZONE">時區</text>\r
- <text id="IDS_ALM_BODY_10TIMES">10 次</text>\r
- <text id="IDS_COM_BODY_NOV">11 月</text>\r
- <text id="IDS_COM_BODY_PD_SELECTED">%d 已選擇</text>\r
- <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">選擇時區</text>\r
- <text id="IDS_COM_BODY_SELECT_ALL">全選</text>\r
- <text id="IDS_NOTHING_SELECTED">未選擇任何項目</text>\r
- <text id="IDS_COM_BODY_DEC">12 月</text>\r
- <text id="IDS_ALM_SK_CANCEL">取消</text>\r
- <text id="IDS_ALM_BODY_REPEAT">重覆</text>\r
- <text id="IDS_TMR_BODY_MIN1">分鐘</text>\r
- <text id="IDS_ALM_BODY_NO_ALARMS">無鬧鐘</text>\r
- <text id="IDS_COM_BODY_AM">上午</text>\r
- <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>\r
- <text id="IDS_NO_ITEMS">無項目</text>\r
- <text id="IDS_ALM_BODY_EVERY_MONDAY">每週一</text>\r
- <text id="IDS_WCL_TAB_TIME">時間</text>\r
- <text id="IDS_COM_SK_NEW">新增</text>\r
- <text id="IDS_ALM_SK3_SAVE">儲存</text>\r
- <text id="IDS_COM_BODY_JUN">6 月</text>\r
- <text id="IDS_ALM_BODY_TIME">時間</text>\r
- <text id="IDS_ALM_BODY_SNOOZE">貪睡</text>\r
- <text id="IDS_COM_BODY_JUL">7 月</text>\r
- <text id="IDS_SWT_BUTTON_RESTART">重新啟動</text>\r
- <text id="IDS_ALM_BODY_TYPE">類型</text>\r
- <text id="IDS_TMR_SK3_STOP">停止</text>\r
- <text id="IDS_TMR_SK3_RESTART">重新啟動</text>\r
- <text id="IDS_WCL_SK_DONE">完成</text>\r
- <text id="IDS_COM_BODY_APR">4 月</text>\r
- <text id="IDS_COM_POP_PM">下午</text>\r
- <text id="IDS_ALM_BODY_5MINS">5 分鐘</text>\r
- <text id="IDS_COM_BODY_MAY">5 月</text>\r
- <text id="IDS_ALM_BODY_NAME">名稱</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">震動</text>\r
- <text id="IDS_WCL_OPT_DST_SETTINGS">日光節約設定</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_DURATION">貪睡持續時間</text>\r
- <text id="IDS_COM_BODY_MAR">3 月</text>\r
- <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已選擇 1 則提醒</text>\r
- <text id="IDS_ALM_BODY_MELODY">旋律</text>\r
- <text id="IDS_ALM_BODY_EVERY_FRIDAY">每週五</text>\r
- <text id="IDS_WCL_SK_EDIT">Edit</text>\r
- <text id="IDS_WCL_OPT_REORDER">重新排序</text>\r
- <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">每週三</text>\r
- <text id="IDS_TMR_POP_TIME_IS_UP">時間已到</text>\r
- <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">無法增加城市。世界時間名單已滿。先刪除一些項目</text>\r
- <text id="IDS_ALM_OPT_SORT_BY">排序依據</text>\r
- <text id="IDS_TMR_BODY_SEC">秒</text>\r
- <text id="IDS_ALM_BODY_3TIMES">3 次</text>\r
- <text id="IDS_COM_BODY_STOPWATCH">碼錶</text>\r
- <text id="IDS_TMR_BODY_STOP_RINGING">停止鈴響</text>\r
- <text id="IDS_TMR_BODY_HOUR">小時</text>\r
- <text id="IDS_COM_BODY_JAN">1 月</text>\r
- <text id="IDS_COM_BODY_WORLD_CLOCK">世界時間</text>\r
- <text id="IDS_COM_BODY_SEP">9 月</text>\r
- <text id="IDS_COM_BODY_AUG">8 月</text>\r
- <text id="IDS_TMR_SK_START">開始</text>\r
- <text id="IDS_ALM_BODY_EVERY_TUESDAY">每週二</text>\r
- <text id="IDS_ALM_SK_REMOVE">Remove</text>\r
- <text id="IDS_COM_BODY_ALARM">鬧鐘</text>\r
- <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>\r
- <text id="IDS_COM_BODY_MORE">更多</text>\r
- <text id="IDS_COM_BODY_TIMER">計時器</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT_ALARM">超時鬧鈴</text>\r
- <text id="IDS_ALM_BODY_SNOOZE_REPEAT">貪睡鬧鐘重響</text>\r
- <text id="IDS_COM_BODY_SEARCH">搜尋</text>\r
- <text id="IDS_ALM_HEADER_SELECT_ALARMS">選擇提醒</text>\r
- <text id="IDS_ALM_BODY_EVERY_SATURDAY">每週六</text>\r
- <text id="IDS_SWT_BUTTON_RESET">重設</text>\r
- <text id="IDS_ALM_BODY_EVERYDAY">每日</text>\r
- <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已選擇 %d 城市</text>\r
- <text id="IDS_ALM_BODY_10MINS">10 分鐘</text>\r
- <text id="IDS_WCL_BODY_CANCEL_DST">取消 DST</text>\r
- <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>\r
- <text id="IDS_ALM_BODY_3MINS">3 分鐘</text>\r
- <text id="IDS_ALM_BODY_EVERY_THURSDAY">每週四</text>\r
- <text id="IDS_TMR_BODY_TIME_OUT">逾時</text>\r
- <text id="IDS_WCL_REORDER">Reorder World Clock</text>\r
- <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已選擇 %d 提醒</text>\r
- <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>\r
- <text id="IDS_COM_POP_DELETED">已刪除</text>\r
- <text id="IDS_ALM_BODY_5TIMES">5 次</text>\r
- <text id="IDS_COM_SK_ADD_CITY">Add city</text>\r
- <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">無搜尋結果</text>\r
- <text id="IDS_SWT_BUTTON_LAP">圈</text>\r
- <text id="IDS_COM_SK_ADD">新增</text>\r
- <text id="IDS_ALM_BODY_TONE">提示音</text>\r
- <text id="IDS_TMR_SK_RESET">重設</text>\r
- <text id="IDS_ALM_HEADER_TYPE">類型</text>\r
- <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">旋律</text>\r
- <text id="IDS_COM_BUTTON_RECENT">最近</text>\r
- <text id="IDS_TMR_BODY_MIN">分鐘</text>\r
- <text id="IDS_WCL_POP_1_CITY_SELECTED">已選擇 1 城市</text>\r
- <text id="IDS_COM_BODY_OCT">10 月</text>\r
- <text id="IDS_WCL_SK_BY_NAME">按名稱</text>\r
- <text id="IDS_ALM_SK_DELETE">刪除</text>\r
- <text id="IDS_ALM_BODY_EVERY_SUNDAY">每週日</text>\r
- <text id="IDS_COM_BODY_NO_ITEMS">無項目</text>\r
- <text id="IDS_COM_BODY_FEB">2 月</text>\r
-</string_table>\r
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+ This XML file was automatically generated by UiBuilder - do not modify by hand.
+--><string_table Bversion="2.0.0.201303111438" Dversion="20120315">
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION">旋律與震動</text>
+ <text id="IDS_WCL_BODY_TIME_ZONE">時區</text>
+ <text id="IDS_ALM_BODY_10TIMES">10 次</text>
+ <text id="IDS_COM_BODY_NOV">11 月</text>
+ <text id="IDS_COM_BODY_PD_SELECTED">%d 已選擇</text>
+ <text id="IDS_WCL_HEADER_SELECT_TIME_ZONE">選擇時區</text>
+ <text id="IDS_COM_BODY_SELECT_ALL">全選</text>
+ <text id="IDS_NOTHING_SELECTED">未選擇任何項目</text>
+ <text id="IDS_COM_BODY_DEC">12 月</text>
+ <text id="IDS_ALM_SK_CANCEL">取消</text>
+ <text id="IDS_ALM_BODY_REPEAT">重覆</text>
+ <text id="IDS_TMR_BODY_MIN1">分鐘</text>
+ <text id="IDS_ALM_BODY_NO_ALARMS">無鬧鐘</text>
+ <text id="IDS_COM_BODY_AM">上午</text>
+ <text id="IDS_COM_SK_CREATE_ALARM">Create alarm</text>
+ <text id="IDS_NO_ITEMS">無項目</text>
+ <text id="IDS_ALM_BODY_EVERY_MONDAY">每週一</text>
+ <text id="IDS_WCL_TAB_TIME">時間</text>
+ <text id="IDS_COM_SK_NEW">新增</text>
+ <text id="IDS_ALM_SK3_SAVE">儲存</text>
+ <text id="IDS_COM_BODY_JUN">6 月</text>
+ <text id="IDS_ALM_BODY_TIME">時間</text>
+ <text id="IDS_ALM_BODY_SNOOZE">貪睡</text>
+ <text id="IDS_COM_BODY_JUL">7 月</text>
+ <text id="IDS_SWT_BUTTON_RESTART">重新啟動</text>
+ <text id="IDS_ALM_BODY_TYPE">類型</text>
+ <text id="IDS_TMR_SK3_STOP">停止</text>
+ <text id="IDS_TMR_SK3_RESTART">重新啟動</text>
+ <text id="IDS_WCL_SK_DONE">完成</text>
+ <text id="IDS_COM_BODY_APR">4 月</text>
+ <text id="IDS_COM_POP_PM">下午</text>
+ <text id="IDS_ALM_BODY_5MINS">5 分鐘</text>
+ <text id="IDS_COM_BODY_MAY">5 月</text>
+ <text id="IDS_ALM_BODY_NAME">名稱</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_VIBRATION">震動</text>
+ <text id="IDS_WCL_OPT_DST_SETTINGS">日光節約設定</text>
+ <text id="IDS_ALM_BODY_SNOOZE_DURATION">貪睡持續時間</text>
+ <text id="IDS_COM_BODY_MAR">3 月</text>
+ <text id="IDS_ALM_BODY_1_ALARM_SELECTED">已選擇 1 則提醒</text>
+ <text id="IDS_ALM_BODY_MELODY">旋律</text>
+ <text id="IDS_ALM_BODY_EVERY_FRIDAY">每週五</text>
+ <text id="IDS_WCL_SK_EDIT">Edit</text>
+ <text id="IDS_WCL_OPT_REORDER">重新排序</text>
+ <text id="IDS_ALM_BODY_EVERY_WEDNESDAY">每週三</text>
+ <text id="IDS_TMR_POP_TIME_IS_UP">時間已到</text>
+ <text id="IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST">無法增加城市。世界時間名單已滿。先刪除一些項目</text>
+ <text id="IDS_ALM_OPT_SORT_BY">排序依據</text>
+ <text id="IDS_TMR_BODY_SEC">秒</text>
+ <text id="IDS_ALM_BODY_3TIMES">3 次</text>
+ <text id="IDS_COM_BODY_STOPWATCH">碼錶</text>
+ <text id="IDS_TMR_BODY_STOP_RINGING">停止鈴響</text>
+ <text id="IDS_TMR_BODY_HOUR">小時</text>
+ <text id="IDS_COM_BODY_JAN">1 月</text>
+ <text id="IDS_COM_BODY_WORLD_CLOCK">世界時間</text>
+ <text id="IDS_COM_BODY_SEP">9 月</text>
+ <text id="IDS_COM_BODY_AUG">8 月</text>
+ <text id="IDS_TMR_SK_START">開始</text>
+ <text id="IDS_ALM_BODY_EVERY_TUESDAY">每週二</text>
+ <text id="IDS_ALM_SK_REMOVE">Remove</text>
+ <text id="IDS_COM_BODY_ALARM">鬧鐘</text>
+ <text id="IDS_BODY_WORLD_CLOCK_EXIST">World clock already exists</text>
+ <text id="IDS_COM_BODY_MORE">更多</text>
+ <text id="IDS_COM_BODY_TIMER">計時器</text>
+ <text id="IDS_TMR_BODY_TIME_OUT_ALARM">超時鬧鈴</text>
+ <text id="IDS_ALM_BODY_SNOOZE_REPEAT">貪睡鬧鐘重響</text>
+ <text id="IDS_COM_BODY_SEARCH">搜尋</text>
+ <text id="IDS_ALM_HEADER_SELECT_ALARMS">選擇提醒</text>
+ <text id="IDS_ALM_BODY_EVERY_SATURDAY">每週六</text>
+ <text id="IDS_SWT_BUTTON_RESET">重設</text>
+ <text id="IDS_ALM_BODY_EVERYDAY">每日</text>
+ <text id="IDS_WCL_POP_PD_CITIES_SELECTED">已選擇 %d 城市</text>
+ <text id="IDS_ALM_BODY_10MINS">10 分鐘</text>
+ <text id="IDS_WCL_BODY_CANCEL_DST">取消 DST</text>
+ <text id="IDS_MAX_CHARACTER_LIMIT_MESSAGE">Maximum number of characters reached.</text>
+ <text id="IDS_ALM_BODY_3MINS">3 分鐘</text>
+ <text id="IDS_ALM_BODY_EVERY_THURSDAY">每週四</text>
+ <text id="IDS_TMR_BODY_TIME_OUT">逾時</text>
+ <text id="IDS_WCL_REORDER">Reorder World Clock</text>
+ <text id="IDS_ALM_BODY_PD_ALARMS_SELECTED">已選擇 %d 提醒</text>
+ <text id="IDS_CLOCK_BODY_PD_TIMES">%d 次</text>
+ <text id="IDS_COM_POP_DELETED">已刪除</text>
+ <text id="IDS_ALM_BODY_5TIMES">5 次</text>
+ <text id="IDS_COM_SK_ADD_CITY">Add city</text>
+ <text id="IDS_COM_BODY_NO_SEARCH_RESULTS">無搜尋結果</text>
+ <text id="IDS_SWT_BUTTON_LAP">圈</text>
+ <text id="IDS_COM_SK_ADD">新增</text>
+ <text id="IDS_ALM_BODY_TONE">提示音</text>
+ <text id="IDS_TMR_SK_RESET">重設</text>
+ <text id="IDS_ALM_HEADER_TYPE">類型</text>
+ <text id="IDS_ALM_BODY_ALERTTYEP_MELODY">旋律</text>
+ <text id="IDS_COM_BUTTON_RECENT">最近</text>
+ <text id="IDS_TMR_BODY_MIN">分鐘</text>
+ <text id="IDS_WCL_POP_1_CITY_SELECTED">已選擇 1 城市</text>
+ <text id="IDS_COM_BODY_OCT">10 月</text>
+ <text id="IDS_WCL_SK_BY_NAME">按名稱</text>
+ <text id="IDS_ALM_SK_DELETE">刪除</text>
+ <text id="IDS_ALM_BODY_EVERY_SUNDAY">每週日</text>
+ <text id="IDS_COM_BODY_NO_ITEMS">無項目</text>
+ <text id="IDS_COM_BODY_FEB">2 月</text>
+</string_table>
const wchar_t* IDC_BUTTON8 = L"IDC_BUTTON8";
const wchar_t* IDC_BUTTON9 = L"IDC_BUTTON9";
const wchar_t* IDC_BUTTON_CLR = L"IDC_BUTTON_CLR";
+const wchar_t* IDC_BUTTON_FRI = L"IDC_BUTTON_FRI";
+const wchar_t* IDC_BUTTON_HOUR = L"IDC_BUTTON_HOUR";
const wchar_t* IDC_BUTTON_HOURS = L"IDC_BUTTON_HOURS";
const wchar_t* IDC_BUTTON_HOUR_DISPLAY = L"IDC_BUTTON_HOUR_DISPLAY";
+const wchar_t* IDC_BUTTON_MIN = L"IDC_BUTTON_MIN";
const wchar_t* IDC_BUTTON_MINUTES = L"IDC_BUTTON_MINUTES";
const wchar_t* IDC_BUTTON_MINUTE_DISPLAY = L"IDC_BUTTON_MINUTE_DISPLAY";
+const wchar_t* IDC_BUTTON_MON = L"IDC_BUTTON_MON";
+const wchar_t* IDC_BUTTON_MORE = L"IDC_BUTTON_MORE";
const wchar_t* IDC_BUTTON_RESET = L"IDC_BUTTON_RESET";
const wchar_t* IDC_BUTTON_RESTART = L"IDC_BUTTON_RESTART";
+const wchar_t* IDC_BUTTON_SAT = L"IDC_BUTTON_SAT";
const wchar_t* IDC_BUTTON_SECONDS = L"IDC_BUTTON_SECONDS";
const wchar_t* IDC_BUTTON_SECOND_DISPLAY = L"IDC_BUTTON_SECOND_DISPLAY";
const wchar_t* IDC_BUTTON_START = L"IDC_BUTTON_START";
const wchar_t* IDC_BUTTON_STOP = L"IDC_BUTTON_STOP";
+const wchar_t* IDC_BUTTON_SUN = L"IDC_BUTTON_SUN";
+const wchar_t* IDC_BUTTON_THU = L"IDC_BUTTON_THU";
+const wchar_t* IDC_BUTTON_TOGGLE = L"IDC_BUTTON_TOGGLE";
+const wchar_t* IDC_BUTTON_TUE = L"IDC_BUTTON_TUE";
+const wchar_t* IDC_BUTTON_WED = L"IDC_BUTTON_WED";
+const wchar_t* IDC_EDITFIELD1 = L"IDC_EDITFIELD1";
const wchar_t* IDC_EDITFIELD2 = L"IDC_EDITFIELD2";
const wchar_t* IDC_EDITFIELD3 = L"IDC_EDITFIELD3";
+const wchar_t* IDC_GROUPEDLISTVIEW1 = L"IDC_GROUPEDLISTVIEW1";
const wchar_t* IDC_INPUT_PANEL = L"IDC_INPUT_PANEL";
+const wchar_t* IDC_LABEL = L"IDC_LABEL";
const wchar_t* IDC_LABEL1 = L"IDC_LABEL1";
const wchar_t* IDC_LABEL2 = L"IDC_LABEL2";
const wchar_t* IDC_LABEL3 = L"IDC_LABEL3";
+const wchar_t* IDC_LABEL4 = L"IDC_LABEL4";
+const wchar_t* IDC_LABEL_AM = L"IDC_LABEL_AM";
+const wchar_t* IDC_LABEL_PM = L"IDC_LABEL_PM";
const wchar_t* IDC_LABEL_TIMER = L"IDC_LABEL_TIMER";
+const wchar_t* IDC_LABEL_TITLE = L"IDC_LABEL_TITLE";
+const wchar_t* IDC_LISTVIEW1 = L"IDC_LISTVIEW1";
const wchar_t* IDC_LISTVIEW_ALARM = L"IDC_LISTVIEW_ALARM";
+const wchar_t* IDC_PANEL = L"IDC_PANEL";
const wchar_t* IDC_PANEL1 = L"IDC_PANEL1";
+const wchar_t* IDC_PANEL_DAYS = L"IDC_PANEL_DAYS";
+const wchar_t* IDC_PANEL_EDITTIME = L"IDC_PANEL_EDITTIME";
+const wchar_t* IDC_PANEL_LIST = L"IDC_PANEL_LIST";
const wchar_t* IDC_PANEL_TIMER_STARTED = L"IDC_PANEL_TIMER_STARTED";
+const wchar_t* IDC_SCROLLPANEL1 = L"IDC_SCROLLPANEL1";
const wchar_t* IDC_SELECT_ALL = L"IDC_SELECT_ALL";
+const wchar_t* IDC_SLIDER_VOLUME = L"IDC_SLIDER_VOLUME";
const wchar_t* IDC_TIMER_PANEL = L"IDC_TIMER_PANEL";
+const wchar_t* IDL_ALARM_EDITOR_FORM = L"IDL_ALARM_EDITOR_FORM";
const wchar_t* IDL_ALARM_RINGING_FORM = L"IDL_ALARM_RINGING_FORM";
const wchar_t* IDL_ALARM_RINGING_LOCK_FORM = L"IDL_ALARM_RINGING_LOCK_FORM";
const wchar_t* IDL_CITY_LIST = L"IDL_CITY_LIST";
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarm.cpp\r
- * @brief Used to define %Alarm class.\r
- */\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FLocales.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkAlarmPresentationModel.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Locales;\r
-\r
-AlarmData::AlarmData(void)\r
- : __alarmId(0)\r
- , __alarmName("")\r
- , __isOn(0)\r
- , __repeatEveryFriday(false)\r
- , __repeatEveryMonday(false)\r
- , __repeatEverySaturday(false)\r
- , __repeatEverySunday(false)\r
- , __repeatEveryThursday(false)\r
- , __repeatEveryTuesday(false)\r
- , __repeatEveryWednesday(false)\r
- , __repeatFlags("")\r
- , __ringType(ALARM_TYPE_MELODY)\r
- , __ringVolume(0)\r
- , __snoozeDuration(5)\r
- , __snoozeOn(true)\r
- , __snoozeRepeat(3)\r
- , __snoozeRepeatCount(0)\r
-\r
-{\r
- __time.SetValue(00, 00, 00);\r
- __lastRingingTime.SetValue(00, 00, 00);\r
- __ringTone = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3";\r
-\r
-}\r
-\r
-AlarmData::AlarmData(const AlarmData& alarm)\r
-{\r
- __alarmId = alarm.__alarmId;\r
- __isOn = alarm.__isOn;\r
- __alarmName = alarm.__alarmName;\r
- __repeatFlags = alarm.__repeatFlags;\r
- __snoozeOn = alarm.__snoozeOn;\r
- __snoozeDuration = alarm.__snoozeDuration;\r
- __snoozeRepeat = alarm.__snoozeRepeat;\r
- __ringVolume = alarm.__ringVolume;\r
- __ringType = alarm.__ringType;\r
- __ringTone = alarm.__ringTone;\r
- __time = alarm.__time;\r
- __lastRingingTime = alarm.__lastRingingTime;\r
- __repeatEveryMonday = alarm.__repeatEveryMonday;\r
- __repeatEveryTuesday= alarm.__repeatEveryTuesday;\r
- __repeatEveryWednesday = alarm.__repeatEveryWednesday;\r
- __repeatEveryThursday = alarm.__repeatEveryThursday;\r
- __repeatEveryFriday = alarm.__repeatEveryFriday;\r
- __repeatEverySaturday = alarm.__repeatEverySaturday;\r
- __repeatEverySunday = alarm.__repeatEverySunday;\r
- __snoozeRepeatCount = alarm.__snoozeRepeatCount;\r
-}\r
-\r
-AlarmData::~AlarmData(void)\r
-{\r
-\r
-}\r
-\r
-AlarmData&\r
-AlarmData::operator =(const AlarmData& rhs)\r
-{\r
- if (this != &rhs)\r
- {\r
- __alarmId = rhs.__alarmId;\r
- __isOn = rhs.__isOn;\r
- __alarmName = rhs.__alarmName;\r
- __repeatFlags = rhs.__repeatFlags;\r
- __snoozeOn = rhs.__snoozeOn;\r
- __snoozeDuration = rhs.__snoozeDuration;\r
- __snoozeRepeat = rhs.__snoozeRepeat;\r
- __ringVolume = rhs.__ringVolume;\r
- __ringType = rhs.__ringType;\r
- __ringTone = rhs.__ringTone;\r
- __time = rhs.__time;\r
- __lastRingingTime = rhs.__lastRingingTime;\r
- __repeatEveryMonday = rhs.__repeatEveryMonday;\r
- __repeatEveryTuesday= rhs.__repeatEveryTuesday;\r
- __repeatEveryWednesday = rhs.__repeatEveryWednesday;\r
- __repeatEveryThursday = rhs.__repeatEveryThursday;\r
- __repeatEveryFriday = rhs.__repeatEveryFriday;\r
- __repeatEverySaturday = rhs.__repeatEverySaturday;\r
- __repeatEverySunday = rhs.__repeatEverySunday;\r
- __snoozeRepeatCount = rhs.__snoozeRepeatCount;\r
- }\r
-\r
- return *this;\r
-}\r
-\r
-int\r
-AlarmData::GetAlarmId(void) const\r
-{\r
- return __alarmId;\r
-}\r
-\r
-int\r
-AlarmData::GetAlarmOnState(void) const\r
-{\r
- return __isOn;\r
-}\r
-\r
-String\r
-AlarmData::GetAlarmName(void) const\r
-{\r
- return __alarmName;\r
-}\r
-\r
-DateTime\r
-AlarmData::GetAlarmTime(void) const\r
-{\r
- return __time;\r
-}\r
-\r
-DateTime\r
-AlarmData::GetLastRingingTime(void) const\r
-{\r
- return __lastRingingTime;\r
-}\r
-\r
-DateTime\r
-AlarmData::GetAlarmCreatedtime(void) const\r
-{\r
- return __alarmCreatedTime;\r
-}\r
-\r
-DateTime\r
-AlarmData::GetNextRingingTime()\r
-{\r
- result r = E_FAILURE;\r
- DateTime currentTime;\r
- DateTime nextRingingTime;\r
- int status = 0;\r
- int dayOfWeek = -1;\r
- int nextRepeatFlag = 0;\r
- int noOfDaysInWeek = 7;\r
- Calendar* pGregorianCalendar = null;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- currentTime.AddSeconds(-2);\r
- pGregorianCalendar = Calendar::CreateInstanceN(CALENDAR_GREGORIAN);\r
- pGregorianCalendar->SetTimeField(TIME_FIELD_YEAR, currentTime.GetYear());\r
- pGregorianCalendar->SetTimeField(TIME_FIELD_MONTH, currentTime.GetMonth());\r
- pGregorianCalendar->SetTimeField(TIME_FIELD_DAY_OF_MONTH, currentTime.GetDay());\r
- dayOfWeek = pGregorianCalendar->GetTimeField(TIME_FIELD_DAY_OF_WEEK);\r
-\r
- if (__isOn == 1)\r
- {\r
- nextRingingTime.SetValue(currentTime.GetYear(), currentTime.GetMonth(), currentTime.GetDay(), __time.GetHour(), __time.GetMinute(), __time.GetSecond());\r
-\r
- if (__snoozeOn == true && __snoozeRepeatCount >= 0)\r
- {\r
- nextRingingTime.SetValue(__lastRingingTime);\r
- nextRingingTime.AddMinutes(__snoozeDuration);\r
- status = nextRingingTime.CompareTo(currentTime);\r
-\r
- if (status >= 0)\r
- {\r
- return nextRingingTime;\r
- }\r
- }\r
-\r
- __snoozeRepeatCount = __snoozeRepeat;\r
- nextRingingTime.SetValue(currentTime.GetYear(),currentTime.GetMonth(),currentTime.GetDay(),__time.GetHour(),__time.GetMinute(),__time.GetSecond());\r
-\r
- __repeatFlags.IndexOf(L"1",dayOfWeek - 1,nextRepeatFlag);\r
- status = nextRingingTime.CompareTo(currentTime);\r
-\r
- if (nextRepeatFlag == dayOfWeek - 1)\r
- {\r
- if (status >= 0)\r
- {\r
- return nextRingingTime;\r
- }\r
- }\r
-\r
- r = __repeatFlags.IndexOf(L"1",dayOfWeek,nextRepeatFlag);\r
-\r
- if (nextRepeatFlag == -1 || r != E_SUCCESS)\r
- {\r
- r = __repeatFlags.IndexOf(L"1",0,nextRepeatFlag);\r
-\r
- if (nextRepeatFlag != -1 && r == E_SUCCESS)\r
- {\r
- nextRingingTime.AddDays(noOfDaysInWeek + (nextRepeatFlag - dayOfWeek + 1));\r
- }\r
- else\r
- {\r
- nextRingingTime.SetValue(currentTime.GetYear(),currentTime.GetMonth(),currentTime.GetDay(),__time.GetHour(),__time.GetMinute(),__time.GetSecond());\r
- status = nextRingingTime.CompareTo(currentTime);\r
-\r
- if (status >= 0)\r
- {\r
- return nextRingingTime;\r
- }\r
- else if (__repeatFlags.Contains(L"1") == false)\r
- {\r
- nextRingingTime.AddDays(1);\r
- }\r
-\r
- }\r
- }\r
- else\r
- {\r
- nextRingingTime.AddDays(nextRepeatFlag - dayOfWeek + 1);\r
- }\r
-\r
- }\r
- status = nextRingingTime.CompareTo(currentTime);\r
-\r
- if (status < 0)\r
- {\r
- nextRingingTime.SetValue(9999,1,1);\r
- }\r
-\r
- return nextRingingTime;\r
-}\r
-\r
-String\r
-AlarmData::GetRepeatFlags(void)\r
-{\r
- __repeatFlags = L"0000000";\r
-\r
- if (__repeatEverySunday == true)\r
- {\r
- __repeatFlags[0] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[0] = '0';\r
- }\r
-\r
- if (__repeatEveryMonday == true)\r
- {\r
- __repeatFlags[1] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[1] = '0';\r
- }\r
-\r
- if (__repeatEveryTuesday == true)\r
- {\r
- __repeatFlags[2] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[2] = '0';\r
- }\r
-\r
- if (__repeatEveryWednesday == true)\r
- {\r
- __repeatFlags[3] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[3] = '0';\r
- }\r
-\r
- if (__repeatEveryThursday == true)\r
- {\r
- __repeatFlags[4] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[4] = '0';\r
- }\r
-\r
- if (__repeatEveryFriday == true)\r
- {\r
- __repeatFlags[5] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[5] = '0';\r
- }\r
-\r
- if (__repeatEverySaturday == true)\r
- {\r
- __repeatFlags[6] = '1';\r
- }\r
- else\r
- {\r
- __repeatFlags[6] = '0';\r
- }\r
- return __repeatFlags;\r
-\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEveryMondayFlag(void) const\r
-{\r
- return __repeatEveryMonday;\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEveryTuesdayFlag(void) const\r
-{\r
- return __repeatEveryTuesday;\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEveryWednesdayFlag(void) const\r
-{\r
- return __repeatEveryWednesday;\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEveryThursdayFlag(void) const\r
-{\r
- return __repeatEveryThursday;\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEveryFridayFlag(void) const\r
-{\r
- return __repeatEveryFriday;\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEverySaturdayFlag(void) const\r
-{\r
- return __repeatEverySaturday;\r
-}\r
-\r
-bool\r
-AlarmData::GetRepeatEverySundayFlag(void) const\r
-{\r
- return __repeatEverySunday;\r
-}\r
-\r
-bool\r
-AlarmData::GetSnoozeOn(void) const\r
-{\r
- return __snoozeOn;\r
-}\r
-\r
-int\r
-AlarmData::GetSnoozeDuration(void) const\r
-{\r
- return __snoozeDuration;\r
-}\r
-\r
-int\r
-AlarmData::GetSnoozeRepeat(void) const\r
-{\r
- return __snoozeRepeat;\r
-}\r
-\r
-int\r
-AlarmData::GetSnoozeRepeatCount(void) const\r
-{\r
- return __snoozeRepeatCount;\r
-}\r
-\r
-int\r
-AlarmData::GetRingVolume(void) const\r
-{\r
- return __ringVolume;\r
-}\r
-\r
-type\r
-AlarmData::GetRingType(void) const\r
-{\r
- return __ringType;\r
-}\r
-\r
-String\r
-AlarmData::GetRingTone(void) const\r
-{\r
- return __ringTone;\r
-}\r
-\r
-void\r
-AlarmData::SetAlarmId(const int& alarmId)\r
-{\r
- __alarmId = alarmId;\r
-}\r
-\r
-void\r
-AlarmData::SetAlarmOnState(const int& alarmOnState)\r
-{\r
-\r
- __isOn = alarmOnState;\r
-}\r
-\r
-void\r
-AlarmData::SetAlarmName(const String& alarmName)\r
-{\r
- __alarmName = alarmName;\r
-}\r
-\r
-void\r
-AlarmData::SetSnoozeOn(const bool snooze)\r
-{\r
- __snoozeOn = snooze;\r
-}\r
-\r
-void\r
-AlarmData::SetSnoozeDuration(const int& duration)\r
-{\r
- __snoozeDuration = duration;\r
-}\r
-\r
-void\r
-AlarmData::SetAlarmTime(const DateTime& time)\r
-{\r
- __time = time;\r
-}\r
-\r
-void\r
-AlarmData::SetSnoozeRepeat(const int& repeat)\r
-{\r
- __snoozeRepeat = repeat;\r
- __snoozeRepeatCount = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRingVolume(const int& volume)\r
-{\r
- __ringVolume = volume;\r
-}\r
-\r
-void\r
-AlarmData::SetRingType(const type& type)\r
-{\r
- __ringType = type;\r
-}\r
-\r
-void\r
-AlarmData::SetRingTone(const String& ringTone)\r
-{\r
- __ringTone = ringTone;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedFlags(const String& repeat)\r
-{\r
- __repeatFlags = repeat;\r
-\r
- for (int i =0; i < __repeatFlags.GetLength(); i++)\r
- {\r
- bool flag = false;\r
- String strFlag;\r
- __repeatFlags.SubString(i, 1, strFlag);\r
-\r
- if (strFlag == "1")\r
- {\r
- flag = true;\r
- }\r
- else\r
- {\r
- flag = false;\r
- }\r
-\r
- AppLogDebug("the flag is %d and the strflag is %ls", flag, strFlag.GetPointer());\r
-\r
- switch (i)\r
- {\r
- case 0:\r
- SetRepeatedEverySunday(flag);\r
- break;\r
- case 1:\r
- SetRepeatedEveryMonday(flag);\r
- break;\r
- case 2:\r
- SetRepeatedEveryTuesday(flag);\r
- break;\r
- case 3:\r
- SetRepeatedEveryWednesday(flag);\r
- break;\r
- case 4:\r
- SetRepeatedEveryThursday(flag);\r
- break;\r
- case 5:\r
- SetRepeatedEveryFriday(flag);\r
- break;\r
- case 6:\r
- SetRepeatedEverySaturday(flag);\r
- break;\r
- default:\r
- break;\r
- }\r
- }\r
-}\r
-void\r
-AlarmData::SetRepeatedEveryMonday(const bool repeat)\r
-{\r
- __repeatEveryMonday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedEveryTuesday(const bool repeat)\r
-{\r
- __repeatEveryTuesday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedEveryWednesday(const bool repeat)\r
-{\r
- __repeatEveryWednesday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedEveryThursday(const bool repeat)\r
-{\r
- __repeatEveryThursday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedEveryFriday(const bool repeat)\r
-{\r
- __repeatEveryFriday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedEverySaturday(const bool repeat)\r
-{\r
- __repeatEverySaturday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetRepeatedEverySunday(const bool repeat)\r
-{\r
- __repeatEverySunday = repeat;\r
-}\r
-\r
-void\r
-AlarmData::SetLastRingingTime(const DateTime& lastRingingTime)\r
-{\r
- __lastRingingTime = lastRingingTime;\r
-}\r
-\r
-void\r
-AlarmData::SetSnoozeRepeatCount(const int& count)\r
-{\r
- __snoozeRepeatCount = count;\r
-}\r
-\r
-void\r
-AlarmData::SetAlarmCreatedTime(const DateTime& alarmCreatedTime)\r
-{\r
- __alarmCreatedTime = alarmCreatedTime;\r
-}\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarm.cpp
+ * @brief Used to define %Alarm class.
+ */
+#include <FApp.h>
+#include <FBase.h>
+#include <FLocales.h>
+
+#include "ClkAlarm.h"
+#include "ClkAlarmPresentationModel.h"
+
+using namespace Tizen::Base;
+using namespace Tizen::Locales;
+
+AlarmData::AlarmData(void)
+ : __alarmId(0)
+ , __alarmName("")
+ , __isOn(0)
+ , __repeatEveryFriday(false)
+ , __repeatEveryMonday(false)
+ , __repeatEverySaturday(false)
+ , __repeatEverySunday(false)
+ , __repeatEveryThursday(false)
+ , __repeatEveryTuesday(false)
+ , __repeatEveryWednesday(false)
+ , __repeatFlags("")
+ , __ringType(ALARM_TYPE_MELODY)
+ , __ringVolume(0)
+ , __snoozeDuration(5)
+ , __snoozeOn(true)
+ , __snoozeRepeat(3)
+ , __snoozeRepeatCount(0)
+
+{
+ __time.SetValue(00, 00, 00);
+ __lastRingingTime.SetValue(00, 00, 00);
+ __ringTone = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3";
+
+}
+
+AlarmData::AlarmData(const AlarmData& alarm)
+{
+ __alarmId = alarm.__alarmId;
+ __isOn = alarm.__isOn;
+ __alarmName = alarm.__alarmName;
+ __repeatFlags = alarm.__repeatFlags;
+ __snoozeOn = alarm.__snoozeOn;
+ __snoozeDuration = alarm.__snoozeDuration;
+ __snoozeRepeat = alarm.__snoozeRepeat;
+ __ringVolume = alarm.__ringVolume;
+ __ringType = alarm.__ringType;
+ __ringTone = alarm.__ringTone;
+ __time = alarm.__time;
+ __lastRingingTime = alarm.__lastRingingTime;
+ __repeatEveryMonday = alarm.__repeatEveryMonday;
+ __repeatEveryTuesday= alarm.__repeatEveryTuesday;
+ __repeatEveryWednesday = alarm.__repeatEveryWednesday;
+ __repeatEveryThursday = alarm.__repeatEveryThursday;
+ __repeatEveryFriday = alarm.__repeatEveryFriday;
+ __repeatEverySaturday = alarm.__repeatEverySaturday;
+ __repeatEverySunday = alarm.__repeatEverySunday;
+ __snoozeRepeatCount = alarm.__snoozeRepeatCount;
+}
+
+AlarmData::~AlarmData(void)
+{
+
+}
+
+AlarmData&
+AlarmData::operator =(const AlarmData& rhs)
+{
+ if (this != &rhs)
+ {
+ __alarmId = rhs.__alarmId;
+ __isOn = rhs.__isOn;
+ __alarmName = rhs.__alarmName;
+ __repeatFlags = rhs.__repeatFlags;
+ __snoozeOn = rhs.__snoozeOn;
+ __snoozeDuration = rhs.__snoozeDuration;
+ __snoozeRepeat = rhs.__snoozeRepeat;
+ __ringVolume = rhs.__ringVolume;
+ __ringType = rhs.__ringType;
+ __ringTone = rhs.__ringTone;
+ __time = rhs.__time;
+ __lastRingingTime = rhs.__lastRingingTime;
+ __repeatEveryMonday = rhs.__repeatEveryMonday;
+ __repeatEveryTuesday= rhs.__repeatEveryTuesday;
+ __repeatEveryWednesday = rhs.__repeatEveryWednesday;
+ __repeatEveryThursday = rhs.__repeatEveryThursday;
+ __repeatEveryFriday = rhs.__repeatEveryFriday;
+ __repeatEverySaturday = rhs.__repeatEverySaturday;
+ __repeatEverySunday = rhs.__repeatEverySunday;
+ __snoozeRepeatCount = rhs.__snoozeRepeatCount;
+ }
+
+ return *this;
+}
+
+int
+AlarmData::GetAlarmId(void) const
+{
+ return __alarmId;
+}
+
+int
+AlarmData::GetAlarmOnState(void) const
+{
+ return __isOn;
+}
+
+String
+AlarmData::GetAlarmName(void) const
+{
+ return __alarmName;
+}
+
+DateTime
+AlarmData::GetAlarmTime(void) const
+{
+ return __time;
+}
+
+DateTime
+AlarmData::GetLastRingingTime(void) const
+{
+ return __lastRingingTime;
+}
+
+DateTime
+AlarmData::GetAlarmCreatedtime(void) const
+{
+ return __alarmCreatedTime;
+}
+
+DateTime
+AlarmData::GetNextRingingTime()
+{
+ result r = E_FAILURE;
+ DateTime currentTime;
+ DateTime nextRingingTime;
+ int status = 0;
+ int dayOfWeek = -1;
+ int nextRepeatFlag = 0;
+ int noOfDaysInWeek = 7;
+ Calendar* pGregorianCalendar = null;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ currentTime.AddSeconds(-2);
+ pGregorianCalendar = Calendar::CreateInstanceN(CALENDAR_GREGORIAN);
+ pGregorianCalendar->SetTimeField(TIME_FIELD_YEAR, currentTime.GetYear());
+ pGregorianCalendar->SetTimeField(TIME_FIELD_MONTH, currentTime.GetMonth());
+ pGregorianCalendar->SetTimeField(TIME_FIELD_DAY_OF_MONTH, currentTime.GetDay());
+ dayOfWeek = pGregorianCalendar->GetTimeField(TIME_FIELD_DAY_OF_WEEK);
+
+ if (__isOn == 1)
+ {
+ nextRingingTime.SetValue(currentTime.GetYear(), currentTime.GetMonth(), currentTime.GetDay(), __time.GetHour(), __time.GetMinute(), __time.GetSecond());
+
+ if (__snoozeOn == true && __snoozeRepeatCount >= 0)
+ {
+ nextRingingTime.SetValue(__lastRingingTime);
+ nextRingingTime.AddMinutes(__snoozeDuration);
+ status = nextRingingTime.CompareTo(currentTime);
+
+ if (status >= 0)
+ {
+ return nextRingingTime;
+ }
+ }
+
+ __snoozeRepeatCount = __snoozeRepeat;
+ nextRingingTime.SetValue(currentTime.GetYear(),currentTime.GetMonth(),currentTime.GetDay(),__time.GetHour(),__time.GetMinute(),__time.GetSecond());
+
+ __repeatFlags.IndexOf(L"1",dayOfWeek - 1,nextRepeatFlag);
+ status = nextRingingTime.CompareTo(currentTime);
+
+ if (nextRepeatFlag == dayOfWeek - 1)
+ {
+ if (status >= 0)
+ {
+ return nextRingingTime;
+ }
+ }
+
+ r = __repeatFlags.IndexOf(L"1",dayOfWeek,nextRepeatFlag);
+
+ if (nextRepeatFlag == -1 || r != E_SUCCESS)
+ {
+ r = __repeatFlags.IndexOf(L"1",0,nextRepeatFlag);
+
+ if (nextRepeatFlag != -1 && r == E_SUCCESS)
+ {
+ nextRingingTime.AddDays(noOfDaysInWeek + (nextRepeatFlag - dayOfWeek + 1));
+ }
+ else
+ {
+ nextRingingTime.SetValue(currentTime.GetYear(),currentTime.GetMonth(),currentTime.GetDay(),__time.GetHour(),__time.GetMinute(),__time.GetSecond());
+ status = nextRingingTime.CompareTo(currentTime);
+
+ if (status >= 0)
+ {
+ return nextRingingTime;
+ }
+ else if (__repeatFlags.Contains(L"1") == false)
+ {
+ nextRingingTime.AddDays(1);
+ }
+
+ }
+ }
+ else
+ {
+ nextRingingTime.AddDays(nextRepeatFlag - dayOfWeek + 1);
+ }
+
+ }
+ status = nextRingingTime.CompareTo(currentTime);
+
+ if (status < 0)
+ {
+ nextRingingTime.SetValue(9999,1,1);
+ }
+
+ return nextRingingTime;
+}
+
+String
+AlarmData::GetRepeatFlags(void)
+{
+ __repeatFlags = L"0000000";
+
+ if (__repeatEverySunday == true)
+ {
+ __repeatFlags[0] = '1';
+ }
+ else
+ {
+ __repeatFlags[0] = '0';
+ }
+
+ if (__repeatEveryMonday == true)
+ {
+ __repeatFlags[1] = '1';
+ }
+ else
+ {
+ __repeatFlags[1] = '0';
+ }
+
+ if (__repeatEveryTuesday == true)
+ {
+ __repeatFlags[2] = '1';
+ }
+ else
+ {
+ __repeatFlags[2] = '0';
+ }
+
+ if (__repeatEveryWednesday == true)
+ {
+ __repeatFlags[3] = '1';
+ }
+ else
+ {
+ __repeatFlags[3] = '0';
+ }
+
+ if (__repeatEveryThursday == true)
+ {
+ __repeatFlags[4] = '1';
+ }
+ else
+ {
+ __repeatFlags[4] = '0';
+ }
+
+ if (__repeatEveryFriday == true)
+ {
+ __repeatFlags[5] = '1';
+ }
+ else
+ {
+ __repeatFlags[5] = '0';
+ }
+
+ if (__repeatEverySaturday == true)
+ {
+ __repeatFlags[6] = '1';
+ }
+ else
+ {
+ __repeatFlags[6] = '0';
+ }
+ return __repeatFlags;
+
+}
+
+bool
+AlarmData::GetRepeatEveryMondayFlag(void) const
+{
+ return __repeatEveryMonday;
+}
+
+bool
+AlarmData::GetRepeatEveryTuesdayFlag(void) const
+{
+ return __repeatEveryTuesday;
+}
+
+bool
+AlarmData::GetRepeatEveryWednesdayFlag(void) const
+{
+ return __repeatEveryWednesday;
+}
+
+bool
+AlarmData::GetRepeatEveryThursdayFlag(void) const
+{
+ return __repeatEveryThursday;
+}
+
+bool
+AlarmData::GetRepeatEveryFridayFlag(void) const
+{
+ return __repeatEveryFriday;
+}
+
+bool
+AlarmData::GetRepeatEverySaturdayFlag(void) const
+{
+ return __repeatEverySaturday;
+}
+
+bool
+AlarmData::GetRepeatEverySundayFlag(void) const
+{
+ return __repeatEverySunday;
+}
+
+bool
+AlarmData::GetSnoozeOn(void) const
+{
+ return __snoozeOn;
+}
+
+int
+AlarmData::GetSnoozeDuration(void) const
+{
+ return __snoozeDuration;
+}
+
+int
+AlarmData::GetSnoozeRepeat(void) const
+{
+ return __snoozeRepeat;
+}
+
+int
+AlarmData::GetSnoozeRepeatCount(void) const
+{
+ return __snoozeRepeatCount;
+}
+
+int
+AlarmData::GetRingVolume(void) const
+{
+ return __ringVolume;
+}
+
+type
+AlarmData::GetRingType(void) const
+{
+ return __ringType;
+}
+
+String
+AlarmData::GetRingTone(void) const
+{
+ return __ringTone;
+}
+
+void
+AlarmData::SetAlarmId(const int& alarmId)
+{
+ __alarmId = alarmId;
+}
+
+void
+AlarmData::SetAlarmOnState(const int& alarmOnState)
+{
+
+ __isOn = alarmOnState;
+}
+
+void
+AlarmData::SetAlarmName(const String& alarmName)
+{
+ __alarmName = alarmName;
+}
+
+void
+AlarmData::SetSnoozeOn(const bool snooze)
+{
+ __snoozeOn = snooze;
+}
+
+void
+AlarmData::SetSnoozeDuration(const int& duration)
+{
+ __snoozeDuration = duration;
+}
+
+void
+AlarmData::SetAlarmTime(const DateTime& time)
+{
+ __time = time;
+}
+
+void
+AlarmData::SetSnoozeRepeat(const int& repeat)
+{
+ __snoozeRepeat = repeat;
+ __snoozeRepeatCount = repeat;
+}
+
+void
+AlarmData::SetRingVolume(const int& volume)
+{
+ __ringVolume = volume;
+}
+
+void
+AlarmData::SetRingType(const type& type)
+{
+ __ringType = type;
+}
+
+void
+AlarmData::SetRingTone(const String& ringTone)
+{
+ __ringTone = ringTone;
+}
+
+void
+AlarmData::SetRepeatedFlags(const String& repeat)
+{
+ __repeatFlags = repeat;
+
+ for (int i =0; i < __repeatFlags.GetLength(); i++)
+ {
+ bool flag = false;
+ String strFlag;
+ __repeatFlags.SubString(i, 1, strFlag);
+
+ if (strFlag == "1")
+ {
+ flag = true;
+ }
+ else
+ {
+ flag = false;
+ }
+
+ AppLogDebug("the flag is %d and the strflag is %ls", flag, strFlag.GetPointer());
+
+ switch (i)
+ {
+ case 0:
+ SetRepeatedEverySunday(flag);
+ break;
+ case 1:
+ SetRepeatedEveryMonday(flag);
+ break;
+ case 2:
+ SetRepeatedEveryTuesday(flag);
+ break;
+ case 3:
+ SetRepeatedEveryWednesday(flag);
+ break;
+ case 4:
+ SetRepeatedEveryThursday(flag);
+ break;
+ case 5:
+ SetRepeatedEveryFriday(flag);
+ break;
+ case 6:
+ SetRepeatedEverySaturday(flag);
+ break;
+ default:
+ break;
+ }
+ }
+}
+void
+AlarmData::SetRepeatedEveryMonday(const bool repeat)
+{
+ __repeatEveryMonday = repeat;
+}
+
+void
+AlarmData::SetRepeatedEveryTuesday(const bool repeat)
+{
+ __repeatEveryTuesday = repeat;
+}
+
+void
+AlarmData::SetRepeatedEveryWednesday(const bool repeat)
+{
+ __repeatEveryWednesday = repeat;
+}
+
+void
+AlarmData::SetRepeatedEveryThursday(const bool repeat)
+{
+ __repeatEveryThursday = repeat;
+}
+
+void
+AlarmData::SetRepeatedEveryFriday(const bool repeat)
+{
+ __repeatEveryFriday = repeat;
+}
+
+void
+AlarmData::SetRepeatedEverySaturday(const bool repeat)
+{
+ __repeatEverySaturday = repeat;
+}
+
+void
+AlarmData::SetRepeatedEverySunday(const bool repeat)
+{
+ __repeatEverySunday = repeat;
+}
+
+void
+AlarmData::SetLastRingingTime(const DateTime& lastRingingTime)
+{
+ __lastRingingTime = lastRingingTime;
+}
+
+void
+AlarmData::SetSnoozeRepeatCount(const int& count)
+{
+ __snoozeRepeatCount = count;
+}
+
+void
+AlarmData::SetAlarmCreatedTime(const DateTime& alarmCreatedTime)
+{
+ __alarmCreatedTime = alarmCreatedTime;
+}
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file AlarmDeleteListForm.cpp\r
- * @brief Used to define AlarmDeleteListForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FSystem.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkAlarmDeleteListForm.h"\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkAlarmRepeatCustomItem.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkNotification.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-using namespace Tizen::System;\r
-\r
-\r
-static const int IDA_TABBAR_ITEM1_ALARM = 200;\r
-static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;\r
-static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;\r
-static const int IDA_TABBAR_ITEM3_TIMER = 203;\r
-static const int IDA_SELECT_ALL_CHECKED = 204;\r
-static const int IDA_SELECT_ALL_UNCHECKED = 205;\r
-static const int IDA_DELETE_ALARM = 206;\r
-\r
-const wchar_t* NO_ALARM = L"No ALarms";\r
-\r
-AlarmDeleteListForm::AlarmDeleteListForm(void)\r
-:__isNoAlarmPresent(true),\r
- __pData (null),\r
- __pListView (null),\r
- __pSelectAllCheck(null),\r
- __pSelectedLabel(null),\r
- __selectedCount(0),\r
- __selectedItemCount(0)\r
-{\r
-\r
-}\r
-\r
-AlarmDeleteListForm::~AlarmDeleteListForm(void)\r
-{\r
- SettingInfo::RemoveSettingEventListener(*this);\r
- if (__pData != null)\r
- {\r
- __pData->RemoveAll();\r
- delete __pData;\r
- __pData = null;\r
- }\r
-\r
-}\r
-\r
-bool\r
-AlarmDeleteListForm::Initialize(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- r = Construct(L"IDL_DELETE_ALARM_LIST");\r
- if (IsFailed(r))\r
- {\r
- return false;\r
- }\r
-\r
- return true;\r
-}\r
-\r
-result\r
-AlarmDeleteListForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- HeaderItem alarm;\r
- HeaderItem worldClock;\r
- HeaderItem stopWatch;\r
- HeaderItem timer;\r
- String strhistory = L"";\r
- Bitmap* pIconBitmap = null;\r
- Bitmap* pPressedIconBitmap = null;\r
- Bitmap* pHighlightedIconBitmap = null;\r
- Header* pHeader = GetHeader();\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
- String labelText;\r
-\r
- SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);\r
- SettingInfo::AddSettingEventListener(*this);\r
-\r
- SetFormBackEventListener(this);\r
- AddOrientationEventListener(*this);\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_ALARM_DELETE_LIST, *this);\r
-\r
- if (pHeader != null)\r
- {\r
- alarm.Construct(IDA_TABBAR_ITEM1_ALARM);\r
- //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
-\r
- if (pAppResource == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);\r
-\r
-\r
- if (pHighlightedIconBitmap != null)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(alarm);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);\r
- //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));\r
-\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null && pHighlightedIconBitmap != null)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(worldClock);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);\r
- //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));\r
-\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null && pHighlightedIconBitmap != null)\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(stopWatch);\r
- pHeader->SetItemSelected(0);\r
- pHeader->SetTabEditModeEnabled(false);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- timer.Construct(IDA_TABBAR_ITEM3_TIMER);\r
- //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
-\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null && pHighlightedIconBitmap != null)\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(timer);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- }\r
-\r
- GetHeader()->AddActionEventListener(*this);\r
- GetFooter()->AddActionEventListener(*this);\r
-\r
- __pSelectedLabel = static_cast< Label* >(GetControl(L"IDC_LABEL1"));\r
-\r
- if (__pSelectedLabel == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- labelText.Append(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
- labelText.Append("(0)");\r
- __pSelectedLabel->SetText(labelText);\r
-\r
- __pSelectAllCheck = static_cast< CheckButton* >(GetControl(L"IDC_SELECT_ALL",false));\r
-\r
- if (__pSelectAllCheck != null)\r
- {\r
- __pSelectAllCheck->SetActionId(IDA_SELECT_ALL_CHECKED, IDA_SELECT_ALL_UNCHECKED);\r
- __pSelectAllCheck->AddActionEventListener(*this);\r
- }\r
-\r
- __pListView = static_cast< ListView* >(GetControl(L"IDC_LISTVIEW_ALARM"));\r
- if (__pListView != null)\r
- {\r
- __pListView->SetItemProvider(*this);\r
- __pListView->AddListViewItemEventListener(*this);\r
- }\r
-\r
- __selectedItemList.Construct();\r
-\r
- return r;\r
-}\r
-\r
-result\r
-AlarmDeleteListForm::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- result r = E_SUCCESS;\r
- String labelString = L"";\r
- ArrayList* pArrayList = null;\r
- AlarmData* pAlarm = null;\r
- String notification ;\r
- String lowerStr;\r
- NotificationManager notifyMgr;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- int gap = 120 ;\r
-\r
- if (__pListView == null)\r
- {\r
- return;\r
- }\r
-\r
- switch (actionId)\r
- {\r
- case IDA_DELETE_ALARM:\r
- {\r
- int listCount = __pListView->GetItemCount() ;\r
- pArrayList = new (std::nothrow) ArrayList();\r
-\r
- __selectedItemList.RemoveAll(true);\r
-\r
- if (pArrayList != null)\r
- {\r
- pArrayList->Construct();\r
- }\r
-\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- pAlarm = static_cast< AlarmData* >(__pData->GetAt(count));\r
-\r
- if (pAlarm != null)\r
- {\r
- if (pArrayList != null)\r
- {\r
- pArrayList->Add(*pAlarm);\r
- }\r
- }\r
- }\r
- }\r
- if (pArrayList != null)\r
- {\r
- pAlarmPresentationModel->DeleteAlarm(*pArrayList);\r
- }\r
-\r
- if (pArrayList != null)\r
- {\r
- pArrayList->RemoveAll();\r
- delete pArrayList;\r
- pArrayList = null;\r
- }\r
-\r
- if ( __pListView->GetItemCount() == 0)\r
- {\r
- __pSelectAllCheck->SetShowState(false);\r
- __pSelectAllCheck->Invalidate(false);\r
-\r
- r = __pListView->SetBounds(__pListView->GetX(), __pListView->GetY() - gap, __pListView->GetWidth(), GetClientAreaBounds().height);\r
-\r
- if (IsFailed(r))\r
- {\r
- return;\r
- }\r
- __pSelectedLabel->SetShowState(false);\r
-\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0, false);\r
- GetFooter()->Invalidate(true);\r
-\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(false);\r
-\r
- notification = CommonUtil::GetString(L"IDS_COM_POP_DELETED");\r
- notifyMgr.Construct();\r
- notifyMgr.Notify(notification);\r
-\r
- int count = __pListView->GetItemCount();\r
- for (int listCount = 0; listCount < count; listCount++)\r
- {\r
- if (__pListView->IsItemChecked(listCount))\r
- {\r
- pAlarm = static_cast< AlarmData* >(__pData->GetAt(listCount));\r
-\r
- if (pAlarm != null)\r
- {\r
- __pListView->SetItemChecked(listCount, false);\r
- }\r
- }\r
- }\r
-\r
- __pListView->UpdateList();\r
-\r
- if( __pListView->GetItemCount() == 0)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALARM_LIST));\r
- }\r
-\r
- }\r
- break;\r
- case IDA_SELECT_ALL_CHECKED:\r
- {\r
- int listCount = __pListView->GetItemCount() ;\r
-\r
- __selectedItemList.RemoveAll(true);\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- __pListView->SetItemChecked(count, true);\r
- __selectedItemList.Add(new Integer(count));\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0, true);\r
- GetFooter()->Invalidate(true);\r
-\r
- CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);\r
- labelString.Format(25, lowerStr.GetPointer(), __pListView->GetItemCount());\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(false);\r
- __pListView->Invalidate(true);\r
-\r
- }\r
- break;\r
- case IDA_SELECT_ALL_UNCHECKED:\r
- {\r
- int listCount = __pListView->GetItemCount() ;\r
-\r
- __selectedItemList.RemoveAll(true);\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- __pListView->SetItemChecked(count, false);\r
- }\r
-\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(false);\r
- __pListView->Invalidate(true);\r
-\r
- GetFooter()->SetItemEnabled(0, false);\r
- GetFooter()->Invalidate(true);\r
-\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM1_WORLDCLOCK:\r
- {\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));\r
- }\r
- }\r
- }\r
- break;\r
- case IDA_TABBAR_ITEM2_STOPWATCH:\r
- {\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- break;\r
- case IDA_TABBAR_ITEM3_TIMER:\r
- {\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));\r
- }\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- String labelString = L"";\r
- String lowerStr;\r
-\r
- if (__pListView != null)\r
- {\r
- __pListView->UpdateList();\r
-\r
- for (int i = 0; i < __selectedItemList.GetCount(); i++)\r
- {\r
- Integer* pObj = dynamic_cast<Integer*>(__selectedItemList.GetAt(i));\r
-\r
- if (pObj != null)\r
- {\r
- __pListView->SetItemChecked(pObj->ToInt(), true);\r
- }\r
- }\r
- }\r
-\r
- GetHeader()->SetItemSelected(0);\r
- GetHeader()->Invalidate(true);\r
- GetFooter()->SetItemEnabled(0, false);\r
-\r
- if (__selectedItemList.GetCount() == 0)\r
- {\r
- GetFooter()->SetItemEnabled(0,false);\r
- __pSelectedLabel->SetText(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0,true);\r
- CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);\r
-\r
- if (__pListView != null)\r
- {\r
- labelString.Format(25, lowerStr.GetPointer(), __pListView->GetItemCount());\r
- }\r
-\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(false);\r
- }\r
-\r
- if (__selectedItemList.GetCount() != 0 && __selectedItemList.GetCount() == __pListView->GetItemCount())\r
- {\r
- __pSelectAllCheck->SetSelected(true);\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
- AlarmData* pAlarm = null;\r
- int listCount = __pListView->GetItemCount();\r
-\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- pAlarm = static_cast< AlarmData* >(__pData->GetAt(count));\r
-\r
- if (pAlarm != null)\r
- {\r
- __pListView->SetItemChecked(count, false);\r
- }\r
- }\r
- }\r
- __pSelectAllCheck->SetSelected(false);\r
-\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnFormBackRequested(Form& source)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- int count = 0;\r
- String labelString;\r
- String lowerStr;\r
- __selectedItemCount = 0;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- int listCount = __pListView->GetItemCount() ;\r
-\r
- if (__pListView->IsItemChecked(index) == true)\r
- {\r
- __selectedItemList.Add(new Integer(index));\r
- }\r
- else\r
- {\r
- __selectedItemList.Remove(* new Integer(index));\r
- }\r
-\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- __selectedItemCount++;\r
- }\r
- }\r
-\r
- if (__selectedItemCount == 0)\r
- {\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- }\r
- else\r
- {\r
- CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);\r
- labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);\r
- }\r
-\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(false);\r
-\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
-\r
- if (__selectedItemCount == count)\r
- {\r
- __pSelectAllCheck->SetSelected(true);\r
- }\r
- else\r
- {\r
- __pSelectAllCheck->SetSelected(false);\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0,false);\r
-\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- GetFooter()->SetItemEnabled(0, true);\r
- break;\r
- }\r
- }\r
-\r
- GetFooter()->Invalidate(true);\r
-}\r
-\r
-ListItemBase *\r
-AlarmDeleteListForm::CreateItem(int index, int itemWidth)\r
-{\r
- result r = E_FAILURE;\r
- String time = L"";\r
- String itemContent = L"";\r
- int hour = 0;\r
- int min = 0;\r
- int sec = 0;\r
- int listItemHeight = LIST_ITEM_HEIGHT;\r
- String alarmName;\r
- String alarmNameSubstring;\r
- String flags;\r
- AlarmRepeatCustomItem* pItem = null;\r
- String temp;\r
-\r
- pItem = new (std::nothrow) AlarmRepeatCustomItem();\r
- AlarmData* pAlarm = dynamic_cast< AlarmData* >(__pData->GetAt(index));\r
-\r
- if ( pAlarm == null )\r
- {\r
- if ( pItem != null)\r
- {\r
- delete pItem;\r
- pItem = null;\r
- }\r
- return null;\r
- }\r
-\r
- hour = pAlarm->GetAlarmTime().GetHour();\r
- min = pAlarm->GetAlarmTime().GetMinute();\r
- sec = pAlarm->GetAlarmTime().GetSecond();\r
- AppLogDebug("CreateItem : %d, %d, %d", hour, min, sec);\r
-\r
- if (hour > 12)\r
- {\r
- hour = hour - 12;\r
- temp = CommonUtil::GetString("IDS_COM_POP_PM");\r
- }\r
- else\r
- {\r
- temp = CommonUtil::GetString("IDS_COM_BODY_AM");\r
- }\r
-\r
- if (hour < 10)\r
- {\r
- time.Append(0);\r
- }\r
-\r
- time.Append(hour);\r
- time.Append(L":");\r
-\r
- if (min < 10)\r
- {\r
- time.Append(0);\r
- }\r
-\r
- time.Append(min);\r
- time.Append(" ");\r
- time.Append(temp);\r
-\r
- alarmName = pAlarm->GetAlarmName();\r
-\r
- if (alarmName.GetLength() > 10)\r
- {\r
- alarmName.SubString(0, 10, alarmNameSubstring);\r
- alarmNameSubstring.Append(L"...");\r
- }\r
- else\r
- {\r
- alarmNameSubstring = pAlarm->GetAlarmName();\r
- }\r
-\r
- itemContent = alarmNameSubstring + L" " + time;\r
- flags = pAlarm->GetRepeatFlags();\r
-\r
- r = pItem->Construct(itemWidth, listItemHeight, true, is24HourFormat);\r
-\r
- pItem->SetAlarm(*pAlarm);\r
- pItem->MakeAlarmRepeatCustomItem();\r
-\r
- return pItem;\r
-}\r
-\r
-bool\r
-AlarmDeleteListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-AlarmDeleteListForm::GetItemCount(void)\r
-{\r
- int count = 0;\r
- result r = E_SUCCESS;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
-\r
- if ( count == 0)\r
- {\r
- __pSelectAllCheck->SetSelected(false);\r
- __pSelectAllCheck->SetShowState(false);\r
- __pSelectAllCheck->Invalidate(true);\r
- }\r
- else\r
- {\r
- __pSelectAllCheck->SetShowState(true);\r
- }\r
-\r
- __pSelectAllCheck->Invalidate(false);\r
-\r
- if (__pData != NULL)\r
- {\r
- __pData->RemoveAll(true);\r
- delete __pData;\r
- __pData = NULL ;\r
- }\r
-\r
- __pData = new (std::nothrow) ArrayList();\r
-\r
- if (__pData == null)\r
- {\r
- return 0;\r
- }\r
-\r
- r = __pData->Construct();\r
-\r
- pAlarmPresentationModel->GetAlarm(0, count, *__pData);\r
- AppLogDebug("the count is %d",count);\r
-\r
- return count;\r
-\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnSettingChanged(Tizen::Base::String& key)\r
-{\r
- if ( key == L"http://tizen.org/setting/locale.time.format.24hour")\r
- {\r
- SettingInfo::GetValue(key, is24HourFormat);\r
- AppLog("the format value is %d", is24HourFormat);\r
- }\r
-\r
- __pListView->UpdateList();\r
-\r
-}\r
-\r
-void\r
-AlarmDeleteListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- __pListView->UpdateList();\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file AlarmDeleteListForm.cpp
+ * @brief Used to define AlarmDeleteListForm
+ */
+
+#include <FApp.h>
+#include <FSystem.h>
+
+#include "ClkAlarm.h"
+#include "ClkAlarmDeleteListForm.h"
+#include "ClkAlarmPresentationModel.h"
+#include "ClkAlarmRepeatCustomItem.h"
+#include "ClkCommonLib.h"
+#include "ClkNotification.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+using namespace Tizen::System;
+
+
+static const int IDA_TABBAR_ITEM1_ALARM = 200;
+static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;
+static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;
+static const int IDA_TABBAR_ITEM3_TIMER = 203;
+static const int IDA_SELECT_ALL_CHECKED = 204;
+static const int IDA_SELECT_ALL_UNCHECKED = 205;
+static const int IDA_DELETE_ALARM = 206;
+
+const wchar_t* NO_ALARM = L"No ALarms";
+
+AlarmDeleteListForm::AlarmDeleteListForm(void)
+:__isNoAlarmPresent(true),
+ __pData (null),
+ __pListView (null),
+ __pSelectAllCheck(null),
+ __pSelectedLabel(null),
+ __selectedCount(0),
+ __selectedItemCount(0)
+{
+
+}
+
+AlarmDeleteListForm::~AlarmDeleteListForm(void)
+{
+
+ if (__pData != null)
+ {
+ __pData->RemoveAll();
+ delete __pData;
+ __pData = null;
+ }
+
+}
+
+bool
+AlarmDeleteListForm::Initialize(void)
+{
+ result r = E_FAILURE;
+
+ r = Construct(L"IDL_DELETE_ALARM_LIST");
+ if (IsFailed(r))
+ {
+ return false;
+ }
+
+ return true;
+}
+
+result
+AlarmDeleteListForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ HeaderItem alarm;
+ HeaderItem worldClock;
+ HeaderItem stopWatch;
+ HeaderItem timer;
+ String strhistory = L"";
+ Bitmap* pIconBitmap = null;
+ Bitmap* pPressedIconBitmap = null;
+ Bitmap* pHighlightedIconBitmap = null;
+ Header* pHeader = GetHeader();
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+ String labelText;
+
+ SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);
+ SettingInfo::AddSettingEventListener(*this);
+
+ SetFormBackEventListener(this);
+ AddOrientationEventListener(*this);
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_ALARM_DELETE_LIST, *this);
+
+ if (pHeader != null)
+ {
+ alarm.Construct(IDA_TABBAR_ITEM1_ALARM);
+ //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+
+ if (pAppResource == null)
+ {
+ return E_FAILURE;
+ }
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);
+
+
+ if (pHighlightedIconBitmap != null)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);
+ alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);
+ alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(alarm);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);
+ //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));
+
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null && pHighlightedIconBitmap != null)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(worldClock);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);
+ //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));
+
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null && pHighlightedIconBitmap != null)
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(stopWatch);
+ pHeader->SetItemSelected(0);
+ pHeader->SetTabEditModeEnabled(false);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ timer.Construct(IDA_TABBAR_ITEM3_TIMER);
+ //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null && pHighlightedIconBitmap != null)
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(timer);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ }
+ GetHeader()->SetItemEnabled(1, false);
+ GetHeader()->SetItemEnabled(2, false);
+ GetHeader()->SetItemEnabled(3, false);
+ GetHeader()->Invalidate(true);
+ GetHeader()->AddActionEventListener(*this);
+ GetFooter()->AddActionEventListener(*this);
+
+ __pSelectedLabel = static_cast< Label* >(GetControl(L"IDC_LABEL1"));
+
+ if (__pSelectedLabel == null)
+ {
+ return E_FAILURE;
+ }
+
+ labelText.Append(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+ labelText.Append("(0)");
+ __pSelectedLabel->SetText(labelText);
+
+ __pSelectAllCheck = static_cast< CheckButton* >(GetControl(L"IDC_SELECT_ALL",false));
+
+ if (__pSelectAllCheck != null)
+ {
+ __pSelectAllCheck->SetActionId(IDA_SELECT_ALL_CHECKED, IDA_SELECT_ALL_UNCHECKED);
+ __pSelectAllCheck->AddActionEventListener(*this);
+ }
+
+ __pListView = static_cast< ListView* >(GetControl(L"IDC_LISTVIEW_ALARM"));
+ if (__pListView != null)
+ {
+ __pListView->SetItemProvider(*this);
+ __pListView->AddListViewItemEventListener(*this);
+ }
+
+ __selectedItemList.Construct();
+
+ return r;
+}
+
+result
+AlarmDeleteListForm::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+ SettingInfo::RemoveSettingEventListener(*this);
+ return r;
+}
+
+void
+AlarmDeleteListForm::OnActionPerformed(const Control& source, int actionId)
+{
+ result r = E_SUCCESS;
+ String labelString = L"";
+ ArrayList* pArrayList = null;
+ AlarmData* pAlarm = null;
+ String notification ;
+ String lowerStr;
+ NotificationManager notifyMgr;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ int gap = 120 ;
+
+ if (__pListView == null)
+ {
+ return;
+ }
+
+ switch (actionId)
+ {
+ case IDA_DELETE_ALARM:
+ {
+ int listCount = __pListView->GetItemCount() ;
+ pArrayList = new (std::nothrow) ArrayList();
+
+ __selectedItemList.RemoveAll(true);
+
+ if (pArrayList != null)
+ {
+ pArrayList->Construct();
+ }
+
+ for (int count = 0; count < listCount; count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ pAlarm = static_cast< AlarmData* >(__pData->GetAt(count));
+
+ if (pAlarm != null)
+ {
+ if (pArrayList != null)
+ {
+ pArrayList->Add(*pAlarm);
+ notification.Append(pAlarm->GetAlarmName());
+ notification.Append(", ");
+ }
+ }
+ }
+ }
+ notification.Remove(notification.GetLength() - 2, 2);
+ notification.Append(" ");
+ String lower = CommonUtil::GetString(L"IDS_COM_POP_DELETED");
+ lower.ToLower();
+ notification.Append(lower);
+
+ if (pArrayList != null)
+ {
+ pAlarmPresentationModel->DeleteAlarm(*pArrayList);
+ }
+
+ if (pArrayList != null)
+ {
+ pArrayList->RemoveAll();
+ delete pArrayList;
+ pArrayList = null;
+ }
+
+ if ( __pListView->GetItemCount() == 0)
+ {
+ __pSelectAllCheck->SetShowState(false);
+ __pSelectAllCheck->Invalidate(false);
+
+ r = __pListView->SetBounds(__pListView->GetX(), __pListView->GetY() - gap, __pListView->GetWidth(), GetClientAreaBounds().height);
+
+ if (IsFailed(r))
+ {
+ return;
+ }
+ __pSelectedLabel->SetShowState(false);
+
+ }
+
+ GetFooter()->SetItemEnabled(0, false);
+ GetFooter()->Invalidate(true);
+
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(false);
+
+
+ notifyMgr.Construct();
+ notifyMgr.Notify(notification);
+
+ int count = __pListView->GetItemCount();
+ for (int listCount = 0; listCount < count; listCount++)
+ {
+ if (__pListView->IsItemChecked(listCount))
+ {
+ pAlarm = static_cast< AlarmData* >(__pData->GetAt(listCount));
+
+ if (pAlarm != null)
+ {
+ __pListView->SetItemChecked(listCount, false);
+ }
+ }
+ }
+
+ __pListView->UpdateList();
+
+ if( __pListView->GetItemCount() == 0)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALARM_LIST));
+ }
+
+ }
+ break;
+ case IDA_SELECT_ALL_CHECKED:
+ {
+ int listCount = __pListView->GetItemCount() ;
+
+ __selectedItemList.RemoveAll(true);
+ for (int count = 0; count < listCount; count++)
+ {
+ __pListView->SetItemChecked(count, true);
+ __selectedItemList.Add(new Integer(count));
+ }
+
+ GetFooter()->SetItemEnabled(0, true);
+ GetFooter()->Invalidate(true);
+
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+ labelString.Format(25, lowerStr.GetPointer(), __pListView->GetItemCount());
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(false);
+ __pListView->Invalidate(true);
+
+ }
+ break;
+ case IDA_SELECT_ALL_UNCHECKED:
+ {
+ int listCount = __pListView->GetItemCount() ;
+
+ __selectedItemList.RemoveAll(true);
+ for (int count = 0; count < listCount; count++)
+ {
+ __pListView->SetItemChecked(count, false);
+ }
+
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(false);
+ __pListView->Invalidate(true);
+
+ GetFooter()->SetItemEnabled(0, false);
+ GetFooter()->Invalidate(true);
+
+ }
+ break;
+
+ case IDA_TABBAR_ITEM1_WORLDCLOCK:
+ {
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));
+ }
+ }
+ }
+ break;
+ case IDA_TABBAR_ITEM2_STOPWATCH:
+ {
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ break;
+ case IDA_TABBAR_ITEM3_TIMER:
+ {
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));
+ }
+ }
+ break;
+ default:
+ break;
+ }
+}
+
+void
+AlarmDeleteListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ String labelString = L"";
+ String lowerStr;
+
+ if (__pListView != null)
+ {
+ __pListView->UpdateList();
+
+ for (int i = 0; i < __selectedItemList.GetCount(); i++)
+ {
+ Integer* pObj = dynamic_cast<Integer*>(__selectedItemList.GetAt(i));
+
+ if (pObj != null)
+ {
+ __pListView->SetItemChecked(pObj->ToInt(), true);
+ }
+ }
+ }
+
+ GetHeader()->SetItemSelected(0);
+ GetHeader()->Invalidate(true);
+ GetFooter()->SetItemEnabled(0, false);
+
+ if (__selectedItemList.GetCount() == 0)
+ {
+ GetFooter()->SetItemEnabled(0,false);
+ __pSelectedLabel->SetText(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0,true);
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+
+ if (__pListView != null)
+ {
+ labelString.Format(25, lowerStr.GetPointer(), __pListView->GetItemCount());
+ }
+
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(false);
+ }
+
+ if (__selectedItemList.GetCount() != 0 && __selectedItemList.GetCount() == __pListView->GetItemCount())
+ {
+ __pSelectAllCheck->SetSelected(true);
+ }
+
+}
+
+void
+AlarmDeleteListForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+ AlarmData* pAlarm = null;
+ int listCount = __pListView->GetItemCount();
+
+ for (int count = 0; count < listCount; count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ pAlarm = static_cast< AlarmData* >(__pData->GetAt(count));
+
+ if (pAlarm != null)
+ {
+ __pListView->SetItemChecked(count, false);
+ }
+ }
+ }
+ __pSelectAllCheck->SetSelected(false);
+
+}
+
+void
+AlarmDeleteListForm::OnFormBackRequested(Form& source)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+}
+
+void
+AlarmDeleteListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ int count = 0;
+ String labelString;
+ String lowerStr;
+ __selectedItemCount = 0;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ int listCount = __pListView->GetItemCount() ;
+
+ if (__pListView->IsItemChecked(index) == true)
+ {
+ __selectedItemList.Add(new Integer(index));
+ }
+ else
+ {
+ __selectedItemList.Remove(* new Integer(index));
+ }
+
+ for (int count = 0; count < listCount; count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ __selectedItemCount++;
+ }
+ }
+
+ if (__selectedItemCount == 0)
+ {
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ }
+ else
+ {
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+ labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);
+ }
+
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(false);
+
+ pAlarmPresentationModel->GetAlarmCount(count);
+
+ if (__selectedItemCount == count)
+ {
+ __pSelectAllCheck->SetSelected(true);
+ }
+ else
+ {
+ __pSelectAllCheck->SetSelected(false);
+ }
+
+ GetFooter()->SetItemEnabled(0,false);
+
+ for (int count = 0; count < listCount; count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ GetFooter()->SetItemEnabled(0, true);
+ break;
+ }
+ }
+
+ GetFooter()->Invalidate(true);
+}
+
+ListItemBase *
+AlarmDeleteListForm::CreateItem(int index, int itemWidth)
+{
+ result r = E_FAILURE;
+ String time = L"";
+ String itemContent = L"";
+ int hour = 0;
+ int min = 0;
+ int sec = 0;
+ int listItemHeight = LIST_ITEM_HEIGHT;
+ String alarmName;
+ String alarmNameSubstring;
+ String flags;
+ AlarmRepeatCustomItem* pItem = null;
+ String temp;
+
+ pItem = new (std::nothrow) AlarmRepeatCustomItem();
+ AlarmData* pAlarm = dynamic_cast< AlarmData* >(__pData->GetAt(index));
+
+ if ( pAlarm == null )
+ {
+ if ( pItem != null)
+ {
+ delete pItem;
+ pItem = null;
+ }
+ return null;
+ }
+
+ hour = pAlarm->GetAlarmTime().GetHour();
+ min = pAlarm->GetAlarmTime().GetMinute();
+ sec = pAlarm->GetAlarmTime().GetSecond();
+ AppLogDebug("CreateItem : %d, %d, %d", hour, min, sec);
+
+ if (hour > 12)
+ {
+ hour = hour - 12;
+ temp = CommonUtil::GetString("IDS_COM_POP_PM");
+ }
+ else
+ {
+ temp = CommonUtil::GetString("IDS_COM_BODY_AM");
+ }
+
+ if (hour < 10)
+ {
+ time.Append(0);
+ }
+
+ time.Append(hour);
+ time.Append(L":");
+
+ if (min < 10)
+ {
+ time.Append(0);
+ }
+
+ time.Append(min);
+ time.Append(" ");
+ time.Append(temp);
+
+ alarmName = pAlarm->GetAlarmName();
+
+ if (alarmName.GetLength() > 10)
+ {
+ alarmName.SubString(0, 10, alarmNameSubstring);
+ alarmNameSubstring.Append(L"...");
+ }
+ else
+ {
+ alarmNameSubstring = pAlarm->GetAlarmName();
+ }
+
+ itemContent = alarmNameSubstring + L" " + time;
+ flags = pAlarm->GetRepeatFlags();
+
+ r = pItem->Construct(itemWidth, listItemHeight, true, is24HourFormat);
+
+ pItem->SetAlarm(*pAlarm);
+ pItem->MakeAlarmRepeatCustomItem();
+
+ return pItem;
+}
+
+bool
+AlarmDeleteListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+AlarmDeleteListForm::GetItemCount(void)
+{
+ int count = 0;
+ result r = E_SUCCESS;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ pAlarmPresentationModel->GetAlarmCount(count);
+
+ if ( count == 0)
+ {
+ __pSelectAllCheck->SetSelected(false);
+ __pSelectAllCheck->SetShowState(false);
+ __pSelectAllCheck->Invalidate(true);
+ }
+ else
+ {
+ __pSelectAllCheck->SetShowState(true);
+ }
+
+ __pSelectAllCheck->Invalidate(false);
+
+ if (__pData != NULL)
+ {
+ __pData->RemoveAll(true);
+ delete __pData;
+ __pData = NULL ;
+ }
+
+ __pData = new (std::nothrow) ArrayList();
+
+ if (__pData == null)
+ {
+ return 0;
+ }
+
+ r = __pData->Construct();
+
+ pAlarmPresentationModel->GetAlarm(0, count, *__pData);
+ AppLogDebug("the count is %d",count);
+
+ return count;
+
+}
+
+void
+AlarmDeleteListForm::OnSettingChanged(Tizen::Base::String& key)
+{
+ if ( key == L"http://tizen.org/setting/locale.time.format.24hour")
+ {
+ SettingInfo::GetValue(key, is24HourFormat);
+ AppLog("the format value is %d", is24HourFormat);
+ }
+
+ __pListView->UpdateList();
+
+}
+
+void
+AlarmDeleteListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ __pListView->UpdateList();
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file AlarmEditorForm.cpp\r
- * @brief Used to define AlarmEditorForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FAppAppControl.h>\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkAlarmEditorForm.h"\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkAlarmRepeatCustomItem.h"\r
-#include "ClkCheckBoxCustomItem.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkDefaultCustomItem.h"\r
-#include "ClkDropDownCustomItem.h"\r
-#include "ClkDropdownAndRepeatCustomItem.h"\r
-#include "ClkEditSnoozeForm.h"\r
-#include "ClkRadioCustomItem.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkToggleCustomItem.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-using namespace Tizen::System;\r
-\r
-static const int IDA_CREATE_ALARM_SAVE = 201;\r
-static const int IDA_CREATE_ALARM_CANCEL = 202;\r
-static const int IDA_HEADER_ITEM_SAVE = 203;\r
-static const int IDA_HEADER_ITEM_CANCEL = 204;\r
-static const int IDA_BUTTON_HOURS = 205;\r
-static const int IDA_BUTTON_MINS = 206;\r
-static const int IDA_BUTTON_TOGGLE = 207;\r
-static const int IDA_BUTTON_MORE = 208;\r
-static const int IDA_BUTTON_SUN = 209;\r
-static const int IDA_BUTTON_MON = 210;\r
-static const int IDA_BUTTON_TUE = 211;\r
-static const int IDA_BUTTON_WED = 212;\r
-static const int IDA_BUTTON_THU = 213;\r
-static const int IDA_BUTTON_FRI = 214;\r
-static const int IDA_BUTTON_SAT = 215;\r
-\r
-AlarmEditorForm::AlarmEditorForm(void)\r
- : __alarmName("")\r
- , __audioFilePath(Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3")\r
- , __defaultEditFieldValue("")\r
- , __defaultToggleValue(CommonUtil::GetString(L"IDS_COM_BODY_AM"))\r
- , __pDuration(null)\r
- , __fontValue(0)\r
- , __isPlaying(false)\r
- , __isSnoozeOn(true)\r
- , __modalMsgBoxResult(0)\r
- , __pAlarm(null)\r
- , __pBtnDayFri(null)\r
- , __pBtnDayMon(null)\r
- , __pBtnDaySat(null)\r
- , __pBtnDaySun(null)\r
- , __pBtnDayThu(null)\r
- , __pBtnDayTue(null)\r
- , __pBtnDayWed(null)\r
- , __pBtnHourDisplay(null)\r
- , __pBtnMinDisplay(null)\r
- , __pBtnMore(null)\r
- , __pBtnToggle(null)\r
- , __pEditField(null)\r
- , __pEditFieldHour(null)\r
- , __player(null)\r
- , __pLabelEditfieldTitle(null)\r
- , __pLabelTitle(null)\r
- , __pListView(null)\r
- , __pGroupedListView(null)\r
- , __pPanelDays(null)\r
- , __pPanelEditTime(null)\r
- , __pPanelList(null)\r
- , __pResetPopup(null)\r
- , __pScrollPanel(null)\r
- , __pSlider(null)\r
- , __pRepeat(null)\r
- , __repeatName(L"")\r
- , __selectedIndex(1)\r
- , __showRepeat(false)\r
- , __showType(false)\r
- , __sliderDefaultValue(13)\r
- , __snoozeDurationValue("")\r
- , __snoozeValue(0)\r
- , __typeName(0)\r
- , __typeNameValue("")\r
-{\r
-\r
-}\r
-\r
-AlarmEditorForm::~AlarmEditorForm(void)\r
-{\r
- if (__pDuration != null)\r
- {\r
- delete __pDuration;\r
- __pDuration = null;\r
- }\r
-\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
-\r
- if (__pRepeat != null)\r
- {\r
- delete __pRepeat;\r
- __pRepeat = null;\r
- }\r
- if (__player == null)\r
- {\r
- return;\r
- }\r
-\r
- PlayerState estate = __player->GetState();\r
- if ((estate == PLAYER_STATE_OPENED) || (estate == PLAYER_STATE_PAUSED)\r
- || (estate == PLAYER_STATE_PLAYING)\r
- || (estate == PLAYER_STATE_ENDOFCLIP) || (estate == PLAYER_STATE_STOPPED))\r
- {\r
- __player->Close();\r
- }\r
-\r
- if (__player)\r
- {\r
- delete __player;\r
- __player = null;\r
- }\r
-\r
- SettingInfo::RemoveSettingEventListener(*this);\r
-}\r
-\r
-bool\r
-AlarmEditorForm::Initialize(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- r = Construct(L"IDL_ALARM_EDITOR_FORM");\r
-\r
- if (IsFailed(r))\r
- {\r
- return false;\r
- }\r
-\r
- return true;\r
-}\r
-\r
-result\r
-AlarmEditorForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- Bitmap* pBgNormalBitmap = null;\r
- Bitmap* pDayNormalBitmap = null;\r
- Bitmap* pDayFocusBitmap = null;\r
- Bitmap* pFinalBitmap = null;\r
- Bitmap* pbgFocusBitmap = null;\r
- Bitmap* pbgBitmap = null;\r
- Bitmap* pFinalBitmapFocused = null;\r
- Canvas* pCanvas = null;\r
- Canvas* pCanvasFocused = null;\r
- int canvasWidth = 276;\r
- int canvasHeight = 236;\r
- String newAlarm;\r
- String labelText;\r
- String durationValue;\r
-\r
- SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);\r
- SettingInfo::AddSettingEventListener(*this);\r
-\r
- AddTouchEventListener(*this);\r
- AddOrientationEventListener(*this);\r
-\r
- __snoozeDurationValue.Clear();\r
- __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_ALM_BODY_5MINS"));\r
- __snoozeDurationValue.Append(L", ");\r
- __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_ALM_BODY_3TIMES"));\r
-\r
- __defaultEditFieldValue = CommonUtil::GetString(L"IDS_COM_BODY_ALARM");\r
- __defaultEditFieldValue.Append("1");\r
-\r
- SetFormBackEventListener(this);\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_CREATE_ALARM, *this);\r
-\r
- __pScrollPanel = static_cast<ScrollPanel*>(GetControl("IDC_SCROLLPANEL1", false));\r
-\r
- if (__pScrollPanel != null)\r
- {\r
- __pScrollPanel->AddTouchEventListener(*this);\r
- __pScrollPanel->SetScrollBarVisible(false);\r
- }\r
-\r
- __pLabelEditfieldTitle = static_cast<Label*>(GetControl("IDC_LABEL1", true));\r
-\r
- GetFooter()->AddActionEventListener(*this);\r
-\r
- __pLabelTitle = static_cast<Label*>(GetControl("IDC_LABEL_TITLE", true));\r
-\r
- if (__pLabelTitle != null)\r
- {\r
- newAlarm = CommonUtil::GetString("IDS_COM_SK_NEW");\r
- newAlarm.Append(" ");\r
- newAlarm.Append(CommonUtil::GetString("IDS_COM_BODY_ALARM"));\r
- newAlarm.ToUpper(labelText);\r
- __pLabelTitle->SetText(labelText);\r
- }\r
-\r
- __pPanelList = static_cast<Panel*>(GetControl("IDC_PANEL_LIST", true));\r
-\r
- __pSlider = static_cast<Slider *>(GetControl("IDC_SLIDER_VOLUME", true));\r
- __pSlider->SetValue(__sliderDefaultValue);\r
- __pSlider->AddSliderEventListener(*this);\r
- __pSlider->AddTouchEventListener(*this);\r
-\r
- __pEditField = static_cast<EditField*>(GetControl("IDC_EDITFIELD1", true));\r
-\r
- if (__pEditField == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pEditField->SetText(__defaultEditFieldValue);\r
- __pEditField->AddTextEventListener(*this);\r
- __pEditField->AddKeypadEventListener(*this);\r
- __pEditField->SetOverlayKeypadCommandButtonVisible(false);\r
-\r
- __pPanelEditTime = static_cast<Panel*>(GetControl("IDC_PANEL_EDITTIME", true));\r
-\r
- if (__pPanelEditTime == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pBgNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_NORMAL_BG);\r
- pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_BG);\r
-\r
- pCanvas = new (std::nothrow) Canvas();\r
- pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvas->DrawBitmap(Point(0,0),*pBgNormalBitmap);\r
- pCanvas->DrawBitmap(Point(0,0),*pbgBitmap);\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- pFinalBitmap = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmap != NULL)\r
- {\r
- pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvas;\r
- }\r
-\r
- pbgFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_FOCUS_BG);\r
-\r
- pCanvasFocused = new (std::nothrow) Canvas();\r
- pCanvasFocused->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvasFocused->DrawBitmap(Point(0,0),*pbgFocusBitmap);\r
- pCanvasFocused->DrawBitmap(Point(0,0),*pbgBitmap);\r
-\r
- if (pbgFocusBitmap != null)\r
- {\r
- delete pbgFocusBitmap;\r
- pbgFocusBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- pFinalBitmapFocused = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmapFocused != null)\r
- {\r
- pFinalBitmapFocused->Construct(*pCanvasFocused,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvasFocused;\r
- }\r
-\r
-\r
- __pBtnHourDisplay = dynamic_cast<Button*>(GetControl("IDC_BUTTON_HOUR", true));\r
-\r
- if (__pBtnHourDisplay == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnHourDisplay->SetActionId(IDA_BUTTON_HOURS);\r
- __pBtnHourDisplay->AddActionEventListener(*this);\r
- __pBtnHourDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- __pBtnHourDisplay->SetPressedBackgroundBitmap(*pFinalBitmapFocused);\r
-\r
- __pEditFieldHour = dynamic_cast<EditField*>(GetControl("IDC_EDITFIELD2", true));\r
-\r
- if (__pEditFieldHour == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pPanelEditTime->SetControlAlwaysAtBottom(*__pEditFieldHour, true);\r
- __pEditFieldHour->AddTextEventListener(*this);\r
- __pEditFieldHour->AddKeypadEventListener(*this);\r
- __pEditFieldHour->SetOverlayKeypadCommandButtonVisible(false);\r
-\r
-\r
- __pBtnMinDisplay = dynamic_cast<Button*>(GetControl("IDC_BUTTON_MIN", true));\r
-\r
- if (__pBtnMinDisplay == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnMinDisplay->SetActionId(IDA_BUTTON_MINS);\r
- __pBtnMinDisplay->AddActionEventListener(*this);\r
- __pBtnMinDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- __pBtnMinDisplay->SetPressedBackgroundBitmap(*pFinalBitmapFocused);\r
-\r
-\r
- __pBtnToggle = dynamic_cast<Button*>(GetControl("IDC_BUTTON_TOGGLE", true));\r
-\r
- if (__pBtnToggle == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnToggle->SetActionId(IDA_BUTTON_TOGGLE);\r
- __pBtnToggle->AddActionEventListener(*this);\r
-\r
- __pLabelAm = dynamic_cast<Label*>(GetControl("IDC_LABEL_AM", true));\r
- __pLabelPm = dynamic_cast<Label*>(GetControl("IDC_LABEL_PM", true));\r
-\r
-\r
- __pPanelDays = static_cast<Panel*>(GetControl("IDC_PANEL_DAYS", true));\r
-\r
- if (__pPanelDays == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
- AppLog("Coming here");\r
- return E_FAILURE;\r
- }\r
-\r
- __pPanelDays->AddTouchEventListener(*this);\r
- __pBtnMore = dynamic_cast<Button*>(GetControl("IDC_BUTTON_MORE", true));\r
-\r
- if (__pBtnMore == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnMore->SetActionId(IDA_BUTTON_MORE);\r
- __pBtnMore->AddActionEventListener(*this);\r
- __pPanelList = static_cast<Panel*>(GetControl("IDC_PANEL_LIST", true));\r
-\r
- if (__pPanelList == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pPanelList->SetShowState(false);\r
- __pBtnDaySun = dynamic_cast<Button*>(GetControl("IDC_BUTTON_SUN", true));\r
-\r
- if (__pBtnDaySun == null)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- pBgNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
-\r
- __pBtnDaySun->SetActionId(IDA_BUTTON_SUN);\r
- __pBtnDaySun->AddActionEventListener(*this);\r
- __pBtnDaySun->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDaySun->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG);\r
-\r
- __pBtnDaySun->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDaySun->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- __pBtnDayMon = dynamic_cast<Button*>(GetControl("IDC_BUTTON_MON", true));\r
-\r
- if (__pBtnDayMon == NULL)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnDayMon->SetActionId(IDA_BUTTON_MON);\r
- __pBtnDayMon->AddActionEventListener(*this);\r
- __pBtnDayMon->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDayMon->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_FOCUS_BG);\r
-\r
- __pBtnDayMon->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDayMon->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- __pBtnDayTue = dynamic_cast<Button*>(GetControl("IDC_BUTTON_TUE", true));\r
-\r
- if (__pBtnDayTue == NULL)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnDayTue->SetActionId(IDA_BUTTON_TUE);\r
- __pBtnDayTue->AddActionEventListener(*this);\r
- __pBtnDayTue->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDayTue->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG);\r
-\r
- __pBtnDayTue->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDayTue->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- __pBtnDayWed = dynamic_cast<Button*>(GetControl("IDC_BUTTON_WED", true));\r
-\r
- if (__pBtnDayWed == NULL)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnDayWed->SetActionId(IDA_BUTTON_WED);\r
- __pBtnDayWed->AddActionEventListener(*this);\r
- __pBtnDayWed->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDayWed->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_FOCUS_BG);\r
-\r
- __pBtnDayWed->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDayWed->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- __pBtnDayThu = dynamic_cast<Button*>(GetControl("IDC_BUTTON_THU", true));\r
-\r
- if (__pBtnDayThu == NULL)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnDayThu->SetActionId(IDA_BUTTON_THU);\r
- __pBtnDayThu->AddActionEventListener(*this);\r
- __pBtnDayThu->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDayThu->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_FOCUS_BG);\r
-\r
- __pBtnDayThu->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDayThu->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- __pBtnDayFri = dynamic_cast<Button*>(GetControl("IDC_BUTTON_FRI", true));\r
-\r
- if (__pBtnDayFri == NULL)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnDayFri->SetActionId(IDA_BUTTON_FRI);\r
- __pBtnDayFri->AddActionEventListener(*this);\r
- __pBtnDayFri->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDayFri->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG);\r
-\r
- __pBtnDayFri->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDayFri->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- __pBtnDaySat = dynamic_cast<Button*>(GetControl("IDC_BUTTON_SAT", true));\r
-\r
- if (__pBtnDaySat == NULL)\r
- {\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnDaySat->SetActionId(IDA_BUTTON_SAT);\r
- __pBtnDaySat->AddActionEventListener(*this);\r
- __pBtnDaySat->SetNormalBackgroundBitmap(*pBgNormalBitmap);\r
- __pBtnDaySat->SetPressedBackgroundBitmap(*pbgBitmap);\r
-\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG);\r
-\r
- __pBtnDaySat->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
- __pBtnDaySat->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- if (pBgNormalBitmap != null)\r
- {\r
- delete pBgNormalBitmap;\r
- pBgNormalBitmap = null;\r
- }\r
-\r
- if (pbgBitmap != null)\r
- {\r
- delete pbgBitmap;\r
- pbgBitmap = null;\r
- }\r
-\r
- __pGroupedListView = static_cast<GroupedListView*>(GetControl("IDC_GROUPEDLISTVIEW1", true));\r
-\r
- if (__pGroupedListView != null)\r
- {\r
- __pGroupedListView->AddGroupedListViewItemEventListener(*this);\r
- __pGroupedListView->AddTouchEventListener(*this);\r
- __pGroupedListView->SetItemProvider(*this);\r
- }\r
-\r
- __pListView = dynamic_cast<ListView*>(GetControl("IDC_LISTVIEW1", true));\r
-\r
- if (__pListView != null)\r
- {\r
- __pListView->AddListViewItemEventListener(*this);\r
- __pListView->AddTouchEventListener(*this);\r
- __pListView->SetItemProvider(*this);\r
- }\r
-\r
- __selectedIndexValues.Construct();\r
-\r
- __player = new (std::nothrow) Player();\r
- if ( __player == null)\r
- {\r
- AppLogException("pPlyaer = new (std::nothrow) Player() has failed");\r
- return E_FAILURE;\r
- }\r
- __player->Construct(*this);\r
-\r
- GetHeader()->SetTitleText(__pEditField->GetText());\r
- GetHeader()->SetShowState(false);\r
- GetHeader()->AddActionEventListener(*this);\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-AlarmEditorForm::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- AppLog("Action id: %d", actionId);\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- DateTime currentTime;\r
- DateTime alarmTime;\r
- int duration = 0;\r
- int repeat = 0;\r
- ArrayList* pArgList = null;\r
- String alarmName = L"";\r
- Bitmap* pDayNormalBitmap = null;\r
- Bitmap* pDayFocusBitmap = null;\r
-\r
- if (__pEditField != null)\r
- {\r
- __pEditField->HideKeypad();\r
- __pEditField->Invalidate(false);\r
- }\r
-\r
- switch (actionId)\r
- {\r
- case IDA_CREATE_ALARM_CANCEL:\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
- break;\r
-\r
- case IDA_HEADER_ITEM_SAVE:\r
- case IDA_CREATE_ALARM_SAVE:\r
- {\r
- int hour, minute;\r
- String hourVal, minVal;\r
- String alarmTone;\r
- int alarmVol;\r
-\r
- minVal = __pBtnMinDisplay->GetText();\r
- Integer::Parse(minVal, minute);\r
-\r
- pArgList = new (std::nothrow) ArrayList();\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
-\r
- if (__pEditField != null)\r
- {\r
- alarmName = __pEditField->GetText();\r
- }\r
-\r
- hourVal = __pBtnHourDisplay->GetText();\r
- Integer::Parse(hourVal, hour);\r
-\r
- if (is24HourFormat == false)\r
- {\r
- if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_BODY_AM"))\r
- {\r
-\r
- if(hour == 12)\r
- {\r
- hour = 0;\r
- }\r
-\r
- }\r
- else if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_POP_PM"))\r
- {\r
-\r
- if(hour != 12)\r
- {\r
- hour = hour + 12;\r
- }\r
-\r
- }\r
- }\r
-\r
- alarmTime.SetValue(1900, 1, 1, hour, minute, 0);\r
-\r
- if (__pDuration != null && __pRepeat != null)\r
- {\r
- duration = __pDuration->ToInt();\r
- repeat = __pRepeat->ToInt();\r
- }\r
-\r
- __pAlarm->SetAlarmOnState(1);\r
- __pAlarm->SetAlarmName(alarmName);\r
- __pAlarm->SetAlarmTime(alarmTime);\r
-\r
-\r
- if (__pSlider != null)\r
- {\r
- alarmVol = __pSlider->GetValue();\r
- __pAlarm->SetRingVolume(alarmVol);\r
- }\r
-\r
- if (__typeName == 0)\r
- {\r
- __pAlarm->SetRingType(ALARM_TYPE_MELODY);\r
- }\r
- else if (__typeName == 1)\r
- {\r
- __pAlarm->SetRingType(ALARM_TYPE_VIBRATION);\r
- }\r
- else if (__typeName == 2)\r
- {\r
- __pAlarm->SetRingType(ALARM_TYPE_MELODY_AND_VIBRATION);\r
- }\r
-\r
-\r
- __pAlarm->SetSnoozeDuration(duration);\r
- __pAlarm->SetSnoozeRepeat(repeat);\r
- pAlarmPresentationModel->SaveAlarm(*__pAlarm);\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(*new (std::nothrow) AlarmData(*__pAlarm));\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT),pArgList );\r
- }\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_HEADER_ITEM_CANCEL:\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_MORE:\r
- {\r
- __pPanelList->SetShowState(true);\r
- __pScrollPanel->SetScrollBarVisible(true);\r
- __pBtnMore->SetShowState(false);\r
- //Invalidate(true);\r
- RearrangeControls();\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_TOGGLE:\r
- {\r
- Bitmap* pToggleBtnPMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_PM_BG);\r
- Bitmap* pToggleBtnAMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_AM_BG);\r
-\r
- if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_BODY_AM"))\r
- {\r
- __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnPMBG);\r
- __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnPMBG);\r
- __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_POP_PM");\r
- }\r
- else if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_POP_PM"))\r
- {\r
- __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnAMBG);\r
- __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnAMBG);\r
- __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_BODY_AM");\r
- }\r
-\r
- if (pToggleBtnPMBG != null)\r
- {\r
- delete pToggleBtnPMBG;\r
- pToggleBtnPMBG = null;\r
- }\r
-\r
- if (pToggleBtnAMBG != null)\r
- {\r
- delete pToggleBtnAMBG;\r
- pToggleBtnAMBG = null;\r
- }\r
-\r
- __pBtnToggle->Invalidate(true);\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_SUN:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEverySundayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEverySunday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_BG);\r
-\r
- __pAlarm->SetRepeatedEverySunday(false);\r
- }\r
-\r
- __pBtnDaySun->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDaySun->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_MON:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEveryMondayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEveryMonday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_BG);\r
-\r
- __pAlarm->SetRepeatedEveryMonday(false);\r
- }\r
-\r
- __pBtnDayMon->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDayMon->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_TUE:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEveryTuesdayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEveryTuesday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_BG);\r
-\r
- __pAlarm->SetRepeatedEveryTuesday(false);\r
- }\r
-\r
- __pBtnDayTue->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDayTue->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_WED:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEveryWednesdayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEveryWednesday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_BG);\r
-\r
- __pAlarm->SetRepeatedEveryWednesday(false);\r
- }\r
-\r
- __pBtnDayWed->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDayWed->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_THU:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEveryThursdayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEveryThursday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_BG);\r
-\r
- __pAlarm->SetRepeatedEveryThursday(false);\r
- }\r
-\r
- __pBtnDayThu->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDayThu->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_FRI:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEveryFridayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEveryFriday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_BG);\r
-\r
- __pAlarm->SetRepeatedEveryFriday(false);\r
- }\r
-\r
- __pBtnDayFri->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDayFri->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_SAT:\r
- {\r
-\r
- if (!(__pAlarm->GetRepeatEverySaturdayFlag()))\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG);\r
-\r
- __pAlarm->SetRepeatedEverySaturday(true);\r
- }\r
- else\r
- {\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_BG);\r
-\r
- __pAlarm->SetRepeatedEverySaturday(false);\r
- }\r
-\r
- __pBtnDaySat->SetNormalBackgroundBitmap(*pDayNormalBitmap);\r
- __pBtnDaySat->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pDayFocusBitmap != null)\r
- {\r
- delete pDayFocusBitmap;\r
- pDayFocusBitmap = null;\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_HOURS:\r
- {\r
- isHourClicked = true;\r
- __pEditFieldHour->SetText(__pBtnHourDisplay->GetText());\r
- __pEditFieldHour->ShowKeypad();\r
- __pEditFieldHour->Invalidate(true);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_MINS:\r
- {\r
- isHourClicked = false;\r
- __pEditFieldHour->SetText(__pBtnMinDisplay->GetText());\r
- __pEditFieldHour->ShowKeypad();\r
- __pEditFieldHour->Invalidate(true);\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- AppLog("AlarmEditorForm::OnSceneActivatedN");\r
- result r = E_SUCCESS;\r
- bool flag = false;\r
- int counter = 0;\r
- int count = 0;\r
- int alarmCount = 0;\r
- int volume = 0;\r
- int timeFormat = 12;\r
- ArrayList alarmList;\r
- String title ;\r
- String alarmTitle ;\r
- DateTime currentTime;\r
- String durationValue;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- Bitmap* pToggleBtnPMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_PM_BG);\r
- Bitmap* pToggleBtnAMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_AM_BG);\r
- Bitmap* pDayNormalBitmap = null;\r
- Bitmap* pNormalBitmap = null;\r
- Bitmap* pFocusBitmap = null;\r
-\r
- if (previousSceneId != IDSCN_EDIT_SNOOZE)\r
- {\r
- String alarmTone;\r
- String alarmPath;\r
- __pAlarm = new (std::nothrow) AlarmData();\r
- //alarmTone = UiApp::GetInstance()->GetAppRootPath() + L"/data/04-Kyun.mp3";\r
- __pAlarm->SetRingTone(__audioFilePath);\r
- }\r
-\r
- if (previousSceneId == IDSCN_ALARM_LIST && pArgs != null)\r
- {\r
- String hour, min;\r
- int alarmTimeHour, alarmTimeMin;\r
-\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
-\r
- __pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));\r
-\r
- if (__pAlarm == null)\r
- {\r
- return;\r
- }\r
-\r
- volume = __pAlarm->GetRingVolume();\r
-\r
- alarmTimeHour = __pAlarm->GetAlarmTime().GetHour();\r
- alarmTimeMin = __pAlarm->GetAlarmTime().GetMinute();\r
-\r
- if(is24HourFormat == false)\r
- {\r
- if (alarmTimeHour < timeFormat)\r
- {\r
- __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_BODY_AM");\r
- __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnAMBG);\r
- __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnAMBG);\r
- }\r
- else\r
- {\r
- alarmTimeHour = alarmTimeHour - timeFormat;\r
- __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_POP_PM");\r
- __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnPMBG);\r
- __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnPMBG);\r
- }\r
- }\r
- else\r
- {\r
- __pBtnToggle->SetShowState(false);\r
- __pLabelAm->SetShowState(false);\r
- __pLabelPm->SetShowState(false);\r
- }\r
-\r
- if(alarmTimeHour == 0 && is24HourFormat == false)\r
- {\r
- alarmTimeHour = 12;\r
- }\r
-\r
- if ( alarmTimeHour < 10)\r
- {\r
- hour.Append(0);\r
- }\r
-\r
- if (alarmTimeMin < 10)\r
- {\r
- min.Append(0);\r
- }\r
-\r
- hour.Append(alarmTimeHour);\r
- min.Append(alarmTimeMin);\r
-\r
- __pBtnHourDisplay->SetText(hour);\r
- __pBtnMinDisplay->SetText(min);\r
- __pBtnHourDisplay->Invalidate(false);\r
- __pBtnMinDisplay->Invalidate(false);\r
-\r
- __pEditField->SetText(__pAlarm->GetAlarmName());\r
- __pSlider->SetValue(volume);\r
-\r
- __pLabelTitle->SetText(__pAlarm->GetAlarmName());\r
- __pLabelTitle->Invalidate(false);\r
-\r
- pNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);\r
- pFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);\r
-\r
- if (__pAlarm->GetRepeatEverySundayFlag())\r
- {\r
- __pBtnDaySun->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDaySun->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_BG);\r
- }\r
-\r
- __pBtnDaySun->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRepeatEveryMondayFlag())\r
- {\r
- __pBtnDayMon->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDayMon->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_BG);\r
- }\r
-\r
- __pBtnDayMon->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRepeatEveryTuesdayFlag())\r
- {\r
- __pBtnDayTue->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDayTue->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_BG);\r
- }\r
-\r
- __pBtnDayTue->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRepeatEveryWednesdayFlag())\r
- {\r
- __pBtnDayWed->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDayWed->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_BG);\r
- }\r
-\r
- __pBtnDayWed->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRepeatEveryThursdayFlag())\r
- {\r
- __pBtnDayThu->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDayThu->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_BG);\r
- }\r
-\r
- __pBtnDayThu->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRepeatEveryFridayFlag())\r
- {\r
- __pBtnDayFri->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDayFri->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_BG);\r
- }\r
-\r
- __pBtnDayFri->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRepeatEverySaturdayFlag())\r
- {\r
- __pBtnDaySat->SetNormalBackgroundBitmap(*pFocusBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG);\r
- }\r
- else\r
- {\r
- __pBtnDaySat->SetNormalBackgroundBitmap(*pNormalBitmap);\r
- pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_BG);\r
- }\r
-\r
- __pBtnDaySat->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);\r
-\r
- if (pDayNormalBitmap != null)\r
- {\r
- delete pDayNormalBitmap;\r
- pDayNormalBitmap = null;\r
- }\r
-\r
- if (pFocusBitmap != null)\r
- {\r
- delete pFocusBitmap;\r
- pFocusBitmap = null;\r
- }\r
-\r
- if (pNormalBitmap != null)\r
- {\r
- delete pNormalBitmap;\r
- pNormalBitmap = null;\r
- }\r
-\r
- if (__pAlarm->GetRingType() == 0)\r
- {\r
- __selectedIndex = 1;\r
- }\r
-\r
- if (__pAlarm->GetRingType() == 1)\r
- {\r
- __selectedIndex = 2;\r
- }\r
-\r
- if (__pAlarm->GetRingType() == 2)\r
- {\r
- __selectedIndex = 3;\r
- }\r
-\r
- __typeName = __pAlarm->GetRingType();\r
-\r
- if (__pDuration != null)\r
- {\r
- delete __pDuration;\r
- __pDuration = null;\r
- }\r
-\r
- if (__pRepeat != null)\r
- {\r
- delete __pRepeat;\r
- __pRepeat = null;\r
- }\r
-\r
- __pDuration = new (std::nothrow) Integer(__pAlarm->GetSnoozeDuration());\r
- __pRepeat = new (std::nothrow) Integer(__pAlarm->GetSnoozeRepeat());\r
-\r
- __snoozeDurationValue.Clear();\r
- __snoozeDurationValue.Append(__pDuration->ToInt());\r
- __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_TMR_BODY_MIN"));\r
- __snoozeDurationValue.Append(L", ");\r
- durationValue.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), __pRepeat->ToInt());\r
- __snoozeDurationValue.Append(durationValue);\r
- }\r
- else if (previousSceneId == IDSCN_ALARM_LIST && pArgs == null)\r
- {\r
- String hourValue= L"";\r
- String minValue ;\r
- int hour = 0;\r
- int numberSelectorHour, numberSelectorMin;\r
-\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
-\r
- if (is24HourFormat == false)\r
- {\r
- if (currentTime.GetHour() > timeFormat)\r
- {\r
- hour = currentTime.GetHour() - timeFormat;\r
- }\r
-\r
- else\r
- {\r
- hour = currentTime.GetHour();\r
- }\r
- }\r
- else\r
- {\r
- hour = currentTime.GetHour();\r
- __pBtnToggle->SetShowState(false);\r
- __pLabelAm->SetShowState(false);\r
- __pLabelPm->SetShowState(false);\r
- }\r
-\r
- if(hour == 0 && is24HourFormat == false)\r
- {\r
- hour = 12;\r
- }\r
-\r
- if (hour < 10)\r
- {\r
- hourValue.Append(0);\r
- }\r
-\r
- if (currentTime.GetMinute() < 10)\r
- {\r
- minValue.Append(0);\r
- }\r
-\r
- hourValue.Append(hour);\r
- minValue.Append(currentTime.GetMinute());\r
-\r
- if (__pDuration != null)\r
- {\r
- delete __pDuration;\r
- __pDuration = null;\r
- }\r
-\r
- if (__pRepeat != null)\r
- {\r
- delete __pRepeat;\r
- __pRepeat = null;\r
- }\r
-\r
- __pDuration = new (std::nothrow) Integer(5);\r
- __pRepeat = new (std::nothrow) Integer(3);\r
-\r
- if (is24HourFormat == false)\r
- {\r
- if (currentTime.GetHour() < timeFormat)\r
- {\r
- __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_BODY_AM");\r
- __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnAMBG);\r
- __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnAMBG);\r
- }\r
- else if (currentTime.GetHour() >= timeFormat)\r
- {\r
- __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_POP_PM");\r
- __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnPMBG);\r
- __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnPMBG);\r
- }\r
- }\r
-\r
- __snoozeDurationValue.Clear();\r
- __snoozeDurationValue.Append(__pDuration->ToInt());\r
- __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_TMR_BODY_MIN"));\r
- __snoozeDurationValue.Append(L", ");\r
- durationValue.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), __pRepeat->ToInt());\r
- __snoozeDurationValue.Append(durationValue);\r
-\r
-\r
- Integer::Parse(hourValue, numberSelectorHour);\r
- Integer::Parse(minValue, numberSelectorMin);\r
- __pBtnHourDisplay->SetText(hourValue);\r
- __pBtnMinDisplay->SetText(minValue);\r
- __pBtnHourDisplay->Invalidate(false);\r
- __pBtnMinDisplay->Invalidate(false);\r
-\r
- __pAlarm->SetSnoozeOn(__isSnoozeOn);\r
-\r
- }\r
- else\r
- {\r
- AppLog("the control frm myfiles comes here");\r
- if (pArgs != null)\r
- {\r
-\r
- if (__pDuration != null)\r
- {\r
- delete __pDuration;\r
- __pDuration = null;\r
- }\r
-\r
- if (__pRepeat != null)\r
- {\r
- delete __pRepeat;\r
- __pRepeat = null;\r
- }\r
-\r
- __pDuration = dynamic_cast<Integer*>(pArgs->GetAt(0));\r
- __pRepeat = dynamic_cast<Integer*>(pArgs->GetAt(1));\r
-\r
- __snoozeDurationValue.Clear();\r
- __snoozeDurationValue.Append(__pDuration->ToInt());\r
- __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_TMR_BODY_MIN"));\r
- __snoozeDurationValue.Append(L", ");\r
- durationValue.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), __pRepeat->ToInt());\r
- __snoozeDurationValue.Append(durationValue);\r
- __pAlarm->SetSnoozeDuration(__pDuration->ToInt());\r
- __pAlarm->SetSnoozeRepeat(__pRepeat->ToInt());\r
-\r
- }\r
- __pGroupedListView->UpdateList();\r
- }\r
-\r
- r = pAlarmPresentationModel->GetAlarmCount(alarmCount); // to get count of existing folders\r
-\r
- r = pAlarmPresentationModel->GetAlarm(0, alarmCount, alarmList); // to get list of existing folders\r
-\r
- if (pArgs == null)\r
- {\r
- while (true) // to provide user with unique alarm title when he creates a new (std::nothrow) alarm\r
- { // to generate alarm with default name of type alarmN\r
- flag = false ;\r
- title = L"";\r
- count = 0;\r
- counter++;\r
- title.Append(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
- title.Append(counter);\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- AlarmData* pAlarm = dynamic_cast<AlarmData*>(alarmList.GetAt(count));\r
- alarmTitle = L"";\r
- alarmTitle = pAlarm->GetAlarmName();\r
-\r
- if (title.Equals(alarmTitle,false))\r
- {\r
- flag = true; // if flag is true alarm title already exists\r
- break; // break from for loop\r
- }\r
-\r
- } // end of for loop\r
-\r
- if (!flag)\r
- {\r
- __pEditField->SetText(title); // if flag is false alarm title is unique\r
- break; // break from while loop\r
- }\r
-\r
- } // end of while loop\r
- }\r
-\r
-\r
- if (__pListView != null)\r
- {\r
- __pListView->UpdateList();\r
- }\r
-\r
- if (__pGroupedListView != null)\r
- {\r
- __pGroupedListView->UpdateList();\r
- }\r
-\r
- RearrangeControls();\r
-\r
- if (__pListView != null)\r
- {\r
- __pListView->SetItemChecked(0,__pAlarm->GetSnoozeOn());\r
- }\r
-\r
- if (pToggleBtnPMBG != null)\r
- {\r
- delete pToggleBtnPMBG;\r
- pToggleBtnPMBG = null;\r
- }\r
-\r
- if (pToggleBtnAMBG != null)\r
- {\r
- delete pToggleBtnAMBG;\r
- pToggleBtnAMBG = null;\r
- }\r
-\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
- if (__pEditField != null)\r
- {\r
- __pEditField->HideKeypad();\r
- }\r
-\r
- if (__player)\r
- {\r
- __player->Stop();\r
- __player->Close();\r
- }\r
-\r
- GetHeader()->SetShowState(false);\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnFormBackRequested(Controls::Form& source)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_RIGHT));\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- String repeatFlag = L"";\r
- ArrayList *pArgList = null;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (__pEditField != null)\r
- {\r
- //__pEditField->HideKeypad();\r
- }\r
-\r
- if (index == 0)\r
- {\r
- if (__pAlarm->GetSnoozeOn())\r
- {\r
- __pAlarm->SetSnoozeOn(false);\r
- __pListView->RefreshList(1,LIST_REFRESH_TYPE_ITEM_REMOVE);\r
- }\r
- else\r
- {\r
- __pAlarm->SetSnoozeOn(true);\r
- __pListView->RefreshList(1,LIST_REFRESH_TYPE_ITEM_ADD);\r
- }\r
-\r
- RearrangeControls();\r
- }\r
-\r
- else if (index == 1)\r
- {\r
- pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(*__pAlarm);\r
- AppLog("the duration is %d", __pAlarm->GetSnoozeDuration());\r
- }\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_EDIT_SNOOZE), pArgList);\r
- }\r
-\r
- }\r
-\r
- __pListView->RefreshList(1, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- __pListView->RefreshList(index, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- __pListView->RefreshList(0, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
-\r
-}\r
-\r
-GroupItem*\r
-AlarmEditorForm::CreateGroupItem(int groupIndex, int itemWidth)\r
-{\r
- result r = E_FAILURE;\r
- String text;\r
- GroupItem* pItem = null;\r
- Bitmap* pbgActive = null;\r
- AppResource* pAppResource = null;\r
- const Color ITEM_TEXT_COLOR = Color(92, 151, 187);\r
-\r
- pItem = new (std::nothrow) GroupItem();\r
-\r
- if (pItem == null)\r
- {\r
- return null;\r
- }\r
-\r
- r = pItem->Construct(Dimension(itemWidth, 0));\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- switch (groupIndex)\r
- {\r
- case 0:\r
- {\r
- text = L"";\r
- }\r
- break;\r
-\r
- case 1:\r
- {\r
- text = L"";\r
- }\r
- break;\r
-\r
- case 2:\r
- {\r
- text = L"";\r
- }\r
- break;\r
-\r
- }\r
-\r
- pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- if (pAppResource != null)\r
- {\r
- pbgActive = pAppResource->GetBitmapN(IDB_EDIT_BACKGROUND, BITMAP_PIXEL_FORMAT_ARGB8888);\r
-\r
- if (pbgActive == null)\r
- {\r
-\r
- if (pItem != null)\r
- {\r
- delete pItem;\r
- pItem = null;\r
- }\r
-\r
- return null;\r
- }\r
- }\r
- pItem->SetElement(text, null);\r
- r = pItem->SetBackgroundBitmap(pbgActive);\r
-\r
- if (pbgActive != null)\r
- {\r
- delete pbgActive;\r
- pbgActive = null;\r
- }\r
-\r
- pItem->SetTextColor(ITEM_TEXT_COLOR);\r
- return pItem;\r
-}\r
-\r
-ListItemBase*\r
-AlarmEditorForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)\r
-{\r
- result r = E_SUCCESS;\r
- int itemHeight = 112;\r
-\r
- String titleText = L"";\r
- String mainText = CommonUtil::GetString("IDS_ALM_BODY_TYPE");\r
- String defaultTitleText = L"default";\r
-\r
- if (itemIndex == 0)\r
- {\r
- DropDownCustomItem* pItem = new (std::nothrow) DropDownCustomItem();\r
- r = pItem->Construct(itemWidth);\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
- pItem->SetMainText(mainText);\r
-\r
- if (__typeName == 0)\r
- {\r
- __typeNameValue = CommonUtil::GetString(L"IDS_ALM_BODY_MELODY");\r
- }\r
-\r
- if (__typeName == 1)\r
- {\r
- __typeNameValue = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_VIBRATION");\r
- }\r
-\r
- if (__typeName == 2)\r
- {\r
- __typeNameValue = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION");\r
- }\r
-\r
- pItem->SetSubText(__typeNameValue);\r
-\r
- if (!__showType)\r
- {\r
- pItem->SetCurState(DROP_DOWN_ITEM_STATE_CLOSED);\r
- }\r
- else\r
- {\r
- pItem->SetCurState(DROP_DOWN_ITEM_STATE_OPENED);\r
- }\r
-\r
- r = pItem->MakeElements();\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- return pItem;\r
- }\r
-\r
- if (__showType && (itemIndex > 0 && itemIndex < 4))\r
- {\r
- AppLog("the selected index is %d", __selectedIndex);\r
- switch (itemIndex)\r
- {\r
- case 1:\r
- {\r
- titleText = CommonUtil::GetString(L"IDS_ALM_BODY_MELODY");\r
- }\r
- break;\r
-\r
- case 2:\r
- {\r
- titleText = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_VIBRATION");\r
- }\r
- break;\r
-\r
- case 3:\r
- {\r
- titleText = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION");\r
- }\r
- break;\r
- }\r
-\r
- RadioCustomItem* pItem = new (std::nothrow) RadioCustomItem();\r
-\r
- r = pItem->Construct(itemWidth, itemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));\r
-\r
- pItem->SetText(titleText);\r
-\r
- if (__selectedIndex == itemIndex)\r
- {\r
- pItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- pItem->SetSelected(false);\r
- }\r
-\r
- if (pItem->GetSelected())\r
- {\r
- __typeNameValue = pItem->GetText();\r
- }\r
-\r
- pItem->Make();\r
- return pItem;\r
- }\r
-\r
- if ((itemIndex == 1 && !__showType) || (itemIndex == 4 && __showType))\r
- {\r
-\r
- DefaultCustomItem* pItem = new (std::nothrow) DefaultCustomItem();\r
- String ringTone = __pAlarm->GetRingTone();\r
- String titleText = CommonUtil::GetString(L"IDS_ALM_BODY_TONE");\r
- r = pItem->Construct(itemWidth, 128);\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));\r
-\r
- pItem->SetText(titleText);\r
- int index = 0;\r
- while(ringTone.Contains(L"/"))\r
- {\r
- ringTone.IndexOf('/', 0, index);\r
- ringTone.Remove(0, index + 1);\r
- }\r
- pItem->SetSubText(ringTone);\r
-\r
- pItem->Make();\r
-\r
- return pItem;\r
- }\r
- return null;\r
-}\r
-\r
-ListItemBase*\r
-AlarmEditorForm::CreateItem(int itemIndex, int itemWidth)\r
-{\r
- result r = E_SUCCESS;\r
- String repeatFlag;\r
- String flag;\r
- String titleText;\r
- int itemHeight = 112;\r
- int itemHeightWithSubtext = 128;\r
-\r
- if (itemIndex == 0)\r
- {\r
- ToggleCustomItem* pItem = new (std::nothrow) ToggleCustomItem();\r
- titleText = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE");\r
- r = pItem->Construct(itemWidth, itemHeight);\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));\r
- pItem->SetText(titleText);\r
-\r
- pItem->Make();\r
-\r
- return pItem;\r
- }\r
-\r
- else\r
- {\r
- DefaultCustomItem* pItem = new (std::nothrow) DefaultCustomItem();\r
- titleText = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_DURATION");\r
- titleText.Append(" & ");\r
- titleText.Append(CommonUtil::GetString(L"IDS_ALM_BODY_REPEAT"));\r
- r = pItem->Construct(itemWidth, itemHeightWithSubtext);\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));\r
-\r
- pItem->SetText(titleText);\r
- pItem->SetSubText(__snoozeDurationValue);\r
-\r
- r = pItem->Make();\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pItem;\r
- return null;\r
- }\r
-\r
- return pItem;\r
- }\r
- return null;\r
-}\r
-\r
-bool\r
-AlarmEditorForm::DeleteGroupItem(int groupIndex, GroupItem* pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-bool\r
-AlarmEditorForm::DeleteItem(int groupIndex, int itemIndex, ListItemBase* pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-bool\r
-AlarmEditorForm::DeleteItem(int itemIndex, ListItemBase* pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-AlarmEditorForm::GetGroupCount(void)\r
-{\r
- return 1;\r
-}\r
-\r
-int\r
-AlarmEditorForm::GetItemCount(void)\r
-{\r
- if (__pAlarm->GetSnoozeOn() == false)\r
- {\r
- return 1;\r
- }\r
- else\r
- {\r
- return 2;\r
- }\r
-}\r
-\r
-int\r
-AlarmEditorForm::GetItemCount(int groupIndex)\r
-{\r
- if (__showType == true)\r
- {\r
- return 5;\r
- }\r
- else\r
- {\r
- return 2;\r
- }\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnGroupedListViewItemStateChanged(GroupedListView& listView, int groupIndex, int itemIndex, int elementId, ListItemStatus status)\r
-{\r
- result r = E_SUCCESS;\r
- AppControl* pAc = null;\r
-\r
- if (itemIndex == 0)\r
- {\r
- __showType = !__showType;\r
- RearrangeControls();\r
- __pGroupedListView->UpdateList();\r
- r = __pGroupedListView->RefreshList(0, 0, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- }\r
- else\r
- {\r
- if (__showType && (itemIndex > 0 && itemIndex < 4))\r
- {\r
- __selectedIndex = itemIndex;\r
- __typeName = __selectedIndex - 1;\r
- __pGroupedListView->UpdateList();\r
- r = __pGroupedListView->RefreshList(0, 0, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- r = __pGroupedListView->RefreshList(0, itemIndex, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- }\r
-\r
- if ((itemIndex == 1 && !__showType )||(itemIndex == 4 && __showType))\r
- {\r
- __pBtnHourDisplay->RemoveActionEventListener(*this);\r
- __pBtnMinDisplay->RemoveActionEventListener(*this);\r
- __pEditField->SetEnabled(false);\r
-\r
-\r
- pAc = AppManager::FindAppControlN(L"tizen.filemanager", L"http://tizen.org/appcontrol/operation/pick");\r
-\r
- if (pAc != null)\r
- {\r
- HashMap *pHashMap = new HashMap();\r
- pHashMap->Construct();\r
- pHashMap->Add(*new String("http://tizen.org/appcontrol/data/selection/mode"), * new String("single"));\r
- String* mimeType = new String("audio/*");\r
- r = pAc->Start(null, mimeType, pHashMap, this);\r
- AppLogDebug("the result is %s", GetErrorMessage(r));\r
- delete pAc;\r
- pAc = null;\r
- }\r
-\r
- __pGroupedListView->UpdateList();\r
- r = __pGroupedListView->RefreshList(0, 0, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- r = __pGroupedListView->RefreshList(0, itemIndex, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- __pGroupedListView->SetEnabled(false);\r
- }\r
- RearrangeControls();\r
- }\r
-\r
- //RearrangeControls();\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file AlarmEditorForm.cpp
+ * @brief Used to define AlarmEditorForm
+ */
+
+#include <FApp.h>
+#include <FAppAppControl.h>
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+#include "ClkAlarm.h"
+#include "ClkAlarmEditorForm.h"
+#include "ClkAlarmPresentationModel.h"
+#include "ClkAlarmRepeatCustomItem.h"
+#include "ClkCheckBoxCustomItem.h"
+#include "ClkCommonLib.h"
+#include "ClkDefaultCustomItem.h"
+#include "ClkDropDownCustomItem.h"
+#include "ClkDropdownAndRepeatCustomItem.h"
+#include "ClkEditSnoozeForm.h"
+#include "ClkRadioCustomItem.h"
+#include "ClkSceneRegister.h"
+#include "ClkToggleCustomItem.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+using namespace Tizen::System;
+
+static const int IDA_CREATE_ALARM_SAVE = 201;
+static const int IDA_CREATE_ALARM_CANCEL = 202;
+static const int IDA_HEADER_ITEM_SAVE = 203;
+static const int IDA_HEADER_ITEM_CANCEL = 204;
+static const int IDA_BUTTON_HOURS = 205;
+static const int IDA_BUTTON_MINS = 206;
+static const int IDA_BUTTON_TOGGLE = 207;
+static const int IDA_BUTTON_MORE = 208;
+static const int IDA_BUTTON_SUN = 209;
+static const int IDA_BUTTON_MON = 210;
+static const int IDA_BUTTON_TUE = 211;
+static const int IDA_BUTTON_WED = 212;
+static const int IDA_BUTTON_THU = 213;
+static const int IDA_BUTTON_FRI = 214;
+static const int IDA_BUTTON_SAT = 215;
+
+AlarmEditorForm::AlarmEditorForm(void)
+: __alarmName("")
+, __audioFilePath(Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3")
+, __defaultEditFieldValue("")
+, __defaultToggleValue(CommonUtil::GetString(L"IDS_COM_BODY_AM"))
+, __pDuration(null)
+, __fontValue(0)
+, __isPlaying(false)
+, __isSnoozeOn(true)
+, __modalMsgBoxResult(0)
+, __pAlarm(null)
+, __pBtnDayFri(null)
+, __pBtnDayMon(null)
+, __pBtnDaySat(null)
+, __pBtnDaySun(null)
+, __pBtnDayThu(null)
+, __pBtnDayTue(null)
+, __pBtnDayWed(null)
+, __pBtnHourDisplay(null)
+, __pBtnMinDisplay(null)
+, __pBtnMore(null)
+, __pBtnToggle(null)
+, __pEditField(null)
+, __pEditFieldHour(null)
+, __player(null)
+, __pLabelEditfieldTitle(null)
+, __pLabelTitle(null)
+, __pListView(null)
+, __pGroupedListView(null)
+, __pPanelDays(null)
+, __pPanelEditTime(null)
+, __pPanelList(null)
+, __pResetPopup(null)
+, __pScrollPanel(null)
+, __pSlider(null)
+, __pRepeat(null)
+, __repeatName(L"")
+, __selectedIndex(1)
+, __showRepeat(false)
+, __showType(false)
+, __sliderDefaultValue(13)
+, __snoozeDurationValue("")
+, __snoozeValue(0)
+, __typeName(0)
+, __typeNameValue("")
+{
+
+}
+
+AlarmEditorForm::~AlarmEditorForm(void)
+{
+ if (__pDuration != null)
+ {
+ delete __pDuration;
+ __pDuration = null;
+ }
+
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+
+ if (__pRepeat != null)
+ {
+ delete __pRepeat;
+ __pRepeat = null;
+ }
+ if (__player == null)
+ {
+ return;
+ }
+
+ PlayerState estate = __player->GetState();
+ if ((estate == PLAYER_STATE_OPENED) || (estate == PLAYER_STATE_PAUSED)
+ || (estate == PLAYER_STATE_PLAYING)
+ || (estate == PLAYER_STATE_ENDOFCLIP) || (estate == PLAYER_STATE_STOPPED))
+ {
+ __player->Close();
+ }
+
+ if (__player)
+ {
+ delete __player;
+ __player = null;
+ }
+
+ SettingInfo::RemoveSettingEventListener(*this);
+}
+
+bool
+AlarmEditorForm::Initialize(void)
+{
+ result r = E_FAILURE;
+
+ r = Construct(L"IDL_ALARM_EDITOR_FORM");
+
+ if (IsFailed(r))
+ {
+ return false;
+ }
+
+ return true;
+}
+
+result
+AlarmEditorForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ Bitmap* pBgNormalBitmap = null;
+ Bitmap* pDayNormalBitmap = null;
+ Bitmap* pDayFocusBitmap = null;
+ Bitmap* pFinalBitmap = null;
+ Bitmap* pbgFocusBitmap = null;
+ Bitmap* pbgBitmap = null;
+ Bitmap* pFinalBitmapFocused = null;
+ Canvas* pCanvas = null;
+ Canvas* pCanvasFocused = null;
+ int canvasWidth = 276;
+ int canvasHeight = 236;
+ String newAlarm;
+ String labelText;
+ String durationValue;
+
+ SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);
+ SettingInfo::AddSettingEventListener(*this);
+
+ AddTouchEventListener(*this);
+ AddOrientationEventListener(*this);
+
+ __snoozeDurationValue.Clear();
+ __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_ALM_BODY_5MINS"));
+ __snoozeDurationValue.Append(L", ");
+ __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_ALM_BODY_3TIMES"));
+
+ __defaultEditFieldValue = CommonUtil::GetString(L"IDS_COM_BODY_ALARM");
+ __defaultEditFieldValue.Append("1");
+
+ SetFormBackEventListener(this);
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_CREATE_ALARM, *this);
+
+ __pScrollPanel = static_cast<ScrollPanel*>(GetControl("IDC_SCROLLPANEL1", false));
+
+ if (__pScrollPanel != null)
+ {
+ __pScrollPanel->AddTouchEventListener(*this);
+ __pScrollPanel->SetScrollBarVisible(false);
+ }
+
+ __pLabelEditfieldTitle = static_cast<Label*>(GetControl("IDC_LABEL1", true));
+
+ GetFooter()->AddActionEventListener(*this);
+
+ __pLabelTitle = static_cast<Label*>(GetControl("IDC_LABEL_TITLE", true));
+
+ if (__pLabelTitle != null)
+ {
+ newAlarm = CommonUtil::GetString("IDS_COM_SK_NEW");
+ newAlarm.Append(" ");
+ newAlarm.Append(CommonUtil::GetString("IDS_COM_BODY_ALARM"));
+ newAlarm.ToUpper(labelText);
+ __pLabelTitle->SetText(labelText);
+ }
+
+ __pPanelList = static_cast<Panel*>(GetControl("IDC_PANEL_LIST", true));
+
+ __pSlider = static_cast<Slider *>(GetControl("IDC_SLIDER_VOLUME", true));
+ __pSlider->SetValue(__sliderDefaultValue);
+ __pSlider->AddSliderEventListener(*this);
+ __pSlider->AddTouchEventListener(*this);
+
+ __pEditField = static_cast<EditField*>(GetControl("IDC_EDITFIELD1", true));
+
+ if (__pEditField == null)
+ {
+ return E_FAILURE;
+ }
+
+ __pEditField->SetText(__defaultEditFieldValue);
+ __pEditField->AddTextEventListener(*this);
+ __pEditField->AddKeypadEventListener(*this);
+ __pEditField->SetOverlayKeypadCommandButtonVisible(false);
+
+ __pPanelEditTime = static_cast<Panel*>(GetControl("IDC_PANEL_EDITTIME", true));
+
+ if (__pPanelEditTime == null)
+ {
+ return E_FAILURE;
+ }
+
+ pBgNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_NORMAL_BG);
+ pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_BG);
+
+ pCanvas = new (std::nothrow) Canvas();
+ pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvas->DrawBitmap(Point(0,0),*pBgNormalBitmap);
+ pCanvas->DrawBitmap(Point(0,0),*pbgBitmap);
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ pFinalBitmap = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmap != NULL)
+ {
+ pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvas;
+ }
+
+ pbgFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_FOCUS_BG);
+
+ pCanvasFocused = new (std::nothrow) Canvas();
+ pCanvasFocused->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvasFocused->DrawBitmap(Point(0,0),*pbgFocusBitmap);
+ pCanvasFocused->DrawBitmap(Point(0,0),*pbgBitmap);
+
+ if (pbgFocusBitmap != null)
+ {
+ delete pbgFocusBitmap;
+ pbgFocusBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ pFinalBitmapFocused = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmapFocused != null)
+ {
+ pFinalBitmapFocused->Construct(*pCanvasFocused,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvasFocused;
+ }
+
+
+ __pBtnHourDisplay = dynamic_cast<Button*>(GetControl("IDC_BUTTON_HOUR", true));
+
+ if (__pBtnHourDisplay == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnHourDisplay->SetActionId(IDA_BUTTON_HOURS);
+ __pBtnHourDisplay->AddActionEventListener(*this);
+ __pBtnHourDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);
+ __pBtnHourDisplay->SetPressedBackgroundBitmap(*pFinalBitmapFocused);
+
+ __pEditFieldHour = dynamic_cast<EditField*>(GetControl("IDC_EDITFIELD2", true));
+
+ if (__pEditFieldHour == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pPanelEditTime->SetControlAlwaysAtBottom(*__pEditFieldHour, true);
+ __pEditFieldHour->AddTextEventListener(*this);
+ __pEditFieldHour->AddKeypadEventListener(*this);
+ __pEditFieldHour->SetOverlayKeypadCommandButtonVisible(false);
+
+
+ __pBtnMinDisplay = dynamic_cast<Button*>(GetControl("IDC_BUTTON_MIN", true));
+
+ if (__pBtnMinDisplay == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnMinDisplay->SetActionId(IDA_BUTTON_MINS);
+ __pBtnMinDisplay->AddActionEventListener(*this);
+ __pBtnMinDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);
+ __pBtnMinDisplay->SetPressedBackgroundBitmap(*pFinalBitmapFocused);
+
+
+ __pBtnToggle = dynamic_cast<Button*>(GetControl("IDC_BUTTON_TOGGLE", true));
+
+ if (__pBtnToggle == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnToggle->SetActionId(IDA_BUTTON_TOGGLE);
+ __pBtnToggle->AddActionEventListener(*this);
+
+ __pLabelAm = dynamic_cast<Label*>(GetControl("IDC_LABEL_AM", true));
+ __pLabelPm = dynamic_cast<Label*>(GetControl("IDC_LABEL_PM", true));
+
+
+ __pPanelDays = static_cast<Panel*>(GetControl("IDC_PANEL_DAYS", true));
+
+ if (__pPanelDays == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+ AppLog("Coming here");
+ return E_FAILURE;
+ }
+
+ __pPanelDays->AddTouchEventListener(*this);
+ __pBtnMore = dynamic_cast<Button*>(GetControl("IDC_BUTTON_MORE", true));
+
+ if (__pBtnMore == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnMore->SetActionId(IDA_BUTTON_MORE);
+ __pBtnMore->AddActionEventListener(*this);
+ __pPanelList = static_cast<Panel*>(GetControl("IDC_PANEL_LIST", true));
+
+ if (__pPanelList == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pPanelList->SetShowState(false);
+ __pBtnDaySun = dynamic_cast<Button*>(GetControl("IDC_BUTTON_SUN", true));
+
+ if (__pBtnDaySun == null)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ pBgNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+
+ __pBtnDaySun->SetActionId(IDA_BUTTON_SUN);
+ __pBtnDaySun->AddActionEventListener(*this);
+ __pBtnDaySun->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDaySun->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG);
+
+ __pBtnDaySun->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDaySun->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ __pBtnDayMon = dynamic_cast<Button*>(GetControl("IDC_BUTTON_MON", true));
+
+ if (__pBtnDayMon == NULL)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnDayMon->SetActionId(IDA_BUTTON_MON);
+ __pBtnDayMon->AddActionEventListener(*this);
+ __pBtnDayMon->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDayMon->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_FOCUS_BG);
+
+ __pBtnDayMon->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDayMon->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ __pBtnDayTue = dynamic_cast<Button*>(GetControl("IDC_BUTTON_TUE", true));
+
+ if (__pBtnDayTue == NULL)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnDayTue->SetActionId(IDA_BUTTON_TUE);
+ __pBtnDayTue->AddActionEventListener(*this);
+ __pBtnDayTue->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDayTue->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG);
+
+ __pBtnDayTue->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDayTue->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ __pBtnDayWed = dynamic_cast<Button*>(GetControl("IDC_BUTTON_WED", true));
+
+ if (__pBtnDayWed == NULL)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnDayWed->SetActionId(IDA_BUTTON_WED);
+ __pBtnDayWed->AddActionEventListener(*this);
+ __pBtnDayWed->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDayWed->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_FOCUS_BG);
+
+ __pBtnDayWed->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDayWed->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ __pBtnDayThu = dynamic_cast<Button*>(GetControl("IDC_BUTTON_THU", true));
+
+ if (__pBtnDayThu == NULL)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnDayThu->SetActionId(IDA_BUTTON_THU);
+ __pBtnDayThu->AddActionEventListener(*this);
+ __pBtnDayThu->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDayThu->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_FOCUS_BG);
+
+ __pBtnDayThu->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDayThu->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ __pBtnDayFri = dynamic_cast<Button*>(GetControl("IDC_BUTTON_FRI", true));
+
+ if (__pBtnDayFri == NULL)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnDayFri->SetActionId(IDA_BUTTON_FRI);
+ __pBtnDayFri->AddActionEventListener(*this);
+ __pBtnDayFri->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDayFri->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG);
+
+ __pBtnDayFri->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDayFri->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ __pBtnDaySat = dynamic_cast<Button*>(GetControl("IDC_BUTTON_SAT", true));
+
+ if (__pBtnDaySat == NULL)
+ {
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnDaySat->SetActionId(IDA_BUTTON_SAT);
+ __pBtnDaySat->AddActionEventListener(*this);
+ __pBtnDaySat->SetNormalBackgroundBitmap(*pBgNormalBitmap);
+ __pBtnDaySat->SetPressedBackgroundBitmap(*pbgBitmap);
+
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG);
+
+ __pBtnDaySat->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+ __pBtnDaySat->SetPressedBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ if (pBgNormalBitmap != null)
+ {
+ delete pBgNormalBitmap;
+ pBgNormalBitmap = null;
+ }
+
+ if (pbgBitmap != null)
+ {
+ delete pbgBitmap;
+ pbgBitmap = null;
+ }
+
+ __pGroupedListView = static_cast<GroupedListView*>(GetControl("IDC_GROUPEDLISTVIEW1", true));
+
+ if (__pGroupedListView != null)
+ {
+ __pGroupedListView->AddGroupedListViewItemEventListener(*this);
+ __pGroupedListView->AddTouchEventListener(*this);
+ __pGroupedListView->SetItemProvider(*this);
+ }
+
+ __pListView = dynamic_cast<ListView*>(GetControl("IDC_LISTVIEW1", true));
+
+ if (__pListView != null)
+ {
+ __pListView->AddListViewItemEventListener(*this);
+ __pListView->AddTouchEventListener(*this);
+ __pListView->SetItemProvider(*this);
+ }
+
+ __selectedIndexValues.Construct();
+
+ __player = new (std::nothrow) Player();
+ if ( __player == null)
+ {
+ AppLogException("pPlyaer = new (std::nothrow) Player() has failed");
+ return E_FAILURE;
+ }
+ __player->Construct(*this);
+
+ GetHeader()->SetTitleText(__pEditField->GetText());
+ GetHeader()->SetShowState(false);
+ GetHeader()->AddActionEventListener(*this);
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return r;
+}
+
+result
+AlarmEditorForm::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+
+ return r;
+}
+
+void
+AlarmEditorForm::OnActionPerformed(const Control& source, int actionId)
+{
+ AppLog("Action id: %d", actionId);
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ DateTime currentTime;
+ DateTime alarmTime;
+ int duration = 0;
+ int repeat = 0;
+ ArrayList* pArgList = null;
+ String alarmName = L"";
+ Bitmap* pDayNormalBitmap = null;
+ Bitmap* pDayFocusBitmap = null;
+
+ if (__pEditField != null)
+ {
+ __pEditField->HideKeypad();
+ __pEditField->Invalidate(false);
+ }
+
+ switch (actionId)
+ {
+ case IDA_CREATE_ALARM_CANCEL:
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+ break;
+
+ case IDA_HEADER_ITEM_SAVE:
+ case IDA_CREATE_ALARM_SAVE:
+ {
+ int hour, minute;
+ String hourVal, minVal;
+ String alarmTone;
+ int alarmVol;
+
+ minVal = __pBtnMinDisplay->GetText();
+ Integer::Parse(minVal, minute);
+
+ pArgList = new (std::nothrow) ArrayList();
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+
+ if (__pEditField != null)
+ {
+ alarmName = __pEditField->GetText();
+ }
+
+ hourVal = __pBtnHourDisplay->GetText();
+ Integer::Parse(hourVal, hour);
+
+ if (is24HourFormat == false)
+ {
+ if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_BODY_AM"))
+ {
+
+ if(hour == 12)
+ {
+ hour = 0;
+ }
+
+ }
+ else if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_POP_PM"))
+ {
+
+ if(hour != 12)
+ {
+ hour = hour + 12;
+ }
+
+ }
+ }
+
+ alarmTime.SetValue(1900, 1, 1, hour, minute, 0);
+
+ if (__pDuration != null && __pRepeat != null)
+ {
+ duration = __pDuration->ToInt();
+ repeat = __pRepeat->ToInt();
+ }
+
+ __pAlarm->SetAlarmOnState(1);
+ __pAlarm->SetAlarmName(alarmName);
+ __pAlarm->SetAlarmTime(alarmTime);
+
+
+ if (__pSlider != null)
+ {
+ alarmVol = __pSlider->GetValue();
+ __pAlarm->SetRingVolume(alarmVol);
+ }
+
+ if (__typeName == 0)
+ {
+ __pAlarm->SetRingType(ALARM_TYPE_MELODY);
+ }
+ else if (__typeName == 1)
+ {
+ __pAlarm->SetRingType(ALARM_TYPE_VIBRATION);
+ }
+ else if (__typeName == 2)
+ {
+ __pAlarm->SetRingType(ALARM_TYPE_MELODY_AND_VIBRATION);
+ }
+
+
+ __pAlarm->SetSnoozeDuration(duration);
+ __pAlarm->SetSnoozeRepeat(repeat);
+ pAlarmPresentationModel->SaveAlarm(*__pAlarm);
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(*new (std::nothrow) AlarmData(*__pAlarm));
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT),pArgList );
+ }
+ }
+
+ }
+ break;
+
+ case IDA_HEADER_ITEM_CANCEL:
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+ break;
+
+ case IDA_BUTTON_MORE:
+ {
+ if (__pEditFieldHour->HasFocus())
+ {
+ __pEditFieldHour->HideKeypad();
+ }
+ __pPanelList->SetShowState(true);
+ __pScrollPanel->SetScrollBarVisible(true);
+ __pBtnMore->SetShowState(false);
+ //Invalidate(true);
+ RearrangeControls();
+ }
+ break;
+
+ case IDA_BUTTON_TOGGLE:
+ {
+ Bitmap* pToggleBtnPMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_PM_BG);
+ Bitmap* pToggleBtnAMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_AM_BG);
+
+ if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_BODY_AM"))
+ {
+ __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnPMBG);
+ __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnPMBG);
+ __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_POP_PM");
+ }
+ else if (__defaultToggleValue == CommonUtil::GetString(L"IDS_COM_POP_PM"))
+ {
+ __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnAMBG);
+ __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnAMBG);
+ __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_BODY_AM");
+ }
+
+ if (pToggleBtnPMBG != null)
+ {
+ delete pToggleBtnPMBG;
+ pToggleBtnPMBG = null;
+ }
+
+ if (pToggleBtnAMBG != null)
+ {
+ delete pToggleBtnAMBG;
+ pToggleBtnAMBG = null;
+ }
+
+ __pBtnToggle->Invalidate(true);
+
+ }
+ break;
+
+ case IDA_BUTTON_SUN:
+ {
+
+ if (!(__pAlarm->GetRepeatEverySundayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEverySunday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_BG);
+
+ __pAlarm->SetRepeatedEverySunday(false);
+ }
+
+ __pBtnDaySun->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDaySun->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ }
+ break;
+
+ case IDA_BUTTON_MON:
+ {
+
+ if (!(__pAlarm->GetRepeatEveryMondayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEveryMonday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_BG);
+
+ __pAlarm->SetRepeatedEveryMonday(false);
+ }
+
+ __pBtnDayMon->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDayMon->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+ }
+ break;
+
+ case IDA_BUTTON_TUE:
+ {
+
+ if (!(__pAlarm->GetRepeatEveryTuesdayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEveryTuesday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_BG);
+
+ __pAlarm->SetRepeatedEveryTuesday(false);
+ }
+
+ __pBtnDayTue->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDayTue->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ }
+ break;
+
+ case IDA_BUTTON_WED:
+ {
+
+ if (!(__pAlarm->GetRepeatEveryWednesdayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEveryWednesday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_BG);
+
+ __pAlarm->SetRepeatedEveryWednesday(false);
+ }
+
+ __pBtnDayWed->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDayWed->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ }
+ break;
+
+ case IDA_BUTTON_THU:
+ {
+
+ if (!(__pAlarm->GetRepeatEveryThursdayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEveryThursday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_BG);
+
+ __pAlarm->SetRepeatedEveryThursday(false);
+ }
+
+ __pBtnDayThu->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDayThu->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ }
+ break;
+
+ case IDA_BUTTON_FRI:
+ {
+
+ if (!(__pAlarm->GetRepeatEveryFridayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEveryFriday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_BG);
+
+ __pAlarm->SetRepeatedEveryFriday(false);
+ }
+
+ __pBtnDayFri->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDayFri->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ }
+ break;
+
+ case IDA_BUTTON_SAT:
+ {
+
+ if (!(__pAlarm->GetRepeatEverySaturdayFlag()))
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG);
+
+ __pAlarm->SetRepeatedEverySaturday(true);
+ }
+ else
+ {
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pDayFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_BG);
+
+ __pAlarm->SetRepeatedEverySaturday(false);
+ }
+
+ __pBtnDaySat->SetNormalBackgroundBitmap(*pDayNormalBitmap);
+ __pBtnDaySat->SetNormalBitmap(Point(0,0), *pDayFocusBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pDayFocusBitmap != null)
+ {
+ delete pDayFocusBitmap;
+ pDayFocusBitmap = null;
+ }
+
+ }
+ break;
+
+ case IDA_BUTTON_HOURS:
+ {
+ isHourClicked = true;
+ __pEditFieldHour->SetText(__pBtnHourDisplay->GetText());
+ __pEditFieldHour->ShowKeypad();
+ __pEditFieldHour->Invalidate(true);
+ }
+ break;
+
+ case IDA_BUTTON_MINS:
+ {
+ isHourClicked = false;
+ __pEditFieldHour->SetText(__pBtnMinDisplay->GetText());
+ __pEditFieldHour->ShowKeypad();
+ __pEditFieldHour->Invalidate(true);
+ }
+ break;
+
+ default:
+ break;
+ }
+}
+
+void
+AlarmEditorForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ AppLog("AlarmEditorForm::OnSceneActivatedN");
+ result r = E_SUCCESS;
+ bool flag = false;
+ int counter = 0;
+ int count = 0;
+ int alarmCount = 0;
+ int volume = 0;
+ int timeFormat = 12;
+ ArrayList alarmList;
+ String title ;
+ String alarmTitle ;
+ DateTime currentTime;
+ String durationValue;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ Bitmap* pToggleBtnPMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_PM_BG);
+ Bitmap* pToggleBtnAMBG = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_TOGGLE_AM_BG);
+ Bitmap* pDayNormalBitmap = null;
+ Bitmap* pNormalBitmap = null;
+ Bitmap* pFocusBitmap = null;
+
+ if (previousSceneId != IDSCN_EDIT_SNOOZE)
+ {
+ String alarmTone;
+ String alarmPath;
+ __pAlarm = new (std::nothrow) AlarmData();
+ //alarmTone = UiApp::GetInstance()->GetAppRootPath() + L"/data/04-Kyun.mp3";
+ __pAlarm->SetRingTone(__audioFilePath);
+ }
+
+ if (previousSceneId == IDSCN_ALARM_LIST && pArgs != null)
+ {
+ String hour, min;
+ int alarmTimeHour, alarmTimeMin;
+
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+
+ __pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));
+
+ if (__pAlarm == null)
+ {
+ return;
+ }
+
+ volume = __pAlarm->GetRingVolume();
+
+ alarmTimeHour = __pAlarm->GetAlarmTime().GetHour();
+ alarmTimeMin = __pAlarm->GetAlarmTime().GetMinute();
+
+ if(is24HourFormat == false)
+ {
+ if (alarmTimeHour < timeFormat)
+ {
+ __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_BODY_AM");
+ __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnAMBG);
+ __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnAMBG);
+ }
+ else
+ {
+ alarmTimeHour = alarmTimeHour - timeFormat;
+ __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_POP_PM");
+ __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnPMBG);
+ __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnPMBG);
+ }
+ }
+ else
+ {
+ __pBtnToggle->SetShowState(false);
+ __pLabelAm->SetShowState(false);
+ __pLabelPm->SetShowState(false);
+ }
+
+ if(alarmTimeHour == 0 && is24HourFormat == false)
+ {
+ alarmTimeHour = 12;
+ }
+
+ if ( alarmTimeHour < 10)
+ {
+ hour.Append(0);
+ }
+
+ if (alarmTimeMin < 10)
+ {
+ min.Append(0);
+ }
+
+ hour.Append(alarmTimeHour);
+ min.Append(alarmTimeMin);
+
+ __pBtnHourDisplay->SetText(hour);
+ __pBtnMinDisplay->SetText(min);
+ __pBtnHourDisplay->Invalidate(false);
+ __pBtnMinDisplay->Invalidate(false);
+
+ __pEditField->SetText(__pAlarm->GetAlarmName());
+ __pSlider->SetValue(volume);
+
+ __pLabelTitle->SetText(__pAlarm->GetAlarmName());
+ __pLabelTitle->Invalidate(false);
+
+ pNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_BG);
+ pFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FOCUS_BG);
+
+ if (__pAlarm->GetRepeatEverySundayFlag())
+ {
+ __pBtnDaySun->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDaySun->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SUN_BG);
+ }
+
+ __pBtnDaySun->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRepeatEveryMondayFlag())
+ {
+ __pBtnDayMon->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDayMon->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_MON_BG);
+ }
+
+ __pBtnDayMon->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRepeatEveryTuesdayFlag())
+ {
+ __pBtnDayTue->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDayTue->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_TUE_BG);
+ }
+
+ __pBtnDayTue->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRepeatEveryWednesdayFlag())
+ {
+ __pBtnDayWed->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDayWed->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_WED_BG);
+ }
+
+ __pBtnDayWed->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRepeatEveryThursdayFlag())
+ {
+ __pBtnDayThu->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDayThu->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_THU_BG);
+ }
+
+ __pBtnDayThu->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRepeatEveryFridayFlag())
+ {
+ __pBtnDayFri->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDayFri->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_FRI_BG);
+ }
+
+ __pBtnDayFri->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRepeatEverySaturdayFlag())
+ {
+ __pBtnDaySat->SetNormalBackgroundBitmap(*pFocusBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG);
+ }
+ else
+ {
+ __pBtnDaySat->SetNormalBackgroundBitmap(*pNormalBitmap);
+ pDayNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_TIME_DAYS_SAT_BG);
+ }
+
+ __pBtnDaySat->SetNormalBitmap(Point(0,0), *pDayNormalBitmap);
+
+ if (pDayNormalBitmap != null)
+ {
+ delete pDayNormalBitmap;
+ pDayNormalBitmap = null;
+ }
+
+ if (pFocusBitmap != null)
+ {
+ delete pFocusBitmap;
+ pFocusBitmap = null;
+ }
+
+ if (pNormalBitmap != null)
+ {
+ delete pNormalBitmap;
+ pNormalBitmap = null;
+ }
+
+ if (__pAlarm->GetRingType() == 0)
+ {
+ __pSlider->SetEnabled(true);
+ __selectedIndex = 1;
+ }
+
+ if (__pAlarm->GetRingType() == 1)
+ {
+ __pSlider->SetEnabled(false);
+ __selectedIndex = 2;
+ }
+
+ if (__pAlarm->GetRingType() == 2)
+ {
+ __pSlider->SetEnabled(true);
+ __selectedIndex = 3;
+ }
+
+ __typeName = __pAlarm->GetRingType();
+
+ if (__pDuration != null)
+ {
+ delete __pDuration;
+ __pDuration = null;
+ }
+
+ if (__pRepeat != null)
+ {
+ delete __pRepeat;
+ __pRepeat = null;
+ }
+
+ __pDuration = new (std::nothrow) Integer(__pAlarm->GetSnoozeDuration());
+ __pRepeat = new (std::nothrow) Integer(__pAlarm->GetSnoozeRepeat());
+
+ __snoozeDurationValue.Clear();
+ __snoozeDurationValue.Append(__pDuration->ToInt());
+ __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_TMR_BODY_MIN"));
+ __snoozeDurationValue.Append(L", ");
+ durationValue.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), __pRepeat->ToInt());
+ __snoozeDurationValue.Append(durationValue);
+ }
+ else if (previousSceneId == IDSCN_ALARM_LIST && pArgs == null)
+ {
+ String hourValue= L"";
+ String minValue ;
+ int hour = 0;
+ int numberSelectorHour, numberSelectorMin;
+
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+
+ if (is24HourFormat == false)
+ {
+ if (currentTime.GetHour() > timeFormat)
+ {
+ hour = currentTime.GetHour() - timeFormat;
+ }
+
+ else
+ {
+ hour = currentTime.GetHour();
+ }
+ }
+ else
+ {
+ hour = currentTime.GetHour();
+ __pBtnToggle->SetShowState(false);
+ __pLabelAm->SetShowState(false);
+ __pLabelPm->SetShowState(false);
+ }
+
+ if(hour == 0 && is24HourFormat == false)
+ {
+ hour = 12;
+ }
+
+ if (hour < 10)
+ {
+ hourValue.Append(0);
+ }
+
+ if (currentTime.GetMinute() < 10)
+ {
+ minValue.Append(0);
+ }
+
+ hourValue.Append(hour);
+ minValue.Append(currentTime.GetMinute());
+
+ if (__pDuration != null)
+ {
+ delete __pDuration;
+ __pDuration = null;
+ }
+
+ if (__pRepeat != null)
+ {
+ delete __pRepeat;
+ __pRepeat = null;
+ }
+
+ __pDuration = new (std::nothrow) Integer(5);
+ __pRepeat = new (std::nothrow) Integer(3);
+
+ if (is24HourFormat == false)
+ {
+ if (currentTime.GetHour() < timeFormat)
+ {
+ __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_BODY_AM");
+ __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnAMBG);
+ __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnAMBG);
+ }
+ else if (currentTime.GetHour() >= timeFormat)
+ {
+ __defaultToggleValue = CommonUtil::GetString(L"IDS_COM_POP_PM");
+ __pBtnToggle->SetNormalBackgroundBitmap(*pToggleBtnPMBG);
+ __pBtnToggle->SetPressedBackgroundBitmap(*pToggleBtnPMBG);
+ }
+ }
+
+ __snoozeDurationValue.Clear();
+ __snoozeDurationValue.Append(__pDuration->ToInt());
+ __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_TMR_BODY_MIN"));
+ __snoozeDurationValue.Append(L", ");
+ durationValue.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), __pRepeat->ToInt());
+ __snoozeDurationValue.Append(durationValue);
+
+
+ Integer::Parse(hourValue, numberSelectorHour);
+ Integer::Parse(minValue, numberSelectorMin);
+ __pBtnHourDisplay->SetText(hourValue);
+ __pBtnMinDisplay->SetText(minValue);
+ __pBtnHourDisplay->Invalidate(false);
+ __pBtnMinDisplay->Invalidate(false);
+
+ __pAlarm->SetSnoozeOn(__isSnoozeOn);
+
+ }
+ else
+ {
+ AppLog("the control frm myfiles comes here");
+ if (pArgs != null)
+ {
+
+ if (__pDuration != null)
+ {
+ delete __pDuration;
+ __pDuration = null;
+ }
+
+ if (__pRepeat != null)
+ {
+ delete __pRepeat;
+ __pRepeat = null;
+ }
+
+ __pDuration = dynamic_cast<Integer*>(pArgs->GetAt(0));
+ __pRepeat = dynamic_cast<Integer*>(pArgs->GetAt(1));
+
+ __snoozeDurationValue.Clear();
+ __snoozeDurationValue.Append(__pDuration->ToInt());
+ __snoozeDurationValue.Append(CommonUtil::GetString(L"IDS_TMR_BODY_MIN"));
+ __snoozeDurationValue.Append(L", ");
+ durationValue.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), __pRepeat->ToInt());
+ __snoozeDurationValue.Append(durationValue);
+ __pAlarm->SetSnoozeDuration(__pDuration->ToInt());
+ __pAlarm->SetSnoozeRepeat(__pRepeat->ToInt());
+
+ }
+ __pGroupedListView->UpdateList();
+ }
+
+ r = pAlarmPresentationModel->GetAlarmCount(alarmCount); // to get count of existing folders
+
+ r = pAlarmPresentationModel->GetAlarm(0, alarmCount, alarmList); // to get list of existing folders
+
+ if (pArgs == null)
+ {
+ while (true) // to provide user with unique alarm title when he creates a new (std::nothrow) alarm
+ { // to generate alarm with default name of type alarmN
+ flag = false ;
+ title = L"";
+ count = 0;
+ counter++;
+ title.Append(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+ title.Append(counter);
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ AlarmData* pAlarm = dynamic_cast<AlarmData*>(alarmList.GetAt(count));
+ alarmTitle = L"";
+ alarmTitle = pAlarm->GetAlarmName();
+
+ if (title.Equals(alarmTitle,false))
+ {
+ flag = true; // if flag is true alarm title already exists
+ break; // break from for loop
+ }
+
+ } // end of for loop
+
+ if (!flag)
+ {
+ __pEditField->SetText(title); // if flag is false alarm title is unique
+ break; // break from while loop
+ }
+
+ } // end of while loop
+ }
+
+
+ if (__pListView != null)
+ {
+ __pListView->UpdateList();
+ }
+
+ if (__pGroupedListView != null)
+ {
+ __pGroupedListView->UpdateList();
+ }
+
+ RearrangeControls();
+
+ if (__pListView != null)
+ {
+ __pListView->SetItemChecked(0,__pAlarm->GetSnoozeOn());
+ }
+
+ if (pToggleBtnPMBG != null)
+ {
+ delete pToggleBtnPMBG;
+ pToggleBtnPMBG = null;
+ }
+
+ if (pToggleBtnAMBG != null)
+ {
+ delete pToggleBtnAMBG;
+ pToggleBtnAMBG = null;
+ }
+
+ Invalidate(true);
+ StartAudio();
+}
+
+void
+AlarmEditorForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+ if (__pEditField != null)
+ {
+ __pEditField->HideKeypad();
+ }
+
+ if (__player)
+ {
+ __player->Stop();
+ __player->Close();
+ }
+
+ GetHeader()->SetShowState(false);
+
+}
+
+void
+AlarmEditorForm::OnFormBackRequested(Controls::Form& source)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_RIGHT));
+ }
+
+}
+
+void
+AlarmEditorForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ String repeatFlag = L"";
+ ArrayList *pArgList = null;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (__pEditField != null)
+ {
+ //__pEditField->HideKeypad();
+ }
+
+ if (index == 0)
+ {
+ if (__pAlarm->GetSnoozeOn())
+ {
+ __pAlarm->SetSnoozeOn(false);
+ __pListView->RefreshList(1,LIST_REFRESH_TYPE_ITEM_REMOVE);
+ }
+ else
+ {
+ __pAlarm->SetSnoozeOn(true);
+ __pListView->RefreshList(1,LIST_REFRESH_TYPE_ITEM_ADD);
+ }
+
+ RearrangeControls();
+ }
+
+ else if (index == 1)
+ {
+ pArgList = new (std::nothrow) ArrayList();
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(*__pAlarm);
+ AppLog("the duration is %d", __pAlarm->GetSnoozeDuration());
+ }
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_EDIT_SNOOZE), pArgList);
+ }
+
+ }
+
+ __pListView->RefreshList(1, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ __pListView->RefreshList(index, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ __pListView->RefreshList(0, LIST_REFRESH_TYPE_ITEM_MODIFY);
+
+}
+
+GroupItem*
+AlarmEditorForm::CreateGroupItem(int groupIndex, int itemWidth)
+{
+ result r = E_FAILURE;
+ String text;
+ GroupItem* pItem = null;
+ Bitmap* pbgActive = null;
+ AppResource* pAppResource = null;
+ const Color ITEM_TEXT_COLOR = Color(92, 151, 187);
+
+ pItem = new (std::nothrow) GroupItem();
+
+ if (pItem == null)
+ {
+ return null;
+ }
+
+ r = pItem->Construct(Dimension(itemWidth, 0));
+
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ switch (groupIndex)
+ {
+ case 0:
+ {
+ text = L"";
+ }
+ break;
+
+ case 1:
+ {
+ text = L"";
+ }
+ break;
+
+ case 2:
+ {
+ text = L"";
+ }
+ break;
+
+ }
+
+ pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ if (pAppResource != null)
+ {
+ pbgActive = pAppResource->GetBitmapN(IDB_EDIT_BACKGROUND, BITMAP_PIXEL_FORMAT_ARGB8888);
+
+ if (pbgActive == null)
+ {
+
+ if (pItem != null)
+ {
+ delete pItem;
+ pItem = null;
+ }
+
+ return null;
+ }
+ }
+ pItem->SetElement(text, null);
+ r = pItem->SetBackgroundBitmap(pbgActive);
+
+ if (pbgActive != null)
+ {
+ delete pbgActive;
+ pbgActive = null;
+ }
+
+ pItem->SetTextColor(ITEM_TEXT_COLOR);
+ return pItem;
+}
+
+ListItemBase*
+AlarmEditorForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
+{
+ result r = E_SUCCESS;
+ int itemHeight = 112;
+
+ String titleText = L"";
+ String mainText = CommonUtil::GetString("IDS_ALM_BODY_TYPE");
+ String defaultTitleText = L"default";
+
+ if (itemIndex == 0)
+ {
+ DropDownCustomItem* pItem = new (std::nothrow) DropDownCustomItem();
+ r = pItem->Construct(itemWidth);
+
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+ pItem->SetMainText(mainText);
+
+ if (__typeName == 0)
+ {
+ __typeNameValue = CommonUtil::GetString(L"IDS_ALM_BODY_MELODY");
+ }
+
+ if (__typeName == 1)
+ {
+ __typeNameValue = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_VIBRATION");
+ }
+
+ if (__typeName == 2)
+ {
+ __typeNameValue = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION");
+ }
+
+ pItem->SetSubText(__typeNameValue);
+
+ if (!__showType)
+ {
+ pItem->SetCurState(DROP_DOWN_ITEM_STATE_CLOSED);
+ }
+ else
+ {
+ pItem->SetCurState(DROP_DOWN_ITEM_STATE_OPENED);
+ }
+
+ r = pItem->MakeElements();
+
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ return pItem;
+ }
+
+ if (__showType && (itemIndex > 0 && itemIndex < 4))
+ {
+ AppLog("the selected index is %d", __selectedIndex);
+ switch (itemIndex)
+ {
+ case 1:
+ {
+ titleText = CommonUtil::GetString(L"IDS_ALM_BODY_MELODY");
+ }
+ break;
+
+ case 2:
+ {
+ titleText = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_VIBRATION");
+ }
+ break;
+
+ case 3:
+ {
+ titleText = CommonUtil::GetString(L"IDS_ALM_BODY_ALERTTYEP_MELODY_AND_VIBRATION");
+ }
+ break;
+ }
+
+ RadioCustomItem* pItem = new (std::nothrow) RadioCustomItem();
+
+ r = pItem->Construct(itemWidth, itemHeight);
+
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));
+
+ pItem->SetText(titleText);
+
+ if (__selectedIndex == itemIndex)
+ {
+ pItem->SetSelected(true);
+ }
+ else
+ {
+ pItem->SetSelected(false);
+ }
+
+ if (pItem->GetSelected())
+ {
+ __typeNameValue = pItem->GetText();
+ }
+
+ pItem->Make();
+ return pItem;
+ }
+
+ if ((itemIndex == 1 && !__showType) || (itemIndex == 4 && __showType))
+ {
+
+ DefaultCustomItem* pItem = new (std::nothrow) DefaultCustomItem();
+ String ringTone = __pAlarm->GetRingTone();
+ String titleText = CommonUtil::GetString(L"IDS_ALM_BODY_TONE");
+ r = pItem->Construct(itemWidth, 128);
+
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));
+
+ pItem->SetText(titleText);
+ int index = 0;
+ while(ringTone.Contains(L"/"))
+ {
+ ringTone.IndexOf('/', 0, index);
+ ringTone.Remove(0, index + 1);
+ }
+ pItem->SetSubText(ringTone);
+
+ pItem->Make();
+
+ return pItem;
+ }
+ return null;
+}
+
+ListItemBase*
+AlarmEditorForm::CreateItem(int itemIndex, int itemWidth)
+{
+ result r = E_SUCCESS;
+ String repeatFlag;
+ String flag;
+ String titleText;
+ int itemHeight = 112;
+ int itemHeightWithSubtext = 128;
+
+ if (itemIndex == 0)
+ {
+ ToggleCustomItem* pItem = new (std::nothrow) ToggleCustomItem();
+ titleText = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE");
+ r = pItem->Construct(itemWidth, itemHeight);
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));
+ pItem->SetText(titleText);
+
+ pItem->Make();
+
+ return pItem;
+ }
+
+ else
+ {
+ DefaultCustomItem* pItem = new (std::nothrow) DefaultCustomItem();
+ titleText = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_DURATION");
+ titleText.Append(" & ");
+ titleText.Append(CommonUtil::GetString(L"IDS_ALM_BODY_REPEAT"));
+ r = pItem->Construct(itemWidth, itemHeightWithSubtext);
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));
+
+ pItem->SetText(titleText);
+ pItem->SetSubText(__snoozeDurationValue);
+
+ r = pItem->Make();
+
+ if (IsFailed(r))
+ {
+ delete pItem;
+ return null;
+ }
+
+ return pItem;
+ }
+ return null;
+}
+
+bool
+AlarmEditorForm::DeleteGroupItem(int groupIndex, GroupItem* pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+bool
+AlarmEditorForm::DeleteItem(int groupIndex, int itemIndex, ListItemBase* pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+bool
+AlarmEditorForm::DeleteItem(int itemIndex, ListItemBase* pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+AlarmEditorForm::GetGroupCount(void)
+{
+ return 1;
+}
+
+int
+AlarmEditorForm::GetItemCount(void)
+{
+ if (__pAlarm->GetSnoozeOn() == false)
+ {
+ return 1;
+ }
+ else
+ {
+ return 2;
+ }
+}
+
+int
+AlarmEditorForm::GetItemCount(int groupIndex)
+{
+ if (__showType == true)
+ {
+ return 5;
+ }
+ else
+ {
+ return 2;
+ }
+}
+
+void
+AlarmEditorForm::OnGroupedListViewItemStateChanged(GroupedListView& listView, int groupIndex, int itemIndex, int elementId, ListItemStatus status)
+{
+ result r = E_SUCCESS;
+ AppControl* pAc = null;
+
+ if (itemIndex == 0)
+ {
+ __showType = !__showType;
+ RearrangeControls();
+ __pGroupedListView->UpdateList();
+ r = __pGroupedListView->RefreshList(0, 0, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ }
+ else
+ {
+ if (__showType && (itemIndex > 0 && itemIndex < 4))
+ {
+ __selectedIndex = itemIndex;
+ __typeName = __selectedIndex - 1;
+ __pGroupedListView->UpdateList();
+ r = __pGroupedListView->RefreshList(0, 0, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ r = __pGroupedListView->RefreshList(0, itemIndex, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ }
+
+ if ((itemIndex == 1 && !__showType )||(itemIndex == 4 && __showType))
+ {
+ __pBtnHourDisplay->RemoveActionEventListener(*this);
+ __pBtnMinDisplay->RemoveActionEventListener(*this);
+ __pEditField->SetEnabled(false);
+
+
+ pAc = AppManager::FindAppControlN(L"tizen.filemanager", L"http://tizen.org/appcontrol/operation/pick");
+
+ if (pAc != null)
+ {
+ HashMap *pHashMap = new HashMap();
+ pHashMap->Construct();
+ pHashMap->Add(*new String("http://tizen.org/appcontrol/data/selection/mode"), * new String("single"));
+ String* mimeType = new String("audio/*");
+ r = pAc->Start(null, mimeType, pHashMap, this);
+ AppLogDebug("the result is %s", GetErrorMessage(r));
+ delete pAc;
+ pAc = null;
+ }
+
+ __pGroupedListView->UpdateList();
+ r = __pGroupedListView->RefreshList(0, 0, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ r = __pGroupedListView->RefreshList(0, itemIndex, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ __pGroupedListView->SetEnabled(false);
+ }
+
+ if (itemIndex == 2)
+ {
+ __pSlider->SetEnabled(false);
+ }
+ else
+ {
+ __pSlider->SetEnabled(true);
+ }
+
+ RearrangeControls();
+ }
+
+ //RearrangeControls();
+}
+
+void
+AlarmEditorForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
AppLog("AlarmEditorForm::OnOrientationChanged");
-\r
- if (__pGroupedListView != null)\r
- {\r
- __pGroupedListView->UpdateList();\r
- }\r
- \r
-\r
- RearrangeControls();\r
-\r
- if (__pEditField->HasFocus() == true)\r
- {\r
- __pScrollPanel->ScrollToBottom();\r
- __pScrollPanel->Invalidate(false);\r
- }\r
-\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-AlarmEditorForm::RearrangeControls(void)\r
-{\r
-\r
- int panelHeight = __pSlider->GetHeight();\r
- int list1HeightOff = 256;\r
- int list1HeightOn = 592;\r
- int list2HeightOff = 256;\r
- int list2HeightOn = 256;\r
-\r
- if (__pGroupedListView == NULL || __pListView == NULL || __pEditField == NULL)\r
- {\r
- return;\r
- }\r
-\r
- if (__showType == false)\r
- {\r
- __pGroupedListView->SetBounds(Rectangle(__pGroupedListView->GetBounds().x,__pGroupedListView->GetBounds().y, __pGroupedListView->GetWidth(), list1HeightOff));\r
- __pSlider->SetBounds(Rectangle(__pSlider->GetX(),__pGroupedListView->GetY()+__pGroupedListView->GetHeight(), __pSlider->GetWidth(), __pSlider->GetHeight()));\r
- __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pSlider->GetY()+__pSlider->GetHeight(), __pListView->GetWidth(), list2HeightOff));\r
- __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(),__pListView->GetY()+__pListView->GetHeight()+15, __pLabelEditfieldTitle->GetWidth(), __pLabelEditfieldTitle->GetHeight()));\r
- __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));\r
- panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;\r
- __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(), __pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));\r
- }\r
- else\r
- {\r
- __pGroupedListView->SetBounds(Rectangle(__pGroupedListView->GetBounds().x,__pGroupedListView->GetBounds().y, __pGroupedListView->GetWidth(), list1HeightOn));\r
- __pSlider->SetBounds(Rectangle(__pSlider->GetX(), __pGroupedListView->GetY()+__pGroupedListView->GetHeight(), __pSlider->GetWidth(), __pSlider->GetHeight()));\r
- __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pSlider->GetY()+__pSlider->GetHeight(), __pListView->GetWidth(), list2HeightOn));\r
- __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(),__pListView->GetY()+__pListView->GetHeight()+15, __pLabelEditfieldTitle->GetWidth(),__pLabelEditfieldTitle->GetHeight()));\r
- __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));\r
- panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;\r
- __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(), __pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));\r
- }\r
-\r
- if (__pAlarm->GetSnoozeOn() == false)\r
- {\r
- __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pListView->GetBounds().y, __pListView->GetWidth(), 112));\r
- __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(),__pListView->GetY() + __pListView->GetHeight(), __pLabelEditfieldTitle->GetWidth(), __pLabelEditfieldTitle->GetHeight()));\r
- __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));\r
- panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;\r
- __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(),__pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));\r
- }\r
- else\r
- {\r
- __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pListView->GetBounds().y, __pListView->GetWidth(), 240));\r
- __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(), __pListView->GetY() + __pListView->GetHeight(), __pLabelEditfieldTitle->GetWidth(), __pLabelEditfieldTitle->GetHeight()));\r
- __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));\r
- panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;\r
- __pPanelList->SetBounds(Rectangle(__pGroupedListView->GetX(),__pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));\r
- }\r
-\r
- if (__pPanelList->GetShowState() == false)\r
- {\r
- panelHeight = GetClientAreaBounds().height - __pBtnMore->GetY();\r
- __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(), __pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));\r
- __pScrollPanel->SetScrollBarVisible(false);\r
- }\r
- AppLog("PanelList: y: %d h:%d", __pPanelList->GetY(), __pPanelList->GetHeight());\r
- Invalidate(true);\r
- AppLog("PanelList: y: %d h:%d", __pPanelList->GetY(), __pPanelList->GetHeight());\r
- AppLog("Scroll Panel: y: %d h:%d", __pScrollPanel->GetY(), __pScrollPanel->GetHeight());\r
-\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnKeypadClosed(Control& source)\r
-{\r
- AppLog("OnKeypadClosed");\r
-\r
- if (Clipboard::GetInstance()->IsPopupVisible() == false)\r
- {\r
- GetHeader()->RemoveAllButtons();\r
- SetActionBarsVisible(FORM_ACTION_BAR_HEADER, false);\r
- SetActionBarsVisible(FORM_ACTION_BAR_FOOTER, true);\r
- __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);\r
- }\r
- else\r
- {\r
- Clipboard::GetInstance()->ShowPopup(CLIPBOARD_DATA_TYPE_TEXT, *this);\r
- AppLog("the client height is %d", GetClientAreaBounds().height);\r
- }\r
-\r
- if (&source == (static_cast<Control*>(__pEditFieldHour)))\r
- {\r
- __pScrollPanel->SetScrollBarVisible(false);\r
-\r
- }\r
- RearrangeControls();\r
-\r
- Invalidate(true);\r
-\r
- //__pScrollPanel->ScrollToBottom();\r
- return;\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnKeypadOpened(Control& source)\r
-{\r
- ButtonItem save;\r
- ButtonItem cancel;\r
- Header* pHeader = GetHeader();\r
-\r
- if (pHeader == null)\r
- {\r
- return;\r
- }\r
-\r
- if (__player)\r
- {\r
- __player->Stop();\r
- }\r
-\r
- if (&source == (static_cast<Control*>(__pEditField)))\r
- {\r
- pHeader->SetShowState(true);\r
-\r
- if (__pEditField != null)\r
- {\r
- pHeader->SetTitleText(__pEditField->GetText());\r
- }\r
-\r
- save.Construct(BUTTON_ITEM_STYLE_TEXT,IDA_HEADER_ITEM_SAVE);\r
- cancel.Construct(BUTTON_ITEM_STYLE_TEXT,IDA_HEADER_ITEM_CANCEL);\r
-\r
- save.SetText(CommonUtil::GetString(L"IDS_ALM_SK3_SAVE"));\r
- cancel.SetText(CommonUtil::GetString(L"IDS_ALM_SK_CANCEL"));\r
- pHeader->RemoveAllButtons();\r
- pHeader->SetButton(BUTTON_POSITION_LEFT, save);\r
- pHeader->SetButton(BUTTON_POSITION_RIGHT, cancel);\r
- pHeader->SetButtonTextColor(BUTTON_ITEM_STATUS_DISABLED, Color(128, 128, 128));\r
-\r
-\r
- if ( __pEditField != null)\r
- {\r
- String alarmName = __pEditField->GetText();\r
- alarmName.Trim();\r
- if(alarmName.GetLength() == 0)\r
- {\r
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, false);\r
- }\r
- else\r
- {\r
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, true);\r
- }\r
- }\r
-\r
- Invalidate(true);\r
-\r
- if (__pScrollPanel != null)\r
- {\r
- __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);\r
- __pScrollPanel->ScrollToBottom();\r
- }\r
- }\r
-\r
- if (&source == (static_cast<Control*>(__pEditFieldHour)))\r
- {\r
- if (__pScrollPanel != null)\r
- {\r
- __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);\r
- __pScrollPanel->SetScrollBarVisible(true);\r
- }\r
- GetFooter()->SetShowState(true);\r
- GetFooter()->Invalidate(true);\r
- }\r
-\r
- return;\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnKeypadWillOpen(Control& source)\r
-{\r
- GetFooter()->SetShowState(false);\r
- Invalidate(true);\r
-\r
- if (__pScrollPanel != null)\r
- {\r
- __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);\r
- __pScrollPanel->ScrollToBottom();\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnTextValueChanged(const Control& source)\r
-{\r
- AppLog("AlarmEditorForm::OnTextValueChanged");\r
- String textEntered = L"";\r
- Header* pHeader = GetHeader();\r
- String hourValue;\r
- String minValue;\r
- int hour,min;\r
-\r
- if (__pEditField == null)\r
- {\r
- return;\r
- }\r
-\r
- if (__pEditFieldHour == null)\r
- {\r
- return;\r
- }\r
-\r
- String val = L"00";\r
- if (__pEditFieldHour != null && &source == __pEditFieldHour)\r
- {\r
- if (isHourClicked == true)\r
- {\r
- __pBtnHourDisplay->SetText(__pEditFieldHour->GetText());\r
-\r
- hourValue = __pEditFieldHour->GetText();\r
- if(hourValue.GetLength() > 2)\r
- {\r
- hourValue.SubString(hourValue.GetLength() - 1, val);\r
- }\r
- else\r
- {\r
- val = hourValue;\r
- }\r
-\r
- Integer::Parse(val, hour);\r
-\r
- __pBtnHourDisplay->SetText(val);\r
- __pEditFieldHour->SetText(val);\r
-\r
- if (is24HourFormat == false)\r
- {\r
- if (hour > 12)\r
- {\r
- __pEditFieldHour->SetText(L"00");\r
- __pBtnHourDisplay->SetText(L"00");\r
- }\r
- }\r
- else\r
- {\r
- if (hour > 24)\r
- {\r
- __pEditFieldHour->SetText(L"00");\r
- __pBtnHourDisplay->SetText(L"00");\r
- }\r
- }\r
- }\r
- else if (isHourClicked == false)\r
- {\r
- __pBtnMinDisplay->SetText(__pEditFieldHour->GetText());\r
-\r
- minValue = __pEditFieldHour->GetText();\r
- if(minValue.GetLength() > 2)\r
- {\r
- minValue.SubString(minValue.GetLength() - 1, val);\r
- }\r
- else\r
- {\r
- val = minValue;\r
- }\r
-\r
-\r
- Integer::Parse(val, min);\r
-\r
- __pBtnMinDisplay->SetText(val);\r
- __pEditFieldHour->SetText(val);\r
-\r
- if (val.GetLength() > 0 && min > 59)\r
- {\r
- __pBtnMinDisplay->SetText(L"00");\r
- __pEditFieldHour->SetText(L"00");\r
- }\r
- }\r
- }\r
-\r
- if (__pEditField != null)\r
- {\r
- textEntered = __pEditField->GetText();\r
- }\r
- textEntered.Trim();\r
-\r
- if ( __pEditField && textEntered.GetLength() == 0 )\r
- {\r
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, false);\r
- }\r
- else\r
- {\r
- pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, true);\r
- }\r
-\r
- pHeader->SetTitleText(textEntered);\r
-\r
- if ( (__pEditField != null && __pEditField->GetTextLength() == 0) || (__pBtnHourDisplay->GetText().GetLength() == 0 || __pBtnMinDisplay->GetText().GetLength() == 0) )\r
- {\r
- GetFooter()->SetItemEnabled(0, false);\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0, true);\r
- }\r
-\r
- Invalidate(true);\r
-\r
- if ( __pEditField->GetTextLength() == 100 && &source == __pEditField)\r
- {\r
-\r
- String msg = CommonUtil::GetString("IDS_MAX_CHARACTER_LIMIT_MESSAGE");\r
- __pMsgBox.Construct(L"", msg, MSGBOX_STYLE_NONE, 3000);\r
- __pMsgBox.ShowAndWait(__modalMsgBoxResult);\r
- __pEditField->ShowKeypad();\r
- return;\r
- }\r
-\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnTextValueChangeCanceled(const Control& source)\r
-{\r
- GetHeader()->SetTitleText(__defaultEditFieldValue);\r
-\r
-\r
- if (__pEditField != null)\r
- {\r
- __pEditField->SetText(__defaultEditFieldValue);\r
-\r
- if (__pEditField->GetText() == 0 )\r
- {\r
- GetFooter()->SetItemEnabled(0, false);\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0, true);\r
- }\r
- }\r
-\r
- Invalidate(true);\r
- return;\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo & touchInfo)\r
-{\r
-\r
- if (__pEditField)\r
- {\r
- __pEditField->HideKeypad();\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo & touchInfo)\r
-{\r
- if (__player)\r
- {\r
- __player->Stop();\r
- }\r
-\r
- if(&source != __pSlider)\r
- {\r
- __isPlaying = false;\r
- }\r
-\r
- if (__pEditFieldHour)\r
- {\r
- __pEditFieldHour->HideKeypad();\r
- }\r
-\r
- //Invalidate(true);\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnAppControlCompleteResponseReceived(const Tizen::App::AppId& appId, const Tizen::Base::String& operationId, Tizen::App::AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData)\r
-{\r
-\r
- ArrayList* pMediaResult = null;\r
-\r
- __pBtnHourDisplay->AddActionEventListener(*this);\r
- __pBtnMinDisplay->AddActionEventListener(*this);\r
- __pEditField->SetEnabled(true);\r
-\r
- AppLog("providerId: %ls, operationId: %ls, media res:%d ", appId.GetPointer(), operationId.GetPointer(), appControlResult);\r
- ///if (providerId.CompareTo(L"tizen.filemanager") == 0 && operationId.CompareTo(L"http://tizen.org/appcontrol/operation/pick") == 0)\r
- {\r
- if (pExtraData != null)\r
- {\r
- pMediaResult = (ArrayList*)pExtraData->GetValue(* new String("http://tizen.org/appcontrol/data/selected"));\r
- if(pMediaResult != null)\r
- {\r
- String *pPath = dynamic_cast<String*>(pMediaResult->GetAt(0));\r
- if(pPath != null)\r
- {\r
- __pAlarm->SetRingTone(*pPath);\r
- __audioFilePath = __pAlarm->GetRingTone();\r
- __pGroupedListView->RefreshList(0, 1, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- __pGroupedListView->RefreshList(0, 4, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- AppLog("File set : %ls", pPath->GetPointer());\r
- }\r
-\r
- }\r
- else\r
- {\r
- AppLog("Media not found");\r
- }\r
- }\r
- else\r
- {\r
- AppLog("pResultList is null");\r
- }\r
-\r
- __pGroupedListView->SetEnabled(true);\r
- __pGroupedListView->Invalidate(true);\r
- }\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnSliderBarMoved(Tizen::Ui::Controls::Slider& source, int value)\r
-{\r
- __sliderValues.Push(value);\r
- __isPlaying = false;\r
- if(__sliderValues.GetCount() == 1)\r
- {\r
- SendUserEvent(10000, null);\r
- }\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnClipboardPopupClosed(const Tizen::Ui::ClipboardItem* pClipboardItem)\r
-{\r
- AppLog("OnClipboardPopupClosed");\r
-\r
- if ( __pEditField != null && __pEditField->GetText() == 0 )\r
- {\r
- GetFooter()->SetItemEnabled(0, false);\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0, true);\r
- }\r
-\r
- GetFooter()->Invalidate(true);\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnSettingChanged(Tizen::Base::String& key)\r
-{\r
- if ( key == L"http://tizen.org/setting/locale.time.format.24hour")\r
- {\r
- SettingInfo::GetValue(key, is24HourFormat);\r
- AppLog("the format value is %d", is24HourFormat);\r
- }\r
-\r
- //__pListView->UpdateList();\r
-\r
-}\r
-\r
-void\r
-AlarmEditorForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)\r
-{\r
- result r = E_FAILURE;\r
-\r
- int sliderValue = -1;\r
- __sliderValues.Pop(sliderValue);\r
- __sliderValues.RemoveAll();\r
-\r
-\r
- if ( __isPlaying == false)\r
- {\r
- if (__audioFilePath != L"")\r
- {\r
- __isPlaying = true;\r
- __player->Close();\r
- r = __player->OpenFile(__audioFilePath, false);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of openfile is %s", GetErrorMessage(r));\r
- return;\r
- }\r
-\r
- __player->SetVolume((100 * sliderValue)/15);\r
-\r
- r = __player->Play();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of play is %s", GetErrorMessage(r));\r
- return;\r
- }\r
-\r
- }\r
-\r
- }\r
- else\r
- {\r
- __player->SetVolume((100 * sliderValue)/15);\r
- }\r
-}\r
-\r
+
+ if (__pGroupedListView != null)
+ {
+ __pGroupedListView->UpdateList();
+ }
+
+
+ RearrangeControls();
+
+ if (__pEditField->HasFocus() == true)
+ {
+ __pScrollPanel->ScrollToBottom();
+ __pScrollPanel->Invalidate(false);
+ }
+
+ Invalidate(true);
+}
+
+void
+AlarmEditorForm::RearrangeControls(void)
+{
+
+ int panelHeight = __pSlider->GetHeight();
+ int list1HeightOff = 256;
+ int list1HeightOn = 592;
+ int list2HeightOff = 256;
+ int list2HeightOn = 256;
+
+ if (__pGroupedListView == NULL || __pListView == NULL || __pEditField == NULL)
+ {
+ return;
+ }
+
+ if (__showType == false)
+ {
+ __pGroupedListView->SetBounds(Rectangle(__pGroupedListView->GetBounds().x,__pGroupedListView->GetBounds().y, __pGroupedListView->GetWidth(), list1HeightOff));
+ __pSlider->SetBounds(Rectangle(__pSlider->GetX(),__pGroupedListView->GetY()+__pGroupedListView->GetHeight(), __pSlider->GetWidth(), __pSlider->GetHeight()));
+ __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pSlider->GetY()+__pSlider->GetHeight(), __pListView->GetWidth(), list2HeightOff));
+ __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(),__pListView->GetY()+__pListView->GetHeight()+15, __pLabelEditfieldTitle->GetWidth(), __pLabelEditfieldTitle->GetHeight()));
+ __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));
+ panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;
+ __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(), __pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));
+ }
+ else
+ {
+ __pGroupedListView->SetBounds(Rectangle(__pGroupedListView->GetBounds().x,__pGroupedListView->GetBounds().y, __pGroupedListView->GetWidth(), list1HeightOn));
+ __pSlider->SetBounds(Rectangle(__pSlider->GetX(), __pGroupedListView->GetY()+__pGroupedListView->GetHeight(), __pSlider->GetWidth(), __pSlider->GetHeight()));
+ __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pSlider->GetY()+__pSlider->GetHeight(), __pListView->GetWidth(), list2HeightOn));
+ __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(),__pListView->GetY()+__pListView->GetHeight()+15, __pLabelEditfieldTitle->GetWidth(),__pLabelEditfieldTitle->GetHeight()));
+ __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));
+ panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;
+ __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(), __pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));
+ }
+
+ if (__pAlarm->GetSnoozeOn() == false)
+ {
+ __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pListView->GetBounds().y, __pListView->GetWidth(), 112));
+ __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(),__pListView->GetY() + __pListView->GetHeight(), __pLabelEditfieldTitle->GetWidth(), __pLabelEditfieldTitle->GetHeight()));
+ __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));
+ panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;
+ __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(),__pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));
+ }
+ else
+ {
+ __pListView->SetBounds(Rectangle(__pListView->GetBounds().x,__pListView->GetBounds().y, __pListView->GetWidth(), 240));
+ __pLabelEditfieldTitle->SetBounds(Rectangle(__pLabelEditfieldTitle->GetX(), __pListView->GetY() + __pListView->GetHeight(), __pLabelEditfieldTitle->GetWidth(), __pLabelEditfieldTitle->GetHeight()));
+ __pEditField->SetBounds(Rectangle(__pEditField->GetX(), __pLabelEditfieldTitle->GetY()+__pLabelEditfieldTitle->GetHeight(), __pEditField->GetWidth(), __pEditField->GetHeight()));
+ panelHeight = __pEditField->GetHeight()+ __pListView->GetHeight() + __pGroupedListView->GetHeight() + __pSlider->GetHeight()+__pLabelEditfieldTitle->GetHeight()+35;
+ __pPanelList->SetBounds(Rectangle(__pGroupedListView->GetX(),__pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));
+ }
+
+ if (__pPanelList->GetShowState() == false)
+ {
+ panelHeight = GetClientAreaBounds().height - __pBtnMore->GetY();
+ __pPanelList->SetBounds(Rectangle(__pPanelList->GetX(), __pPanelList->GetY(), __pPanelList->GetWidth(), panelHeight));
+ __pScrollPanel->SetScrollBarVisible(false);
+ }
+ AppLog("PanelList: y: %d h:%d", __pPanelList->GetY(), __pPanelList->GetHeight());
+ Invalidate(true);
+ AppLog("PanelList: y: %d h:%d", __pPanelList->GetY(), __pPanelList->GetHeight());
+ AppLog("Scroll Panel: y: %d h:%d", __pScrollPanel->GetY(), __pScrollPanel->GetHeight());
+
+
+}
+
+void
+AlarmEditorForm::OnKeypadClosed(Control& source)
+{
+ AppLog("OnKeypadClosed");
+
+ if (Clipboard::GetInstance()->IsPopupVisible() == false)
+ {
+ GetHeader()->RemoveAllButtons();
+ SetActionBarsVisible(FORM_ACTION_BAR_HEADER, false);
+ SetActionBarsVisible(FORM_ACTION_BAR_FOOTER, true);
+ __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
+ }
+ else
+ {
+ Clipboard::GetInstance()->ShowPopup(CLIPBOARD_DATA_TYPE_TEXT, *this);
+ AppLog("the client height is %d", GetClientAreaBounds().height);
+ }
+
+ if (&source == (static_cast<Control*>(__pEditFieldHour)))
+ {
+ __pScrollPanel->SetScrollBarVisible(false);
+
+ }
+ RearrangeControls();
+
+ Invalidate(true);
+
+ //__pScrollPanel->ScrollToBottom();
+ return;
+}
+
+void
+AlarmEditorForm::OnKeypadOpened(Control& source)
+{
+ ButtonItem save;
+ ButtonItem cancel;
+ Header* pHeader = GetHeader();
+
+ if (pHeader == null)
+ {
+ return;
+ }
+
+ if (__player)
+ {
+ __player->Stop();
+ }
+
+ if (&source == (static_cast<Control*>(__pEditField)))
+ {
+ pHeader->SetShowState(true);
+
+ if (__pEditField != null)
+ {
+ pHeader->SetTitleText(__pEditField->GetText());
+ }
+
+ save.Construct(BUTTON_ITEM_STYLE_TEXT,IDA_HEADER_ITEM_SAVE);
+ cancel.Construct(BUTTON_ITEM_STYLE_TEXT,IDA_HEADER_ITEM_CANCEL);
+
+ save.SetText(CommonUtil::GetString(L"IDS_ALM_SK3_SAVE"));
+ cancel.SetText(CommonUtil::GetString(L"IDS_ALM_SK_CANCEL"));
+ pHeader->RemoveAllButtons();
+ pHeader->SetButton(BUTTON_POSITION_LEFT, save);
+ pHeader->SetButton(BUTTON_POSITION_RIGHT, cancel);
+ pHeader->SetButtonTextColor(BUTTON_ITEM_STATUS_DISABLED, Color(128, 128, 128));
+
+
+ if ( __pEditField != null)
+ {
+ String alarmName = __pEditField->GetText();
+ alarmName.Trim();
+ if(alarmName.GetLength() == 0)
+ {
+ pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, false);
+ }
+ else
+ {
+ pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, true);
+ }
+ }
+
+ Invalidate(true);
+
+ if (__pScrollPanel != null)
+ {
+ __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
+ __pScrollPanel->ScrollToBottom();
+ }
+ }
+
+ if (&source == (static_cast<Control*>(__pEditFieldHour)))
+ {
+ if (__pScrollPanel != null)
+ {
+ __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
+ __pScrollPanel->SetScrollBarVisible(true);
+ }
+ GetFooter()->SetShowState(true);
+ GetFooter()->Invalidate(true);
+ }
+
+ return;
+}
+
+void
+AlarmEditorForm::OnKeypadWillOpen(Control& source)
+{
+ GetFooter()->SetShowState(false);
+ Invalidate(true);
+
+ if (__pScrollPanel != null)
+ {
+ __pScrollPanel->SetBounds(0, 0, GetClientAreaBounds().width, GetClientAreaBounds().height);
+ __pScrollPanel->ScrollToBottom();
+ }
+
+}
+
+void
+AlarmEditorForm::OnTextValueChanged(const Control& source)
+{
+ AppLog("AlarmEditorForm::OnTextValueChanged");
+ String textEntered = L"";
+ Header* pHeader = GetHeader();
+ String hourValue;
+ String minValue;
+ int hour,min;
+ result r = E_FAILURE;
+ MessageBox __pMsgBox;
+
+ if (__pEditField == null)
+ {
+ return;
+ }
+
+ if (__pEditFieldHour == null)
+ {
+ return;
+ }
+
+ String val = L"00";
+ if (__pEditFieldHour != null && &source == __pEditFieldHour)
+ {
+ if (isHourClicked == true)
+ {
+ __pBtnHourDisplay->SetText(__pEditFieldHour->GetText());
+
+ hourValue = __pEditFieldHour->GetText();
+ if(hourValue.GetLength() > 2)
+ {
+ hourValue.SubString(hourValue.GetLength() - 1, val);
+ }
+ else
+ {
+ val = hourValue;
+ }
+
+ Integer::Parse(val, hour);
+
+ __pBtnHourDisplay->SetText(val);
+ __pEditFieldHour->SetText(val);
+
+ if (is24HourFormat == false)
+ {
+ if (hour > 12)
+ {
+ __pEditFieldHour->SetText(L"00");
+ __pBtnHourDisplay->SetText(L"00");
+ }
+ }
+ else
+ {
+ if (hour >= 24)
+ {
+ __pEditFieldHour->SetText(L"00");
+ __pBtnHourDisplay->SetText(L"00");
+ }
+ }
+ }
+ else if (isHourClicked == false)
+ {
+ __pBtnMinDisplay->SetText(__pEditFieldHour->GetText());
+
+ minValue = __pEditFieldHour->GetText();
+ if(minValue.GetLength() > 2)
+ {
+ minValue.SubString(minValue.GetLength() - 1, val);
+ }
+ else
+ {
+ val = minValue;
+ }
+
+
+ Integer::Parse(val, min);
+
+ __pBtnMinDisplay->SetText(val);
+ __pEditFieldHour->SetText(val);
+
+ if (val.GetLength() > 0 && min > 59)
+ {
+ __pBtnMinDisplay->SetText(L"00");
+ __pEditFieldHour->SetText(L"00");
+ }
+ }
+ }
+
+ if (__pEditField != null)
+ {
+ textEntered = __pEditField->GetText();
+ }
+ textEntered.Trim();
+
+ if ( __pEditField && textEntered.GetLength() == 0 )
+ {
+ pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, false);
+ }
+ else
+ {
+ pHeader->SetButtonEnabled(BUTTON_POSITION_LEFT, true);
+ }
+
+ pHeader->SetTitleText(textEntered);
+
+ if ( (__pEditField != null && __pEditField->GetTextLength() == 0) || (__pBtnHourDisplay->GetText().GetLength() == 0 || __pBtnMinDisplay->GetText().GetLength() == 0) )
+ {
+ GetFooter()->SetItemEnabled(0, false);
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0, true);
+ }
+
+ Invalidate(true);
+
+ if ( __pEditField->GetTextLength() >= 100 && &source == __pEditField)
+ {
+
+ String msg = CommonUtil::GetString("IDS_MAX_CHARACTER_LIMIT_MESSAGE");
+ r = __pMsgBox.Construct(L"", msg, MSGBOX_STYLE_NONE, 3000);
+ AppLog("the result is %s", GetErrorMessage(r));
+ __pMsgBox.ShowAndWait(__modalMsgBoxResult);
+ __pEditField->ShowKeypad();
+ return;
+ }
+
+
+}
+
+void
+AlarmEditorForm::OnTextValueChangeCanceled(const Control& source)
+{
+ GetHeader()->SetTitleText(__defaultEditFieldValue);
+
+
+ if (__pEditField != null)
+ {
+ __pEditField->SetText(__defaultEditFieldValue);
+
+ if (__pEditField->GetText() == 0 )
+ {
+ GetFooter()->SetItemEnabled(0, false);
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0, true);
+ }
+ }
+
+ Invalidate(true);
+ return;
+}
+
+void
+AlarmEditorForm::OnTouchReleased(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo & touchInfo)
+{
+
+ if (__pEditField)
+ {
+ __pEditField->HideKeypad();
+ }
+
+}
+
+void
+AlarmEditorForm::OnTouchPressed(const Tizen::Ui::Control& source, const Tizen::Graphics::Point& currentPosition, const Tizen::Ui::TouchEventInfo & touchInfo)
+{
+
+ if(&source != __pSlider)
+ {
+ __isPlaying = false;
+ if (__player)
+ {
+ __player->Stop();
+ }
+ }
+
+ if (__pEditFieldHour)
+ {
+ __pEditFieldHour->HideKeypad();
+ }
+
+ //Invalidate(true);
+}
+
+void
+AlarmEditorForm::OnAppControlCompleteResponseReceived(const Tizen::App::AppId& appId, const Tizen::Base::String& operationId, Tizen::App::AppCtrlResult appControlResult, const Tizen::Base::Collection::IMap* pExtraData)
+{
+ result r = E_SUCCESS;
+ ArrayList* pMediaResult = null;
+
+ __pBtnHourDisplay->AddActionEventListener(*this);
+ __pBtnMinDisplay->AddActionEventListener(*this);
+ __pEditField->SetEnabled(true);
+
+ AppLog("providerId: %ls, operationId: %ls, media res:%d ", appId.GetPointer(), operationId.GetPointer(), appControlResult);
+ ///if (providerId.CompareTo(L"tizen.filemanager") == 0 && operationId.CompareTo(L"http://tizen.org/appcontrol/operation/pick") == 0)
+ {
+ if (pExtraData != null)
+ {
+ pMediaResult = (ArrayList*)pExtraData->GetValue(* new String("http://tizen.org/appcontrol/data/selected"));
+ if(pMediaResult != null)
+ {
+ String *pPath = dynamic_cast<String*>(pMediaResult->GetAt(0));
+ if(pPath != null)
+ {
+ __pAlarm->SetRingTone(*pPath);
+ __audioFilePath = __pAlarm->GetRingTone();
+ __pGroupedListView->RefreshList(0, 1, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ __pGroupedListView->RefreshList(0, 4, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ AppLog("File set : %ls", pPath->GetPointer());
+ }
+
+ }
+ else
+ {
+ AppLog("Media not found");
+ }
+ }
+ else
+ {
+ AppLog("pResultList is null");
+ }
+
+ __pGroupedListView->SetEnabled(true);
+ __pGroupedListView->Invalidate(true);
+
+ StartAudio();
+ }
+}
+
+void
+AlarmEditorForm::OnSliderBarMoved(Tizen::Ui::Controls::Slider& source, int value)
+{
+ __sliderValues.Push(value);
+
+ if(__sliderValues.GetCount() == 1)
+ {
+ SendUserEvent(10000, null);
+ }
+}
+
+void
+AlarmEditorForm::OnClipboardPopupClosed(const Tizen::Ui::ClipboardItem* pClipboardItem)
+{
+ AppLog("OnClipboardPopupClosed");
+
+ if ( __pEditField != null && __pEditField->GetText() == 0 )
+ {
+ GetFooter()->SetItemEnabled(0, false);
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0, true);
+ }
+
+ GetFooter()->Invalidate(true);
+}
+
+void
+AlarmEditorForm::OnSettingChanged(Tizen::Base::String& key)
+{
+ if ( key == L"http://tizen.org/setting/locale.time.format.24hour")
+ {
+ SettingInfo::GetValue(key, is24HourFormat);
+ AppLog("the format value is %d", is24HourFormat);
+ }
+
+ if (key == L"http://tizen.org/setting/sound.media.volume" )
+ {
+ SettingInfo::GetValue(key, systemVolume);
+ AppLog(" coming here : volume is %d", systemVolume);
+ __pSlider->SetValue(systemVolume);
+ __pSlider->Invalidate(true);
+ }
+
+ //__pListView->UpdateList();
+
+}
+
+void
+AlarmEditorForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)
+{
+ int sliderValue = -1;
+ __sliderValues.Pop(sliderValue);
+ __sliderValues.RemoveAll();
+ AppLog("the state of player is %d", __player->GetState());
+
+ if(__player != null && __player->GetState() != PLAYER_STATE_PLAYING)
+ {
+ __isPlaying = true;
+ __player->Play();
+ }
+
+ if(__player != null)
+ {
+ __player->SetVolume((100 * sliderValue)/15);
+ }
+}
+
+void
+AlarmEditorForm::StartAudio(void)
+{
+ result r = E_SUCCESS;
+ if (__audioFilePath != L"")
+ {
+ __player->Close();
+ r = __player->OpenFile(__audioFilePath, false);
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of openfile is %s", GetErrorMessage(r));
+ return;
+ }
+
+ r = __player->Play();
+ __player->SetVolume(100);
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of play is %s", GetErrorMessage(r));
+ return;
+ }
+ __player->Pause();
+ __isPlaying = false;
+ }
+}
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file AlarmListForm.cpp\r
- * @brief Used to define AlarmListForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarmListForm.h"\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkAlarmRepeatCustomItem.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkSceneRegister.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-using namespace Tizen::System;\r
-\r
-static const int IDA_TABBAR_ITEM1_ALARM = 200;\r
-static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;\r
-static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;\r
-static const int IDA_TABBAR_ITEM3_TIMER = 203;\r
-static const int IDA_FOOTER_ITEM1_MORE = 204;\r
-static const int IDA_FOOTER_ITEM3_ADD = 205;\r
-static const int IDA_CONTEXT_ITEM_DELETE = 206;\r
-static const int IDA_SORTBY_CLICKED = 207;\r
-static const int IDA_DELETE_CLICKED = 208 ;\r
-static const int IDA_FORMAT_BITMAP = 503;\r
-static const int WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE = 800;\r
-static const int HEIGHT_CONTEXT_MENU_BUTTON = 72;\r
-\r
-\r
-AlarmListForm::AlarmListForm()\r
- :__alarmSortbyType(SORTBY_RECENT)\r
- ,__pAlarm(null)\r
- ,__pAppRegistry(null)\r
- ,__pData(null)\r
- ,__pItemContext(null)\r
- ,__noAlarms(true)\r
- ,__pListview(null)\r
- ,__pMenu(null)\r
- ,__pPopUp(null)\r
- ,__sortByOption(L"SortByOption")\r
- ,__timerResetFlag(0)\r
- ,__timerResetKey("timerReset")\r
-{\r
-\r
-}\r
-\r
-AlarmListForm::~AlarmListForm(void)\r
-{\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
- SettingInfo::RemoveSettingEventListener(*this);\r
-}\r
-\r
-bool\r
-AlarmListForm::Initialize(void)\r
-{\r
- result r = E_SUCCESS;\r
- r = Construct(L"IDL_ALARM_LIST");\r
-\r
- if(r != E_SUCCESS)\r
- {\r
- return false;\r
- }\r
- else\r
- {\r
- return true;\r
- }\r
-}\r
-\r
-result\r
-AlarmListForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- HeaderItem alarm;\r
- HeaderItem worldClock;\r
- HeaderItem stopWatch;\r
- HeaderItem timer;\r
- Bitmap* pIconBitmap = null;\r
- Bitmap* pPressedIconBitmap = null;\r
- Bitmap* pHighlightedIconBitmap = null;\r
- Bitmap* pBitmapNormal = null;\r
- Bitmap* pBitmapPressed = null;\r
- Point contextMenuPoint;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
- Header* pHeader = GetHeader();\r
- int bitmapWidth = 326;\r
- int bitmapHeight = 102;\r
-\r
- SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);\r
- SettingInfo::AddSettingEventListener(*this);\r
-\r
- GetFooter()->AddActionEventListener(*this);\r
-\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_ALARM_LIST, *this);\r
- // Setup back event listener\r
- SetFormBackEventListener(this);\r
- AddOrientationEventListener(*this);\r
-\r
- AlarmPresentationModel::GetInstance()->SetCurrentForm(this);\r
-\r
- __pPopUp = new (std::nothrow) SortByPopUp();\r
-\r
- if (__pPopUp != null)\r
- {\r
- __pPopUp->Initialize();\r
- __pPopUp->SetEventListner(this);\r
- AddControl(*__pPopUp);\r
- }\r
-\r
- __pListview = static_cast< ListView* >(GetControl("IDC_LISTVIEW1"));\r
-\r
- if (__pListview != null)\r
- {\r
- __pListview->SetItemProvider(*this);\r
- __pListview->AddListViewItemEventListener(*this);\r
- }\r
-\r
- if (pHeader != null)\r
- {\r
- pHeader->AddActionEventListener(*this);\r
- pHeader->SetStyle(HEADER_STYLE_TAB);\r
- alarm.Construct(IDA_TABBAR_ITEM1_ALARM);\r
- //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
-\r
- if (pAppResource == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(alarm);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);\r
- //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));\r
-\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(worldClock);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);\r
- //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));\r
-\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null)\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(stopWatch);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- timer.Construct(IDA_TABBAR_ITEM3_TIMER);\r
- //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
-\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != null && pPressedIconBitmap != null)\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(timer);\r
- pHeader->SetItemSelected(0);\r
- pHeader->SetTabEditModeEnabled(false);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- pIconBitmap = null;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- pPressedIconBitmap = null;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- pHighlightedIconBitmap = null;\r
- }\r
-\r
- }\r
-\r
- __pItemContext = new (std::nothrow) ListContextItem();\r
- __pItemContext->Construct();\r
- pBitmapNormal = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE, bitmapWidth, bitmapHeight);\r
- pBitmapPressed = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE_PRESS, bitmapWidth, bitmapHeight);\r
-\r
- if (pBitmapNormal != null && pBitmapPressed != null)\r
- {\r
- __pItemContext->AddElement(IDA_CONTEXT_ITEM_DELETE, CommonUtil::GetString(L"IDS_ALM_SK_DELETE"), *pBitmapNormal, *pBitmapPressed, pBitmapPressed);\r
- }\r
-\r
- if (pBitmapNormal != null)\r
- {\r
- delete pBitmapNormal;\r
- pBitmapNormal = null;\r
- }\r
-\r
- if (pBitmapPressed != null)\r
- {\r
- delete pBitmapPressed;\r
- pBitmapPressed = null;\r
- }\r
-\r
- __pItemContextLandscape= new(std::nothrow) ListContextItem();\r
- __pItemContextLandscape->Construct();\r
- pBitmapNormal = CommonUtil::GetNinepatchedBitmap(L"00_button_sweep_delete.9.png", WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE,HEIGHT_CONTEXT_MENU_BUTTON);\r
- pBitmapPressed = CommonUtil::GetNinepatchedBitmap(L"00_button_sweep_delete_press.9.png", WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE, HEIGHT_CONTEXT_MENU_BUTTON);\r
-\r
- if (pBitmapNormal != null && pBitmapPressed != null)\r
- {\r
- __pItemContextLandscape->AddElement(IDA_CONTEXT_ITEM_DELETE, CommonUtil::GetString(L"IDS_ALM_SK_DELETE"), *pBitmapNormal, *pBitmapPressed, pBitmapPressed);\r
- }\r
-\r
- if (pBitmapNormal != null)\r
- {\r
- delete pBitmapNormal;\r
- pBitmapNormal = null;\r
- }\r
-\r
- if (pBitmapPressed != null)\r
- {\r
- delete pBitmapPressed;\r
- pBitmapPressed = null;\r
- }\r
-\r
- UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- UiApp::GetInstance()->GetAppRegistry()->Save();\r
-\r
- return r;\r
-}\r
-\r
-result\r
-AlarmListForm::OnTerminating(void)\r
-{\r
- if(__pItemContext)\r
- {\r
- delete __pItemContext;\r
- }\r
-\r
- if(__pItemContextLandscape)\r
- {\r
- delete __pItemContextLandscape;\r
- }\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-AlarmListForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- result r = E_FAILURE;\r
- SceneManager* pSceneManager = null;\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if(pSceneManager == null)\r
- {\r
- return;\r
- }\r
-\r
- int sortByOptionValue = 0;\r
-\r
- switch (actionId)\r
- {\r
- case IDA_FOOTER_ITEM1_MORE:\r
- {\r
- __pMenu->SetShowState(true);\r
- __pMenu->Show();\r
- __pMenu->Invalidate(true);\r
- }\r
- break;\r
-\r
- case IDA_FOOTER_ITEM3_ADD:\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_CREATE_ALARM));\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM1_WORLDCLOCK:\r
- {\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM2_STOPWATCH:\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM3_TIMER:\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));\r
- }\r
- break;\r
-\r
- case IDA_DELETE_CLICKED:\r
- {\r
- __pMenu->SetShowState(false);\r
- __pMenu->Invalidate(true);\r
-\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));\r
- }\r
- break;\r
-\r
- case IDA_SORTBY_CLICKED:\r
- {\r
- __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();\r
- __pMenu->SetShowState(false);\r
- __pMenu->Invalidate(true);\r
-\r
- if (__pPopUp != null)\r
- {\r
- __pPopUp->SetShowState(true);\r
-\r
- if (__pAppRegistry != null)\r
- {\r
- sortByOptionValue = 0;\r
- r = __pAppRegistry->Get(__sortByOption, sortByOptionValue);\r
- AppLog("the appregistry value %d", sortByOptionValue);\r
- }\r
-\r
- if (sortByOptionValue == 0)\r
- {\r
- __pPopUp->SetDstIndex(0);\r
- }\r
- else if (sortByOptionValue == 1)\r
- {\r
- __pPopUp->SetDstIndex(1);\r
- }\r
- __pPopUp->Show();\r
- }\r
-\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-AlarmListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- AppLog("OnSceneActivatedN ");\r
- Point contextMenuPoint = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);\r
- InitContextMenu(contextMenuPoint);\r
-\r
- if (__pListview != null)\r
- {\r
- __pListview->UpdateList();\r
- }\r
-\r
- GetHeader()->SetItemSelected(0);\r
- GetHeader()->Invalidate(true);\r
- AppLog("OnSceneActivatedN end");\r
-}\r
-\r
-void\r
-AlarmListForm::OnFormBackRequested(Form& source)\r
-{\r
- __timerResetFlag = 1;\r
- UiApp* pApp = UiApp::GetInstance();\r
- if(pApp != null)\r
- {\r
- pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- pApp->GetAppRegistry()->Save();\r
- // AppAssert(pApp);\r
- pApp->Terminate();\r
- }\r
-}\r
-\r
-ListItemBase *\r
-AlarmListForm::CreateItem(int index, int itemWidth)\r
-{\r
- AppLog("CreateItem");\r
- result r = E_FAILURE;\r
- String time;\r
- int hour = 0;\r
- int min = 0;\r
- int sec = 0;\r
- String itemContent;\r
- String flags ;\r
- AlarmRepeatCustomItem* pItem = null;\r
- int listItemHeight = 204;\r
-\r
- __pAlarm = static_cast< AlarmData* >(__pData->GetAt(index));\r
- pItem = new (std::nothrow) AlarmRepeatCustomItem();\r
-\r
- hour = __pAlarm->GetAlarmTime().GetHour();\r
- min = __pAlarm->GetAlarmTime().GetMinute();\r
- sec = __pAlarm->GetAlarmTime().GetSecond();\r
-\r
- AppLog("Hour : %d", hour);\r
-\r
- if (hour > 12)\r
- {\r
- time.Format(20, L"%2d:%2d", hour-12, min);\r
- time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));\r
- }\r
- else\r
- {\r
- if(hour == 0)\r
- {\r
- time.Format(20,L"%2d:%2d", 12, min);\r
- }\r
- else\r
- {\r
- time.Format(20, L"%2d:%2d", hour, min);\r
- }\r
- if(hour >= 12)\r
- {\r
- time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));\r
- }\r
- else\r
- {\r
- time.Append(CommonUtil::GetString(L"IDS_COM_BODY_AM"));\r
- }\r
- }\r
-\r
-\r
- itemContent = __pAlarm->GetAlarmName() + L" " + time;\r
- flags = __pAlarm->GetRepeatFlags();\r
-\r
- if (pItem != null)\r
- {\r
- r = pItem->Construct(GetClientAreaBounds().width, listItemHeight,false, is24HourFormat);\r
-\r
- pItem->SetAlarm(*__pAlarm);\r
- pItem->MakeAlarmRepeatCustomItem();\r
-\r
- if(GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT || GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT_REVERSE)\r
- {\r
- if ( __pItemContext!= NULL)\r
- {\r
- pItem->SetContextItem(__pItemContext);\r
- }\r
- }\r
- else\r
- {\r
- if ( __pItemContextLandscape!= NULL)\r
- {\r
- pItem->SetContextItem(__pItemContextLandscape);\r
- }\r
- }\r
- }\r
-\r
- AppLog("CreateItem end");\r
- return pItem;\r
-\r
-}\r
-\r
-bool\r
-AlarmListForm::DeleteItem(int index, ListItemBase* pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-AlarmListForm::GetItemCount(void)\r
-{\r
-\r
- int count = 0;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
-\r
- if (__pData != NULL )\r
- {\r
- __pData->RemoveAll(false);\r
- delete __pData;\r
- __pData = null;\r
- }\r
-\r
- __pData = new (std::nothrow) Collection::ArrayList();\r
- __pData->Construct();\r
-\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- pAlarmPresentationModel->GetAlarm(0, count, *__pData);\r
-\r
- if (__alarmSortbyType == SORTBY_TIME)\r
- {\r
- pAlarmPresentationModel->DateTimeSort(*__pData);\r
- }\r
- else if (__alarmSortbyType == SORTBY_RECENT)\r
- {\r
- pAlarmPresentationModel->CreatedTimeSort(*__pData);\r
- }\r
-\r
- if (count <= 0)\r
- {\r
- __noAlarms = true;\r
- }\r
- else\r
- {\r
- __noAlarms = false;\r
- }\r
-\r
- if (__noAlarms)\r
- {\r
- GetFooter()->SetItemEnabled(0, false);\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0, true);\r
- }\r
-\r
- GetFooter()->Invalidate(true);\r
-\r
- return count;\r
-\r
-}\r
-\r
-void\r
-AlarmListForm::OnListViewContextItemStateChanged(ListView& listView, int index, int elementId, ListContextItemStatus status)\r
-{\r
- ArrayList alarmList;\r
- int alarmId = 0;\r
- AlarmData* pAlarm = null;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
-\r
- pAlarmPresentationModel->GetAlarm(0, __pListview->GetItemCount(), alarmList);\r
-\r
- if (__alarmSortbyType == SORTBY_TIME)\r
- {\r
- pAlarmPresentationModel->DateTimeSort(alarmList);\r
- }\r
-\r
- pAlarm = dynamic_cast< AlarmData* >(alarmList.GetAt(index));\r
-\r
- switch (elementId)\r
- {\r
- case IDA_CONTEXT_ITEM_DELETE:\r
- {\r
- if (pAlarm != NULL)\r
- {\r
- alarmId = pAlarm->GetAlarmId();\r
- pAlarmPresentationModel->DeleteAlarm(alarmId);\r
- __pListview->UpdateList();\r
- }\r
- }\r
- break;\r
- }\r
-}\r
-\r
-void\r
-AlarmListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- result r = E_FAILURE;\r
- ArrayList* pArgList = null;\r
- AlarmData* pAlarm = null;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
-\r
- if (__pData != null)\r
- {\r
- pAlarm = dynamic_cast< AlarmData* >(__pData->GetAt(index));\r
-\r
- if (pAlarm == null)\r
- {\r
- return;\r
- }\r
-\r
- if (elementId == IDA_FORMAT_BITMAP)\r
- {\r
- if (pAlarm->GetAlarmOnState() == 1)\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
- else\r
- {\r
- pAlarm->SetAlarmOnState(1);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- __pListview->RefreshList(index, LIST_REFRESH_TYPE_ITEM_MODIFY);\r
- }\r
- else\r
- {\r
- pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null && pAlarm != null)\r
- {\r
- r = pArgList->Construct();\r
- pArgList->Add(*pAlarm);\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_CREATE_ALARM), pArgList);\r
- }\r
- }\r
- }\r
- }\r
-\r
-}\r
-\r
-result\r
-AlarmListForm::InitContextMenu(const Point& point)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- if (__pMenu != null)\r
- {\r
- __pMenu->RemoveAllItems();\r
- delete __pMenu;\r
- __pMenu = null ;\r
- }\r
-\r
- __pMenu = new(std::nothrow) ContextMenu();\r
- r = __pMenu->Construct(point, CONTEXT_MENU_STYLE_LIST,CONTEXT_MENU_ANCHOR_DIRECTION_UPWARD);\r
- r = __pMenu->AddItem(CommonUtil::GetString(L"IDS_ALM_SK_DELETE"), IDA_DELETE_CLICKED);\r
- r = __pMenu->AddItem(CommonUtil::GetString(L"IDS_ALM_OPT_SORT_BY"), IDA_SORTBY_CLICKED);\r
-\r
- __pMenu->SetShowState(false);\r
- __pMenu->AddActionEventListener(*this);\r
- SetControlAlwaysOnTop(*__pMenu, true);\r
-\r
- return r;\r
-\r
-}\r
-\r
-void\r
-AlarmListForm::OnSortByPopUpItemSelected(SortBy sortby)\r
-{\r
-\r
- if (sortby == SORTBY_RECENT)\r
- {\r
- __pAppRegistry->Remove(__sortByOption);\r
- __pAppRegistry->Add(__sortByOption, 0);\r
- __pAppRegistry->Save();\r
- __pPopUp->SetShowState(false);\r
- __alarmSortbyType = SORTBY_RECENT;\r
-\r
- if (__pListview)\r
- {\r
- __pListview->UpdateList();\r
- }\r
-\r
- }\r
- else if (sortby == SORTBY_TIME)\r
- {\r
- __pAppRegistry->Remove(__sortByOption);\r
- __pAppRegistry->Add(__sortByOption, 1);\r
- __pAppRegistry->Save();\r
- __pPopUp->SetShowState(false);\r
- __alarmSortbyType = SORTBY_TIME;\r
-\r
- if (__pListview)\r
- {\r
- __pListview->UpdateList();\r
- }\r
- }\r
-}\r
-\r
-void\r
-AlarmListForm::OnSettingChanged(Tizen::Base::String& key)\r
-{\r
- AppLog("AlarmListForm::OnSettingChanged");\r
- if ( key == L"http://tizen.org/setting/locale.time.format.24hour")\r
- {\r
- SettingInfo::GetValue(key, is24HourFormat);\r
- AppLog("the format value is %d", is24HourFormat);\r
- }\r
-\r
- __pListview->UpdateList();\r
-}\r
-\r
-void\r
-AlarmListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- AppLog("OnOrientationChanged");\r
- AppLog("the state is %d", __pMenu->GetShowState());\r
- Point contextMenuPoint = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);\r
- InitContextMenu(contextMenuPoint);\r
-\r
- if (__pListview != null)\r
- {\r
- __pListview->UpdateList();\r
- }\r
-}\r
-\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file AlarmListForm.cpp
+ * @brief Used to define AlarmListForm
+ */
+
+#include <FApp.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+#include "ClkAlarmListForm.h"
+#include "ClkAlarmPresentationModel.h"
+#include "ClkAlarmRepeatCustomItem.h"
+#include "ClkCommonLib.h"
+#include "ClkSceneRegister.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+using namespace Tizen::System;
+
+static const int IDA_TABBAR_ITEM1_ALARM = 200;
+static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;
+static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;
+static const int IDA_TABBAR_ITEM3_TIMER = 203;
+static const int IDA_FOOTER_ITEM1_MORE = 204;
+static const int IDA_FOOTER_ITEM3_ADD = 205;
+static const int IDA_CONTEXT_ITEM_DELETE = 206;
+static const int IDA_SORTBY_CLICKED = 207;
+static const int IDA_DELETE_CLICKED = 208 ;
+static const int IDA_FORMAT_BITMAP = 503;
+static const int WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE = 800;
+static const int HEIGHT_CONTEXT_MENU_BUTTON = 72;
+
+
+AlarmListForm::AlarmListForm()
+ :__alarmSortbyType(SORTBY_RECENT)
+ ,__pAlarm(null)
+ ,__pAppRegistry(null)
+ ,__pData(null)
+ ,__pItemContext(null)
+ ,__noAlarms(true)
+ ,__pListview(null)
+ ,__pMenu(null)
+ ,__pPopUp(null)
+ ,__sortByOption(L"SortByOption")
+ ,__timerResetFlag(0)
+ ,__timerResetKey("timerReset")
+{
+
+}
+
+AlarmListForm::~AlarmListForm(void)
+{
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+ SettingInfo::RemoveSettingEventListener(*this);
+}
+
+bool
+AlarmListForm::Initialize(void)
+{
+ result r = E_SUCCESS;
+ r = Construct(L"IDL_ALARM_LIST");
+
+ if(r != E_SUCCESS)
+ {
+ return false;
+ }
+ else
+ {
+ return true;
+ }
+}
+
+result
+AlarmListForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ HeaderItem alarm;
+ HeaderItem worldClock;
+ HeaderItem stopWatch;
+ HeaderItem timer;
+ Bitmap* pIconBitmap = null;
+ Bitmap* pPressedIconBitmap = null;
+ Bitmap* pHighlightedIconBitmap = null;
+ Bitmap* pBitmapNormal = null;
+ Bitmap* pBitmapPressed = null;
+ Point contextMenuPoint;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+ Header* pHeader = GetHeader();
+ int bitmapWidth = 326;
+ int bitmapHeight = 102;
+
+ SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);
+ SettingInfo::AddSettingEventListener(*this);
+
+ GetFooter()->AddActionEventListener(*this);
+
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_ALARM_LIST, *this);
+ // Setup back event listener
+ SetFormBackEventListener(this);
+ AddOrientationEventListener(*this);
+
+ AlarmPresentationModel::GetInstance()->SetCurrentForm(this);
+
+ __pPopUp = new (std::nothrow) SortByPopUp();
+
+ if (__pPopUp != null)
+ {
+ __pPopUp->Initialize();
+ __pPopUp->SetEventListner(this);
+ AddControl(*__pPopUp);
+ }
+
+ __pListview = static_cast< ListView* >(GetControl("IDC_LISTVIEW1"));
+
+ if (__pListview != null)
+ {
+ __pListview->SetItemProvider(*this);
+ __pListview->AddListViewItemEventListener(*this);
+ }
+
+ if (pHeader != null)
+ {
+ pHeader->AddActionEventListener(*this);
+ pHeader->SetStyle(HEADER_STYLE_TAB);
+ alarm.Construct(IDA_TABBAR_ITEM1_ALARM);
+ //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+
+ if (pAppResource == null)
+ {
+ return E_FAILURE;
+ }
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);
+ alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);
+ alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(alarm);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);
+ //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));
+
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(worldClock);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);
+ //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));
+
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null)
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(stopWatch);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ timer.Construct(IDA_TABBAR_ITEM3_TIMER);
+ //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);
+
+
+ if (pIconBitmap != null && pPressedIconBitmap != null)
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(timer);
+ pHeader->SetItemSelected(0);
+ pHeader->SetTabEditModeEnabled(false);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ pIconBitmap = null;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ pPressedIconBitmap = null;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ pHighlightedIconBitmap = null;
+ }
+
+ }
+
+ __pItemContext = new (std::nothrow) ListContextItem();
+ __pItemContext->Construct();
+ pBitmapNormal = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE, bitmapWidth, bitmapHeight);
+ pBitmapPressed = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE_PRESS, bitmapWidth, bitmapHeight);
+
+ if (pBitmapNormal != null && pBitmapPressed != null)
+ {
+ __pItemContext->AddElement(IDA_CONTEXT_ITEM_DELETE, CommonUtil::GetString(L"IDS_ALM_SK_DELETE"), *pBitmapNormal, *pBitmapPressed, pBitmapPressed);
+ }
+
+ if (pBitmapNormal != null)
+ {
+ delete pBitmapNormal;
+ pBitmapNormal = null;
+ }
+
+ if (pBitmapPressed != null)
+ {
+ delete pBitmapPressed;
+ pBitmapPressed = null;
+ }
+
+ __pItemContextLandscape= new(std::nothrow) ListContextItem();
+ __pItemContextLandscape->Construct();
+ pBitmapNormal = CommonUtil::GetNinepatchedBitmap(L"00_button_sweep_delete.9.png", WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE,HEIGHT_CONTEXT_MENU_BUTTON);
+ pBitmapPressed = CommonUtil::GetNinepatchedBitmap(L"00_button_sweep_delete_press.9.png", WIDTH_CONTEXT_MENU_BUTTON_LANDSCAPE, HEIGHT_CONTEXT_MENU_BUTTON);
+
+ if (pBitmapNormal != null && pBitmapPressed != null)
+ {
+ __pItemContextLandscape->AddElement(IDA_CONTEXT_ITEM_DELETE, CommonUtil::GetString(L"IDS_ALM_SK_DELETE"), *pBitmapNormal, *pBitmapPressed, pBitmapPressed);
+ }
+
+ if (pBitmapNormal != null)
+ {
+ delete pBitmapNormal;
+ pBitmapNormal = null;
+ }
+
+ if (pBitmapPressed != null)
+ {
+ delete pBitmapPressed;
+ pBitmapPressed = null;
+ }
+
+ UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ UiApp::GetInstance()->GetAppRegistry()->Save();
+
+ return r;
+}
+
+result
+AlarmListForm::OnTerminating(void)
+{
+ if(__pItemContext)
+ {
+ delete __pItemContext;
+ }
+
+ if(__pItemContextLandscape)
+ {
+ delete __pItemContextLandscape;
+ }
+
+ return E_SUCCESS;
+}
+
+void
+AlarmListForm::OnActionPerformed(const Control& source, int actionId)
+{
+ result r = E_FAILURE;
+ SceneManager* pSceneManager = null;
+ pSceneManager = SceneManager::GetInstance();
+
+ if(pSceneManager == null)
+ {
+ return;
+ }
+
+ int sortByOptionValue = 0;
+
+ switch (actionId)
+ {
+ case IDA_FOOTER_ITEM1_MORE:
+ {
+ __pMenu->SetShowState(true);
+ __pMenu->Show();
+ __pMenu->Invalidate(true);
+ }
+ break;
+
+ case IDA_FOOTER_ITEM3_ADD:
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_CREATE_ALARM));
+ }
+ break;
+
+ case IDA_TABBAR_ITEM1_WORLDCLOCK:
+ {
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));
+ }
+ }
+ }
+ break;
+
+ case IDA_TABBAR_ITEM2_STOPWATCH:
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ break;
+
+ case IDA_TABBAR_ITEM3_TIMER:
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));
+ }
+ break;
+
+ case IDA_DELETE_CLICKED:
+ {
+ __pMenu->SetShowState(false);
+ __pMenu->Invalidate(true);
+
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));
+ }
+ break;
+
+ case IDA_SORTBY_CLICKED:
+ {
+ __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();
+ __pMenu->SetShowState(false);
+ __pMenu->Invalidate(true);
+
+ if (__pPopUp != null)
+ {
+ __pPopUp->SetShowState(true);
+
+ if (__pAppRegistry != null)
+ {
+ sortByOptionValue = 0;
+ r = __pAppRegistry->Get(__sortByOption, sortByOptionValue);
+ AppLog("the appregistry value %d", sortByOptionValue);
+ }
+
+ if (sortByOptionValue == 0)
+ {
+ __pPopUp->SetDstIndex(0);
+ }
+ else if (sortByOptionValue == 1)
+ {
+ __pPopUp->SetDstIndex(1);
+ }
+ __pPopUp->Show();
+ }
+
+ }
+ break;
+ default:
+ break;
+ }
+}
+
+void
+AlarmListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ AppLog("OnSceneActivatedN ");
+ Point contextMenuPoint = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);
+ InitContextMenu(contextMenuPoint);
+
+ if (__pListview != null)
+ {
+ __pListview->UpdateList();
+ }
+
+ GetHeader()->SetItemSelected(0);
+ GetHeader()->Invalidate(true);
+ AppLog("OnSceneActivatedN end");
+}
+
+void
+AlarmListForm::OnFormBackRequested(Form& source)
+{
+ __timerResetFlag = 1;
+ UiApp* pApp = UiApp::GetInstance();
+ if(pApp != null)
+ {
+ pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ pApp->GetAppRegistry()->Save();
+ // AppAssert(pApp);
+ pApp->Terminate();
+ }
+}
+
+ListItemBase *
+AlarmListForm::CreateItem(int index, int itemWidth)
+{
+ AppLog("CreateItem");
+ result r = E_FAILURE;
+ String time;
+ int hour = 0;
+ int min = 0;
+ int sec = 0;
+ String itemContent;
+ String flags ;
+ AlarmRepeatCustomItem* pItem = null;
+ int listItemHeight = 204;
+
+ __pAlarm = static_cast< AlarmData* >(__pData->GetAt(index));
+ pItem = new (std::nothrow) AlarmRepeatCustomItem();
+
+ hour = __pAlarm->GetAlarmTime().GetHour();
+ min = __pAlarm->GetAlarmTime().GetMinute();
+ sec = __pAlarm->GetAlarmTime().GetSecond();
+
+ AppLog("Hour : %d", hour);
+
+ if (hour > 12)
+ {
+ time.Format(20, L"%2d:%2d", hour-12, min);
+ time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));
+ }
+ else
+ {
+ if(hour == 0)
+ {
+ time.Format(20,L"%2d:%2d", 12, min);
+ }
+ else
+ {
+ time.Format(20, L"%2d:%2d", hour, min);
+ }
+ if(hour >= 12)
+ {
+ time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));
+ }
+ else
+ {
+ time.Append(CommonUtil::GetString(L"IDS_COM_BODY_AM"));
+ }
+ }
+
+
+ itemContent = __pAlarm->GetAlarmName() + L" " + time;
+ flags = __pAlarm->GetRepeatFlags();
+
+ if (pItem != null)
+ {
+ r = pItem->Construct(GetClientAreaBounds().width, listItemHeight,false, is24HourFormat);
+
+ pItem->SetAlarm(*__pAlarm);
+ pItem->MakeAlarmRepeatCustomItem();
+
+ if(GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT || GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT_REVERSE)
+ {
+ if ( __pItemContext!= NULL)
+ {
+ pItem->SetContextItem(__pItemContext);
+ }
+ }
+ else
+ {
+ if ( __pItemContextLandscape!= NULL)
+ {
+ pItem->SetContextItem(__pItemContextLandscape);
+ }
+ }
+ }
+
+ AppLog("CreateItem end");
+ return pItem;
+
+}
+
+bool
+AlarmListForm::DeleteItem(int index, ListItemBase* pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+AlarmListForm::GetItemCount(void)
+{
+
+ int count = 0;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+
+ if (__pData != NULL )
+ {
+ __pData->RemoveAll(false);
+ delete __pData;
+ __pData = null;
+ }
+
+ __pData = new (std::nothrow) Collection::ArrayList();
+ __pData->Construct();
+
+ pAlarmPresentationModel->GetAlarmCount(count);
+ pAlarmPresentationModel->GetAlarm(0, count, *__pData);
+
+ if (__alarmSortbyType == SORTBY_TIME)
+ {
+ pAlarmPresentationModel->DateTimeSort(*__pData);
+ }
+ else if (__alarmSortbyType == SORTBY_RECENT)
+ {
+ pAlarmPresentationModel->CreatedTimeSort(*__pData);
+ }
+
+ if (count <= 0)
+ {
+ __noAlarms = true;
+ }
+ else
+ {
+ __noAlarms = false;
+ }
+
+ if (__noAlarms)
+ {
+ GetFooter()->SetItemEnabled(0, false);
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0, true);
+ }
+
+ GetFooter()->Invalidate(true);
+
+ return count;
+
+}
+
+void
+AlarmListForm::OnListViewContextItemStateChanged(ListView& listView, int index, int elementId, ListContextItemStatus status)
+{
+ ArrayList alarmList;
+ int alarmId = 0;
+ AlarmData* pAlarm = null;
+ String notification ;
+ String lowerStr;
+ NotificationManager notifyMgr;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+
+ pAlarmPresentationModel->GetAlarm(0, __pListview->GetItemCount(), alarmList);
+
+ if (__alarmSortbyType == SORTBY_TIME)
+ {
+ pAlarmPresentationModel->DateTimeSort(alarmList);
+ }
+
+ pAlarm = dynamic_cast< AlarmData* >(alarmList.GetAt(index));
+
+ switch (elementId)
+ {
+ case IDA_CONTEXT_ITEM_DELETE:
+ {
+ if (pAlarm != NULL)
+ {
+ alarmId = pAlarm->GetAlarmId();
+ pAlarmPresentationModel->DeleteAlarm(alarmId);
+ __pListview->UpdateList();
+ notification = pAlarm->GetAlarmName();
+ notification.Append(' ');
+ lowerStr = CommonUtil::GetString(L"IDS_COM_POP_DELETED");
+ lowerStr.ToLower();
+ notification.Append(lowerStr);
+ notifyMgr.Construct();
+ notifyMgr.Notify(notification);
+ }
+ }
+ break;
+ }
+}
+
+void
+AlarmListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ result r = E_FAILURE;
+ ArrayList* pArgList = null;
+ AlarmData* pAlarm = null;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+
+ if (__pData != null)
+ {
+ pAlarm = dynamic_cast< AlarmData* >(__pData->GetAt(index));
+
+ if (pAlarm == null)
+ {
+ return;
+ }
+
+ if (elementId == IDA_FORMAT_BITMAP)
+ {
+ if (pAlarm->GetAlarmOnState() == 1)
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+ else
+ {
+ pAlarm->SetAlarmOnState(1);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ __pListview->RefreshList(index, LIST_REFRESH_TYPE_ITEM_MODIFY);
+ }
+ else
+ {
+ pArgList = new (std::nothrow) ArrayList();
+
+ if (pArgList != null && pAlarm != null)
+ {
+ r = pArgList->Construct();
+ pArgList->Add(*pAlarm);
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_CREATE_ALARM), pArgList);
+ }
+ }
+ }
+ }
+
+}
+
+result
+AlarmListForm::InitContextMenu(const Point& point)
+{
+ result r = E_SUCCESS;
+
+ if (__pMenu != null)
+ {
+ __pMenu->RemoveAllItems();
+ delete __pMenu;
+ __pMenu = null ;
+ }
+
+ __pMenu = new(std::nothrow) ContextMenu();
+ r = __pMenu->Construct(point, CONTEXT_MENU_STYLE_LIST,CONTEXT_MENU_ANCHOR_DIRECTION_UPWARD);
+ r = __pMenu->AddItem(CommonUtil::GetString(L"IDS_ALM_SK_DELETE"), IDA_DELETE_CLICKED);
+ r = __pMenu->AddItem(CommonUtil::GetString(L"IDS_ALM_OPT_SORT_BY"), IDA_SORTBY_CLICKED);
+
+ __pMenu->SetShowState(false);
+ __pMenu->AddActionEventListener(*this);
+ SetControlAlwaysOnTop(*__pMenu, true);
+
+ return r;
+
+}
+
+void
+AlarmListForm::OnSortByPopUpItemSelected(SortBy sortby)
+{
+
+ if (sortby == SORTBY_RECENT)
+ {
+ __pAppRegistry->Remove(__sortByOption);
+ __pAppRegistry->Add(__sortByOption, 0);
+ __pAppRegistry->Save();
+ __pPopUp->SetShowState(false);
+ __alarmSortbyType = SORTBY_RECENT;
+
+ if (__pListview)
+ {
+ __pListview->UpdateList();
+ }
+
+ }
+ else if (sortby == SORTBY_TIME)
+ {
+ __pAppRegistry->Remove(__sortByOption);
+ __pAppRegistry->Add(__sortByOption, 1);
+ __pAppRegistry->Save();
+ __pPopUp->SetShowState(false);
+ __alarmSortbyType = SORTBY_TIME;
+
+ if (__pListview)
+ {
+ __pListview->UpdateList();
+ }
+ }
+}
+
+void
+AlarmListForm::OnSettingChanged(Tizen::Base::String& key)
+{
+ AppLog("AlarmListForm::OnSettingChanged");
+ if ( key == L"http://tizen.org/setting/locale.time.format.24hour")
+ {
+ SettingInfo::GetValue(key, is24HourFormat);
+ AppLog("the format value is %d", is24HourFormat);
+ }
+
+ __pListview->UpdateList();
+}
+
+void
+AlarmListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ AppLog("OnOrientationChanged");
+ AppLog("the state is %d", __pMenu->GetShowState());
+ Point contextMenuPoint = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);
+ InitContextMenu(contextMenuPoint);
+
+ if (__pListview != null)
+ {
+ __pListview->UpdateList();
+ }
+}
+
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmPresentationModel.cpp\r
- * @brief Used to define AlarmPresentationModel\r
- */\r
-\r
-#include <cstdlib>\r
-#include <FApp.h>\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkNotification.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Utility;\r
-using namespace Tizen::Io;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-extern const wchar_t* ALARM_TABLE;\r
-\r
-AlarmPresentationModel* AlarmPresentationModel::__pInstance = null;\r
-\r
-AlarmPresentationModel::AlarmPresentationModel(void)\r
- : __pAlarm(null)\r
- , __pForm(null)\r
- , __pListener(null)\r
- , __pSystemAlarm(null)\r
-{\r
-\r
-}\r
-\r
-AlarmPresentationModel::AlarmPresentationModel(const AlarmPresentationModel& alarmPresentationModel)\r
-{\r
- __pAlarm = alarmPresentationModel.__pAlarm;\r
- __pForm = alarmPresentationModel.__pForm;\r
- __pListener = alarmPresentationModel.__pListener;\r
- __pSystemAlarm = alarmPresentationModel.__pSystemAlarm;\r
-}\r
-\r
-AlarmPresentationModel::~AlarmPresentationModel(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-AlarmPresentationModel::Initialize(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- __pAlarm = new (std::nothrow) AlarmData();\r
- __pSystemAlarm = new Tizen::System::Alarm();\r
- r = __pSystemAlarm->Construct(*__pListener);\r
- AppLog("Result : %s", GetErrorMessage(r));\r
- return r;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::DeleteAlarm(int alarmId)\r
-{\r
- result r = E_SUCCESS;\r
- String query;\r
- String alarmTable(ALARM_TABLE);\r
- int resultCount = -1;\r
- DateTime recentAlarmTime;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- int alarmCount = 0;\r
- int count = 0;\r
- ArrayList* alarmList = null;\r
- AlarmData* pAlarm = null;\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
- String* str2 = null;\r
-\r
- if (alarmId < 1)\r
- {\r
- return E_INVALID_ARG;\r
- }\r
-\r
- alarmList = new (std::nothrow) ArrayList();\r
-\r
- if (alarmList == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- GetAlarmCount(count);\r
- GetAlarm(0,count,*alarmList);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (int count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = static_cast< AlarmData* >(alarmList->GetAt(count));\r
-\r
- if (pAlarm != null && pAlarm->GetAlarmId() == alarmId)\r
- {\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- return false;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(pAlarm->GetNextRingingTime().ToString());\r
- str2->Append("'");\r
-\r
- pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
-\r
- }\r
-\r
- query.Append(L"DELETE FROM ");\r
- query.Append(alarmTable);\r
- query.Append(" WHERE ID = ");\r
- query.Append(alarmId);\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
-\r
- if (IsFailed(r))\r
- {\r
- return r;\r
- }\r
-\r
- GetRecentAlarm(recentAlarmTime, *__pAlarm);\r
- AppLogDebug("recentAlarmTime = %ls",__pAlarm->GetAlarmTime().ToString().GetPointer());\r
-\r
- __pSystemAlarm->Set(__pAlarm->GetAlarmTime());\r
-\r
- return r;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::DeleteAlarm(ArrayList& alarmList)\r
-{\r
- result r = E_SUCCESS;\r
- String query;\r
- DateTime recentAlarmTime;\r
- String alarmTable(ALARM_TABLE);\r
- int resultCount = -1;\r
- AlarmData* pAlarm = null;\r
- int alarmCount = alarmList.GetCount();\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
- String* str2 = null;\r
- DateTime currentTime;\r
-\r
- query.Append(L"DELETE FROM ");\r
- query.Append(alarmTable);\r
- query.Append(" WHERE ID IN ( ");\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- for (int count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = static_cast< AlarmData* >(alarmList.GetAt(count));\r
-\r
- if (pAlarm != null)\r
- {\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(pAlarm->GetNextRingingTime().ToString());\r
- str2->Append("'");\r
- pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);\r
- AppLog("str2 = %ls", str2->GetPointer());\r
- query.Append(pAlarm->GetAlarmId());\r
- query.Append(",");\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
-\r
- }\r
-\r
- }\r
- query.Remove(query.GetLength() - 1, 1);\r
- query.Append(")");\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
-\r
- if (IsFailed(r))\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- GetRecentAlarm(recentAlarmTime, *__pAlarm);\r
- AppLogDebug("recentAlarmTime = %ls",__pAlarm->GetAlarmTime().ToString().GetPointer());\r
-\r
- __pSystemAlarm->Set(__pAlarm->GetAlarmTime());\r
-\r
- return r;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::GetAlarm(const int startIndex, const int limit, ArrayList& alarmList)\r
-{\r
- result r = E_FAILURE;\r
- int count = -1;\r
- String query;\r
- String alarmTable(ALARM_TABLE);\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- query.Append(L"SELECT * FROM ");\r
- query.Append(alarmTable);\r
- query.Append(L" ORDER BY CREATED_TIME DESC");\r
-\r
- //Append LIMIT\r
- if (limit > 0)\r
- {\r
- query.Append(" LIMIT ");\r
- query.Append(limit);\r
-\r
- //Append OFFESET\r
-\r
- if (startIndex >= 0)\r
- {\r
- query.Append(" OFFSET ");\r
- query.Append(startIndex);\r
- }\r
- }\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, count);\r
- r = CreateAlarmListN(count, alarmList);\r
-\r
-\r
- return r;\r
-\r
-}\r
-\r
-result\r
-AlarmPresentationModel::CreateAlarmListN(int alarmCount, ArrayList& alarmList)\r
-{\r
- AlarmData* pAlarm = null;\r
- int intVal = -1;\r
- String value;\r
- DateTime dateValue;\r
- result r = E_FAILURE;\r
- String alarmId;\r
- bool nextRowPresent = false;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- for (int count = 0; count < alarmCount; count++)\r
- {\r
- r = pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);\r
-\r
- if (IsFailed(r))\r
- {\r
- return r;\r
- }\r
-\r
- if (nextRowPresent)\r
- {\r
- pAlarm = new (std::nothrow) AlarmData();\r
-\r
- if (pAlarm != null)\r
- {\r
- for (int columnCount = 0; columnCount < MAX_ALARM_TABLE_COLUMN; columnCount++)\r
- {\r
- switch (columnCount)\r
- {\r
- case 0:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (!IsFailed(r))\r
- {\r
- if (intVal > 0)\r
- {\r
- pAlarm->SetAlarmId(intVal);\r
- }\r
- }\r
-\r
- break;\r
-\r
- case 1:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (!IsFailed(r))\r
- {\r
- if (intVal > 0)\r
- {\r
- pAlarm->SetAlarmOnState(intVal);\r
- }\r
- }\r
-\r
- break;\r
-\r
- case 2:\r
- r = pDataServiceProvider->GetColumn(columnCount, value);\r
-\r
- if (!IsFailed(r))\r
- {\r
- pAlarm->SetAlarmName(value);\r
- }\r
-\r
- break;\r
-\r
- case 3:\r
- r = pDataServiceProvider->GetColumn(columnCount, dateValue);\r
-\r
- if (!IsFailed(r))\r
- {\r
- pAlarm->SetAlarmTime(dateValue);\r
- }\r
-\r
- break;\r
-\r
- case 4:\r
- r = pDataServiceProvider->GetColumn(columnCount, value);\r
-\r
- if (!IsFailed(r))\r
- {\r
- AppLogDebug("the flag value is %ls", value.GetPointer());\r
- pAlarm->SetRepeatedFlags(value);\r
- }\r
-\r
- break;\r
-\r
- case 5:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (intVal == 0)\r
- {\r
- pAlarm->SetSnoozeOn(false);\r
- }\r
- else\r
- {\r
- pAlarm->SetSnoozeOn(true);\r
- }\r
-\r
- break;\r
-\r
- case 6:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (intVal > 0)\r
- {\r
- pAlarm->SetSnoozeDuration(intVal);\r
- }\r
-\r
- break;\r
-\r
- case 7:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (intVal > 0)\r
- {\r
- pAlarm->SetSnoozeRepeat(intVal);\r
- }\r
-\r
- break;\r
-\r
- case 8:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (intVal > 0)\r
- {\r
- pAlarm->SetRingVolume(intVal);\r
- }\r
-\r
- break;\r
-\r
- case 9:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (!IsFailed(r))\r
- {\r
- if (intVal == 0)\r
- {\r
- pAlarm->SetRingType(ALARM_TYPE_MELODY);\r
- }\r
- else if (intVal == 1)\r
- {\r
- pAlarm->SetRingType(ALARM_TYPE_VIBRATION);\r
- }\r
- else if (intVal == 2)\r
- {\r
- pAlarm->SetRingType(ALARM_TYPE_MELODY_AND_VIBRATION);\r
- }\r
- }\r
-\r
- break;\r
-\r
- case 10:\r
- r = pDataServiceProvider->GetColumn(columnCount, value);\r
-\r
- if (!IsFailed(r))\r
- {\r
- pAlarm->SetRingTone(value);\r
- }\r
-\r
- break;\r
-\r
- case 11:\r
- r = pDataServiceProvider->GetColumn(columnCount, dateValue);\r
-\r
- if (!IsFailed(r))\r
- {\r
- pAlarm->SetLastRingingTime(dateValue);\r
- }\r
-\r
- break;\r
-\r
- case 12:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
-\r
- if (!IsFailed(r))\r
- {\r
- pAlarm->SetSnoozeRepeatCount(intVal);\r
- }\r
-\r
- break;\r
-\r
- case 13:\r
- r = pDataServiceProvider->GetColumn(columnCount, dateValue);\r
-\r
- if (!IsFailed(r))\r
- {\r
- pAlarm->SetAlarmCreatedTime(dateValue);\r
- }\r
-\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
- }\r
- AppLog("pAlarm id = %d", pAlarm->GetAlarmId());\r
- r = alarmList.Add(*pAlarm);\r
-\r
- if (IsFailed(r))\r
- {\r
- return r;\r
- }\r
- }\r
- }\r
- }\r
- return r;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::SaveAlarm(AlarmData& alarm)\r
-{\r
- AppLog("alarm id = %d",alarm.GetAlarmId());\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- result r = E_FAILURE;\r
- String alarmTable(ALARM_TABLE);\r
- String query;\r
- String columnNames;\r
- int resultCount = -1;\r
- int rowId = -1;\r
- DateTime dt;\r
- DateTime recentAlarmTime;\r
- String alarmId;\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
- String* str2 = null;\r
- int alarmCount = 0;\r
- int count = 0;\r
- ArrayList* alarmList = null;\r
- AlarmData* pAlarm = null;\r
- String alarmName = alarm.GetAlarmName();\r
- DateTime currentTime;\r
- String messageString;\r
- int cmp = 0;\r
- NotificationManager notifyMgr;\r
-\r
- alarmName.Replace(L"'", L"''");\r
- pDataServiceProvider->GetCurrentDateTime(dt);\r
-\r
-// AppLog("alarm time= %ls ringing time = %ls", alarm.GetAlarmTime().ToString().GetPointer(), alarm.GetNextRingingTime().ToString().GetPointer());\r
-\r
- if (alarm.GetAlarmId() == 0 )\r
- {\r
- AppLog("alarm id = %d",alarm.GetAlarmId());\r
- columnNames.Append(L"IS_ON, ");\r
- columnNames.Append(L"NAME, ");\r
- columnNames.Append(L"TIME, ");\r
- columnNames.Append(L"REPEAT, ");\r
- columnNames.Append(L"SNOOZE_ON, ");\r
- columnNames.Append(L"SNOOZE_DURATION, ");\r
- columnNames.Append(L"SNOOZE_REPEAT, ");\r
- columnNames.Append(L"RING_VOLUME, ");\r
- columnNames.Append(L"RING_TYPE, ");\r
- columnNames.Append(L"RING_TONE, ");\r
- columnNames.Append(L"LAST_RINGING_TIME, ");\r
- columnNames.Append(L"SNOOZE_REPEAT_COUNT, ");\r
- columnNames.Append(L"CREATED_TIME");\r
-\r
-\r
- query.Append(L"INSERT INTO ");\r
- query.Append(alarmTable);\r
- query.Append("(");\r
- query.Append(columnNames);\r
- query.Append(") ");\r
- query.Append("VALUES(");\r
- query.Append(alarm.GetAlarmOnState());\r
- query.Append(", ");\r
- query.Append("'");\r
- query.Append(alarmName);\r
- query.Append("', ");\r
- query.Append("'");\r
- query.Append(alarm.GetAlarmTime().ToString());\r
- query.Append("', ");\r
- query.Append("'");\r
- query.Append(alarm.GetRepeatFlags());\r
- query.Append("'");\r
- query.Append(", ");\r
- query.Append(alarm.GetSnoozeOn());\r
- query.Append(", "); \r
- query.Append(alarm.GetSnoozeDuration());\r
- query.Append(", ");\r
- query.Append(alarm.GetSnoozeRepeat());\r
- query.Append(", ");\r
- query.Append(alarm.GetRingVolume());\r
- query.Append(", ");\r
- query.Append(alarm.GetRingType());\r
- query.Append(", ");\r
- query.Append("'");\r
- query.Append(alarm.GetRingTone());\r
- query.Append("',");\r
- query.Append("'");\r
- query.Append(alarm.GetLastRingingTime().ToString());\r
- query.Append("',");\r
- query.Append(alarm.GetSnoozeRepeatCount());\r
- query.Append(",'");\r
- query.Append(dt.ToString());\r
- query.Append("'");\r
- query.Append(")");\r
-\r
-\r
- AppLogDebug("the flag value is %ls", alarm.GetRepeatFlags().GetPointer());\r
- AppLogDebug("AlarmPresentationModel result query = %ls", query.GetPointer());\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("AlarmPresentationModel::SaveAlarm query failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
- r = pDataServiceProvider->GetLastInsertedId(alarmTable, rowId);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("AlarmPresentationModel::SaveAlarm GetLastInsertedId failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- if (rowId < 0)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- AppLog("rowId = %d", rowId);\r
- //Set the generated ID to Alarm\r
- alarm.SetAlarmId(rowId);\r
- }\r
- else\r
- {\r
- AppLog("alarm id = %d",alarm.GetAlarmId());\r
- query.Append(L"UPDATE ");\r
- query.Append(alarmTable);\r
- query.Append(" SET IS_ON = ");\r
- query.Append(alarm.GetAlarmOnState());\r
- query.Append(", NAME = ");\r
- query.Append("'");\r
- query.Append(alarmName);\r
- query.Append("'");\r
- query.Append(", TIME = ");\r
- query.Append("'");\r
- query.Append(alarm.GetAlarmTime().ToString());\r
- query.Append("'");\r
- query.Append(", REPEAT = ");\r
- query.Append("'");\r
- query.Append(alarm.GetRepeatFlags());\r
- query.Append("'");\r
- query.Append(", SNOOZE_ON = ");\r
- query.Append(alarm.GetSnoozeOn());\r
- query.Append(", SNOOZE_DURATION = "); \r
- query.Append(alarm.GetSnoozeDuration());\r
- query.Append(", SNOOZE_REPEAT = ");\r
- query.Append(alarm.GetSnoozeRepeat());\r
- query.Append(", RING_VOLUME = "); \r
- query.Append(alarm.GetRingVolume());\r
- query.Append(", RING_TYPE = ");\r
- query.Append(alarm.GetRingType());\r
- query.Append(", RING_TONE = ");\r
- query.Append("'");\r
- query.Append(alarm.GetRingTone());\r
- query.Append("'");\r
- query.Append(", LAST_RINGING_TIME = ");\r
- query.Append("'");\r
- query.Append(alarm.GetLastRingingTime().ToString());\r
- query.Append("'");\r
- query.Append(", SNOOZE_REPEAT_COUNT = ");\r
- query.Append(alarm.GetSnoozeRepeatCount());\r
- query.Append(", CREATED_TIME = ");\r
- query.Append("'");\r
- query.Append(dt.ToString());\r
- query.Append("'");\r
- query.Append(" WHERE ID = ");\r
- query.Append(alarm.GetAlarmId());\r
-\r
- AppLogDebug("the flag value is %ls", alarm.GetRepeatFlags().GetPointer());\r
- AppLogDebug("AlarmPresentationModel result query = %ls", query.GetPointer());\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("AlarmPresentationModel::SaveAlarm query failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
- }\r
-\r
- alarmList = new (std::nothrow) ArrayList();\r
-\r
- if (alarmList == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- GetAlarmCount(count);\r
- GetAlarm(0,count,*alarmList);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (int count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = static_cast< AlarmData* >(alarmList->GetAt(count));\r
-\r
- if (pAlarm != null && pAlarm->GetAlarmId() == alarm.GetAlarmId())\r
- {\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(pAlarm->GetNextRingingTime().ToString());\r
- str2->Append("'");\r
- pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);\r
- AppLog("str2 = %ls", str2->GetPointer());\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
-\r
- }\r
-\r
- if (alarm.GetAlarmOnState() == 1)\r
- {\r
- DateTime nextRingingTime = alarm.GetNextRingingTime();\r
- int days = 0;\r
- int hours = 0;\r
- int minutes = 0;\r
- DataServiceProvider::GetInstance()->GetCurrentDateTime(currentTime);\r
- cmp = DateTime::Compare(currentTime, nextRingingTime);\r
- AppLog("current= %ls", currentTime.ToString().GetPointer());\r
- AppLog("current= alarm.GetNextRingingTime() = %ls", nextRingingTime.ToString().GetPointer());\r
-\r
- if (cmp < 0)\r
- {\r
- days = nextRingingTime.GetDay() - currentTime.GetDay();\r
-\r
- if (days < 0)\r
- {\r
- int noOfDaysInPreviousMonth = 0;\r
- nextRingingTime.GetDaysInMonth(nextRingingTime.GetYear(), nextRingingTime.GetMonth() - 1, noOfDaysInPreviousMonth);\r
- days = days + noOfDaysInPreviousMonth;\r
- }\r
-\r
- hours = nextRingingTime.GetHour() - currentTime.GetHour();\r
- minutes = nextRingingTime.GetMinute() - currentTime.GetMinute();\r
-\r
- AppLog("days = %d hours = %d minutes = %d", days, hours, minutes);\r
-\r
- if (minutes < 0)\r
- {\r
- hours -= 1;\r
- minutes += 60;\r
- }\r
-\r
- if (hours < 0)\r
- {\r
- days -= 1;\r
- hours += 24;\r
- }\r
-\r
- if (days < 0)\r
- {\r
-\r
- }\r
- if (hours == 0 && minutes == 0)\r
- {\r
- days -= 1;\r
- hours = 23;\r
- minutes = 59;\r
- }\r
- else if (minutes == 0)\r
- {\r
- hours -= 1;\r
- minutes = 59;\r
- }\r
-\r
- messageString = "The alarm is set for ";\r
-\r
- if (days > 0)\r
- {\r
- messageString.Append(days);\r
- messageString.Append("days, ");\r
- }\r
-\r
- if (hours > 0)\r
- {\r
- messageString.Append(hours);\r
- messageString.Append("hours and ");\r
- }\r
- else if (hours == 0 && days > 0)\r
- {\r
- messageString.Clear();\r
- messageString.Append(days);\r
- messageString.Append("days and ");\r
- }\r
-\r
- if (minutes > 0)\r
- {\r
- if (hours == 0 && days == 0 && minutes == 1)\r
- {\r
- messageString.Append("less than 1 minute from now");\r
- }\r
- else\r
- {\r
- messageString.Append(minutes);\r
- messageString.Append("minutes from now");\r
- }\r
- }\r
-\r
- notifyMgr.Construct();\r
- notifyMgr.Notify(messageString);\r
- }\r
- }\r
-\r
- GetRecentAlarm(recentAlarmTime, *__pAlarm);\r
- AppLogDebug("recentAlarmTime = %ls",__pAlarm->GetAlarmTime().ToString().GetPointer());\r
-\r
- if(__pSystemAlarm != null)\r
- {\r
- delete __pSystemAlarm;\r
- __pSystemAlarm = new Tizen::System::Alarm();\r
- __pSystemAlarm->Construct(*__pListener);\r
- r = __pSystemAlarm->Set(__pAlarm->GetAlarmTime());\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::GetAlarmCount(int& AlarmCount) const\r
-{\r
- int count = -1;\r
- int intVal = -1;\r
- String query;\r
- String AlarmTable(ALARM_TABLE);\r
- result r = E_FAILURE;\r
- bool nextRowPresent = false;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- query.Append(L"SELECT COUNT(ID) FROM ");\r
- query.Append(AlarmTable);\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, count);\r
- TryCatch( r == E_SUCCESS, , "AlarmPresentationModel::GetAlarmCount query failed %s", GetErrorMessage(r));\r
- r = pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);\r
- TryCatch( r == E_SUCCESS, , "AlarmPresentationModel::DbIsNextRowPresent query failed %s", GetErrorMessage(r));\r
-\r
- if (nextRowPresent)\r
- {\r
- r = pDataServiceProvider->GetColumn(0, intVal);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Error:AlarmPresentationModel::GetColumn:%s", GetErrorMessage(r));\r
- return r;\r
- }\r
- }\r
-\r
- AlarmCount = intVal;\r
- AppLogDebug("Count:%d", AlarmCount);\r
-\r
- CATCH: return r;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::GetRecentAlarm(DateTime& recentAlarmTime, AlarmData& recentAlarm)\r
-{\r
- AlarmData* pAlarm = null;\r
- AlarmData* pNextAlarm = null;\r
- int count = 0;\r
- int cmp = 0;\r
- String *str1 = null;\r
- String *str2 = null;\r
- DateTime currentTime;\r
- DateTime nextAlarmTime;\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
-\r
- ArrayList* alarmList = new (std::nothrow) ArrayList();\r
-\r
- if (alarmList == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- ArrayList* nextAlarmTimeList = new (std::nothrow) ArrayList();\r
-\r
- if (nextAlarmTimeList == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- alarmList->Construct();\r
- nextAlarmTimeList->Construct();\r
-\r
- GetAlarmCount(count);\r
- GetAlarm(0,count,*alarmList);\r
- int alarmCount = alarmList->GetCount();\r
-\r
- for (int count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = static_cast< AlarmData* >(alarmList->GetAt(count));\r
- nextAlarmTime.SetValue(pAlarm->GetNextRingingTime());\r
- pNextAlarm = new (std::nothrow) AlarmData();\r
-\r
- if (pNextAlarm != null)\r
- {\r
- *pNextAlarm = *pAlarm;\r
- pNextAlarm->SetAlarmTime(nextAlarmTime);\r
-\r
- str1 = new (std::nothrow) String(pApp->GetAppId());\r
-\r
- if (str1 == null)\r
- {\r
- return false;\r
- }\r
-\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- delete str1;\r
- str1 = null;\r
-\r
- return false;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(nextAlarmTime.ToString());\r
- str2->Append("'");\r
-\r
- DataServiceProvider::GetCurrentDateTime(currentTime);\r
- cmp = DateTime::Compare(currentTime, nextAlarmTime);\r
-\r
- if(cmp <= 0 && nextAlarmTime.GetYear() < 9000)\r
- {\r
- String *str = new String("Alarm");\r
- ArrayList* pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(str);\r
- }\r
- pAppManager->RegisterAppLaunch(*str1,*str2, pArgList, AppManager::LAUNCH_OPTION_DEFAULT);\r
- }\r
-\r
- nextAlarmTimeList->Add(*pNextAlarm);\r
-\r
- if ( str1 != null)\r
- {\r
- delete str1;\r
- str1 = null;\r
- }\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
- AppLog("nextAlarmTime = %ls", nextAlarmTime.ToString().GetPointer());\r
- }\r
- DateTimeSort(*nextAlarmTimeList);\r
- pAlarm = static_cast<AlarmData* > (nextAlarmTimeList->GetAt(0));\r
-\r
- if (pAlarm != null)\r
- {\r
- recentAlarmTime.SetValue(pAlarm->GetAlarmTime());\r
- recentAlarm = *pAlarm;\r
- }\r
-\r
- AppLogDebug("recentAlarmTime = %ls alarmTime = %ls",recentAlarmTime.ToString().GetPointer(),recentAlarm.GetAlarmTime().ToString().GetPointer());\r
-\r
- if (nextAlarmTimeList != null)\r
- {\r
- nextAlarmTimeList->RemoveAll(true);\r
- delete nextAlarmTimeList;\r
- nextAlarmTimeList = null;\r
- }\r
-\r
- if (alarmList != null)\r
- {\r
- alarmList->RemoveAll(true);\r
- delete alarmList;\r
- alarmList = null;\r
- }\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-AlarmPresentationModel::DateTimeSort(ArrayList& alarmTimeList)\r
-{\r
- AlarmData* pAlarm1 = null;\r
- AlarmData* pAlarm2 = null;\r
- AlarmData alarm3;\r
- int cmp;\r
- int i,j;\r
- int counter = alarmTimeList.GetCount()-2 ;\r
-\r
- for (i = counter; i>=0; i--)\r
- {\r
- for (j=0;j<=i;j++)\r
- {\r
- pAlarm1 = static_cast<AlarmData* > (alarmTimeList.GetAt(j));\r
- pAlarm2 = static_cast<AlarmData* > (alarmTimeList.GetAt(j + 1));\r
- cmp = DateTime::Compare(pAlarm1->GetAlarmTime(),pAlarm2->GetAlarmTime());\r
-\r
- if (cmp > 0)\r
- {\r
- alarm3 = *pAlarm1;\r
- *pAlarm1 = *pAlarm2;\r
- *pAlarm2 = alarm3;\r
- }\r
- }\r
- }\r
-}\r
-\r
-void\r
-AlarmPresentationModel::CreatedTimeSort(ArrayList& alarmTimeList)\r
-{\r
- AlarmData* pAlarm1 = null;\r
- AlarmData* pAlarm2 = null;\r
- AlarmData alarm3;\r
- int cmp;\r
- int i,j;\r
-\r
- for (i=alarmTimeList.GetCount()-2; i>=0; i--)\r
- {\r
- for (j=0; j<=i; j++)\r
- {\r
- pAlarm1 = static_cast<AlarmData* > (alarmTimeList.GetAt(j));\r
- pAlarm2 = static_cast<AlarmData* > (alarmTimeList.GetAt(j + 1));\r
- cmp = DateTime::Compare(pAlarm1->GetAlarmCreatedtime(),pAlarm2->GetAlarmCreatedtime());\r
-\r
- if (cmp < 0)\r
- {\r
- alarm3 = *pAlarm1;\r
- *pAlarm1 = *pAlarm2;\r
- *pAlarm2 = alarm3;\r
- }\r
- }\r
- }\r
-}\r
-\r
-void\r
-AlarmPresentationModel::AddEventListener(Tizen::System::IAlarmEventListener* pListener)\r
-{\r
- __pListener = pListener;\r
-}\r
-\r
-void\r
-AlarmPresentationModel::SetCurrentForm(Tizen::Ui::Controls::Form* pForm)\r
-{\r
- __pForm = pForm;\r
-}\r
-\r
-AlarmPresentationModel*\r
-AlarmPresentationModel::GetInstance(void)\r
-{\r
- if (__pInstance == null)\r
- {\r
- CreateInstance();\r
- }\r
-\r
- return __pInstance;\r
-}\r
-\r
-result\r
-AlarmPresentationModel::Construct(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-AlarmPresentationModel::CreateInstance(void)\r
-{\r
- __pInstance = new (std::nothrow) AlarmPresentationModel();\r
- result r = __pInstance->Construct();\r
-\r
- if (IsFailed(r))\r
- {\r
- delete __pInstance;\r
- __pInstance = null;\r
- return;\r
- }\r
-\r
- std::atexit(DestroyInstance);\r
-}\r
-\r
-void\r
-AlarmPresentationModel::DestroyInstance(void)\r
-{\r
- delete __pInstance;\r
-}\r
-\r
-void\r
-AlarmPresentationModel::SetAlarm(const AlarmData& alarm)\r
-{\r
- *__pAlarm = alarm;\r
-}\r
-\r
-AlarmData*\r
-AlarmPresentationModel::GetAlarm(void) const\r
-{\r
- return __pAlarm;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmPresentationModel.cpp
+ * @brief Used to define AlarmPresentationModel
+ */
+
+#include <cstdlib>
+#include <FApp.h>
+#include <FUiScenes.h>
+
+#include "ClkAlarmPresentationModel.h"
+#include "ClkNotification.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Utility;
+using namespace Tizen::Io;
+using namespace Tizen::Locales;
+using namespace Tizen::System;
+using namespace Tizen::Ui::Scenes;
+
+extern const wchar_t* ALARM_TABLE;
+
+AlarmPresentationModel* AlarmPresentationModel::__pInstance = null;
+
+AlarmPresentationModel::AlarmPresentationModel(void)
+ : __pAlarm(null)
+ , __pForm(null)
+ , __pListener(null)
+ , __pSystemAlarm(null)
+{
+
+}
+
+AlarmPresentationModel::AlarmPresentationModel(const AlarmPresentationModel& alarmPresentationModel)
+{
+ __pAlarm = alarmPresentationModel.__pAlarm;
+ __pForm = alarmPresentationModel.__pForm;
+ __pListener = alarmPresentationModel.__pListener;
+ __pSystemAlarm = alarmPresentationModel.__pSystemAlarm;
+}
+
+AlarmPresentationModel::~AlarmPresentationModel(void)
+{
+
+}
+
+result
+AlarmPresentationModel::Initialize(void)
+{
+ result r = E_SUCCESS;
+
+ __pAlarm = new (std::nothrow) AlarmData();
+ __pSystemAlarm = new Tizen::System::Alarm();
+ r = __pSystemAlarm->Construct(*__pListener);
+ AppLog("Result : %s", GetErrorMessage(r));
+ return r;
+}
+
+result
+AlarmPresentationModel::DeleteAlarm(int alarmId)
+{
+ result r = E_SUCCESS;
+ String query;
+ String alarmTable(ALARM_TABLE);
+ int resultCount = -1;
+ DateTime recentAlarmTime;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ int alarmCount = 0;
+ int count = 0;
+ ArrayList* alarmList = null;
+ AlarmData* pAlarm = null;
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+ String* str2 = null;
+
+ if (alarmId < 1)
+ {
+ return E_INVALID_ARG;
+ }
+
+ alarmList = new (std::nothrow) ArrayList();
+
+ if (alarmList == null)
+ {
+ return E_FAILURE;
+ }
+
+ GetAlarmCount(count);
+ GetAlarm(0,count,*alarmList);
+ alarmCount = alarmList->GetCount();
+
+ for (int count = 0; count < alarmCount; count++)
+ {
+ pAlarm = static_cast< AlarmData* >(alarmList->GetAt(count));
+
+ if (pAlarm != null && pAlarm->GetAlarmId() == alarmId)
+ {
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ return false;
+ }
+
+ str2->Append("'");
+ str2->Append(pAlarm->GetNextRingingTime().ToString());
+ str2->Append("'");
+
+ pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+
+ }
+
+ query.Append(L"DELETE FROM ");
+ query.Append(alarmTable);
+ query.Append(" WHERE ID = ");
+ query.Append(alarmId);
+
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ return r;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+
+ if (IsFailed(r))
+ {
+ return r;
+ }
+
+ GetRecentAlarm(recentAlarmTime, *__pAlarm);
+ AppLogDebug("recentAlarmTime = %ls",__pAlarm->GetAlarmTime().ToString().GetPointer());
+
+ __pSystemAlarm->Set(__pAlarm->GetAlarmTime());
+
+ return r;
+}
+
+result
+AlarmPresentationModel::DeleteAlarm(ArrayList& alarmList)
+{
+ result r = E_SUCCESS;
+ String query;
+ DateTime recentAlarmTime;
+ String alarmTable(ALARM_TABLE);
+ int resultCount = -1;
+ AlarmData* pAlarm = null;
+ int alarmCount = alarmList.GetCount();
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+ String* str2 = null;
+ DateTime currentTime;
+
+ query.Append(L"DELETE FROM ");
+ query.Append(alarmTable);
+ query.Append(" WHERE ID IN ( ");
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ for (int count = 0; count < alarmCount; count++)
+ {
+ pAlarm = static_cast< AlarmData* >(alarmList.GetAt(count));
+
+ if (pAlarm != null)
+ {
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ return E_FAILURE;
+ }
+
+ str2->Append("'");
+ str2->Append(pAlarm->GetNextRingingTime().ToString());
+ str2->Append("'");
+ pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);
+ AppLog("str2 = %ls", str2->GetPointer());
+ query.Append(pAlarm->GetAlarmId());
+ query.Append(",");
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+
+ }
+
+ }
+ query.Remove(query.GetLength() - 1, 1);
+ query.Append(")");
+
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ return E_FAILURE;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+
+ if (IsFailed(r))
+ {
+ return E_FAILURE;
+ }
+
+ GetRecentAlarm(recentAlarmTime, *__pAlarm);
+ AppLogDebug("recentAlarmTime = %ls",__pAlarm->GetAlarmTime().ToString().GetPointer());
+
+ __pSystemAlarm->Set(__pAlarm->GetAlarmTime());
+
+ return r;
+}
+
+result
+AlarmPresentationModel::GetAlarm(const int startIndex, const int limit, ArrayList& alarmList)
+{
+ result r = E_FAILURE;
+ int count = -1;
+ String query;
+ String alarmTable(ALARM_TABLE);
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ query.Append(L"SELECT * FROM ");
+ query.Append(alarmTable);
+ query.Append(L" ORDER BY CREATED_TIME DESC");
+
+ //Append LIMIT
+ if (limit > 0)
+ {
+ query.Append(" LIMIT ");
+ query.Append(limit);
+
+ //Append OFFESET
+
+ if (startIndex >= 0)
+ {
+ query.Append(" OFFSET ");
+ query.Append(startIndex);
+ }
+ }
+
+ r = pDataServiceProvider->ExecuteQuery(query, count);
+ r = CreateAlarmListN(count, alarmList);
+
+
+ return r;
+
+}
+
+result
+AlarmPresentationModel::CreateAlarmListN(int alarmCount, ArrayList& alarmList)
+{
+ AlarmData* pAlarm = null;
+ int intVal = -1;
+ String value;
+ DateTime dateValue;
+ result r = E_FAILURE;
+ String alarmId;
+ bool nextRowPresent = false;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ for (int count = 0; count < alarmCount; count++)
+ {
+ r = pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);
+
+ if (IsFailed(r))
+ {
+ return r;
+ }
+
+ if (nextRowPresent)
+ {
+ pAlarm = new (std::nothrow) AlarmData();
+
+ if (pAlarm != null)
+ {
+ for (int columnCount = 0; columnCount < MAX_ALARM_TABLE_COLUMN; columnCount++)
+ {
+ switch (columnCount)
+ {
+ case 0:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (!IsFailed(r))
+ {
+ if (intVal > 0)
+ {
+ pAlarm->SetAlarmId(intVal);
+ }
+ }
+
+ break;
+
+ case 1:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (!IsFailed(r))
+ {
+ if (intVal > 0)
+ {
+ pAlarm->SetAlarmOnState(intVal);
+ }
+ }
+
+ break;
+
+ case 2:
+ r = pDataServiceProvider->GetColumn(columnCount, value);
+
+ if (!IsFailed(r))
+ {
+ pAlarm->SetAlarmName(value);
+ }
+
+ break;
+
+ case 3:
+ r = pDataServiceProvider->GetColumn(columnCount, dateValue);
+
+ if (!IsFailed(r))
+ {
+ pAlarm->SetAlarmTime(dateValue);
+ }
+
+ break;
+
+ case 4:
+ r = pDataServiceProvider->GetColumn(columnCount, value);
+
+ if (!IsFailed(r))
+ {
+ AppLogDebug("the flag value is %ls", value.GetPointer());
+ pAlarm->SetRepeatedFlags(value);
+ }
+
+ break;
+
+ case 5:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (intVal == 0)
+ {
+ pAlarm->SetSnoozeOn(false);
+ }
+ else
+ {
+ pAlarm->SetSnoozeOn(true);
+ }
+
+ break;
+
+ case 6:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (intVal > 0)
+ {
+ pAlarm->SetSnoozeDuration(intVal);
+ }
+
+ break;
+
+ case 7:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (intVal > 0)
+ {
+ pAlarm->SetSnoozeRepeat(intVal);
+ }
+
+ break;
+
+ case 8:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (intVal > 0)
+ {
+ pAlarm->SetRingVolume(intVal);
+ }
+
+ break;
+
+ case 9:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (!IsFailed(r))
+ {
+ if (intVal == 0)
+ {
+ pAlarm->SetRingType(ALARM_TYPE_MELODY);
+ }
+ else if (intVal == 1)
+ {
+ pAlarm->SetRingType(ALARM_TYPE_VIBRATION);
+ }
+ else if (intVal == 2)
+ {
+ pAlarm->SetRingType(ALARM_TYPE_MELODY_AND_VIBRATION);
+ }
+ }
+
+ break;
+
+ case 10:
+ r = pDataServiceProvider->GetColumn(columnCount, value);
+
+ if (!IsFailed(r))
+ {
+ pAlarm->SetRingTone(value);
+ }
+
+ break;
+
+ case 11:
+ r = pDataServiceProvider->GetColumn(columnCount, dateValue);
+
+ if (!IsFailed(r))
+ {
+ pAlarm->SetLastRingingTime(dateValue);
+ }
+
+ break;
+
+ case 12:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+
+ if (!IsFailed(r))
+ {
+ pAlarm->SetSnoozeRepeatCount(intVal);
+ }
+
+ break;
+
+ case 13:
+ r = pDataServiceProvider->GetColumn(columnCount, dateValue);
+
+ if (!IsFailed(r))
+ {
+ pAlarm->SetAlarmCreatedTime(dateValue);
+ }
+
+ break;
+
+ default:
+ break;
+ }
+ }
+ AppLog("pAlarm id = %d", pAlarm->GetAlarmId());
+ r = alarmList.Add(*pAlarm);
+
+ if (IsFailed(r))
+ {
+ return r;
+ }
+ }
+ }
+ }
+ return r;
+}
+
+result
+AlarmPresentationModel::SaveAlarm(AlarmData& alarm)
+{
+ AppLog("alarm id = %d",alarm.GetAlarmId());
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ result r = E_FAILURE;
+ String alarmTable(ALARM_TABLE);
+ String query;
+ String columnNames;
+ int resultCount = -1;
+ int rowId = -1;
+ DateTime dt;
+ DateTime recentAlarmTime;
+ String alarmId;
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+ String* str2 = null;
+ int alarmCount = 0;
+ int count = 0;
+ ArrayList* alarmList = null;
+ AlarmData* pAlarm = null;
+ String alarmName = alarm.GetAlarmName();
+ DateTime currentTime;
+ String messageString;
+ int cmp = 0;
+ NotificationManager notifyMgr;
+
+ alarmName.Replace(L"'", L"''");
+ pDataServiceProvider->GetCurrentDateTime(dt);
+
+// AppLog("alarm time= %ls ringing time = %ls", alarm.GetAlarmTime().ToString().GetPointer(), alarm.GetNextRingingTime().ToString().GetPointer());
+
+ if (alarm.GetAlarmId() == 0 )
+ {
+ AppLog("alarm id = %d",alarm.GetAlarmId());
+ columnNames.Append(L"IS_ON, ");
+ columnNames.Append(L"NAME, ");
+ columnNames.Append(L"TIME, ");
+ columnNames.Append(L"REPEAT, ");
+ columnNames.Append(L"SNOOZE_ON, ");
+ columnNames.Append(L"SNOOZE_DURATION, ");
+ columnNames.Append(L"SNOOZE_REPEAT, ");
+ columnNames.Append(L"RING_VOLUME, ");
+ columnNames.Append(L"RING_TYPE, ");
+ columnNames.Append(L"RING_TONE, ");
+ columnNames.Append(L"LAST_RINGING_TIME, ");
+ columnNames.Append(L"SNOOZE_REPEAT_COUNT, ");
+ columnNames.Append(L"CREATED_TIME");
+
+
+ query.Append(L"INSERT INTO ");
+ query.Append(alarmTable);
+ query.Append("(");
+ query.Append(columnNames);
+ query.Append(") ");
+ query.Append("VALUES(");
+ query.Append(alarm.GetAlarmOnState());
+ query.Append(", ");
+ query.Append("'");
+ query.Append(alarmName);
+ query.Append("', ");
+ query.Append("'");
+ query.Append(alarm.GetAlarmTime().ToString());
+ query.Append("', ");
+ query.Append("'");
+ query.Append(alarm.GetRepeatFlags());
+ query.Append("'");
+ query.Append(", ");
+ query.Append(alarm.GetSnoozeOn());
+ query.Append(", ");
+ query.Append(alarm.GetSnoozeDuration());
+ query.Append(", ");
+ query.Append(alarm.GetSnoozeRepeat());
+ query.Append(", ");
+ query.Append(alarm.GetRingVolume());
+ query.Append(", ");
+ query.Append(alarm.GetRingType());
+ query.Append(", ");
+ query.Append("'");
+ query.Append(alarm.GetRingTone());
+ query.Append("',");
+ query.Append("'");
+ query.Append(alarm.GetLastRingingTime().ToString());
+ query.Append("',");
+ query.Append(alarm.GetSnoozeRepeatCount());
+ query.Append(",'");
+ query.Append(dt.ToString());
+ query.Append("'");
+ query.Append(")");
+
+
+ AppLogDebug("the flag value is %ls", alarm.GetRepeatFlags().GetPointer());
+ AppLogDebug("AlarmPresentationModel result query = %ls", query.GetPointer());
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("AlarmPresentationModel::SaveAlarm query failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+ r = pDataServiceProvider->GetLastInsertedId(alarmTable, rowId);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("AlarmPresentationModel::SaveAlarm GetLastInsertedId failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ if (rowId < 0)
+ {
+ return E_FAILURE;
+ }
+
+ AppLog("rowId = %d", rowId);
+ //Set the generated ID to Alarm
+ alarm.SetAlarmId(rowId);
+ }
+ else
+ {
+ AppLog("alarm id = %d",alarm.GetAlarmId());
+ query.Append(L"UPDATE ");
+ query.Append(alarmTable);
+ query.Append(" SET IS_ON = ");
+ query.Append(alarm.GetAlarmOnState());
+ query.Append(", NAME = ");
+ query.Append("'");
+ query.Append(alarmName);
+ query.Append("'");
+ query.Append(", TIME = ");
+ query.Append("'");
+ query.Append(alarm.GetAlarmTime().ToString());
+ query.Append("'");
+ query.Append(", REPEAT = ");
+ query.Append("'");
+ query.Append(alarm.GetRepeatFlags());
+ query.Append("'");
+ query.Append(", SNOOZE_ON = ");
+ query.Append(alarm.GetSnoozeOn());
+ query.Append(", SNOOZE_DURATION = ");
+ query.Append(alarm.GetSnoozeDuration());
+ query.Append(", SNOOZE_REPEAT = ");
+ query.Append(alarm.GetSnoozeRepeat());
+ query.Append(", RING_VOLUME = ");
+ query.Append(alarm.GetRingVolume());
+ query.Append(", RING_TYPE = ");
+ query.Append(alarm.GetRingType());
+ query.Append(", RING_TONE = ");
+ query.Append("'");
+ query.Append(alarm.GetRingTone());
+ query.Append("'");
+ query.Append(", LAST_RINGING_TIME = ");
+ query.Append("'");
+ query.Append(alarm.GetLastRingingTime().ToString());
+ query.Append("'");
+ query.Append(", SNOOZE_REPEAT_COUNT = ");
+ query.Append(alarm.GetSnoozeRepeatCount());
+ query.Append(", CREATED_TIME = ");
+ query.Append("'");
+ query.Append(dt.ToString());
+ query.Append("'");
+ query.Append(" WHERE ID = ");
+ query.Append(alarm.GetAlarmId());
+
+ AppLogDebug("the flag value is %ls", alarm.GetRepeatFlags().GetPointer());
+ AppLogDebug("AlarmPresentationModel result query = %ls", query.GetPointer());
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("AlarmPresentationModel::SaveAlarm query failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+ }
+
+ alarmList = new (std::nothrow) ArrayList();
+
+ if (alarmList == null)
+ {
+ return E_FAILURE;
+ }
+
+ GetAlarmCount(count);
+ GetAlarm(0,count,*alarmList);
+ alarmCount = alarmList->GetCount();
+
+ for (int count = 0; count < alarmCount; count++)
+ {
+ pAlarm = static_cast< AlarmData* >(alarmList->GetAt(count));
+
+ if (pAlarm != null && pAlarm->GetAlarmId() == alarm.GetAlarmId())
+ {
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ return E_FAILURE;
+ }
+
+ str2->Append("'");
+ str2->Append(pAlarm->GetNextRingingTime().ToString());
+ str2->Append("'");
+ pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);
+ AppLog("str2 = %ls", str2->GetPointer());
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+
+ }
+
+ if (alarm.GetAlarmOnState() == 1)
+ {
+ DateTime nextRingingTime = alarm.GetNextRingingTime();
+ int days = 0;
+ int hours = 0;
+ int minutes = 0;
+ DataServiceProvider::GetInstance()->GetCurrentDateTime(currentTime);
+ cmp = DateTime::Compare(currentTime, nextRingingTime);
+ AppLog("current= %ls", currentTime.ToString().GetPointer());
+ AppLog("current= alarm.GetNextRingingTime() = %ls", nextRingingTime.ToString().GetPointer());
+
+ if (cmp < 0)
+ {
+ days = nextRingingTime.GetDay() - currentTime.GetDay();
+
+ if (days < 0)
+ {
+ int noOfDaysInPreviousMonth = 0;
+ nextRingingTime.GetDaysInMonth(nextRingingTime.GetYear(), nextRingingTime.GetMonth() - 1, noOfDaysInPreviousMonth);
+ days = days + noOfDaysInPreviousMonth;
+ }
+
+ hours = nextRingingTime.GetHour() - currentTime.GetHour();
+ minutes = nextRingingTime.GetMinute() - currentTime.GetMinute();
+
+ AppLog("days = %d hours = %d minutes = %d", days, hours, minutes);
+
+ if (minutes < 0)
+ {
+ hours -= 1;
+ minutes += 60;
+ }
+
+ if (hours < 0)
+ {
+ days -= 1;
+ hours += 24;
+ }
+
+ if (days < 0)
+ {
+
+ }
+ if (hours == 0 && minutes == 0)
+ {
+ days -= 1;
+ hours = 23;
+ minutes = 59;
+ }
+ else if (minutes == 0)
+ {
+ hours -= 1;
+ minutes = 59;
+ }
+
+ messageString = "The alarm(";
+ messageString.Append(pAlarm->GetAlarmName());
+ messageString.Append(") is set for ");
+
+ if (days > 0)
+ {
+ messageString.Append(days);
+ messageString.Append("days, ");
+ }
+
+ if (hours > 0)
+ {
+ messageString.Append(hours);
+ messageString.Append("hours and ");
+ }
+ else if (hours == 0 && days > 0)
+ {
+ messageString.Clear();
+ messageString.Append(days);
+ messageString.Append("days and ");
+ }
+
+ if (minutes > 0)
+ {
+ if (hours == 0 && days == 0 && minutes == 1)
+ {
+ messageString.Append("less than 1 minute from now");
+ }
+ else
+ {
+ messageString.Append(minutes);
+ messageString.Append("minutes from now");
+ }
+ }
+
+ notifyMgr.Construct();
+ notifyMgr.Notify(messageString);
+ }
+ }
+
+ GetRecentAlarm(recentAlarmTime, *__pAlarm);
+ AppLogDebug("recentAlarmTime = %ls",__pAlarm->GetAlarmTime().ToString().GetPointer());
+
+ if(__pSystemAlarm != null)
+ {
+ delete __pSystemAlarm;
+ __pSystemAlarm = new Tizen::System::Alarm();
+ __pSystemAlarm->Construct(*__pListener);
+ r = __pSystemAlarm->Set(__pAlarm->GetAlarmTime());
+ }
+
+ return r;
+}
+
+result
+AlarmPresentationModel::GetAlarmCount(int& AlarmCount) const
+{
+ int count = -1;
+ int intVal = -1;
+ String query;
+ String AlarmTable(ALARM_TABLE);
+ result r = E_FAILURE;
+ bool nextRowPresent = false;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ query.Append(L"SELECT COUNT(ID) FROM ");
+ query.Append(AlarmTable);
+
+ r = pDataServiceProvider->ExecuteQuery(query, count);
+ TryCatch( r == E_SUCCESS, , "AlarmPresentationModel::GetAlarmCount query failed %s", GetErrorMessage(r));
+ r = pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);
+ TryCatch( r == E_SUCCESS, , "AlarmPresentationModel::DbIsNextRowPresent query failed %s", GetErrorMessage(r));
+
+ if (nextRowPresent)
+ {
+ r = pDataServiceProvider->GetColumn(0, intVal);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Error:AlarmPresentationModel::GetColumn:%s", GetErrorMessage(r));
+ return r;
+ }
+ }
+
+ AlarmCount = intVal;
+ AppLogDebug("Count:%d", AlarmCount);
+
+ CATCH: return r;
+}
+
+result
+AlarmPresentationModel::GetRecentAlarm(DateTime& recentAlarmTime, AlarmData& recentAlarm)
+{
+ AlarmData* pAlarm = null;
+ AlarmData* pNextAlarm = null;
+ int count = 0;
+ int cmp = 0;
+ String *str1 = null;
+ String *str2 = null;
+ DateTime currentTime;
+ DateTime nextAlarmTime;
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+
+ ArrayList* alarmList = new (std::nothrow) ArrayList();
+
+ if (alarmList == null)
+ {
+ return E_FAILURE;
+ }
+
+ ArrayList* nextAlarmTimeList = new (std::nothrow) ArrayList();
+
+ if (nextAlarmTimeList == null)
+ {
+ return E_FAILURE;
+ }
+
+ alarmList->Construct();
+ nextAlarmTimeList->Construct();
+
+ GetAlarmCount(count);
+ GetAlarm(0,count,*alarmList);
+ int alarmCount = alarmList->GetCount();
+
+ for (int count = 0; count < alarmCount; count++)
+ {
+ pAlarm = static_cast< AlarmData* >(alarmList->GetAt(count));
+ nextAlarmTime.SetValue(pAlarm->GetNextRingingTime());
+ pNextAlarm = new (std::nothrow) AlarmData();
+
+ if (pNextAlarm != null)
+ {
+ *pNextAlarm = *pAlarm;
+ pNextAlarm->SetAlarmTime(nextAlarmTime);
+
+ str1 = new (std::nothrow) String(pApp->GetAppId());
+
+ if (str1 == null)
+ {
+ return false;
+ }
+
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ delete str1;
+ str1 = null;
+
+ return false;
+ }
+
+ str2->Append("'");
+ str2->Append(nextAlarmTime.ToString());
+ str2->Append("'");
+
+ DataServiceProvider::GetCurrentDateTime(currentTime);
+ cmp = DateTime::Compare(currentTime, nextAlarmTime);
+
+ if(cmp <= 0 && nextAlarmTime.GetYear() < 9000)
+ {
+ String *str = new String("Alarm");
+ ArrayList* pArgList = new (std::nothrow) ArrayList();
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(str);
+ }
+ pAppManager->RegisterAppLaunch(*str1,*str2, pArgList, AppManager::LAUNCH_OPTION_DEFAULT);
+ }
+
+ nextAlarmTimeList->Add(*pNextAlarm);
+
+ if ( str1 != null)
+ {
+ delete str1;
+ str1 = null;
+ }
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+ AppLog("nextAlarmTime = %ls", nextAlarmTime.ToString().GetPointer());
+ }
+ DateTimeSort(*nextAlarmTimeList);
+ pAlarm = static_cast<AlarmData* > (nextAlarmTimeList->GetAt(0));
+
+ if (pAlarm != null)
+ {
+ recentAlarmTime.SetValue(pAlarm->GetAlarmTime());
+ recentAlarm = *pAlarm;
+ }
+
+ AppLogDebug("recentAlarmTime = %ls alarmTime = %ls",recentAlarmTime.ToString().GetPointer(),recentAlarm.GetAlarmTime().ToString().GetPointer());
+
+ if (nextAlarmTimeList != null)
+ {
+ nextAlarmTimeList->RemoveAll(true);
+ delete nextAlarmTimeList;
+ nextAlarmTimeList = null;
+ }
+
+ if (alarmList != null)
+ {
+ alarmList->RemoveAll(true);
+ delete alarmList;
+ alarmList = null;
+ }
+
+ return E_SUCCESS;
+}
+
+void
+AlarmPresentationModel::DateTimeSort(ArrayList& alarmTimeList)
+{
+ AlarmData* pAlarm1 = null;
+ AlarmData* pAlarm2 = null;
+ AlarmData alarm3;
+ int cmp;
+ int i,j;
+ int counter = alarmTimeList.GetCount()-2 ;
+
+ for (i = counter; i>=0; i--)
+ {
+ for (j=0;j<=i;j++)
+ {
+ pAlarm1 = static_cast<AlarmData* > (alarmTimeList.GetAt(j));
+ pAlarm2 = static_cast<AlarmData* > (alarmTimeList.GetAt(j + 1));
+ cmp = DateTime::Compare(pAlarm1->GetAlarmTime(),pAlarm2->GetAlarmTime());
+
+ if (cmp > 0)
+ {
+ alarm3 = *pAlarm1;
+ *pAlarm1 = *pAlarm2;
+ *pAlarm2 = alarm3;
+ }
+ }
+ }
+}
+
+void
+AlarmPresentationModel::CreatedTimeSort(ArrayList& alarmTimeList)
+{
+ AlarmData* pAlarm1 = null;
+ AlarmData* pAlarm2 = null;
+ AlarmData alarm3;
+ int cmp;
+ int i,j;
+
+ for (i=alarmTimeList.GetCount()-2; i>=0; i--)
+ {
+ for (j=0; j<=i; j++)
+ {
+ pAlarm1 = static_cast<AlarmData* > (alarmTimeList.GetAt(j));
+ pAlarm2 = static_cast<AlarmData* > (alarmTimeList.GetAt(j + 1));
+ cmp = DateTime::Compare(pAlarm1->GetAlarmCreatedtime(),pAlarm2->GetAlarmCreatedtime());
+
+ if (cmp < 0)
+ {
+ alarm3 = *pAlarm1;
+ *pAlarm1 = *pAlarm2;
+ *pAlarm2 = alarm3;
+ }
+ }
+ }
+}
+
+void
+AlarmPresentationModel::AddEventListener(Tizen::System::IAlarmEventListener* pListener)
+{
+ __pListener = pListener;
+}
+
+void
+AlarmPresentationModel::SetCurrentForm(Tizen::Ui::Controls::Form* pForm)
+{
+ __pForm = pForm;
+}
+
+AlarmPresentationModel*
+AlarmPresentationModel::GetInstance(void)
+{
+ if (__pInstance == null)
+ {
+ CreateInstance();
+ }
+
+ return __pInstance;
+}
+
+result
+AlarmPresentationModel::Construct(void)
+{
+ return E_SUCCESS;
+}
+
+void
+AlarmPresentationModel::CreateInstance(void)
+{
+ __pInstance = new (std::nothrow) AlarmPresentationModel();
+ result r = __pInstance->Construct();
+
+ if (IsFailed(r))
+ {
+ delete __pInstance;
+ __pInstance = null;
+ return;
+ }
+
+ std::atexit(DestroyInstance);
+}
+
+void
+AlarmPresentationModel::DestroyInstance(void)
+{
+ delete __pInstance;
+}
+
+void
+AlarmPresentationModel::SetAlarm(const AlarmData& alarm)
+{
+ *__pAlarm = alarm;
+}
+
+AlarmData*
+AlarmPresentationModel::GetAlarm(void) const
+{
+ return __pAlarm;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file RadioCustomItem.cpp\r
- * @brief The RadioCustomItem\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUiControls.h>\r
-\r
-#include "ClkAlarmRepeatCustomItem.h"\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_STRING = 500;\r
-static const int IDA_FORMAT_STATUS_STRING = 501;\r
-static const int IDA_FORMAT_NAME_STRING = 502;\r
-static const int IDA_FORMAT_BITMAP = 503;\r
-static const int MARGIN_Y = 134;\r
-static const int HEIGHT = 48;\r
-\r
-AlarmRepeatCustomItem::AlarmRepeatCustomItem(void)\r
- : __height(0)\r
- , __isItemChecked(false)\r
- , __is24HourFormat(false)\r
- , __pAlarm(null)\r
- , __repeatFlags("")\r
- , __text("")\r
- , __width(0)\r
-{\r
-\r
-}\r
-\r
-AlarmRepeatCustomItem::~AlarmRepeatCustomItem(void)\r
-{\r
-\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
-\r
-}\r
-\r
-result\r
-AlarmRepeatCustomItem::Construct(int width, int height, bool itemChecked, bool is24Format)\r
-{\r
- result r = E_FAILURE;\r
- __isItemChecked = itemChecked;\r
- __width = width;\r
- __height = height;\r
- const Dimension dim(width, height);\r
- __is24HourFormat = is24Format;\r
-\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
-\r
- __pAlarm = new AlarmData();\r
-\r
- if (itemChecked)\r
- {\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_MARK);\r
- }\r
- else\r
- {\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
- }\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRepeatCustomItem::SetText(const String& text)\r
-{\r
- __text = text;\r
-}\r
-\r
-String\r
-AlarmRepeatCustomItem::GetText(void) const\r
-{\r
- return __text;\r
-}\r
-\r
-void\r
-AlarmRepeatCustomItem::SetRepeatFlags(const String& flag)\r
-{\r
- __repeatFlags = flag;\r
-}\r
-\r
-String\r
-AlarmRepeatCustomItem::GetRepeatFlag(void) const\r
-{\r
- return __repeatFlags;\r
-}\r
-\r
-void\r
-AlarmRepeatCustomItem::SetAlarm(const AlarmData& alarm)\r
-{\r
- *__pAlarm = alarm;\r
-}\r
-\r
-result\r
-AlarmRepeatCustomItem::MakeAlarmRepeatCustomItem(void)\r
-{\r
- result r = E_FAILURE;\r
- Color textColor;\r
- EnrichedText repeatEnrichedText;\r
- EnrichedText alarmNameText;\r
- TextElement* repeatTextElement = null;\r
- TextElement* alarmNameTextElement = null;\r
- String repeatFlags = L"";\r
- String alarmTime = L"";\r
- String alarmTimeStatus = L"";\r
- String alarmName = L"";\r
- int hours = 0;\r
- int cmp = 0;\r
- int fontSize = 20;\r
- int characterGap = 35;\r
- int flagHeight = 32;\r
- int alarmTimeY = 42;\r
- int alarmTimeWidth = 200;\r
- int alarmTimeHeight = 72;\r
- int alarmTimeStatusY = 72;\r
- int alarmTimeStatusWidth = 100;\r
- int alarmTimeStatusHeight = 42;\r
- int alarmTimeStatusFont = 42;\r
- int alarmNameTextFont = 32;\r
- int dimensionWidth = 320;\r
- int dimensionHeight = 36;\r
- int alarmNameTextX = 0;\r
- int alarmNameTextY = 134;\r
- int alarmNameTextWidth = 0;\r
- int alarmNameTextHeight = 36;\r
- int bitmapX = __width - 136;\r
- int bitmapY = 42;\r
- int bitmapWidth = 120;\r
- int bitmapHeight = 120;\r
- int xMargin = 0;\r
- Bitmap* pBitmap = null;\r
- DateTime invalidAlarmTime;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
- Font font;\r
-\r
- AppLog("__width = %d", __width);\r
-\r
- if (__width > 720)\r
- {\r
- alarmNameTextX = __width - (__width / 2 + 70);\r
- alarmNameTextWidth = __width - alarmNameTextX - bitmapWidth - 32;\r
- xMargin = 46;\r
- }\r
- else\r
- {\r
- alarmNameTextX = 320;\r
- alarmNameTextWidth = 248;\r
- xMargin = 26;\r
- }\r
-\r
- repeatEnrichedText.Construct(Dimension(__width, HEIGHT));\r
- repeatFlags = __pAlarm->GetRepeatFlags();\r
-\r
- for (int i = 0; i < 7; i++)\r
- {\r
- wchar_t ch;\r
- Font font;\r
- String flag = L"";\r
- characterGap = 35;\r
-\r
- repeatTextElement = new (std::nothrow) TextElement();\r
- repeatTextElement->Construct();\r
-\r
- font.Construct(FONT_STYLE_BOLD, fontSize);\r
- repeatTextElement->SetFont(font);\r
-\r
- repeatFlags.GetCharAt(i, ch);\r
- AppLogDebug("the flag is %ls",GetRepeatFlag().GetPointer());\r
-\r
- if (ch == '1')\r
- {\r
- textColor = Color::GetColor(COLOR_ID_BLUE);\r
- AppLogDebug("color is blue");\r
- }\r
- else\r
- {\r
- textColor = Color(124,124,124);\r
- }\r
-\r
- switch (i)\r
- {\r
- case 0:\r
- {\r
- repeatTextElement->SetText(L"S");\r
- flag.Append(L"S");\r
- }\r
- break;\r
-\r
- case 1:\r
- {\r
- repeatTextElement->SetText(L"M");\r
- flag.Append(L"M");\r
- }\r
- break;\r
-\r
- case 2:\r
- {\r
- characterGap = 36;\r
- repeatTextElement->SetText(L"T");\r
- flag.Append(L"T");\r
- }\r
- break;\r
-\r
- case 3:\r
- {\r
- repeatTextElement->SetText(L"W");\r
- flag.Append(L"W");\r
- }\r
- break;\r
-\r
- case 4:\r
- {\r
- characterGap = 36;\r
- repeatTextElement->SetText(L"T");\r
- flag.Append(L"T");\r
- }\r
- break;\r
-\r
- case 5:\r
- {\r
- repeatTextElement->SetText(L"F");\r
- flag.Append(L"F");\r
- }\r
- break;\r
-\r
- case 6:\r
- {\r
- repeatTextElement->SetText(L"S");\r
- flag.Append(L"S");\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-\r
- r = repeatEnrichedText.Add(*repeatTextElement);\r
- AppLogDebug("the string is %ls", flag.GetPointer());\r
- r = AddElement(Rectangle(xMargin + i*characterGap, MARGIN_Y, flagHeight, HEIGHT), i, flag, flagHeight, textColor, textColor, textColor, true);\r
- AppLogDebug("the last result %s", GetErrorMessage(r));\r
- }\r
-\r
- textColor = Color::GetColor(COLOR_ID_BLACK);\r
-\r
- hours = __pAlarm->GetAlarmTime().GetHour();\r
-\r
- if (__is24HourFormat == false)\r
- {\r
- if(__pAlarm->GetAlarmTime().GetHour() > 12)\r
- {\r
- hours -= 12;\r
- }\r
- }\r
-\r
- if(hours == 0 && __is24HourFormat == false)\r
- {\r
- hours = 12;\r
- }\r
-\r
- if(hours < 10)\r
- {\r
- alarmTime.Append("0");\r
- }\r
-\r
- alarmTime.Append(hours);\r
- alarmTime.Append(":");\r
-\r
- if(__pAlarm->GetAlarmTime().GetMinute() < 10)\r
- {\r
- alarmTime.Append("0");\r
- }\r
-\r
- alarmTime.Append(__pAlarm->GetAlarmTime().GetMinute());\r
- AddElement(Rectangle(xMargin, alarmTimeY, alarmTimeWidth, alarmTimeHeight), IDA_FORMAT_STRING, alarmTime, alarmTimeHeight, textColor, textColor, textColor, true);\r
-\r
- textColor = Color(24, 24, 24);\r
-\r
- if (__pAlarm->GetAlarmTime().GetHour() < 12)\r
- {\r
- String resourceStr;\r
- pAppResource->GetString(L"IDS_COM_BODY_AM", resourceStr);\r
- alarmTimeStatus.Append(resourceStr);\r
- }\r
- else\r
- {\r
- String resourceStr;\r
- pAppResource->GetString(L"IDS_COM_POP_PM", resourceStr);\r
- alarmTimeStatus.Append(resourceStr);\r
- }\r
-\r
- if (__is24HourFormat == false)\r
- {\r
- r = AddElement(Rectangle(xMargin + alarmTimeWidth, alarmTimeStatusY, alarmTimeStatusWidth, alarmTimeStatusHeight), IDA_FORMAT_STATUS_STRING, alarmTimeStatus, alarmTimeStatusFont, textColor, textColor, textColor, true);\r
- }\r
-\r
- textColor = Color(153, 153, 153);\r
- alarmName.Append(__pAlarm->GetAlarmName());\r
-\r
- alarmNameTextElement = new (std::nothrow) TextElement();\r
- alarmNameTextElement->Construct();\r
- alarmNameTextElement->SetText(alarmName);\r
- alarmNameTextElement->SetTextColor(textColor);\r
-\r
- font.Construct(FONT_STYLE_PLAIN, alarmNameTextFont);\r
- alarmNameTextElement->SetFont(font);\r
- alarmNameText.Construct(Dimension(dimensionWidth, dimensionHeight));\r
- alarmNameText.Add(*alarmNameTextElement);\r
- alarmNameText.SetHorizontalAlignment(TEXT_ALIGNMENT_RIGHT);\r
- AddElement(Rectangle(alarmNameTextX, alarmNameTextY, alarmNameTextWidth, alarmNameTextHeight), IDA_FORMAT_NAME_STRING, alarmNameText);\r
-\r
- invalidAlarmTime.SetValue(9999,1,1);\r
- cmp = DateTime::Compare(invalidAlarmTime, __pAlarm->GetNextRingingTime());\r
-\r
- if((__pAlarm->GetRepeatFlags().Contains("1") == false && cmp == 0) || __pAlarm->GetAlarmOnState() == 0)\r
- {\r
- AppLogDebug("AlarmRepeatCustomItem::Make");\r
- pBitmap = pAppResource->GetBitmapN(IDB_ALARM_ICON_OFF);\r
- }\r
- else\r
- {\r
- AppLogDebug("__pAlarm->GetSnoozeRepeatCount() = %d __pAlarm->GetSnoozeRepeat() = %d", __pAlarm->GetSnoozeRepeatCount(), __pAlarm->GetSnoozeRepeat());\r
-\r
- if(__pAlarm->GetSnoozeOn() && __pAlarm->GetSnoozeRepeatCount() < __pAlarm->GetSnoozeRepeat() && __pAlarm->GetSnoozeRepeatCount() >= 0)\r
- {\r
- pBitmap = pAppResource->GetBitmapN(IDB_ALARM_ICON_SNOOZE);\r
- }\r
- else\r
- {\r
- pBitmap = pAppResource->GetBitmapN(IDB_ALARM_ICON_ON);\r
- }\r
-\r
- }\r
-\r
- if (!__isItemChecked)\r
- {\r
-\r
- AddElement(Rectangle(bitmapX, bitmapY, bitmapWidth, bitmapHeight), IDA_FORMAT_BITMAP, *pBitmap);\r
- SetElementSelectionEnabled(IDA_FORMAT_BITMAP, true);\r
- }\r
-\r
- return r;\r
-}\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file RadioCustomItem.cpp
+ * @brief The RadioCustomItem
+ */
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUiControls.h>
+
+#include "ClkAlarmRepeatCustomItem.h"
+#include "ClkAlarmPresentationModel.h"
+#include "ClkCommonLib.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_STRING = 500;
+static const int IDA_FORMAT_STATUS_STRING = 501;
+static const int IDA_FORMAT_NAME_STRING = 502;
+static const int IDA_FORMAT_BITMAP = 503;
+static const int MARGIN_Y = 134;
+static const int HEIGHT = 48;
+
+AlarmRepeatCustomItem::AlarmRepeatCustomItem(void)
+ : __height(0)
+ , __isItemChecked(false)
+ , __is24HourFormat(false)
+ , __pAlarm(null)
+ , __repeatFlags("")
+ , __text("")
+ , __width(0)
+{
+
+}
+
+AlarmRepeatCustomItem::~AlarmRepeatCustomItem(void)
+{
+
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+
+}
+
+result
+AlarmRepeatCustomItem::Construct(int width, int height, bool itemChecked, bool is24Format)
+{
+ result r = E_FAILURE;
+ __isItemChecked = itemChecked;
+ __width = width;
+ __height = height;
+ const Dimension dim(width, height);
+ __is24HourFormat = is24Format;
+
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+
+ __pAlarm = new AlarmData();
+
+ if (itemChecked)
+ {
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_MARK);
+ }
+ else
+ {
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ }
+
+ return r;
+}
+
+void
+AlarmRepeatCustomItem::SetText(const String& text)
+{
+ __text = text;
+}
+
+String
+AlarmRepeatCustomItem::GetText(void) const
+{
+ return __text;
+}
+
+void
+AlarmRepeatCustomItem::SetRepeatFlags(const String& flag)
+{
+ __repeatFlags = flag;
+}
+
+String
+AlarmRepeatCustomItem::GetRepeatFlag(void) const
+{
+ return __repeatFlags;
+}
+
+void
+AlarmRepeatCustomItem::SetAlarm(const AlarmData& alarm)
+{
+ *__pAlarm = alarm;
+}
+
+result
+AlarmRepeatCustomItem::MakeAlarmRepeatCustomItem(void)
+{
+ result r = E_FAILURE;
+ Color textColor;
+ EnrichedText repeatEnrichedText;
+ EnrichedText alarmNameText;
+ TextElement* repeatTextElement = null;
+ TextElement* alarmNameTextElement = null;
+ String repeatFlags = L"";
+ String alarmTime = L"";
+ String alarmTimeStatus = L"";
+ String alarmName = L"";
+ int hours = 0;
+ int cmp = 0;
+ int fontSize = 20;
+ int characterGap = 35;
+ int flagHeight = 32;
+ int alarmTimeY = 42;
+ int alarmTimeWidth = 200;
+ int alarmTimeHeight = 72;
+ int alarmTimeStatusY = 72;
+ int alarmTimeStatusWidth = 100;
+ int alarmTimeStatusHeight = 42;
+ int alarmTimeStatusFont = 42;
+ int alarmNameTextFont = 32;
+ int dimensionWidth = 320;
+ int dimensionHeight = 36;
+ int alarmNameTextX = 0;
+ int alarmNameTextY = 134;
+ int alarmNameTextWidth = 0;
+ int alarmNameTextHeight = 36;
+ int bitmapX = __width - 136;
+ int bitmapY = 42;
+ int bitmapWidth = 120;
+ int bitmapHeight = 120;
+ int xMargin = 0;
+ Bitmap* pBitmap = null;
+ DateTime invalidAlarmTime;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+ Font font;
+
+ AppLog("__width = %d", __width);
+
+ if (__width > 720)
+ {
+ alarmNameTextX = __width - (__width / 2 + 70);
+ alarmNameTextWidth = __width - alarmNameTextX - bitmapWidth - 32;
+ xMargin = 46;
+ }
+ else
+ {
+ alarmNameTextX = 320;
+ alarmNameTextWidth = 248;
+ xMargin = 26;
+ }
+
+ repeatEnrichedText.Construct(Dimension(__width, HEIGHT));
+ repeatFlags = __pAlarm->GetRepeatFlags();
+
+ for (int i = 0; i < 7; i++)
+ {
+ wchar_t ch;
+ Font font;
+ String flag = L"";
+ characterGap = 35;
+
+ repeatTextElement = new (std::nothrow) TextElement();
+ repeatTextElement->Construct();
+
+ font.Construct(FONT_STYLE_BOLD, fontSize);
+ repeatTextElement->SetFont(font);
+
+ repeatFlags.GetCharAt(i, ch);
+ AppLogDebug("the flag is %ls",GetRepeatFlag().GetPointer());
+
+ if (ch == '1')
+ {
+ textColor = Color::GetColor(COLOR_ID_BLUE);
+ AppLogDebug("color is blue");
+ }
+ else
+ {
+ textColor = Color(124,124,124);
+ }
+
+ switch (i)
+ {
+ case 0:
+ {
+ repeatTextElement->SetText(L"S");
+ flag.Append(L"S");
+ }
+ break;
+
+ case 1:
+ {
+ repeatTextElement->SetText(L"M");
+ flag.Append(L"M");
+ }
+ break;
+
+ case 2:
+ {
+ characterGap = 36;
+ repeatTextElement->SetText(L"T");
+ flag.Append(L"T");
+ }
+ break;
+
+ case 3:
+ {
+ repeatTextElement->SetText(L"W");
+ flag.Append(L"W");
+ }
+ break;
+
+ case 4:
+ {
+ characterGap = 36;
+ repeatTextElement->SetText(L"T");
+ flag.Append(L"T");
+ }
+ break;
+
+ case 5:
+ {
+ repeatTextElement->SetText(L"F");
+ flag.Append(L"F");
+ }
+ break;
+
+ case 6:
+ {
+ repeatTextElement->SetText(L"S");
+ flag.Append(L"S");
+ }
+ break;
+
+ default:
+ break;
+ }
+
+ r = repeatEnrichedText.Add(*repeatTextElement);
+ AppLogDebug("the string is %ls", flag.GetPointer());
+ r = AddElement(Rectangle(xMargin + i*characterGap, MARGIN_Y, flagHeight, HEIGHT), i, flag, flagHeight, textColor, textColor, textColor, true);
+ AppLogDebug("the last result %s", GetErrorMessage(r));
+ }
+
+ textColor = Color::GetColor(COLOR_ID_BLACK);
+
+ hours = __pAlarm->GetAlarmTime().GetHour();
+
+ if (__is24HourFormat == false)
+ {
+ if(__pAlarm->GetAlarmTime().GetHour() > 12)
+ {
+ hours -= 12;
+ }
+ }
+
+ if(hours == 0 && __is24HourFormat == false)
+ {
+ hours = 12;
+ }
+
+ if(hours < 10)
+ {
+ alarmTime.Append("0");
+ }
+
+ alarmTime.Append(hours);
+ alarmTime.Append(":");
+
+ if(__pAlarm->GetAlarmTime().GetMinute() < 10)
+ {
+ alarmTime.Append("0");
+ }
+
+ alarmTime.Append(__pAlarm->GetAlarmTime().GetMinute());
+ AddElement(Rectangle(xMargin, alarmTimeY, alarmTimeWidth, alarmTimeHeight), IDA_FORMAT_STRING, alarmTime, alarmTimeHeight, textColor, textColor, textColor, true);
+
+ textColor = Color(24, 24, 24);
+
+ if (__pAlarm->GetAlarmTime().GetHour() < 12)
+ {
+ String resourceStr;
+ pAppResource->GetString(L"IDS_COM_BODY_AM", resourceStr);
+ alarmTimeStatus.Append(resourceStr);
+ }
+ else
+ {
+ String resourceStr;
+ pAppResource->GetString(L"IDS_COM_POP_PM", resourceStr);
+ alarmTimeStatus.Append(resourceStr);
+ }
+
+ if (__is24HourFormat == false)
+ {
+ r = AddElement(Rectangle(xMargin + alarmTimeWidth, alarmTimeStatusY, alarmTimeStatusWidth, alarmTimeStatusHeight), IDA_FORMAT_STATUS_STRING, alarmTimeStatus, alarmTimeStatusFont, textColor, textColor, textColor, true);
+ }
+
+ textColor = Color(153, 153, 153);
+ alarmName.Append(__pAlarm->GetAlarmName());
+
+ alarmNameTextElement = new (std::nothrow) TextElement();
+ alarmNameTextElement->Construct();
+ alarmNameTextElement->SetText(alarmName);
+ alarmNameTextElement->SetTextColor(textColor);
+
+ font.Construct(FONT_STYLE_PLAIN, alarmNameTextFont);
+ alarmNameTextElement->SetFont(font);
+ alarmNameText.Construct(Dimension(dimensionWidth, dimensionHeight));
+ alarmNameText.Add(*alarmNameTextElement);
+ alarmNameText.SetHorizontalAlignment(TEXT_ALIGNMENT_RIGHT);
+ AddElement(Rectangle(alarmNameTextX, alarmNameTextY, alarmNameTextWidth, alarmNameTextHeight), IDA_FORMAT_NAME_STRING, alarmNameText);
+
+ invalidAlarmTime.SetValue(9999,1,1);
+ cmp = DateTime::Compare(invalidAlarmTime, __pAlarm->GetNextRingingTime());
+
+ if((__pAlarm->GetRepeatFlags().Contains("1") == false && cmp == 0) || __pAlarm->GetAlarmOnState() == 0)
+ {
+ AppLogDebug("AlarmRepeatCustomItem::Make");
+ pBitmap = pAppResource->GetBitmapN(IDB_ALARM_ICON_OFF);
+ }
+ else
+ {
+ AppLogDebug("__pAlarm->GetSnoozeRepeatCount() = %d __pAlarm->GetSnoozeRepeat() = %d", __pAlarm->GetSnoozeRepeatCount(), __pAlarm->GetSnoozeRepeat());
+
+ if(__pAlarm->GetSnoozeOn() && __pAlarm->GetSnoozeRepeatCount() < __pAlarm->GetSnoozeRepeat() && __pAlarm->GetSnoozeRepeatCount() >= 0)
+ {
+ pBitmap = pAppResource->GetBitmapN(IDB_ALARM_ICON_SNOOZE);
+ }
+ else
+ {
+ pBitmap = pAppResource->GetBitmapN(IDB_ALARM_ICON_ON);
+ }
+
+ }
+
+ if (!__isItemChecked)
+ {
+
+ AddElement(Rectangle(bitmapX, bitmapY, bitmapWidth, bitmapHeight), IDA_FORMAT_BITMAP, *pBitmap);
+ SetElementSelectionEnabled(IDA_FORMAT_BITMAP, true);
+ }
+
+ return r;
+}
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRingingForm.cpp\r
- * @brief Used to define AlarmRingingForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FAppUiApp.h>\r
-#include <FBase.h>\r
-#include <FMedia.h>\r
-#include <FSystem.h>\r
-#include <FTelCallInfo.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkAlarmRingingForm.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Telephony;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int IDA_TABBAR_ITEM1_SNOOZE = 100;\r
-static const int IDA_TABBAR_ITEM1_STOP = 101;\r
-const RequestId REQUEST_ID_SETZORDER = 10000;\r
-\r
-AlarmRingingForm::AlarmRingingForm()\r
-: __hours(0),\r
- __minutes(0),\r
- __pAlarm(null),\r
- __pAlarmTimeLabel(null),\r
- __pAlarmTitleLabel(null),\r
- __pClockLabel(null),\r
- __pCurrentTimeLabel(null),\r
- __pPlayer(null),\r
- __pVibrator(null),\r
- __pSnoozeButton(null),\r
- __pStopButton(null),\r
- __pTimer(null)\r
-{\r
-\r
-}\r
-\r
-AlarmRingingForm::~AlarmRingingForm()\r
-{\r
-\r
- if ( __pTimer != null)\r
- {\r
- delete __pTimer ;\r
- __pTimer = null;\r
- }\r
- delete __pPlayer;\r
- delete __pVibrator;\r
-}\r
-\r
-bool\r
-AlarmRingingForm::Initialize()\r
-{\r
- Form::Construct(L"IDL_ALARM_RINGING_FORM");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-AlarmRingingForm::OnInitializing(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->AddSceneEventListener(IDSCN_ALARM_RINGING, *this);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("OnInitialized failed with %s", GetErrorMessage(r));\r
- return r;\r
- }\r
- }\r
-\r
- __pSnoozeButton = static_cast< Button* >(GetControl("IDC_BUTTON1"));\r
-\r
- if (__pSnoozeButton != null)\r
- {\r
- __pSnoozeButton->SetActionId(IDA_TABBAR_ITEM1_SNOOZE);\r
- __pSnoozeButton->AddActionEventListener(*this);\r
- }\r
-\r
- __pStopButton = static_cast< Button* >(GetControl("IDC_BUTTON2"));\r
-\r
- if (__pStopButton != null)\r
- {\r
- __pStopButton->SetActionId(IDA_TABBAR_ITEM1_STOP);\r
- __pStopButton->AddActionEventListener(*this);\r
- }\r
-\r
- __pClockLabel = static_cast< Label* >(GetControl("IDC_LABEL1"));\r
- __pCurrentTimeLabel = static_cast< Label* >(GetControl("IDC_LABEL2"));\r
- __pAlarmTimeLabel = static_cast< Label* >(GetControl("IDC_LABEL3"));\r
- __pAlarmTitleLabel = static_cast< Label* >(GetControl("IDC_LABEL4"));\r
-\r
- // Create Timer\r
- __pTimer = new (std::nothrow) Timer();\r
-\r
- if (__pTimer == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __callManager.Construct(*this);\r
-\r
- r = __pTimer->Construct(*this);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRingingForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- int hours = 0;\r
- String alarmTimeString = L"";\r
- String alarmTonePath;\r
- DateTime alarmTime;\r
- int alarmVolume;\r
- int buttonGap = 110;\r
- bool snoozeOn = false;\r
-\r
- if (pArgs != null)\r
- {\r
- __pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));\r
-\r
- if ( __pAlarm == null )\r
- {\r
- return;\r
- }\r
-\r
- snoozeOn = __pAlarm->GetSnoozeOn();\r
-\r
- if (snoozeOn)\r
- {\r
- alarmTime = __pAlarm->GetAlarmTime();\r
- hours = alarmTime.GetHour()%12;\r
-\r
- if ( hours < 10)\r
- {\r
- alarmTimeString.Append(L"0");\r
- }\r
-\r
- alarmTimeString.Append(hours%12);\r
- alarmTimeString.Append(":");\r
-\r
- if (alarmTime.GetMinute() < 10)\r
- {\r
- alarmTimeString.Append(L"0");\r
- }\r
-\r
- alarmTimeString.Append(alarmTime.GetMinute());\r
- alarmTimeString.Append(" ");\r
-\r
- if (alarmTime.GetHour() >= 12)\r
- {\r
- alarmTimeString.Append("PM");\r
- }\r
- else\r
- {\r
- alarmTimeString.Append("AM");\r
- }\r
-\r
- __pAlarmTimeLabel->SetText(alarmTimeString);\r
- }\r
- else\r
- {\r
- __pAlarmTimeLabel->SetShowState(false);\r
- __pSnoozeButton->SetShowState(false);\r
- __pAlarmTitleLabel->SetBounds(Rectangle(__pAlarmTimeLabel->GetX(),__pAlarmTimeLabel->GetY(),__pAlarmTimeLabel->GetWidth(),__pAlarmTimeLabel->GetHeight()));\r
- __pStopButton->SetBounds(Rectangle(buttonGap,__pStopButton->GetY(),GetClientAreaBounds().width - 2 * buttonGap, __pStopButton->GetHeight()));\r
- }\r
- __pAlarmTitleLabel->SetText(__pAlarm->GetAlarmName());\r
-\r
- alarmVolume = __pAlarm->GetRingVolume();\r
- alarmTonePath = __pAlarm->GetRingTone();\r
-\r
- if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY)\r
- {\r
- StartAudio(alarmTonePath,alarmVolume);\r
- }\r
- else if(__pAlarm->GetRingType() == ALARM_TYPE_VIBRATION)\r
- {\r
- StartVibrator();\r
- }\r
- else if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY_AND_VIBRATION)\r
- {\r
- StartAudio(alarmTonePath,alarmVolume);\r
- StartVibrator();\r
- }\r
- }\r
-\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Start(1);\r
- }\r
-\r
- Invalidate(true);\r
- Show();\r
-\r
- SendUserEvent(REQUEST_ID_SETZORDER, null);\r
-\r
-}\r
-\r
-void\r
-AlarmRingingForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)\r
-{\r
- if (requestId == REQUEST_ID_SETZORDER)\r
- {\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
-\r
- if(__pPlayer != null)\r
- {\r
- __pPlayer->Stop();\r
- __pPlayer->Close();\r
- }\r
- if(__pVibrator != null)\r
- {\r
- __pVibrator->Stop();\r
- }\r
-\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- result r = E_SUCCESS;\r
- SceneManager* pSceneManager = null;\r
- int count = 0;\r
- int snoozeRepeatCount = 0;\r
- AlarmData* pAlarm = null;\r
- ArrayList* alarmList = null;\r
- DateTime currentTime;\r
- int alarmCount = 0;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- switch (actionId)\r
- {\r
- case IDA_TABBAR_ITEM1_STOP:\r
- {\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- alarmList = new (std::nothrow) ArrayList();\r
-\r
- if (alarmList == null)\r
- {\r
- return;\r
- }\r
-\r
- alarmList->Construct();\r
- pAlarmPresentationModel->GetAlarm(0,count,*alarmList);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = dynamic_cast< AlarmData* >(alarmList->GetAt(count));\r
-\r
- if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())\r
- {\r
- pAlarm->SetSnoozeRepeatCount(-1);\r
-\r
- if(!pAlarm->GetRepeatFlags().Contains(L"1"))\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- break;\r
- }\r
- }\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
- if( r == E_UNDERFLOW)\r
- {\r
- UiApp::GetInstance()->Terminate();\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM1_SNOOZE:\r
- {\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- alarmList = new (std::nothrow) ArrayList();\r
- alarmList->Construct();\r
- pAlarmPresentationModel->GetAlarm(0,count,*alarmList);\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = dynamic_cast< AlarmData* >(alarmList->GetAt(count));\r
-\r
- if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())\r
- {\r
- pAlarm->SetLastRingingTime(currentTime);\r
- snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();\r
- pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);\r
-\r
- if (snoozeRepeatCount <= 0 && !pAlarm->GetRepeatFlags().Contains(L"1"))\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- break;\r
- }\r
- }\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
- if( r == E_UNDERFLOW)\r
- {\r
- UiApp::GetInstance()->Terminate();\r
- }\r
- }\r
-\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingForm::ShowClock()\r
-{\r
- result r = E_FAILURE;\r
- int seconds = 0;\r
- int hours = 0;\r
- Bitmap* pHourBitmap = null ;\r
- Bitmap* pMinuteBitmap = null ;\r
- Bitmap* pSecondBitmap = null ;\r
- Bitmap* pClockBitmap = null;\r
- Bitmap* pFinalBitmap = null;\r
- Canvas* pCanvas = null;\r
- DateTime currentTime;\r
- String currentTimeString = L"";\r
- int canvasWidth = 374;\r
- int canvasHeight = 544;\r
- String hourImagePath;\r
- String minuteImagePath;\r
- String secondImagePath;\r
-\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
-\r
- hourImagePath.Append(IDS_HOUR_IMAGE_PATH);\r
- minuteImagePath.Append(IDS_MIN_IMAGE_PATH);\r
- secondImagePath.Append(IDS_SEC_IMAGE_PATH);\r
-\r
- if (__minutes != currentTime.GetMinute() || __hours != currentTime.GetHour())\r
- {\r
- hours = currentTime.GetHour()%12;\r
-\r
- if (hours < 10)\r
- {\r
- currentTimeString.Append(L"0");\r
- }\r
-\r
- currentTimeString.Append(hours);\r
- currentTimeString.Append(":");\r
-\r
- if (currentTime.GetMinute() < 10)\r
- {\r
- currentTimeString.Append(L"0");\r
- }\r
-\r
- currentTimeString.Append(currentTime.GetMinute());\r
- currentTimeString.Append(" ");\r
-\r
- if (currentTime.GetHour() >= 12)\r
- {\r
- currentTimeString.Append("PM");\r
- }\r
- else\r
- {\r
- currentTimeString.Append("AM");\r
- }\r
-\r
- __pCurrentTimeLabel->SetText(currentTimeString);\r
- }\r
-\r
- __hours = currentTime.GetHour();\r
- __minutes = currentTime.GetMinute();\r
- seconds = currentTime.GetSecond();\r
-\r
- pClockBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_CLOCK);\r
-\r
- if ((__hours % 12) < 10)\r
- {\r
- hourImagePath.Append(L"0");\r
- }\r
-\r
- hourImagePath.Append(__hours % 12);\r
-\r
- if (__minutes < 12)\r
- {\r
- hourImagePath.Append(L"_1.png");\r
- }\r
- else if (__minutes >= 12 && __minutes < 24)\r
- {\r
- hourImagePath.Append(L"_2.png");\r
- }\r
- else if (__minutes >= 24 && __minutes < 36)\r
- {\r
- hourImagePath.Append(L"_3.png");\r
- }\r
- else if (__minutes >= 36 && __minutes < 48)\r
- {\r
- hourImagePath.Append(L"_4.png");\r
- }\r
- else if (__minutes >= 48 && __minutes < 60)\r
- {\r
- hourImagePath.Append(L"_5.png");\r
- }\r
-\r
- if (__minutes < 10)\r
- {\r
- minuteImagePath.Append(L"0");\r
- }\r
-\r
- minuteImagePath.Append(__minutes);\r
- minuteImagePath.Append(L".png");\r
-\r
- if (seconds < 10)\r
- {\r
- secondImagePath.Append(L"0");\r
- }\r
-\r
- secondImagePath.Append(seconds);\r
- secondImagePath.Append(L".png");\r
-\r
- AppLog("hourImagePath = %ls minuteImagePath = %ls secondImagePath = %ls", hourImagePath.GetPointer(), minuteImagePath.GetPointer(), secondImagePath.GetPointer());\r
- pMinuteBitmap = AppResource::GetInstance()->GetBitmapN(minuteImagePath);\r
- pHourBitmap = AppResource::GetInstance()->GetBitmapN(hourImagePath);\r
- pSecondBitmap = AppResource::GetInstance()->GetBitmapN(secondImagePath);\r
-\r
- pCanvas = new (std::nothrow) Canvas();\r
- pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- r = pCanvas->DrawBitmap(Point(0,0),*pClockBitmap);\r
- pCanvas->DrawBitmap(Point(51,94),*pHourBitmap);\r
- pCanvas->DrawBitmap(Point(51,94),*pMinuteBitmap);\r
- pCanvas->DrawBitmap(Point(51,94),*pSecondBitmap);\r
-\r
- pFinalBitmap = new (std::nothrow) Bitmap();\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvas;\r
- }\r
-\r
- __pClockLabel->SetBackgroundBitmap(*pFinalBitmap);\r
-\r
- if (pClockBitmap != null)\r
- {\r
- delete pClockBitmap;\r
- pClockBitmap = null;\r
- }\r
-\r
- if (pHourBitmap != null)\r
- {\r
- delete pHourBitmap;\r
- pHourBitmap = null;\r
- }\r
-\r
- if (pMinuteBitmap != null)\r
- {\r
- delete pMinuteBitmap;\r
- pMinuteBitmap = null;\r
- }\r
-\r
- if (pSecondBitmap != null)\r
- {\r
- delete pSecondBitmap;\r
- pSecondBitmap = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmRingingForm::OnTimerExpired(Timer& timer)\r
-{\r
- __pTimer->Start(1000); // to refresh list after 1 second ( 1000 milliseconds)\r
- PowerManager::KeepScreenOnState(true,false);\r
- ShowClock();\r
- Invalidate(true);\r
-}\r
-\r
-result\r
-AlarmRingingForm::StartAudio(String& path, int volume)\r
-{\r
- AppLog("AlarmRingingLockForm::StartAudio");\r
- result r = E_SUCCESS;\r
- Tizen::Media::Player player;\r
- __pPlayer = new(std::nothrow) Player();\r
- r = __pPlayer->Construct(*this);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of construct is %s", GetErrorMessage(r));\r
- return r;\r
- }\r
- __pPlayer->Close();\r
- r = __pPlayer->OpenFile(path, false);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of openfile is %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- __pPlayer->SetVolume(volume*100/15);\r
-\r
- r = __pPlayer->Play();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of play is %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-result\r
-AlarmRingingForm::StartVibrator(void)\r
-{\r
- result r = E_SUCCESS;\r
- __pVibrator = new(std::nothrow) Vibrator();\r
- r = __pVibrator->Construct();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of vibrator is %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pVibrator->Start(60000,__pAlarm->GetRingVolume());\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRingingForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)\r
-{\r
- AppLog("callStatus %d", callStatus);\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if(callStatus != CALL_STATUS_IDLE)\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
- }\r
- else\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
- }\r
-}\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRingingForm.cpp
+ * @brief Used to define AlarmRingingForm
+ */
+
+#include <FApp.h>
+#include <FAppUiApp.h>
+#include <FBase.h>
+#include <FMedia.h>
+#include <FSystem.h>
+#include <FTelCallInfo.h>
+#include <FUi.h>
+
+#include "ClkAlarmPresentationModel.h"
+#include "ClkAlarmRingingForm.h"
+#include "ClkCommonLib.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+using namespace Tizen::System;
+using namespace Tizen::Telephony;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int IDA_TABBAR_ITEM1_SNOOZE = 100;
+static const int IDA_TABBAR_ITEM1_STOP = 101;
+const RequestId REQUEST_ID_SETZORDER = 10000;
+
+AlarmRingingForm::AlarmRingingForm()
+: __hours(0),
+ __minutes(0),
+ __pAlarm(null),
+ __pAlarmTimeLabel(null),
+ __pAlarmTitleLabel(null),
+ __pClockLabel(null),
+ __pCurrentTimeLabel(null),
+ __pPlayer(null),
+ __pVibrator(null),
+ __pSnoozeButton(null),
+ __pStopButton(null),
+ __pTimer(null)
+{
+
+}
+
+AlarmRingingForm::~AlarmRingingForm()
+{
+
+ if ( __pTimer != null)
+ {
+ delete __pTimer ;
+ __pTimer = null;
+ }
+ delete __pPlayer;
+ delete __pVibrator;
+}
+
+bool
+AlarmRingingForm::Initialize()
+{
+ Form::Construct(L"IDL_ALARM_RINGING_FORM");
+
+ return true;
+}
+
+result
+AlarmRingingForm::OnInitializing(void)
+{
+ result r = E_FAILURE;
+
+ SettingInfo::GetValue(L"http://tizen.org/setting/locale.time.format.24hour", is24HourFormat);
+
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->AddSceneEventListener(IDSCN_ALARM_RINGING, *this);
+
+ if (IsFailed(r))
+ {
+ AppLogException("OnInitialized failed with %s", GetErrorMessage(r));
+ return r;
+ }
+ }
+
+ __pSnoozeButton = static_cast< Button* >(GetControl("IDC_BUTTON1"));
+
+ if (__pSnoozeButton != null)
+ {
+ __pSnoozeButton->SetActionId(IDA_TABBAR_ITEM1_SNOOZE);
+ __pSnoozeButton->AddActionEventListener(*this);
+ }
+
+ __pStopButton = static_cast< Button* >(GetControl("IDC_BUTTON2"));
+
+ if (__pStopButton != null)
+ {
+ __pStopButton->SetActionId(IDA_TABBAR_ITEM1_STOP);
+ __pStopButton->AddActionEventListener(*this);
+ }
+
+ __pClockLabel = static_cast< Label* >(GetControl("IDC_LABEL1"));
+ __pCurrentTimeLabel = static_cast< Label* >(GetControl("IDC_LABEL2"));
+ __pAlarmTimeLabel = static_cast< Label* >(GetControl("IDC_LABEL3"));
+ __pAlarmTitleLabel = static_cast< Label* >(GetControl("IDC_LABEL4"));
+
+ // Create Timer
+ __pTimer = new (std::nothrow) Timer();
+
+ if (__pTimer == null)
+ {
+ return E_FAILURE;
+ }
+
+ __callManager.Construct(*this);
+
+ r = __pTimer->Construct(*this);
+
+ return r;
+}
+
+void
+AlarmRingingForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ int hours = 0;
+ String alarmTimeString = L"";
+ String alarmTonePath;
+ DateTime alarmTime;
+ int alarmVolume;
+ int buttonGap = 110;
+ bool snoozeOn = false;
+
+ if (pArgs != null)
+ {
+ __pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));
+
+ if ( __pAlarm == null )
+ {
+ return;
+ }
+
+ snoozeOn = __pAlarm->GetSnoozeOn();
+
+ if (snoozeOn)
+ {
+ alarmTime = __pAlarm->GetAlarmTime();
+ hours = alarmTime.GetHour()%12;
+
+ if ( hours < 10)
+ {
+ alarmTimeString.Append(L"0");
+ }
+
+ alarmTimeString.Append(hours%12);
+ alarmTimeString.Append(":");
+
+ if (alarmTime.GetMinute() < 10)
+ {
+ alarmTimeString.Append(L"0");
+ }
+
+ alarmTimeString.Append(alarmTime.GetMinute());
+ alarmTimeString.Append(" ");
+
+ if (is24HourFormat == false)
+ {
+ if (alarmTime.GetHour() >= 12)
+ {
+ alarmTimeString.Append("PM");
+ }
+ else
+ {
+ alarmTimeString.Append("AM");
+ }
+ }
+
+
+ __pAlarmTimeLabel->SetText(alarmTimeString);
+ }
+ else
+ {
+ __pAlarmTimeLabel->SetShowState(false);
+ __pSnoozeButton->SetShowState(false);
+ __pAlarmTitleLabel->SetBounds(Rectangle(__pAlarmTimeLabel->GetX(),__pAlarmTimeLabel->GetY(),__pAlarmTimeLabel->GetWidth(),__pAlarmTimeLabel->GetHeight()));
+ __pStopButton->SetBounds(Rectangle(buttonGap,__pStopButton->GetY(),GetClientAreaBounds().width - 2 * buttonGap, __pStopButton->GetHeight()));
+ }
+ __pAlarmTitleLabel->SetText(__pAlarm->GetAlarmName());
+
+ alarmVolume = __pAlarm->GetRingVolume();
+ alarmTonePath = __pAlarm->GetRingTone();
+
+ if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY)
+ {
+ StartAudio(alarmTonePath,alarmVolume);
+ }
+ else if(__pAlarm->GetRingType() == ALARM_TYPE_VIBRATION)
+ {
+ StartVibrator();
+ }
+ else if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY_AND_VIBRATION)
+ {
+ StartAudio(alarmTonePath,alarmVolume);
+ StartVibrator();
+ }
+ }
+
+ if(__pTimer != null)
+ {
+ __pTimer->Start(1);
+ }
+
+ Invalidate(true);
+ Show();
+
+ SendUserEvent(REQUEST_ID_SETZORDER, null);
+
+}
+
+void
+AlarmRingingForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)
+{
+ if (requestId == REQUEST_ID_SETZORDER)
+ {
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+ }
+}
+
+void
+AlarmRingingForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+
+ if(__pPlayer != null)
+ {
+ __pPlayer->Stop();
+ __pPlayer->Close();
+ }
+ if(__pVibrator != null)
+ {
+ __pVibrator->Stop();
+ }
+
+ if(__pTimer != null)
+ {
+ __pTimer->Cancel();
+ }
+}
+
+void
+AlarmRingingForm::OnActionPerformed(const Control& source, int actionId)
+{
+ result r = E_SUCCESS;
+ SceneManager* pSceneManager = null;
+ int count = 0;
+ int snoozeRepeatCount = 0;
+ AlarmData* pAlarm = null;
+ ArrayList* alarmList = null;
+ DateTime currentTime;
+ int alarmCount = 0;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ switch (actionId)
+ {
+ case IDA_TABBAR_ITEM1_STOP:
+ {
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+
+ if (alarmList == null)
+ {
+ return;
+ }
+
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0,count,*alarmList);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast< AlarmData* >(alarmList->GetAt(count));
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetSnoozeRepeatCount(-1);
+
+ if(!pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ break;
+ }
+ }
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+ if( r == E_UNDERFLOW)
+ {
+ UiApp::GetInstance()->Terminate();
+ }
+ }
+ }
+ break;
+
+ case IDA_TABBAR_ITEM1_SNOOZE:
+ {
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0,count,*alarmList);
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast< AlarmData* >(alarmList->GetAt(count));
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetLastRingingTime(currentTime);
+ snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();
+ pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);
+
+ if (snoozeRepeatCount <= 0 && !pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ break;
+ }
+ }
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+ if( r == E_UNDERFLOW)
+ {
+ UiApp::GetInstance()->Terminate();
+ }
+ }
+
+ }
+ break;
+
+ default:
+ break;
+ }
+}
+
+void
+AlarmRingingForm::ShowClock()
+{
+ result r = E_FAILURE;
+ int seconds = 0;
+ int hours = 0;
+ Bitmap* pHourBitmap = null ;
+ Bitmap* pMinuteBitmap = null ;
+ Bitmap* pSecondBitmap = null ;
+ Bitmap* pClockBitmap = null;
+ Bitmap* pFinalBitmap = null;
+ Canvas* pCanvas = null;
+ DateTime currentTime;
+ String currentTimeString = L"";
+ int canvasWidth = 374;
+ int canvasHeight = 544;
+ String hourImagePath;
+ String minuteImagePath;
+ String secondImagePath;
+
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+
+ hourImagePath.Append(IDS_HOUR_IMAGE_PATH);
+ minuteImagePath.Append(IDS_MIN_IMAGE_PATH);
+ secondImagePath.Append(IDS_SEC_IMAGE_PATH);
+
+ if (__minutes != currentTime.GetMinute() || __hours != currentTime.GetHour())
+ {
+ hours = currentTime.GetHour()%12;
+
+ if (hours < 10)
+ {
+ currentTimeString.Append(L"0");
+ }
+
+ currentTimeString.Append(hours);
+ currentTimeString.Append(":");
+
+ if (currentTime.GetMinute() < 10)
+ {
+ currentTimeString.Append(L"0");
+ }
+
+ currentTimeString.Append(currentTime.GetMinute());
+ currentTimeString.Append(" ");
+
+ if (is24HourFormat == false)
+ {
+ if (currentTime.GetHour() >= 12)
+ {
+ currentTimeString.Append("PM");
+ }
+ else
+ {
+ currentTimeString.Append("AM");
+ }
+ }
+
+ __pCurrentTimeLabel->SetText(currentTimeString);
+ }
+
+ __hours = currentTime.GetHour();
+ __minutes = currentTime.GetMinute();
+ seconds = currentTime.GetSecond();
+
+ pClockBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_CLOCK);
+
+ if ((__hours % 12) < 10)
+ {
+ hourImagePath.Append(L"0");
+ }
+
+ hourImagePath.Append(__hours % 12);
+
+ if (__minutes < 12)
+ {
+ hourImagePath.Append(L"_1.png");
+ }
+ else if (__minutes >= 12 && __minutes < 24)
+ {
+ hourImagePath.Append(L"_2.png");
+ }
+ else if (__minutes >= 24 && __minutes < 36)
+ {
+ hourImagePath.Append(L"_3.png");
+ }
+ else if (__minutes >= 36 && __minutes < 48)
+ {
+ hourImagePath.Append(L"_4.png");
+ }
+ else if (__minutes >= 48 && __minutes < 60)
+ {
+ hourImagePath.Append(L"_5.png");
+ }
+
+ if (__minutes < 10)
+ {
+ minuteImagePath.Append(L"0");
+ }
+
+ minuteImagePath.Append(__minutes);
+ minuteImagePath.Append(L".png");
+
+ if (seconds < 10)
+ {
+ secondImagePath.Append(L"0");
+ }
+
+ secondImagePath.Append(seconds);
+ secondImagePath.Append(L".png");
+
+ AppLog("hourImagePath = %ls minuteImagePath = %ls secondImagePath = %ls", hourImagePath.GetPointer(), minuteImagePath.GetPointer(), secondImagePath.GetPointer());
+ pMinuteBitmap = AppResource::GetInstance()->GetBitmapN(minuteImagePath);
+ pHourBitmap = AppResource::GetInstance()->GetBitmapN(hourImagePath);
+ pSecondBitmap = AppResource::GetInstance()->GetBitmapN(secondImagePath);
+
+ pCanvas = new (std::nothrow) Canvas();
+ pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ r = pCanvas->DrawBitmap(Point(0,0),*pClockBitmap);
+ pCanvas->DrawBitmap(Point(51,94),*pHourBitmap);
+ pCanvas->DrawBitmap(Point(51,94),*pMinuteBitmap);
+ pCanvas->DrawBitmap(Point(51,94),*pSecondBitmap);
+
+ pFinalBitmap = new (std::nothrow) Bitmap();
+
+ if (pFinalBitmap != null)
+ {
+ pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvas;
+ }
+
+ __pClockLabel->SetBackgroundBitmap(*pFinalBitmap);
+
+ if (pClockBitmap != null)
+ {
+ delete pClockBitmap;
+ pClockBitmap = null;
+ }
+
+ if (pHourBitmap != null)
+ {
+ delete pHourBitmap;
+ pHourBitmap = null;
+ }
+
+ if (pMinuteBitmap != null)
+ {
+ delete pMinuteBitmap;
+ pMinuteBitmap = null;
+ }
+
+ if (pSecondBitmap != null)
+ {
+ delete pSecondBitmap;
+ pSecondBitmap = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+}
+
+void
+AlarmRingingForm::OnTimerExpired(Timer& timer)
+{
+ DateTime currentTime, alarmTime;
+ int seconds = 0;
+ int minutes = 0;
+
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmTime = __pAlarm->GetAlarmTime();
+
+ seconds = currentTime.GetSecond() - alarmTime.GetSecond();
+ minutes = currentTime.GetMinute() - alarmTime.GetMinute();
+ if (seconds < 0)
+ {
+ seconds = seconds + 60;
+ }
+
+ //AppLog("currentTime = %S __alarmExpireTime = %S", currentTime.ToString().GetPointer(), __alarmExpireTime.ToString().GetPointer());
+ //int cmp = DateTime::Compare(currentTime, __alarmExpireTime);
+
+ if (seconds == 0 && minutes == 1 /*currentTime.CompareTo(__alarmExpireTime) == 0*/)
+ {
+ int alarmCount = 0;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ SceneManager* pSceneManager = null;
+ int count = 0;
+ int snoozeRepeatCount = 0;
+ AlarmData* pAlarm = null;
+ ArrayList* alarmList = null;
+ result r = E_FAILURE;
+
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0,count,*alarmList);
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast< AlarmData* >(alarmList->GetAt(count));
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetLastRingingTime(currentTime);
+ snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();
+ pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);
+
+ if (snoozeRepeatCount <= 0 && !pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ break;
+ }
+ }
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+ if( r == E_UNDERFLOW)
+ {
+ UiApp::GetInstance()->Terminate();
+ }
+ }
+ }
+ else
+ {
+ __pTimer->Start(1000); // to refresh list after 1 second ( 1000 milliseconds)
+ PowerManager::KeepScreenOnState(true,false);
+ ShowClock();
+ Invalidate(true);
+ }
+
+}
+
+result
+AlarmRingingForm::StartAudio(String& path, int volume)
+{
+ AppLog("AlarmRingingLockForm::StartAudio");
+ result r = E_SUCCESS;
+ Tizen::Media::Player player;
+ __pPlayer = new(std::nothrow) Player();
+ r = __pPlayer->Construct(*this);
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of construct is %s", GetErrorMessage(r));
+ return r;
+ }
+ __pPlayer->Close();
+ r = __pPlayer->OpenFile(path, false);
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of openfile is %s", GetErrorMessage(r));
+ return r;
+ }
+
+ __pPlayer->SetVolume(volume*100/15);
+
+ r = __pPlayer->Play();
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of play is %s", GetErrorMessage(r));
+ return r;
+ }
+
+ return E_SUCCESS;
+}
+
+result
+AlarmRingingForm::StartVibrator(void)
+{
+ result r = E_SUCCESS;
+ __pVibrator = new(std::nothrow) Vibrator();
+ r = __pVibrator->Construct();
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of vibrator is %s", GetErrorMessage(r));
+ }
+
+ r = __pVibrator->Start(60000,__pAlarm->GetRingVolume());
+
+ return r;
+}
+
+void
+AlarmRingingForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)
+{
+ AppLog("callStatus %d", callStatus);
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if(callStatus != CALL_STATUS_IDLE)
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+ }
+ else
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+ }
+}
+
+void
+AlarmRingingForm::OnSettingChanged(Tizen::Base::String& key)
+{
+ if ( key == L"http://tizen.org/setting/locale.time.format.24hour")
+ {
+ SettingInfo::GetValue(key, is24HourFormat);
+ AppLog("the format value is %d", is24HourFormat);
+ }
+
+}
+
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRingingLockForm.cpp\r
- * @brief Used to define AlarmRingingLockForm\r
- */\r
-\r
-\r
-#include <FApp.h>\r
-#include <FAppUiApp.h>\r
-#include <FBase.h>\r
-#include <FMedia.h>\r
-#include <FSystem.h>\r
-#include <FTelCallInfo.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkAlarmRingingLockForm.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkSceneRegister.h"\r
-\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-using namespace Tizen::Telephony;\r
-\r
-\r
-static const int IDA_TABBAR_ITEM1_SNOOZE = 100;\r
-static const int IDA_TABBAR_ITEM1_STOP = 101;\r
-\r
-AlarmRingingLockForm::AlarmRingingLockForm()\r
- : __hours(0)\r
- , __minutes(0)\r
- , __pAlarm(null)\r
- , __pAlarmRingPanel(null)\r
- , __pAlarmRingingSnoozeOffPanel(null)\r
- , __pAlarmTimeLabel(null)\r
- , __pAlarmTitleLabel(null)\r
- , __pClockLabel(null)\r
- , __pCurrentTimeLabel(null)\r
-, __pPlayer(null)\r
-, __pVibrator(null)\r
- , __pTimer(null)\r
-{\r
-\r
-}\r
-\r
-AlarmRingingLockForm::~AlarmRingingLockForm()\r
-{\r
-\r
- if (__pTimer != null)\r
- {\r
- delete __pTimer;\r
- __pTimer = null;\r
- }\r
- delete __pPlayer;\r
- delete __pVibrator;\r
-}\r
-\r
-bool\r
-AlarmRingingLockForm::Initialize()\r
-{\r
- Form::Construct(L"IDL_ALARM_RINGING_LOCK_FORM");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-AlarmRingingLockForm::OnInitializing(void)\r
-{\r
- result r = E_FAILURE;\r
- Rectangle snoozeRect;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->AddSceneEventListener(IDSCN_ALARM_RINGING_LOCK, *this);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("OnInitialized failed with %s", GetErrorMessage(r));\r
- return r;\r
- }\r
- }\r
-\r
- __pClockLabel = static_cast<Label*>(GetControl("IDC_LABEL1"));\r
- __pCurrentTimeLabel = static_cast<Label*>(GetControl("IDC_LABEL2"));\r
- __pAlarmTimeLabel = static_cast<Label*>(GetControl("IDC_LABEL3"));\r
- __pAlarmTitleLabel = static_cast<Label*>(GetControl("IDC_LABEL4"));\r
- snoozeRect = __pAlarmTitleLabel->GetBounds();\r
- snoozeRect.x = 0;\r
- snoozeRect.y = GetClientAreaBounds().height - (H_RINGER_LOCK_PANEL + Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET); //snoozeRect.height + Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET;\r
- snoozeRect.width = GetWidth();\r
- snoozeRect.height = H_RINGER_LOCK_PANEL;\r
-\r
- __pAlarmRingPanel = new (std::nothrow) AlarmRingingLockPanel();\r
- __pAlarmRingPanel->Construct(snoozeRect);\r
- __pAlarmRingPanel->SetAlarmRinignigCommandListener(this);\r
- AddControl(*__pAlarmRingPanel);\r
- __pAlarmRingPanel->SetBounds(snoozeRect);\r
-\r
- __pAlarmRingingSnoozeOffPanel = new (std::nothrow) AlarmRingingSnoozeOffPanel();\r
- __pAlarmRingingSnoozeOffPanel->Construct(snoozeRect);\r
- __pAlarmRingingSnoozeOffPanel->SetAlarmRinignigCommandListener(this);\r
- AddControl(*__pAlarmRingingSnoozeOffPanel);\r
- __pAlarmRingingSnoozeOffPanel->SetBounds(snoozeRect);\r
- // Create Timer\r
- __pTimer = new (std::nothrow) Timer();\r
-\r
- if (__pTimer == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __callManager.Construct(*this);\r
-\r
- r = __pTimer->Construct(*this);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- int hours = 0;\r
- String alarmTimeString;\r
- String alarmTonePath;\r
- DateTime alarmTime;\r
- int alarmVolume;\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
- bool snoozeOn = false;\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
-\r
- //PowerManager::TurnScreenOn();\r
- //AppManager* pAppMgr = AppManager::GetInstance();\r
- //pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);\r
- //PowerManager::KeepScreenOnState(true,false);\r
-\r
- if (pArgs != null)\r
- {\r
- __pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));\r
-\r
- if( __pAlarm == null)\r
- {\r
- return;\r
- }\r
-\r
- snoozeOn = __pAlarm->GetSnoozeOn();\r
-\r
- if (snoozeOn)\r
- {\r
- alarmTime = __pAlarm->GetAlarmTime();\r
- hours = alarmTime.GetHour() % 12;\r
-\r
- if (hours < 10 || hours > 11)\r
- {\r
- alarmTimeString.Append(L"0");\r
- }\r
-\r
- alarmTimeString.Append(hours % 12);\r
- alarmTimeString.Append(":");\r
-\r
- if (alarmTime.GetMinute() < 10)\r
- {\r
- alarmTimeString.Append(L"0");\r
- }\r
-\r
- alarmTimeString.Append(alarmTime.GetMinute());\r
- alarmTimeString.Append(" ");\r
-\r
- if (alarmTime.GetHour() >= 12)\r
- {\r
- alarmTimeString.Append("PM");\r
- }\r
- else\r
- {\r
- alarmTimeString.Append("AM");\r
- }\r
-\r
- __pAlarmTimeLabel->SetText(alarmTimeString);\r
-\r
- if (__pAlarmRingingSnoozeOffPanel != null)\r
- {\r
- __pAlarmRingingSnoozeOffPanel->SetShowState(false);\r
- }\r
-\r
- if (__pAlarmRingPanel != null)\r
- {\r
- __pAlarmRingPanel->SetShowState(true);\r
- }\r
- }\r
- else\r
- {\r
- __pAlarmTimeLabel->SetShowState(false);\r
- __pAlarmTitleLabel->SetBounds(Rectangle(__pAlarmTimeLabel->GetX(), __pAlarmTimeLabel->GetY(), __pAlarmTimeLabel->GetWidth(), __pAlarmTimeLabel->GetHeight()));\r
- __pAlarmRingingSnoozeOffPanel->SetShowState(true);\r
- __pAlarmRingPanel->SetShowState(false);\r
- }\r
-\r
- __pAlarmTitleLabel->SetText(__pAlarm->GetAlarmName());\r
-\r
-\r
- alarmVolume = __pAlarm->GetRingVolume();\r
- alarmTonePath = __pAlarm->GetRingTone();\r
-\r
- if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY)\r
- {\r
- StartAudio(alarmTonePath,alarmVolume);\r
- }\r
- else if(__pAlarm->GetRingType() == ALARM_TYPE_VIBRATION)\r
- {\r
- StartVibrator();\r
- }\r
- else if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY_AND_VIBRATION)\r
- {\r
- StartAudio(alarmTonePath,alarmVolume);\r
- StartVibrator();\r
- }\r
-\r
- }\r
-\r
- __pTimer->Start(1);\r
- Invalidate(true);\r
-\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
-\r
- if(__pPlayer != null)\r
- {\r
- __pPlayer->Stop();\r
- __pPlayer->Close();\r
- }\r
- if(__pVibrator != null)\r
- {\r
- __pVibrator->Stop();\r
- }\r
-\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- result r = E_SUCCESS;\r
- SceneManager* pSceneManager = null;\r
- int count = 0;\r
- int alarmCount = 0;\r
- int snoozeRepeatCount = 0;\r
- AlarmData* pAlarm = null;\r
- ArrayList* alarmList = null;\r
- DateTime currentTime;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- switch (actionId)\r
- {\r
- case IDA_TABBAR_ITEM1_STOP:\r
- {\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- alarmList = new (std::nothrow) ArrayList();\r
-\r
- if (alarmList == null)\r
- {\r
- return;\r
- }\r
-\r
- alarmList->Construct();\r
- pAlarmPresentationModel->GetAlarm(0, count, *alarmList);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));\r
-\r
- if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())\r
- {\r
- pAlarm->SetSnoozeRepeatCount(-1);\r
-\r
- if(!pAlarm->GetRepeatFlags().Contains(L"1"))\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- }\r
- }\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
- if( r == E_UNDERFLOW)\r
- {\r
- UiApp::GetInstance()->Terminate();\r
- }\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM1_SNOOZE:\r
- {\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- alarmList = new (std::nothrow) ArrayList();\r
- alarmList->Construct();\r
- pAlarmPresentationModel->GetAlarm(0, count, *alarmList);\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));\r
-\r
- if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())\r
- {\r
- pAlarm->SetLastRingingTime(currentTime);\r
- snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();\r
- pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);\r
-\r
- if (snoozeRepeatCount <= 0 && !pAlarm->GetRepeatFlags().Contains(L"1"))\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- }\r
- }\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
- if( r == E_UNDERFLOW)\r
- {\r
- UiApp::GetInstance()->Terminate();\r
- }\r
- }\r
-\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::ShowClock()\r
-{\r
- int seconds = 0;\r
- int hours = 0;\r
- Bitmap* pHourBitmap = null;\r
- Bitmap* pMinuteBitmap = null;\r
- Bitmap* pSecondBitmap = null;\r
- Bitmap* pClockBitmap = null;\r
- Bitmap* pFinalBitmap = null;\r
- Canvas* pCanvas = null;\r
- DateTime currentTime;\r
- String currentTimeString = L"";\r
- String hourImagePath;\r
- String minuteImagePath;\r
- String secondImagePath;\r
-\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
-\r
- hourImagePath.Append(IDS_HOUR_IMAGE_PATH);\r
- minuteImagePath.Append(IDS_MIN_IMAGE_PATH);\r
- secondImagePath.Append(IDS_SEC_IMAGE_PATH);\r
-\r
- if (__minutes != currentTime.GetMinute() || __hours != currentTime.GetHour())\r
- {\r
- hours = currentTime.GetHour() % 12;\r
-\r
- if (hours < 10)\r
- {\r
- currentTimeString.Append(L"0");\r
- }\r
-\r
- currentTimeString.Append(hours);\r
- currentTimeString.Append(":");\r
-\r
- if (currentTime.GetMinute() < 10)\r
- {\r
- currentTimeString.Append(L"0");\r
- }\r
-\r
- currentTimeString.Append(currentTime.GetMinute());\r
- currentTimeString.Append(" ");\r
-\r
- if (currentTime.GetHour() >= 12)\r
- {\r
- currentTimeString.Append("PM");\r
- }\r
- else\r
- {\r
- currentTimeString.Append("AM");\r
- }\r
-\r
- __pCurrentTimeLabel->SetText(currentTimeString);\r
- }\r
-\r
- __hours = currentTime.GetHour();\r
- __minutes = currentTime.GetMinute();\r
- seconds = currentTime.GetSecond();\r
-\r
- pClockBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_CLOCK);\r
-\r
- if ((__hours % 12) < 10)\r
- {\r
- hourImagePath.Append(L"0");\r
- }\r
-\r
- hourImagePath.Append(__hours % 12);\r
-\r
- if (__minutes < 12)\r
- {\r
- hourImagePath.Append(L"_1.png");\r
- }\r
- else if (__minutes >= 12 && __minutes < 24)\r
- {\r
- hourImagePath.Append(L"_2.png");\r
- }\r
- else if (__minutes >= 24 && __minutes < 36)\r
- {\r
- hourImagePath.Append(L"_3.png");\r
- }\r
- else if (__minutes >= 36 && __minutes < 48)\r
- {\r
- hourImagePath.Append(L"_4.png");\r
- }\r
- else if (__minutes >= 48 && __minutes < 60)\r
- {\r
- hourImagePath.Append(L"_5.png");\r
- }\r
-\r
- if (__minutes < 10)\r
- {\r
- minuteImagePath.Append(L"0");\r
- }\r
-\r
- minuteImagePath.Append(__minutes);\r
- minuteImagePath.Append(L".png");\r
-\r
- if (seconds < 10)\r
- {\r
- secondImagePath.Append(L"0");\r
- }\r
-\r
- secondImagePath.Append(seconds);\r
- secondImagePath.Append(L".png");\r
-\r
- pMinuteBitmap = AppResource::GetInstance()->GetBitmapN(minuteImagePath);\r
- pHourBitmap = AppResource::GetInstance()->GetBitmapN(hourImagePath);\r
- pSecondBitmap = AppResource::GetInstance()->GetBitmapN(secondImagePath);\r
-\r
- pCanvas = new (std::nothrow) Canvas();\r
- pCanvas->Construct(Rectangle(0, 0, 374, 544));\r
- pCanvas->DrawBitmap(Point(0, 0), *pClockBitmap);\r
- pCanvas->DrawBitmap(Point(51, 94), *pHourBitmap);\r
- pCanvas->DrawBitmap(Point(51, 94), *pMinuteBitmap);\r
- pCanvas->DrawBitmap(Point(51, 94), *pSecondBitmap);\r
-\r
- pFinalBitmap = new (std::nothrow) Bitmap();\r
-\r
- if (pFinalBitmap != NULL)\r
- {\r
- pFinalBitmap->Construct(*pCanvas, Rectangle(0, 0, 374, 544));\r
- delete pCanvas;\r
- }\r
-\r
- __pClockLabel->SetBackgroundBitmap(*pFinalBitmap);\r
-\r
- if (pClockBitmap != null)\r
- {\r
- delete pClockBitmap;\r
- pClockBitmap = null;\r
- }\r
-\r
- if (pHourBitmap != null)\r
- {\r
- delete pHourBitmap;\r
- pHourBitmap = null;\r
- }\r
-\r
- if (pMinuteBitmap != null)\r
- {\r
- delete pMinuteBitmap;\r
- pMinuteBitmap = null;\r
- }\r
-\r
- if (pSecondBitmap != null)\r
- {\r
- delete pSecondBitmap;\r
- pSecondBitmap = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::OnTimerExpired(Timer& timer)\r
-{\r
- __pTimer->Start(1000); // to refresh list after 1 second ( 1000 milliseconds)\r
- PowerManager::KeepScreenOnState(true,false);\r
- ShowClock();\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::OnAlarmRingingLockEvent(AlarmRingingCommandId commandId)\r
-{\r
- SceneManager* pSceneManager = null;\r
- int count = 0;\r
- int snoozeRepeatCount = 0;\r
- AlarmData* pAlarm = null;\r
- ArrayList* alarmList = null;\r
- DateTime currentTime;\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- int alarmCount = 0;\r
-\r
- switch (commandId)\r
- {\r
- case ALARM_RINGING_PANEL_STOP:\r
- {\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- alarmList = new (std::nothrow) ArrayList();\r
-\r
- if (alarmList == null)\r
- {\r
- return;\r
- }\r
-\r
- alarmList->Construct();\r
- pAlarmPresentationModel->GetAlarm(0, count, *alarmList);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));\r
-\r
-\r
- if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())\r
- {\r
- pAlarm->SetSnoozeRepeatCount(-1);\r
-\r
- if(!pAlarm->GetRepeatFlags().Contains(L"1"))\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- break;\r
- }\r
- }\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
-\r
- }\r
- break;\r
-\r
- case ALARM_RINGING_PANEL_SNOOZE:\r
- {\r
- pAlarmPresentationModel->GetAlarmCount(count);\r
- alarmList = new (std::nothrow) ArrayList();\r
- alarmList->Construct();\r
- pAlarmPresentationModel->GetAlarm(0, count, *alarmList);\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- alarmCount = alarmList->GetCount();\r
-\r
- for (count = 0; count < alarmCount; count++)\r
- {\r
- pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));\r
-\r
- if (pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())\r
- {\r
- pAlarm->SetLastRingingTime(currentTime);\r
- snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();\r
- pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);\r
-\r
- if (!snoozeRepeatCount <= 0 && pAlarm->GetRepeatFlags().Contains(L"1"))\r
- {\r
- pAlarm->SetAlarmOnState(0);\r
- }\r
-\r
- pAlarmPresentationModel->SaveAlarm(*pAlarm);\r
- break;\r
- }\r
- }\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
-\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-\r
-}\r
-\r
-result\r
-AlarmRingingLockForm::StartAudio(String& path, int volume)\r
-{\r
- AppLog("AlarmRingingLockForm::StartAudio");\r
- result r = E_SUCCESS;\r
- Tizen::Media::Player player;\r
- __pPlayer = new(std::nothrow) Player();\r
- r = __pPlayer->Construct(*this);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of construct is %s", GetErrorMessage(r));\r
- return r;\r
- }\r
- __pPlayer->Close();\r
- r = __pPlayer->OpenFile(path, false);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of openfile is %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- __pPlayer->SetVolume(volume*100/15);\r
-\r
- r = __pPlayer->Play();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of play is %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-result\r
-AlarmRingingLockForm::StartVibrator(void)\r
-{\r
- result r = E_SUCCESS;\r
- __pVibrator = new(std::nothrow) Vibrator();\r
- r = __pVibrator->Construct();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("the result of vibrator is %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pVibrator->Start(60000,__pAlarm->GetRingVolume());\r
-\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRingingLockForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)\r
-{\r
- AppLog("callStatus %d", callStatus);\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if(callStatus != CALL_STATUS_IDLE)\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
- }\r
- else\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
- }\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRingingLockForm.cpp
+ * @brief Used to define AlarmRingingLockForm
+ */
+
+
+#include <FApp.h>
+#include <FAppUiApp.h>
+#include <FBase.h>
+#include <FMedia.h>
+#include <FSystem.h>
+#include <FTelCallInfo.h>
+#include <FUi.h>
+
+#include "ClkAlarmPresentationModel.h"
+#include "ClkAlarmRingingLockForm.h"
+#include "ClkCommonLib.h"
+#include "ClkSceneRegister.h"
+
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+using namespace Tizen::Telephony;
+
+
+static const int IDA_TABBAR_ITEM1_SNOOZE = 100;
+static const int IDA_TABBAR_ITEM1_STOP = 101;
+
+AlarmRingingLockForm::AlarmRingingLockForm()
+ : __hours(0)
+ , __minutes(0)
+ , __pAlarm(null)
+ , __pAlarmRingPanel(null)
+ , __pAlarmRingingSnoozeOffPanel(null)
+ , __pAlarmTimeLabel(null)
+ , __pAlarmTitleLabel(null)
+ , __pClockLabel(null)
+ , __pCurrentTimeLabel(null)
+, __pPlayer(null)
+, __pVibrator(null)
+ , __pTimer(null)
+{
+
+}
+
+AlarmRingingLockForm::~AlarmRingingLockForm()
+{
+
+ if (__pTimer != null)
+ {
+ delete __pTimer;
+ __pTimer = null;
+ }
+ delete __pPlayer;
+ delete __pVibrator;
+}
+
+bool
+AlarmRingingLockForm::Initialize()
+{
+ Form::Construct(L"IDL_ALARM_RINGING_LOCK_FORM");
+
+ return true;
+}
+
+result
+AlarmRingingLockForm::OnInitializing(void)
+{
+ result r = E_FAILURE;
+ Rectangle snoozeRect;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->AddSceneEventListener(IDSCN_ALARM_RINGING_LOCK, *this);
+
+ if (IsFailed(r))
+ {
+ AppLogException("OnInitialized failed with %s", GetErrorMessage(r));
+ return r;
+ }
+ }
+
+ __pClockLabel = static_cast<Label*>(GetControl("IDC_LABEL1"));
+ __pCurrentTimeLabel = static_cast<Label*>(GetControl("IDC_LABEL2"));
+ __pAlarmTimeLabel = static_cast<Label*>(GetControl("IDC_LABEL3"));
+ __pAlarmTitleLabel = static_cast<Label*>(GetControl("IDC_LABEL4"));
+ snoozeRect = __pAlarmTitleLabel->GetBounds();
+ snoozeRect.x = 0;
+ snoozeRect.y = GetClientAreaBounds().height - (H_RINGER_LOCK_PANEL + Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET); //snoozeRect.height + Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET;
+ snoozeRect.width = GetWidth();
+ snoozeRect.height = H_RINGER_LOCK_PANEL;
+
+ __pAlarmRingPanel = new (std::nothrow) AlarmRingingLockPanel();
+ __pAlarmRingPanel->Construct(snoozeRect);
+ __pAlarmRingPanel->SetAlarmRinignigCommandListener(this);
+ AddControl(*__pAlarmRingPanel);
+ __pAlarmRingPanel->SetBounds(snoozeRect);
+
+ __pAlarmRingingSnoozeOffPanel = new (std::nothrow) AlarmRingingSnoozeOffPanel();
+ __pAlarmRingingSnoozeOffPanel->Construct(snoozeRect);
+ __pAlarmRingingSnoozeOffPanel->SetAlarmRinignigCommandListener(this);
+ AddControl(*__pAlarmRingingSnoozeOffPanel);
+ __pAlarmRingingSnoozeOffPanel->SetBounds(snoozeRect);
+ // Create Timer
+ __pTimer = new (std::nothrow) Timer();
+
+ if (__pTimer == null)
+ {
+ return E_FAILURE;
+ }
+
+ __callManager.Construct(*this);
+
+ r = __pTimer->Construct(*this);
+
+ return r;
+}
+
+void
+AlarmRingingLockForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ int hours = 0;
+ String alarmTimeString;
+ String alarmTonePath;
+ DateTime alarmTime;
+ int alarmVolume;
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+ bool snoozeOn = false;
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+
+ //PowerManager::TurnScreenOn();
+ //AppManager* pAppMgr = AppManager::GetInstance();
+ //pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);
+ //PowerManager::KeepScreenOnState(true,false);
+
+ if (pArgs != null)
+ {
+ __pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));
+
+ if( __pAlarm == null)
+ {
+ return;
+ }
+
+ snoozeOn = __pAlarm->GetSnoozeOn();
+
+ if (snoozeOn)
+ {
+ alarmTime = __pAlarm->GetAlarmTime();
+ hours = alarmTime.GetHour() % 12;
+
+ if (hours < 10 || hours > 11)
+ {
+ alarmTimeString.Append(L"0");
+ }
+
+ alarmTimeString.Append(hours % 12);
+ alarmTimeString.Append(":");
+
+ if (alarmTime.GetMinute() < 10)
+ {
+ alarmTimeString.Append(L"0");
+ }
+
+ alarmTimeString.Append(alarmTime.GetMinute());
+ alarmTimeString.Append(" ");
+
+ if (alarmTime.GetHour() >= 12)
+ {
+ alarmTimeString.Append("PM");
+ }
+ else
+ {
+ alarmTimeString.Append("AM");
+ }
+
+ __pAlarmTimeLabel->SetText(alarmTimeString);
+
+ if (__pAlarmRingingSnoozeOffPanel != null)
+ {
+ __pAlarmRingingSnoozeOffPanel->SetShowState(false);
+ }
+
+ if (__pAlarmRingPanel != null)
+ {
+ __pAlarmRingPanel->SetShowState(true);
+ }
+ }
+ else
+ {
+ __pAlarmTimeLabel->SetShowState(false);
+ __pAlarmTitleLabel->SetBounds(Rectangle(__pAlarmTimeLabel->GetX(), __pAlarmTimeLabel->GetY(), __pAlarmTimeLabel->GetWidth(), __pAlarmTimeLabel->GetHeight()));
+ __pAlarmRingingSnoozeOffPanel->SetShowState(true);
+ __pAlarmRingPanel->SetShowState(false);
+ }
+
+ __pAlarmTitleLabel->SetText(__pAlarm->GetAlarmName());
+
+
+ alarmVolume = __pAlarm->GetRingVolume();
+ alarmTonePath = __pAlarm->GetRingTone();
+
+ if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY)
+ {
+ StartAudio(alarmTonePath,alarmVolume);
+ }
+ else if(__pAlarm->GetRingType() == ALARM_TYPE_VIBRATION)
+ {
+ StartVibrator();
+ }
+ else if (__pAlarm->GetRingType() == ALARM_TYPE_MELODY_AND_VIBRATION)
+ {
+ StartAudio(alarmTonePath,alarmVolume);
+ StartVibrator();
+ }
+
+ }
+
+ __pTimer->Start(1);
+ Invalidate(true);
+
+}
+
+void
+AlarmRingingLockForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+
+ if(__pPlayer != null)
+ {
+ __pPlayer->Stop();
+ __pPlayer->Close();
+ }
+ if(__pVibrator != null)
+ {
+ __pVibrator->Stop();
+ }
+
+ if(__pTimer != null)
+ {
+ __pTimer->Cancel();
+ }
+}
+
+void
+AlarmRingingLockForm::OnActionPerformed(const Control& source, int actionId)
+{
+ result r = E_SUCCESS;
+ SceneManager* pSceneManager = null;
+ int count = 0;
+ int alarmCount = 0;
+ int snoozeRepeatCount = 0;
+ AlarmData* pAlarm = null;
+ ArrayList* alarmList = null;
+ DateTime currentTime;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ switch (actionId)
+ {
+ case IDA_TABBAR_ITEM1_STOP:
+ {
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+
+ if (alarmList == null)
+ {
+ return;
+ }
+
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0, count, *alarmList);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetSnoozeRepeatCount(-1);
+
+ if(!pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ }
+ }
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+ if( r == E_UNDERFLOW)
+ {
+ UiApp::GetInstance()->Terminate();
+ }
+ }
+
+ }
+ break;
+
+ case IDA_TABBAR_ITEM1_SNOOZE:
+ {
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0, count, *alarmList);
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetLastRingingTime(currentTime);
+ snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();
+ pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);
+
+ if (snoozeRepeatCount <= 0 && !pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ }
+ }
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+ if( r == E_UNDERFLOW)
+ {
+ UiApp::GetInstance()->Terminate();
+ }
+ }
+
+ }
+ break;
+
+ default:
+ break;
+ }
+}
+
+void
+AlarmRingingLockForm::ShowClock()
+{
+ int seconds = 0;
+ int hours = 0;
+ Bitmap* pHourBitmap = null;
+ Bitmap* pMinuteBitmap = null;
+ Bitmap* pSecondBitmap = null;
+ Bitmap* pClockBitmap = null;
+ Bitmap* pFinalBitmap = null;
+ Canvas* pCanvas = null;
+ DateTime currentTime;
+ String currentTimeString = L"";
+ String hourImagePath;
+ String minuteImagePath;
+ String secondImagePath;
+
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+
+ hourImagePath.Append(IDS_HOUR_IMAGE_PATH);
+ minuteImagePath.Append(IDS_MIN_IMAGE_PATH);
+ secondImagePath.Append(IDS_SEC_IMAGE_PATH);
+
+ if (__minutes != currentTime.GetMinute() || __hours != currentTime.GetHour())
+ {
+ hours = currentTime.GetHour() % 12;
+
+ if (hours < 10)
+ {
+ currentTimeString.Append(L"0");
+ }
+
+ currentTimeString.Append(hours);
+ currentTimeString.Append(":");
+
+ if (currentTime.GetMinute() < 10)
+ {
+ currentTimeString.Append(L"0");
+ }
+
+ currentTimeString.Append(currentTime.GetMinute());
+ currentTimeString.Append(" ");
+
+ if (currentTime.GetHour() >= 12)
+ {
+ currentTimeString.Append("PM");
+ }
+ else
+ {
+ currentTimeString.Append("AM");
+ }
+
+ __pCurrentTimeLabel->SetText(currentTimeString);
+ }
+
+ __hours = currentTime.GetHour();
+ __minutes = currentTime.GetMinute();
+ seconds = currentTime.GetSecond();
+
+ pClockBitmap = AppResource::GetInstance()->GetBitmapN(IDB_ALARM_CLOCK);
+
+ if ((__hours % 12) < 10)
+ {
+ hourImagePath.Append(L"0");
+ }
+
+ hourImagePath.Append(__hours % 12);
+
+ if (__minutes < 12)
+ {
+ hourImagePath.Append(L"_1.png");
+ }
+ else if (__minutes >= 12 && __minutes < 24)
+ {
+ hourImagePath.Append(L"_2.png");
+ }
+ else if (__minutes >= 24 && __minutes < 36)
+ {
+ hourImagePath.Append(L"_3.png");
+ }
+ else if (__minutes >= 36 && __minutes < 48)
+ {
+ hourImagePath.Append(L"_4.png");
+ }
+ else if (__minutes >= 48 && __minutes < 60)
+ {
+ hourImagePath.Append(L"_5.png");
+ }
+
+ if (__minutes < 10)
+ {
+ minuteImagePath.Append(L"0");
+ }
+
+ minuteImagePath.Append(__minutes);
+ minuteImagePath.Append(L".png");
+
+ if (seconds < 10)
+ {
+ secondImagePath.Append(L"0");
+ }
+
+ secondImagePath.Append(seconds);
+ secondImagePath.Append(L".png");
+
+ pMinuteBitmap = AppResource::GetInstance()->GetBitmapN(minuteImagePath);
+ pHourBitmap = AppResource::GetInstance()->GetBitmapN(hourImagePath);
+ pSecondBitmap = AppResource::GetInstance()->GetBitmapN(secondImagePath);
+
+ pCanvas = new (std::nothrow) Canvas();
+ pCanvas->Construct(Rectangle(0, 0, 374, 544));
+ pCanvas->DrawBitmap(Point(0, 0), *pClockBitmap);
+ pCanvas->DrawBitmap(Point(51, 94), *pHourBitmap);
+ pCanvas->DrawBitmap(Point(51, 94), *pMinuteBitmap);
+ pCanvas->DrawBitmap(Point(51, 94), *pSecondBitmap);
+
+ pFinalBitmap = new (std::nothrow) Bitmap();
+
+ if (pFinalBitmap != NULL)
+ {
+ pFinalBitmap->Construct(*pCanvas, Rectangle(0, 0, 374, 544));
+ delete pCanvas;
+ }
+
+ __pClockLabel->SetBackgroundBitmap(*pFinalBitmap);
+
+ if (pClockBitmap != null)
+ {
+ delete pClockBitmap;
+ pClockBitmap = null;
+ }
+
+ if (pHourBitmap != null)
+ {
+ delete pHourBitmap;
+ pHourBitmap = null;
+ }
+
+ if (pMinuteBitmap != null)
+ {
+ delete pMinuteBitmap;
+ pMinuteBitmap = null;
+ }
+
+ if (pSecondBitmap != null)
+ {
+ delete pSecondBitmap;
+ pSecondBitmap = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+}
+
+void
+AlarmRingingLockForm::OnTimerExpired(Timer& timer)
+{
+ DateTime currentTime, alarmTime;
+ int seconds = 0;
+ int minutes = 0;
+
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmTime = __pAlarm->GetAlarmTime();
+
+ seconds = currentTime.GetSecond() - alarmTime.GetSecond();
+ minutes = currentTime.GetMinute() - alarmTime.GetMinute();
+ if (seconds < 0)
+ {
+ seconds = seconds + 60;
+ }
+
+ if (seconds == 0 && minutes == 1)
+ {
+ int alarmCount = 0;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ SceneManager* pSceneManager = null;
+ int count = 0;
+ int snoozeRepeatCount = 0;
+ AlarmData* pAlarm = null;
+ ArrayList* alarmList = null;
+ result r = E_FAILURE;
+
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0,count,*alarmList);
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast< AlarmData* >(alarmList->GetAt(count));
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetLastRingingTime(currentTime);
+ snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();
+ pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);
+
+ if (snoozeRepeatCount <= 0 && !pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ break;
+ }
+ }
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+ if( r == E_UNDERFLOW)
+ {
+ UiApp::GetInstance()->Terminate();
+ }
+ }
+ }
+ else
+ {
+ __pTimer->Start(1000); // to refresh list after 1 second ( 1000 milliseconds)
+ PowerManager::KeepScreenOnState(true,false);
+ ShowClock();
+ Invalidate(true);
+ }
+
+}
+
+void
+AlarmRingingLockForm::OnAlarmRingingLockEvent(AlarmRingingCommandId commandId)
+{
+ SceneManager* pSceneManager = null;
+ int count = 0;
+ int snoozeRepeatCount = 0;
+ AlarmData* pAlarm = null;
+ ArrayList* alarmList = null;
+ DateTime currentTime;
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ int alarmCount = 0;
+
+ switch (commandId)
+ {
+ case ALARM_RINGING_PANEL_STOP:
+ {
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+
+ if (alarmList == null)
+ {
+ return;
+ }
+
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0, count, *alarmList);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));
+
+
+ if ( pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetSnoozeRepeatCount(-1);
+
+ if(!pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ break;
+ }
+ }
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+
+ }
+ break;
+
+ case ALARM_RINGING_PANEL_SNOOZE:
+ {
+ pAlarmPresentationModel->GetAlarmCount(count);
+ alarmList = new (std::nothrow) ArrayList();
+ alarmList->Construct();
+ pAlarmPresentationModel->GetAlarm(0, count, *alarmList);
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ alarmCount = alarmList->GetCount();
+
+ for (count = 0; count < alarmCount; count++)
+ {
+ pAlarm = dynamic_cast<AlarmData*>(alarmList->GetAt(count));
+
+ if (pAlarm != null && pAlarm->GetAlarmId() == __pAlarm->GetAlarmId())
+ {
+ pAlarm->SetLastRingingTime(currentTime);
+ snoozeRepeatCount = pAlarm->GetSnoozeRepeatCount();
+ pAlarm->SetSnoozeRepeatCount(snoozeRepeatCount - 1);
+
+ if (!snoozeRepeatCount <= 0 && pAlarm->GetRepeatFlags().Contains(L"1"))
+ {
+ pAlarm->SetAlarmOnState(0);
+ }
+
+ pAlarmPresentationModel->SaveAlarm(*pAlarm);
+ break;
+ }
+ }
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+
+ }
+ break;
+
+ default:
+ break;
+ }
+
+}
+
+result
+AlarmRingingLockForm::StartAudio(String& path, int volume)
+{
+ AppLog("AlarmRingingLockForm::StartAudio");
+ result r = E_SUCCESS;
+ Tizen::Media::Player player;
+ __pPlayer = new(std::nothrow) Player();
+ r = __pPlayer->Construct(*this);
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of construct is %s", GetErrorMessage(r));
+ return r;
+ }
+ __pPlayer->Close();
+ r = __pPlayer->OpenFile(path, false);
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of openfile is %s", GetErrorMessage(r));
+ return r;
+ }
+
+ __pPlayer->SetVolume(volume*100/15);
+
+ r = __pPlayer->Play();
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of play is %s", GetErrorMessage(r));
+ return r;
+ }
+
+ return E_SUCCESS;
+}
+
+result
+AlarmRingingLockForm::StartVibrator(void)
+{
+ result r = E_SUCCESS;
+ __pVibrator = new(std::nothrow) Vibrator();
+ r = __pVibrator->Construct();
+
+ if (IsFailed(r))
+ {
+ AppLog("the result of vibrator is %s", GetErrorMessage(r));
+ }
+
+ r = __pVibrator->Start(60000,__pAlarm->GetRingVolume());
+
+ return r;
+}
+
+void
+AlarmRingingLockForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)
+{
+ AppLog("callStatus %d", callStatus);
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if(callStatus != CALL_STATUS_IDLE)
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+ }
+ else
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+ }
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkAlarmRingingLockPanel.cpp\r
- * @brief This header file contains the definitions of the AlarmRingingLockPanel class.\r
- *\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FGraphics.h>\r
-#include <FUiAnimations.h>\r
-#include "ClkAlarmRingingLockPanel.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Animations;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-AlarmRingingLockPanel::AlarmRingingLockPanel()\r
- : __commandId(ALARM_RINGING_PANEL_COUNT)\r
- , __controlRestPosition(0, 0)\r
- , __isDragging(false)\r
- , __pEventListener(null)\r
- , __pSnoozeArrowBitmap(null)\r
- , __pSnoozeArrowPressedBitmap(null)\r
- , __pSnoozeLabel(null)\r
- , __pSnoozePanel(null)\r
- , __pStopArrowBitmap(null)\r
- , __pStopArrowPressedBitmap(null)\r
- , __pStopLabel(null)\r
- , __pStopPanel(null)\r
- , __pUpdateTimer(null)\r
-{\r
-\r
-}\r
-\r
-AlarmRingingLockPanel::~AlarmRingingLockPanel()\r
-{\r
- if (__pUpdateTimer != null)\r
- {\r
- __pUpdateTimer->Cancel();\r
- delete __pUpdateTimer;\r
- __pUpdateTimer = null;\r
- }\r
-\r
- if (__pSnoozeArrowBitmap != null)\r
- {\r
- delete __pSnoozeArrowBitmap;\r
- }\r
-\r
- if (__pSnoozeArrowPressedBitmap != null)\r
- {\r
- delete __pSnoozeArrowPressedBitmap;\r
- }\r
-\r
- if (__pStopArrowBitmap != null)\r
- {\r
- delete __pStopArrowBitmap;\r
- }\r
-\r
- if (__pStopArrowPressedBitmap != null)\r
- {\r
- delete __pStopArrowPressedBitmap;\r
- }\r
-\r
-\r
-}\r
-\r
-result\r
-AlarmRingingLockPanel::Construct(Rectangle controlRect)\r
-{\r
- result r = E_SUCCESS;\r
- Label* pSnoozeArrowLabel3 = null;\r
- Label* pSnoozeArrowLabel2 = null;\r
- Label* pStopArrowLabel3 = null;\r
- Label* pStopArrowLabel2 = null;\r
- Bitmap* pArrowBitmap = null;\r
- int arrowBitmapWidth = 255;\r
- int arrowBitmapHeight1 = 60;\r
- int arrowBitmapHeight2 = 80;\r
- int alphaConstant = 100;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- r = Panel::Construct(L"IDL_ALARM_RINGING_LOCK_PANEL");\r
- TryCatch(r == E_SUCCESS, , "Panel::Construct failed with error %s", GetErrorMessage(r));\r
-\r
- __pSnoozePanel = static_cast<Panel*>(GetControl(L"IDC_SNOOZE_PANEL", true));\r
- __pSnoozePanel->AddTouchEventListener(*this);\r
-\r
- __pStopPanel = static_cast<Panel*>(GetControl(L"IDC_STOP_PANEL", true));\r
- __pStopPanel->AddTouchEventListener(*this);\r
-\r
- __pSnoozeLabel = static_cast<Label*>(__pSnoozePanel->GetControl(L"IDC_SNOOZE_LABEL", true));\r
- __pSnoozeLabel->AddTouchEventListener(*this);\r
-\r
- __pStopLabel = static_cast<Label*>(__pStopPanel->GetControl(L"IDC_STOP_LABEL", true));\r
- __pStopLabel->AddTouchEventListener(*this);\r
-\r
- pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_SNOOZE_RIGHT_ARROW);\r
- __pSnoozeArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_SNOOZE);\r
- __pSnoozeLabel->SetBackgroundBitmap(*__pSnoozeArrowBitmap);\r
- __pStopArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP);\r
- __pStopLabel->SetBackgroundBitmap(*__pStopArrowBitmap);\r
-\r
- if (pArrowBitmap != null)\r
- {\r
- pSnoozeArrowLabel3 = static_cast<Label*>(__pSnoozePanel->GetControl(L"IDC_SNOOZE_ARROW_LABEL3", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstant);\r
- pSnoozeArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);\r
- pSnoozeArrowLabel2 = static_cast<Label*>(__pSnoozePanel->GetControl(L"IDC_SNOOZE_ARROW_LABEL2", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstant);\r
- pSnoozeArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);\r
- delete pArrowBitmap;\r
- }\r
-\r
- pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP_LEFT_ARROW);\r
-\r
- if (pArrowBitmap != null)\r
- {\r
- pStopArrowLabel3 = static_cast<Label*>(__pStopPanel->GetControl(L"IDC_STOP_ARROW_LABEL3", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstant);\r
- pStopArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);\r
- pStopArrowLabel2 = static_cast<Label*>(__pStopPanel->GetControl(L"IDC_STOP_ARROW_LABEL2", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstant);\r
- pStopArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);\r
- delete pArrowBitmap;\r
- }\r
-\r
- __pUpdateTimer = new (std::nothrow) Timer();\r
- __pUpdateTimer->Construct(*this);\r
-CATCH:\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRingingLockPanel::SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener)\r
-{\r
- __pEventListener = pEventListener;\r
-}\r
-\r
-void\r
-AlarmRingingLockPanel::OnTouchPressed(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)\r
-{\r
-\r
- if (source.Equals(*__pSnoozeLabel))\r
- {\r
- __commandId = ALARM_RINGING_PANEL_SNOOZE;\r
- }\r
- else if (source.Equals(*__pStopLabel))\r
- {\r
- __commandId = ALARM_RINGING_PANEL_STOP;\r
- }\r
- else\r
- {\r
- __commandId = ALARM_RINGING_PANEL_COUNT;\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmRingingLockPanel::OnTouchReleased(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)\r
-{\r
- if (__isDragging && __commandId != ALARM_RINGING_PANEL_COUNT)\r
- {\r
- bool isUnlocked = false;\r
-\r
- if (source.Equals(*__pSnoozeLabel))\r
- {\r
- Rectangle snoozeRect = __pSnoozePanel->GetBounds();\r
-\r
- if (currentPosition.x > ((snoozeRect.x + snoozeRect.width) - 100))\r
- {\r
-\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)\r
- {\r
- isUnlocked = true;\r
- }\r
-\r
- }\r
- }\r
- else if (source.Equals(*__pStopLabel))\r
- {\r
- Rectangle stopRect = __pStopLabel->GetBounds();\r
- AppLogDebug("AJAY::CurrentPosition = %d and %d",currentPosition.x,GetWidth() - stopRect.width);\r
- if (currentPosition.x > -(GetWidth() - stopRect.width) && currentPosition.x <= -(stopRect.x))\r
- {\r
-\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)\r
- {\r
- isUnlocked = true;\r
- }\r
- }\r
- }\r
-\r
- if (__pEventListener != null && isUnlocked)\r
- {\r
- __pEventListener->OnAlarmRingingLockEvent(__commandId);\r
- }\r
- else\r
- {\r
- __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);\r
- }\r
-\r
- __isDragging = false;\r
- __commandId = ALARM_RINGING_PANEL_COUNT;\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingLockPanel::OnTouchMoved(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)\r
-{\r
- if (__commandId != ALARM_RINGING_PANEL_COUNT)\r
- {\r
- if (__commandId == ALARM_RINGING_PANEL_SNOOZE)\r
- {\r
- if (source.Equals(*__pSnoozeLabel))\r
- {\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&\r
- currentPosition.x > (__pSnoozeLabel->GetPosition().x + CONTROL_WIDTH_OFFSET))\r
- {\r
- __isDragging = true;\r
- __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);\r
- }\r
- }\r
- }\r
-\r
- if (__commandId == ALARM_RINGING_PANEL_STOP)\r
- {\r
- if (source.Equals(*__pStopLabel))\r
- {\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&\r
- currentPosition.x < -(__pStopLabel->GetPosition().x - CONTROL_WIDTH_OFFSET))\r
- {\r
- __isDragging = true;\r
- __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);\r
- }\r
- }\r
- }\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingLockPanel::OnTimerExpired(Timer& timer)\r
-{\r
- if (timer.Equals(*__pUpdateTimer))\r
- {\r
- if (__isDragging)\r
- {\r
- if (__pSnoozeArrowPressedBitmap == null)\r
- {\r
- __pSnoozeArrowPressedBitmap = App::GetInstance()->GetAppResource()->GetBitmapN(IDB_RINGER_LOCK_SNOOZE_PRESSED);\r
- }\r
-\r
- if (__pSnoozeArrowPressedBitmap != null && __commandId == ALARM_RINGING_PANEL_SNOOZE)\r
- {\r
- __pSnoozeLabel->SetBackgroundBitmap(*__pSnoozeArrowPressedBitmap);\r
- __pSnoozeLabel->Invalidate(false);\r
- }\r
-\r
- if (__pStopArrowPressedBitmap == null)\r
- {\r
- __pStopArrowPressedBitmap = App::GetInstance()->GetAppResource()->GetBitmapN(IDB_RINGER_LOCK_STOP_PRESSED);\r
- }\r
-\r
- if (__pStopArrowPressedBitmap != null && __commandId == ALARM_RINGING_PANEL_STOP)\r
- {\r
- __pStopLabel->SetBackgroundBitmap(*__pStopArrowPressedBitmap);\r
- __pStopLabel->Invalidate(true);\r
- }\r
-\r
- }\r
- else\r
- {\r
- if (__pSnoozeArrowBitmap != null)\r
- {\r
- __pSnoozeLabel->SetBackgroundBitmap(*__pSnoozeArrowBitmap);\r
- __pSnoozeLabel->Invalidate(false);\r
- }\r
-\r
- if (__pStopArrowBitmap != null)\r
- {\r
- __pStopLabel->SetBackgroundBitmap(*__pStopArrowBitmap);\r
- __pStopLabel->Invalidate(false);\r
- }\r
- }\r
- }\r
-}\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkAlarmRingingLockPanel.cpp
+ * @brief This header file contains the definitions of the AlarmRingingLockPanel class.
+ *
+ */
+
+#include <FApp.h>
+#include <FGraphics.h>
+#include <FUiAnimations.h>
+#include "ClkAlarmRingingLockPanel.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Animations;
+using namespace Tizen::Ui::Controls;
+
+AlarmRingingLockPanel::AlarmRingingLockPanel()
+ : __commandId(ALARM_RINGING_PANEL_COUNT)
+ , __controlRestPosition(0, 0)
+ , __isDragging(false)
+ , __pEventListener(null)
+ , __pSnoozeArrowBitmap(null)
+ , __pSnoozeArrowPressedBitmap(null)
+ , __pSnoozeLabel(null)
+ , __pSnoozePanel(null)
+ , __pStopArrowBitmap(null)
+ , __pStopArrowPressedBitmap(null)
+ , __pStopLabel(null)
+ , __pStopPanel(null)
+ , __pUpdateTimer(null)
+{
+
+}
+
+AlarmRingingLockPanel::~AlarmRingingLockPanel()
+{
+ if (__pUpdateTimer != null)
+ {
+ __pUpdateTimer->Cancel();
+ delete __pUpdateTimer;
+ __pUpdateTimer = null;
+ }
+
+ if (__pSnoozeArrowBitmap != null)
+ {
+ delete __pSnoozeArrowBitmap;
+ }
+
+ if (__pSnoozeArrowPressedBitmap != null)
+ {
+ delete __pSnoozeArrowPressedBitmap;
+ }
+
+ if (__pStopArrowBitmap != null)
+ {
+ delete __pStopArrowBitmap;
+ }
+
+ if (__pStopArrowPressedBitmap != null)
+ {
+ delete __pStopArrowPressedBitmap;
+ }
+
+
+}
+
+result
+AlarmRingingLockPanel::Construct(Rectangle controlRect)
+{
+ result r = E_SUCCESS;
+ Label* pSnoozeArrowLabel3 = null;
+ Label* pSnoozeArrowLabel2 = null;
+ Label* pStopArrowLabel3 = null;
+ Label* pStopArrowLabel2 = null;
+ Bitmap* pArrowBitmap = null;
+ int arrowBitmapWidth = 255;
+ int arrowBitmapHeight1 = 60;
+ int arrowBitmapHeight2 = 80;
+ int alphaConstant = 100;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ r = Panel::Construct(L"IDL_ALARM_RINGING_LOCK_PANEL");
+ TryCatch(r == E_SUCCESS, , "Panel::Construct failed with error %s", GetErrorMessage(r));
+
+ __pSnoozePanel = static_cast<Panel*>(GetControl(L"IDC_SNOOZE_PANEL", true));
+ __pSnoozePanel->AddTouchEventListener(*this);
+
+ __pStopPanel = static_cast<Panel*>(GetControl(L"IDC_STOP_PANEL", true));
+ __pStopPanel->AddTouchEventListener(*this);
+
+ __pSnoozeLabel = static_cast<Label*>(__pSnoozePanel->GetControl(L"IDC_SNOOZE_LABEL", true));
+ __pSnoozeLabel->AddTouchEventListener(*this);
+
+ __pStopLabel = static_cast<Label*>(__pStopPanel->GetControl(L"IDC_STOP_LABEL", true));
+ __pStopLabel->AddTouchEventListener(*this);
+
+ pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_SNOOZE_RIGHT_ARROW);
+ __pSnoozeArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_SNOOZE);
+ __pSnoozeLabel->SetBackgroundBitmap(*__pSnoozeArrowBitmap);
+ __pStopArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP);
+ __pStopLabel->SetBackgroundBitmap(*__pStopArrowBitmap);
+
+ if (pArrowBitmap != null)
+ {
+ pSnoozeArrowLabel3 = static_cast<Label*>(__pSnoozePanel->GetControl(L"IDC_SNOOZE_ARROW_LABEL3", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstant);
+ pSnoozeArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);
+ pSnoozeArrowLabel2 = static_cast<Label*>(__pSnoozePanel->GetControl(L"IDC_SNOOZE_ARROW_LABEL2", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstant);
+ pSnoozeArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);
+ delete pArrowBitmap;
+ }
+
+ pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP_LEFT_ARROW);
+
+ if (pArrowBitmap != null)
+ {
+ pStopArrowLabel3 = static_cast<Label*>(__pStopPanel->GetControl(L"IDC_STOP_ARROW_LABEL3", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstant);
+ pStopArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);
+ pStopArrowLabel2 = static_cast<Label*>(__pStopPanel->GetControl(L"IDC_STOP_ARROW_LABEL2", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstant);
+ pStopArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);
+ delete pArrowBitmap;
+ }
+
+ __pUpdateTimer = new (std::nothrow) Timer();
+ __pUpdateTimer->Construct(*this);
+CATCH:
+ return r;
+}
+
+void
+AlarmRingingLockPanel::SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener)
+{
+ __pEventListener = pEventListener;
+}
+
+void
+AlarmRingingLockPanel::OnTouchPressed(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)
+{
+
+ if (source.Equals(*__pSnoozeLabel))
+ {
+ __commandId = ALARM_RINGING_PANEL_SNOOZE;
+ }
+ else if (source.Equals(*__pStopLabel))
+ {
+ __commandId = ALARM_RINGING_PANEL_STOP;
+ }
+ else
+ {
+ __commandId = ALARM_RINGING_PANEL_COUNT;
+ }
+
+}
+
+void
+AlarmRingingLockPanel::OnTouchReleased(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)
+{
+ if (__isDragging && __commandId != ALARM_RINGING_PANEL_COUNT)
+ {
+ bool isUnlocked = false;
+
+ if (source.Equals(*__pSnoozeLabel))
+ {
+ Rectangle snoozeRect = __pSnoozePanel->GetBounds();
+
+ if (currentPosition.x > ((snoozeRect.x + snoozeRect.width) - 100))
+ {
+
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)
+ {
+ isUnlocked = true;
+ }
+
+ }
+ }
+ else if (source.Equals(*__pStopLabel))
+ {
+ Rectangle stopRect = __pStopLabel->GetBounds();
+ AppLogDebug("AJAY::CurrentPosition = %d and %d",currentPosition.x,GetWidth() - stopRect.width);
+ if (currentPosition.x > -(GetWidth() - stopRect.width) && currentPosition.x <= -(stopRect.x))
+ {
+
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)
+ {
+ isUnlocked = true;
+ }
+ }
+ }
+
+ if (__pEventListener != null && isUnlocked)
+ {
+ __pEventListener->OnAlarmRingingLockEvent(__commandId);
+ }
+ else
+ {
+ __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);
+ }
+
+ __isDragging = false;
+ __commandId = ALARM_RINGING_PANEL_COUNT;
+ }
+}
+
+void
+AlarmRingingLockPanel::OnTouchMoved(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)
+{
+ if (__commandId != ALARM_RINGING_PANEL_COUNT)
+ {
+ if (__commandId == ALARM_RINGING_PANEL_SNOOZE)
+ {
+ if (source.Equals(*__pSnoozeLabel))
+ {
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&
+ currentPosition.x > (__pSnoozeLabel->GetPosition().x + CONTROL_WIDTH_OFFSET))
+ {
+ __isDragging = true;
+ __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);
+ }
+ }
+ }
+
+ if (__commandId == ALARM_RINGING_PANEL_STOP)
+ {
+ if (source.Equals(*__pStopLabel))
+ {
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&
+ currentPosition.x < -(__pStopLabel->GetPosition().x - CONTROL_WIDTH_OFFSET))
+ {
+ __isDragging = true;
+ __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);
+ }
+ }
+ }
+ }
+}
+
+void
+AlarmRingingLockPanel::OnTimerExpired(Timer& timer)
+{
+ if (timer.Equals(*__pUpdateTimer))
+ {
+ if (__isDragging)
+ {
+ if (__pSnoozeArrowPressedBitmap == null)
+ {
+ __pSnoozeArrowPressedBitmap = App::GetInstance()->GetAppResource()->GetBitmapN(IDB_RINGER_LOCK_SNOOZE_PRESSED);
+ }
+
+ if (__pSnoozeArrowPressedBitmap != null && __commandId == ALARM_RINGING_PANEL_SNOOZE)
+ {
+ __pSnoozeLabel->SetBackgroundBitmap(*__pSnoozeArrowPressedBitmap);
+ __pSnoozeLabel->Invalidate(false);
+ }
+
+ if (__pStopArrowPressedBitmap == null)
+ {
+ __pStopArrowPressedBitmap = App::GetInstance()->GetAppResource()->GetBitmapN(IDB_RINGER_LOCK_STOP_PRESSED);
+ }
+
+ if (__pStopArrowPressedBitmap != null && __commandId == ALARM_RINGING_PANEL_STOP)
+ {
+ __pStopLabel->SetBackgroundBitmap(*__pStopArrowPressedBitmap);
+ __pStopLabel->Invalidate(true);
+ }
+
+ }
+ else
+ {
+ if (__pSnoozeArrowBitmap != null)
+ {
+ __pSnoozeLabel->SetBackgroundBitmap(*__pSnoozeArrowBitmap);
+ __pSnoozeLabel->Invalidate(false);
+ }
+
+ if (__pStopArrowBitmap != null)
+ {
+ __pStopLabel->SetBackgroundBitmap(*__pStopArrowBitmap);
+ __pStopLabel->Invalidate(false);
+ }
+ }
+ }
+}
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file AlarmRingingSnoozeOffPanel.cpp\r
- * @brief This file contains the definitions of the AlarmRingingSnoozeOffPanel class.\r
- *\r
- */\r
-\r
-\r
-#include <FApp.h>\r
-#include <FGraphics.h>\r
-#include <FUiAnimations.h>\r
-#include "ClkAlarmRingingSnoozeOffPanel.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Animations;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-AlarmRingingSnoozeOffPanel::AlarmRingingSnoozeOffPanel(void)\r
-: __commandId(ALARM_RINGING_PANEL_COUNT)\r
-, __isDragging(false)\r
-, __pStopBitmap(null)\r
-, __pStopLabel(null)\r
-, __pStopPressedBitmap(null)\r
-, __pUpdateTimer(null)\r
-{\r
-\r
-}\r
-\r
-AlarmRingingSnoozeOffPanel::~AlarmRingingSnoozeOffPanel(void)\r
-{\r
- if (__pUpdateTimer != null)\r
- {\r
- __pUpdateTimer->Cancel();\r
- delete __pUpdateTimer;\r
- __pUpdateTimer = null;\r
- }\r
-\r
- if (__pStopBitmap != null)\r
- {\r
- delete __pStopBitmap;\r
- }\r
-\r
- if (__pStopPressedBitmap != null)\r
- {\r
- delete __pStopPressedBitmap;\r
- }\r
-\r
-}\r
-\r
-result\r
-AlarmRingingSnoozeOffPanel::Construct(Rectangle controlRect)\r
-{\r
- result r = E_SUCCESS;\r
- Label* pLeftArrowLabel3 = null;\r
- Label* pLeftArrowLabel2 = null;\r
- Label* pRightArrowLabel3 = null;\r
- Label* pRightArrowLabel2 = null;\r
- Bitmap* pArrowBitmap = null;\r
- int arrowBitmapWidth = 255;\r
- int arrowBitmapHeight1 = 60;\r
- int arrowBitmapHeight2 = 80;\r
- int alphaConstantValue = 100;\r
-\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
- r = Panel::Construct(L"IDL_ALARM_RINGING_SNOOZE_OFF_PANEL");\r
- TryCatch(r == E_SUCCESS, , "Panel::Construct failed with error %s", GetErrorMessage(r));\r
- SetBounds(controlRect);\r
-\r
- __pStopLabel = static_cast<Label*>(GetControl(L"IDC_STOP_ALARM_LABEL", true));\r
- __pStopLabel->AddTouchEventListener(*this);\r
-\r
- pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP_LEFT_ARROW);\r
- __pStopBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP);\r
- __pStopLabel->SetBackgroundBitmap(*__pStopBitmap);\r
-\r
- if (pArrowBitmap != null)\r
- {\r
- pLeftArrowLabel3 = static_cast<Label*>(GetControl(L"IDC_STOP_LEFT_LABEL3", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstantValue);\r
- pLeftArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);\r
- pLeftArrowLabel2 = static_cast<Label*>(GetControl(L"IDC_STOP_LEFT_LABEL2", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstantValue);\r
- pLeftArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);\r
- delete pArrowBitmap;\r
- }\r
-\r
- pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP_RIGHT_ARROW);\r
-\r
- if (pArrowBitmap != null)\r
- {\r
- pRightArrowLabel3 = static_cast<Label*>(GetControl(L"IDC_STOP_RIGHT_LABEL3", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstantValue);\r
- pRightArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);\r
- pRightArrowLabel2 = static_cast<Label*>(GetControl(L"IDC_STOP_RIGHT_LABEL2", true));\r
- pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstantValue);\r
- pRightArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);\r
- delete pArrowBitmap;\r
- }\r
-\r
- __pUpdateTimer = new (std::nothrow) Timer();\r
- __pUpdateTimer->Construct(*this);\r
-\r
-CATCH:\r
- return r;\r
-}\r
-\r
-void\r
-AlarmRingingSnoozeOffPanel::SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener)\r
-{\r
- __pEventListener = pEventListener;\r
-}\r
-\r
-void\r
-AlarmRingingSnoozeOffPanel::OnTouchPressed(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)\r
-{\r
-\r
- if (source.Equals(*__pStopLabel))\r
- {\r
- __commandId = ALARM_RINGING_PANEL_STOP;\r
- }\r
- else\r
- {\r
- __commandId = ALARM_RINGING_PANEL_COUNT;\r
- }\r
-\r
-}\r
-\r
-void\r
-AlarmRingingSnoozeOffPanel::OnTouchReleased(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)\r
-{\r
- if (__isDragging && __commandId != ALARM_RINGING_PANEL_COUNT)\r
- {\r
- bool isUnlocked = false;\r
-\r
- if (source.Equals(*__pStopLabel))\r
- {\r
- Rectangle stopRect = __pStopLabel->GetBounds();\r
-\r
- if (currentPosition.x < -(__pStopLabel->GetWidth()) && currentPosition.x >= -(GetWidth() / 2))\r
- {\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)\r
- {\r
- isUnlocked = true;\r
- }\r
- }\r
- else if (currentPosition.x > stopRect.width && currentPosition.x <= GetWidth() / 2)\r
- {\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)\r
- {\r
- isUnlocked = true;\r
- }\r
- }\r
- }\r
-\r
- if (__pEventListener != null && isUnlocked)\r
- {\r
- __pEventListener->OnAlarmRingingLockEvent(__commandId);\r
- }\r
- else\r
- {\r
- __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);\r
- }\r
-\r
- __isDragging = false;\r
- __commandId = ALARM_RINGING_PANEL_COUNT;\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingSnoozeOffPanel::OnTouchMoved(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)\r
-{\r
- if (__commandId != ALARM_RINGING_PANEL_COUNT)\r
- {\r
- if (__commandId == ALARM_RINGING_PANEL_STOP)\r
- {\r
- if (source.Equals(*__pStopLabel))\r
- {\r
- if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&\r
- currentPosition.x < -(__pStopLabel->GetWidth())\r
- && currentPosition.x > -(GetWidth() / 2))\r
- {\r
- __isDragging = true;\r
- __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);\r
- }\r
- else if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&\r
- currentPosition.x > (__pStopLabel->GetSize().width)\r
- && currentPosition.x < GetWidth() / 2)\r
- {\r
- __isDragging = true;\r
- __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);\r
- }\r
- }\r
- }\r
- }\r
-}\r
-\r
-void\r
-AlarmRingingSnoozeOffPanel::OnTimerExpired(Timer& timer)\r
-{\r
- if (timer.Equals(*__pUpdateTimer))\r
- {\r
- if (__isDragging)\r
- {\r
- if (__pStopPressedBitmap == null)\r
- {\r
- __pStopPressedBitmap = App::GetInstance()->GetAppResource()->GetBitmapN(IDB_RINGER_LOCK_STOP_PRESSED);\r
- }\r
-\r
- if (__pStopPressedBitmap != null && __commandId == ALARM_RINGING_PANEL_STOP)\r
- {\r
- __pStopLabel->SetBackgroundBitmap(*__pStopPressedBitmap);\r
- __pStopLabel->Invalidate(true);\r
- }\r
-\r
- }\r
- else\r
- {\r
- if (__pStopBitmap != null)\r
- {\r
- __pStopLabel->SetBackgroundBitmap(*__pStopBitmap);\r
- __pStopLabel->Invalidate(false);\r
- }\r
- }\r
- }\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file AlarmRingingSnoozeOffPanel.cpp
+ * @brief This file contains the definitions of the AlarmRingingSnoozeOffPanel class.
+ *
+ */
+
+
+#include <FApp.h>
+#include <FGraphics.h>
+#include <FUiAnimations.h>
+#include "ClkAlarmRingingSnoozeOffPanel.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Animations;
+using namespace Tizen::Ui::Controls;
+
+AlarmRingingSnoozeOffPanel::AlarmRingingSnoozeOffPanel(void)
+: __commandId(ALARM_RINGING_PANEL_COUNT)
+, __isDragging(false)
+, __pStopBitmap(null)
+, __pStopLabel(null)
+, __pStopPressedBitmap(null)
+, __pUpdateTimer(null)
+{
+
+}
+
+AlarmRingingSnoozeOffPanel::~AlarmRingingSnoozeOffPanel(void)
+{
+ if (__pUpdateTimer != null)
+ {
+ __pUpdateTimer->Cancel();
+ delete __pUpdateTimer;
+ __pUpdateTimer = null;
+ }
+
+ if (__pStopBitmap != null)
+ {
+ delete __pStopBitmap;
+ }
+
+ if (__pStopPressedBitmap != null)
+ {
+ delete __pStopPressedBitmap;
+ }
+
+}
+
+result
+AlarmRingingSnoozeOffPanel::Construct(Rectangle controlRect)
+{
+ result r = E_SUCCESS;
+ Label* pLeftArrowLabel3 = null;
+ Label* pLeftArrowLabel2 = null;
+ Label* pRightArrowLabel3 = null;
+ Label* pRightArrowLabel2 = null;
+ Bitmap* pArrowBitmap = null;
+ int arrowBitmapWidth = 255;
+ int arrowBitmapHeight1 = 60;
+ int arrowBitmapHeight2 = 80;
+ int alphaConstantValue = 100;
+
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+ r = Panel::Construct(L"IDL_ALARM_RINGING_SNOOZE_OFF_PANEL");
+ TryCatch(r == E_SUCCESS, , "Panel::Construct failed with error %s", GetErrorMessage(r));
+ SetBounds(controlRect);
+
+ __pStopLabel = static_cast<Label*>(GetControl(L"IDC_STOP_ALARM_LABEL", true));
+ __pStopLabel->AddTouchEventListener(*this);
+
+ pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP_LEFT_ARROW);
+ __pStopBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP);
+ __pStopLabel->SetBackgroundBitmap(*__pStopBitmap);
+
+ if (pArrowBitmap != null)
+ {
+ pLeftArrowLabel3 = static_cast<Label*>(GetControl(L"IDC_STOP_LEFT_LABEL3", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstantValue);
+ pLeftArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);
+ pLeftArrowLabel2 = static_cast<Label*>(GetControl(L"IDC_STOP_LEFT_LABEL2", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstantValue);
+ pLeftArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);
+ delete pArrowBitmap;
+ }
+
+ pArrowBitmap = pAppResource->GetBitmapN(IDB_RINGER_LOCK_STOP_RIGHT_ARROW);
+
+ if (pArrowBitmap != null)
+ {
+ pRightArrowLabel3 = static_cast<Label*>(GetControl(L"IDC_STOP_RIGHT_LABEL3", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight1) / alphaConstantValue);
+ pRightArrowLabel3->SetBackgroundBitmap(*pArrowBitmap);
+ pRightArrowLabel2 = static_cast<Label*>(GetControl(L"IDC_STOP_RIGHT_LABEL2", true));
+ pArrowBitmap->SetAlphaConstant((arrowBitmapWidth * arrowBitmapHeight2) / alphaConstantValue);
+ pRightArrowLabel2->SetBackgroundBitmap(*pArrowBitmap);
+ delete pArrowBitmap;
+ }
+
+ __pUpdateTimer = new (std::nothrow) Timer();
+ __pUpdateTimer->Construct(*this);
+
+CATCH:
+ return r;
+}
+
+void
+AlarmRingingSnoozeOffPanel::SetAlarmRinignigCommandListener(IAlarmRingingLockPanelEvent* pEventListener)
+{
+ __pEventListener = pEventListener;
+}
+
+void
+AlarmRingingSnoozeOffPanel::OnTouchPressed(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)
+{
+
+ if (source.Equals(*__pStopLabel))
+ {
+ __commandId = ALARM_RINGING_PANEL_STOP;
+ }
+ else
+ {
+ __commandId = ALARM_RINGING_PANEL_COUNT;
+ }
+
+}
+
+void
+AlarmRingingSnoozeOffPanel::OnTouchReleased(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)
+{
+ if (__isDragging && __commandId != ALARM_RINGING_PANEL_COUNT)
+ {
+ bool isUnlocked = false;
+
+ if (source.Equals(*__pStopLabel))
+ {
+ Rectangle stopRect = __pStopLabel->GetBounds();
+
+ if (currentPosition.x < -(__pStopLabel->GetWidth()) && currentPosition.x >= -(GetWidth() / 2))
+ {
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)
+ {
+ isUnlocked = true;
+ }
+ }
+ else if (currentPosition.x > stopRect.width && currentPosition.x <= GetWidth() / 2)
+ {
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION)
+ {
+ isUnlocked = true;
+ }
+ }
+ }
+
+ if (__pEventListener != null && isUnlocked)
+ {
+ __pEventListener->OnAlarmRingingLockEvent(__commandId);
+ }
+ else
+ {
+ __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);
+ }
+
+ __isDragging = false;
+ __commandId = ALARM_RINGING_PANEL_COUNT;
+ }
+}
+
+void
+AlarmRingingSnoozeOffPanel::OnTouchMoved(const Control& source, const Point& currentPosition, const TouchEventInfo& touchInfo)
+{
+ if (__commandId != ALARM_RINGING_PANEL_COUNT)
+ {
+ if (__commandId == ALARM_RINGING_PANEL_STOP)
+ {
+ if (source.Equals(*__pStopLabel))
+ {
+ if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&
+ currentPosition.x < -(__pStopLabel->GetWidth())
+ && currentPosition.x > -(GetWidth() / 2))
+ {
+ __isDragging = true;
+ __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);
+ }
+ else if (currentPosition.y > MIN_Y_TOUCH_POSITION && currentPosition.y < MAX_Y_TOUCH_POSITION &&
+ currentPosition.x > (__pStopLabel->GetSize().width)
+ && currentPosition.x < GetWidth() / 2)
+ {
+ __isDragging = true;
+ __pUpdateTimer->Start(DURATION_RINGING_UI_UPDATION);
+ }
+ }
+ }
+ }
+}
+
+void
+AlarmRingingSnoozeOffPanel::OnTimerExpired(Timer& timer)
+{
+ if (timer.Equals(*__pUpdateTimer))
+ {
+ if (__isDragging)
+ {
+ if (__pStopPressedBitmap == null)
+ {
+ __pStopPressedBitmap = App::GetInstance()->GetAppResource()->GetBitmapN(IDB_RINGER_LOCK_STOP_PRESSED);
+ }
+
+ if (__pStopPressedBitmap != null && __commandId == ALARM_RINGING_PANEL_STOP)
+ {
+ __pStopLabel->SetBackgroundBitmap(*__pStopPressedBitmap);
+ __pStopLabel->Invalidate(true);
+ }
+
+ }
+ else
+ {
+ if (__pStopBitmap != null)
+ {
+ __pStopLabel->SetBackgroundBitmap(*__pStopBitmap);
+ __pStopLabel->Invalidate(false);
+ }
+ }
+ }
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file CheckBoxCustomItem.cpp\r
- * @brief The CheckBoxCustomItem\r
- */\r
-#include <FApp.h>\r
-#include <FUiControls.h>\r
-\r
-#include "ClkCheckBoxCustomItem.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_STRING = 500;\r
-static const int IDA_FORMAT_RADIO_BUTTON = 501;\r
-static const int IDA_FORMAT_CHECK_BUTTON = 502;\r
-\r
-CheckBoxCustomItem::CheckBoxCustomItem(void)\r
-:__isSelected(false),\r
- __text("")\r
-{\r
-\r
-}\r
-\r
-CheckBoxCustomItem::~CheckBoxCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-CheckBoxCustomItem::Construct(int width, int height)\r
-{\r
- result r = E_FAILURE;\r
-\r
- __width = width;\r
- __height = height;\r
- const Dimension dim(width, height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-CheckBoxCustomItem::SetText(String& text)\r
-{\r
- __text = text;\r
-}\r
-\r
-String\r
-CheckBoxCustomItem::GetText(void)\r
-{\r
- return __text;\r
-}\r
-\r
-result\r
-CheckBoxCustomItem::Make(void)\r
-{\r
- result r = E_FAILURE;\r
- Color textColor = Color(70, 70, 70);\r
- Color pressedTextColor = Color(249, 249, 249);\r
- Bitmap* pBitmap = null;\r
- int textX = 0;\r
- int itemX = 26;\r
- int itemY = 5;\r
- int textFont = 40;\r
- pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_CHECK_BG);\r
- AddElement(Rectangle(itemX, (__height-pBitmap->GetHeight())/2, pBitmap->GetWidth(), pBitmap->GetHeight()), IDA_FORMAT_RADIO_BUTTON, *pBitmap, null);\r
- textX = pBitmap->GetWidth() + 36;\r
-\r
- if (__isSelected == true)\r
- {\r
- pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_CHECK_CHECKING);\r
- AddElement(Rectangle(itemX, (__height-pBitmap->GetHeight())/2, pBitmap->GetWidth(), pBitmap->GetHeight()), IDA_FORMAT_CHECK_BUTTON, *pBitmap, null);\r
- }\r
-\r
- AppLogDebug("RadioCustomItem::the text is %ls",__text.GetPointer());\r
-\r
- AddElement(Rectangle(textX, itemY, __width - itemX, __height), IDA_FORMAT_STRING,__text, textFont, textColor, pressedTextColor, pressedTextColor, false);\r
-\r
- SetElementSelectionEnabled(IDA_FORMAT_STRING, true);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-CheckBoxCustomItem::SetSelected(bool selectedValue)\r
-{\r
- __isSelected = selectedValue;\r
-}\r
-\r
-bool\r
-CheckBoxCustomItem::GetSelected(void)\r
-{\r
- return __isSelected;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file CheckBoxCustomItem.cpp
+ * @brief The CheckBoxCustomItem
+ */
+#include <FApp.h>
+#include <FUiControls.h>
+
+#include "ClkCheckBoxCustomItem.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_STRING = 500;
+static const int IDA_FORMAT_RADIO_BUTTON = 501;
+static const int IDA_FORMAT_CHECK_BUTTON = 502;
+
+CheckBoxCustomItem::CheckBoxCustomItem(void)
+:__isSelected(false),
+ __text("")
+{
+
+}
+
+CheckBoxCustomItem::~CheckBoxCustomItem(void)
+{
+
+}
+
+result
+CheckBoxCustomItem::Construct(int width, int height)
+{
+ result r = E_FAILURE;
+
+ __width = width;
+ __height = height;
+ const Dimension dim(width, height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+
+ return r;
+}
+
+void
+CheckBoxCustomItem::SetText(String& text)
+{
+ __text = text;
+}
+
+String
+CheckBoxCustomItem::GetText(void)
+{
+ return __text;
+}
+
+result
+CheckBoxCustomItem::Make(void)
+{
+ result r = E_FAILURE;
+ Color textColor = Color(70, 70, 70);
+ Color pressedTextColor = Color(249, 249, 249);
+ Bitmap* pBitmap = null;
+ int textX = 0;
+ int itemX = 26;
+ int itemY = 5;
+ int textFont = 40;
+ pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_CHECK_BG);
+ AddElement(Rectangle(itemX, (__height-pBitmap->GetHeight())/2, pBitmap->GetWidth(), pBitmap->GetHeight()), IDA_FORMAT_RADIO_BUTTON, *pBitmap, null);
+ textX = pBitmap->GetWidth() + 36;
+
+ if (__isSelected == true)
+ {
+ pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_CHECK_CHECKING);
+ AddElement(Rectangle(itemX, (__height-pBitmap->GetHeight())/2, pBitmap->GetWidth(), pBitmap->GetHeight()), IDA_FORMAT_CHECK_BUTTON, *pBitmap, null);
+ }
+
+ AppLogDebug("RadioCustomItem::the text is %ls",__text.GetPointer());
+
+ AddElement(Rectangle(textX, itemY, __width - itemX, __height), IDA_FORMAT_STRING,__text, textFont, textColor, pressedTextColor, pressedTextColor, false);
+
+ SetElementSelectionEnabled(IDA_FORMAT_STRING, true);
+
+ return r;
+}
+
+void
+CheckBoxCustomItem::SetSelected(bool selectedValue)
+{
+ __isSelected = selectedValue;
+}
+
+bool
+CheckBoxCustomItem::GetSelected(void)
+{
+ return __isSelected;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkCityListCustomItem\r
- * @brief This header file contains the declarations of the CityListCustomItem\r
- *\r
- */\r
-\r
-#include <FUiControls.h>\r
-#include "ClkCityListCustomItem.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Utility;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_STRING = 101;\r
-static const int IDA_FORMAT_SUB_STRING = 102;\r
-static const int IDA_FORMAT_RIGHT_SUB_STRING = 103;\r
-\r
-CityListCustomItem::CityListCustomItem(void)\r
-:__rightSubText(""),\r
- __subText(""),\r
- __text("")\r
-\r
-{\r
-\r
-}\r
-\r
-CityListCustomItem::~CityListCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-CityListCustomItem::Construct(int width, int height, bool searchBarModeOn)\r
-{\r
- result r = E_FAILURE;\r
- __width = width;\r
- __height = height;\r
- searchBarModeInput = searchBarModeOn;\r
- const Dimension dim(width, height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
- return r;\r
-\r
-}\r
-\r
-void\r
-CityListCustomItem::SetText(String& text)\r
-{\r
- __text = text;\r
-}\r
-\r
-String\r
-CityListCustomItem::GetText(void)\r
-{\r
- return __text;\r
-}\r
-\r
-void\r
-CityListCustomItem::SetSubText(String& text)\r
-{\r
- __subText.Clear();\r
- __subText.Append(text);\r
-}\r
-\r
-String\r
-CityListCustomItem::GetSubText(void)\r
-{\r
- return __subText;\r
-}\r
-\r
-void\r
-CityListCustomItem::SetRightSubText(String& text)\r
-{\r
- __rightSubText.Clear();\r
- __rightSubText.Append(text);\r
-}\r
-\r
-String\r
-CityListCustomItem::GetRightSubText(void)\r
-{\r
- return __rightSubText;\r
-}\r
-\r
-result\r
-CityListCustomItem::Make(String& searchText)\r
-{\r
- result r = E_SUCCESS;\r
- Color pressedTextColor = Color(255, 255, 255);\r
- int textSize = 44;\r
- int xMargin = 26;\r
- int yMargin = 22;\r
- int width_Element = __width - 60;\r
- int width_text = width_Element - 200;\r
- int width_rightSubText = 200;\r
- int stringHeight = 54;\r
- int subStringHeight = 42;\r
- int subStringFont = 32;\r
- EnrichedText text;\r
- EnrichedText subText;\r
- EnrichedText rightSubText;\r
- TextElement* textElement = null;\r
- TextElement* subTextElement = null;\r
- TextElement* rightSubTextElement = null;\r
- int compareValue = -1;\r
- Font textFont;\r
- Font subTextFont;\r
- String* token = NULL;\r
- int index = 0;\r
- int count = 0;\r
- ArrayList tokens;\r
- int length;\r
- String* pStr = null;\r
- Color textColor = Color(0, 0, 0);\r
- Color redColor = Color::GetColor(COLOR_ID_RED);\r
-\r
- text.Construct(Dimension(width_text, stringHeight));\r
- subText.Construct(Dimension(width_Element, subStringHeight));\r
- rightSubText.Construct(Dimension(width_Element,subStringHeight));\r
-\r
- tokens.Construct();\r
-\r
- if (searchText == L"")\r
- {\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- *token = __text;\r
- tokens.Add(token);\r
- }\r
- else\r
- {\r
- length = __text.GetLength();\r
-\r
- while (length > 0)\r
- {\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = __text.IndexOf(searchText, 0, index);\r
-\r
- if(r == E_OBJ_NOT_FOUND)\r
- {\r
- *token = __text;\r
- tokens.Add(token);\r
- __text.Remove(0, __text.GetLength());\r
- }\r
- else\r
- {\r
-\r
- if(index == 0)\r
- {\r
- delete token;\r
- token = null;\r
- }\r
- else\r
- {\r
- __text.SubString(0, index, *token);\r
- tokens.Add(token);\r
- __text.Remove(0, index);\r
- }\r
-\r
- __text.Remove(0,searchText.GetLength());\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- *token = searchText;\r
- tokens.Add(token);\r
-\r
- }\r
- length = __text.GetLength();\r
- }\r
- }\r
-\r
- textFont.Construct(FONT_STYLE_BOLD, textSize);\r
-\r
- length = tokens.GetCount();\r
- while (count < length)\r
- {\r
- pStr = static_cast< String* > (tokens.GetAt(count));\r
-\r
- textElement = new (std::nothrow) TextElement();\r
- textElement->Construct();\r
-\r
- textElement->SetFont(textFont);\r
- textElement->SetText(*pStr);\r
-\r
- compareValue = String::Compare(searchText, *pStr);\r
-\r
- if (compareValue == 0)\r
- {\r
- textElement->SetTextColor(redColor);\r
- }\r
- else\r
- {\r
- textElement->SetTextColor(textColor);\r
- }\r
-\r
- text.Add(*textElement);\r
- count++;\r
- }\r
-\r
- AddElement(Rectangle(xMargin, yMargin, width_text, stringHeight), IDA_FORMAT_STRING, text);\r
-\r
- tokens.RemoveAll();\r
-\r
- if(searchText == L"")\r
- {\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- *token = __subText;\r
- tokens.Add(token);\r
- }\r
- else\r
- {\r
- length = __subText.GetLength();\r
-\r
- while (length > 0)\r
- {\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = __subText.IndexOf(searchText, 0, index);\r
-\r
- if (r == E_OBJ_NOT_FOUND)\r
- {\r
- *token = __subText;\r
- tokens.Add(token);\r
- __subText.Remove(0, __subText.GetLength());\r
- }\r
- else\r
- {\r
-\r
- if (index == 0)\r
- {\r
- delete token;\r
- token = null;\r
- }\r
- else\r
- {\r
- __subText.SubString(0, index, *token);\r
- tokens.Add(token);\r
- __subText.Remove(0, index);\r
- }\r
-\r
- __subText.Remove(0,searchText.GetLength());\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- *token = searchText;\r
- tokens.Add(token);\r
- }\r
- length = __subText.GetLength();\r
-\r
- }\r
- }\r
-\r
- subTextFont.Construct(FONT_STYLE_BOLD, subStringFont);\r
- count = 0;\r
-\r
- if (searchBarModeInput == true)\r
- textColor = Color(0,0,0);\r
- else\r
- textColor = Color(128,128,128);\r
-\r
- length = tokens.GetCount();\r
-\r
- rightSubText.SetHorizontalAlignment(TEXT_ALIGNMENT_RIGHT);\r
-\r
- while (count < length)\r
- {\r
- pStr = static_cast< String* > (tokens.GetAt(count));\r
-\r
- subTextElement = new (std::nothrow) TextElement();\r
- subTextElement->Construct();\r
-\r
- subTextElement->SetFont(subTextFont);\r
- subTextElement->SetText(*pStr);\r
-\r
- compareValue = String::Compare(searchText, *pStr);\r
-\r
- if (compareValue == 0)\r
- {\r
- subTextElement->SetTextColor(redColor);\r
- }\r
- else\r
- {\r
- subTextElement->SetTextColor(textColor);\r
- }\r
-\r
- subText.Add(*subTextElement);\r
-\r
- count++;\r
- }\r
-\r
- AddElement(Rectangle(xMargin, yMargin + stringHeight, width_Element, subStringHeight), IDA_FORMAT_SUB_STRING, subText);\r
-\r
-\r
- tokens.RemoveAll();\r
-\r
- if(searchText == L"")\r
- {\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- *token = __rightSubText;\r
- tokens.Add(token);\r
- }\r
- else\r
- {\r
- length = __rightSubText.GetLength();\r
-\r
- while (length > 0)\r
- {\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = __rightSubText.IndexOf(searchText, 0, index);\r
-\r
- if (r == E_OBJ_NOT_FOUND)\r
- {\r
- *token = __rightSubText;\r
- tokens.Add(token);\r
- __rightSubText.Remove(0, __rightSubText.GetLength());\r
- }\r
- else\r
- {\r
-\r
- if (index == 0)\r
- {\r
- delete token;\r
- token = null;\r
- }\r
- else\r
- {\r
- __rightSubText.SubString(0, index, *token);\r
- tokens.Add(token);\r
- __rightSubText.Remove(0, index);\r
- }\r
-\r
- __rightSubText.Remove(0,searchText.GetLength());\r
- token = new String();\r
-\r
- if (token == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- *token = searchText;\r
- tokens.Add(token);\r
- }\r
- length = __rightSubText.GetLength();\r
-\r
- }\r
- }\r
-\r
- count = 0;\r
-\r
- if (searchBarModeInput == true)\r
- textColor = Color(0,0,0);\r
- else\r
- textColor = Color(128,128,128);\r
-\r
- length = tokens.GetCount();\r
-\r
- rightSubText.SetHorizontalAlignment(TEXT_ALIGNMENT_RIGHT);\r
-\r
- while (count < length)\r
- {\r
- pStr = static_cast< String* > (tokens.GetAt(count));\r
-\r
- rightSubTextElement = new (std::nothrow) TextElement();\r
- rightSubTextElement->Construct();\r
-\r
- rightSubTextElement->SetFont(subTextFont);\r
- rightSubTextElement->SetText(*pStr);\r
-\r
- compareValue = String::Compare(searchText, *pStr);\r
-\r
- if (compareValue == 0)\r
- {\r
- rightSubTextElement->SetTextColor(redColor);\r
- }\r
- else\r
- {\r
- rightSubTextElement->SetTextColor(textColor);\r
- }\r
-\r
- rightSubText.Add(*rightSubTextElement);\r
-\r
- count++;\r
- }\r
-\r
- AddElement(Rectangle(xMargin + width_text + 16, yMargin, width_rightSubText, subStringHeight), IDA_FORMAT_RIGHT_SUB_STRING, rightSubText);\r
-\r
- tokens.RemoveAll();\r
-\r
- return r;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkCityListCustomItem
+ * @brief This header file contains the declarations of the CityListCustomItem
+ *
+ */
+
+#include <FUiControls.h>
+#include "ClkCityListCustomItem.h"
+
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Utility;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_STRING = 101;
+static const int IDA_FORMAT_SUB_STRING = 102;
+static const int IDA_FORMAT_RIGHT_SUB_STRING = 103;
+
+CityListCustomItem::CityListCustomItem(void)
+:__rightSubText(""),
+ __subText(""),
+ __text("")
+
+{
+
+}
+
+CityListCustomItem::~CityListCustomItem(void)
+{
+
+}
+
+result
+CityListCustomItem::Construct(int width, int height, bool searchBarModeOn)
+{
+ result r = E_FAILURE;
+ __width = width;
+ __height = height;
+ searchBarModeInput = searchBarModeOn;
+ const Dimension dim(width, height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ return r;
+
+}
+
+void
+CityListCustomItem::SetText(String& text)
+{
+ __text = text;
+}
+
+String
+CityListCustomItem::GetText(void)
+{
+ return __text;
+}
+
+void
+CityListCustomItem::SetSubText(String& text)
+{
+ __subText.Clear();
+ __subText.Append(text);
+}
+
+String
+CityListCustomItem::GetSubText(void)
+{
+ return __subText;
+}
+
+void
+CityListCustomItem::SetRightSubText(String& text)
+{
+ __rightSubText.Clear();
+ __rightSubText.Append(text);
+}
+
+String
+CityListCustomItem::GetRightSubText(void)
+{
+ return __rightSubText;
+}
+
+result
+CityListCustomItem::Make(String& searchText)
+{
+ result r = E_SUCCESS;
+ Color pressedTextColor = Color(255, 255, 255);
+ int textSize = 44;
+ int xMargin = 26;
+ int yMargin = 22;
+ int width_Element = __width - 60;
+ int width_text = width_Element - 200;
+ int width_rightSubText = 200;
+ int stringHeight = 54;
+ int subStringHeight = 42;
+ int subStringFont = 32;
+ EnrichedText text;
+ EnrichedText subText;
+ EnrichedText rightSubText;
+ TextElement* textElement = null;
+ TextElement* subTextElement = null;
+ TextElement* rightSubTextElement = null;
+ int compareValue = -1;
+ Font textFont;
+ Font subTextFont;
+ String* token = NULL;
+ int index = 0;
+ int count = 0;
+ ArrayList tokens;
+ int length;
+ String* pStr = null;
+ Color textColor = Color(0, 0, 0);
+ Color redColor = Color::GetColor(COLOR_ID_RED);
+
+ text.Construct(Dimension(width_text, stringHeight));
+ subText.Construct(Dimension(width_Element, subStringHeight));
+ rightSubText.Construct(Dimension(width_Element,subStringHeight));
+
+ tokens.Construct();
+
+ if (searchText == L"")
+ {
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ *token = __text;
+ tokens.Add(token);
+ }
+ else
+ {
+ length = __text.GetLength();
+
+ while (length > 0)
+ {
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ r = __text.IndexOf(searchText, 0, index);
+
+ if(r == E_OBJ_NOT_FOUND)
+ {
+ *token = __text;
+ tokens.Add(token);
+ __text.Remove(0, __text.GetLength());
+ }
+ else
+ {
+
+ if(index == 0)
+ {
+ delete token;
+ token = null;
+ }
+ else
+ {
+ __text.SubString(0, index, *token);
+ tokens.Add(token);
+ __text.Remove(0, index);
+ }
+
+ __text.Remove(0,searchText.GetLength());
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ *token = searchText;
+ tokens.Add(token);
+
+ }
+ length = __text.GetLength();
+ }
+ }
+
+ textFont.Construct(FONT_STYLE_BOLD, textSize);
+
+ length = tokens.GetCount();
+ while (count < length)
+ {
+ pStr = static_cast< String* > (tokens.GetAt(count));
+
+ textElement = new (std::nothrow) TextElement();
+ textElement->Construct();
+
+ textElement->SetFont(textFont);
+ textElement->SetText(*pStr);
+
+ compareValue = String::Compare(searchText, *pStr);
+
+ if (compareValue == 0)
+ {
+ textElement->SetTextColor(redColor);
+ }
+ else
+ {
+ textElement->SetTextColor(textColor);
+ }
+
+ text.Add(*textElement);
+ count++;
+ }
+
+ AddElement(Rectangle(xMargin, yMargin, width_text, stringHeight), IDA_FORMAT_STRING, text);
+
+ tokens.RemoveAll();
+
+ if(searchText == L"")
+ {
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ *token = __subText;
+ tokens.Add(token);
+ }
+ else
+ {
+ length = __subText.GetLength();
+
+ while (length > 0)
+ {
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ r = __subText.IndexOf(searchText, 0, index);
+
+ if (r == E_OBJ_NOT_FOUND)
+ {
+ *token = __subText;
+ tokens.Add(token);
+ __subText.Remove(0, __subText.GetLength());
+ }
+ else
+ {
+
+ if (index == 0)
+ {
+ delete token;
+ token = null;
+ }
+ else
+ {
+ __subText.SubString(0, index, *token);
+ tokens.Add(token);
+ __subText.Remove(0, index);
+ }
+
+ __subText.Remove(0,searchText.GetLength());
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ *token = searchText;
+ tokens.Add(token);
+ }
+ length = __subText.GetLength();
+
+ }
+ }
+
+ subTextFont.Construct(FONT_STYLE_BOLD, subStringFont);
+ count = 0;
+
+ if (searchBarModeInput == true)
+ textColor = Color(0,0,0);
+ else
+ textColor = Color(128,128,128);
+
+ length = tokens.GetCount();
+
+ rightSubText.SetHorizontalAlignment(TEXT_ALIGNMENT_RIGHT);
+
+ while (count < length)
+ {
+ pStr = static_cast< String* > (tokens.GetAt(count));
+
+ subTextElement = new (std::nothrow) TextElement();
+ subTextElement->Construct();
+
+ subTextElement->SetFont(subTextFont);
+ subTextElement->SetText(*pStr);
+
+ compareValue = String::Compare(searchText, *pStr);
+
+ if (compareValue == 0)
+ {
+ subTextElement->SetTextColor(redColor);
+ }
+ else
+ {
+ subTextElement->SetTextColor(textColor);
+ }
+
+ subText.Add(*subTextElement);
+
+ count++;
+ }
+
+ AddElement(Rectangle(xMargin, yMargin + stringHeight, width_Element, subStringHeight), IDA_FORMAT_SUB_STRING, subText);
+
+
+ tokens.RemoveAll();
+
+ if(searchText == L"")
+ {
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ *token = __rightSubText;
+ tokens.Add(token);
+ }
+ else
+ {
+ length = __rightSubText.GetLength();
+
+ while (length > 0)
+ {
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ r = __rightSubText.IndexOf(searchText, 0, index);
+
+ if (r == E_OBJ_NOT_FOUND)
+ {
+ *token = __rightSubText;
+ tokens.Add(token);
+ __rightSubText.Remove(0, __rightSubText.GetLength());
+ }
+ else
+ {
+
+ if (index == 0)
+ {
+ delete token;
+ token = null;
+ }
+ else
+ {
+ __rightSubText.SubString(0, index, *token);
+ tokens.Add(token);
+ __rightSubText.Remove(0, index);
+ }
+
+ __rightSubText.Remove(0,searchText.GetLength());
+ token = new String();
+
+ if (token == null)
+ {
+ return E_FAILURE;
+ }
+
+ *token = searchText;
+ tokens.Add(token);
+ }
+ length = __rightSubText.GetLength();
+
+ }
+ }
+
+ count = 0;
+
+ if (searchBarModeInput == true)
+ textColor = Color(0,0,0);
+ else
+ textColor = Color(128,128,128);
+
+ length = tokens.GetCount();
+
+ rightSubText.SetHorizontalAlignment(TEXT_ALIGNMENT_RIGHT);
+
+ while (count < length)
+ {
+ pStr = static_cast< String* > (tokens.GetAt(count));
+
+ rightSubTextElement = new (std::nothrow) TextElement();
+ rightSubTextElement->Construct();
+
+ rightSubTextElement->SetFont(subTextFont);
+ rightSubTextElement->SetText(*pStr);
+
+ compareValue = String::Compare(searchText, *pStr);
+
+ if (compareValue == 0)
+ {
+ rightSubTextElement->SetTextColor(redColor);
+ }
+ else
+ {
+ rightSubTextElement->SetTextColor(textColor);
+ }
+
+ rightSubText.Add(*rightSubTextElement);
+
+ count++;
+ }
+
+ AddElement(Rectangle(xMargin + width_text + 16, yMargin, width_rightSubText, subStringHeight), IDA_FORMAT_RIGHT_SUB_STRING, rightSubText);
+
+ tokens.RemoveAll();
+
+ return r;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file CityListForm.cpp\r
- * @brief Used to define CityListForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FLocales.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkAlarmRepeatCustomItem.h"\r
-#include "ClkCityListForm.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkCityListCustomItem.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkWorldClockPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-\r
-const wchar_t* NO_CITYS = L"No Alarms";\r
-\r
-static const int IDA_FOOTER_NAME_CLICKED = 101;\r
-static const int IDA_FOOTER_TIME_CLICKED = 102;\r
-static const int IDA_SEARCH_CANCEL_CLICKED = 103;\r
-\r
-NameComparer::NameComparer(void)\r
-{\r
-\r
-}\r
-\r
-NameComparer::~NameComparer(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-NameComparer::Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const\r
-{\r
- result r = E_SUCCESS;\r
- TimeZone *pTz1 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj1));\r
- TimeZone *pTz2 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj2));\r
- String cityNameTz1;\r
- String areaNameTz1;\r
- String cityNameTz2;\r
- String areaNameTz2;\r
- int separatorIndex = 0;\r
-\r
-\r
- if(pTz1 == null || pTz2 == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pTz1->GetId().IndexOf(L"/", 0, separatorIndex);\r
- pTz1->GetId().SubString(separatorIndex + 1, cityNameTz1);\r
- pTz1->GetId().SubString(0, separatorIndex, areaNameTz1);\r
-\r
- pTz2->GetId().IndexOf(L"/", 0, separatorIndex);\r
- pTz2->GetId().SubString(separatorIndex + 1, cityNameTz2);\r
- pTz2->GetId().SubString(0, separatorIndex, areaNameTz2);\r
-\r
- cmp = cityNameTz1.CompareTo(cityNameTz2);\r
- return r;\r
-}\r
-\r
-TimeComparer::TimeComparer(void)\r
-{\r
-\r
-}\r
-TimeComparer::~TimeComparer(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-TimeComparer::Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const\r
-{\r
- result r = E_SUCCESS;\r
- TimeZone *pTz1 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj1));\r
- TimeZone *pTz2 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj2));\r
-\r
- if(pTz1 == null || pTz2 == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- cmp = pTz1->GetRawOffset() - pTz2->GetRawOffset();\r
- return r;\r
-}\r
-\r
-CityListForm::CityListForm()\r
-: __pDataList(null)\r
-, __pMsgBox(null)\r
-, __pNameListview(null)\r
-, __pSearchBar(null)\r
-, __pTimeListview(null)\r
-, __searchText("")\r
-{\r
-\r
-}\r
-\r
-CityListForm::~CityListForm(void)\r
-{\r
-}\r
-\r
-bool\r
-CityListForm::Initialize(void)\r
-{\r
- Construct(L"IDL_CITY_LIST");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-CityListForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- String fastScrollIndex = L"ABCDEFGHIJKLMNOPQRSTUVWXYZ";\r
-\r
- GetFooter()->SetItemSelected(0);\r
- GetFooter()->AddActionEventListener(*this);\r
- GetHeader()->SetTitleText(CommonUtil::GetString("IDS_WCL_HEADER_SELECT_TIME_ZONE"));\r
-\r
- SetFormBackEventListener(this);\r
- AddOrientationEventListener(*this);\r
- __pNameListview = dynamic_cast<ListView*>(GetControl(L"IDC_CITY_LISTVIEW"));\r
-\r
- if(__pNameListview == null)\r
- {\r
- return E_FAILURE;\r
- }\r
- __pNameListview->SetItemProvider(*this);\r
- __pNameListview->AddListViewItemEventListener(*this);\r
- __pNameListview->SetFastScrollIndex(fastScrollIndex, false);\r
- __pNameListview->AddFastScrollListener(*this);\r
-\r
-\r
- __pTimeListview = new ListView();\r
-\r
- if(__pTimeListview == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pTimeListview->Construct(Rectangle(__pNameListview->GetX(), __pNameListview->GetY(), __pNameListview->GetWidth(), __pNameListview->GetHeight()));\r
- __pTimeListview->SetItemProvider(*this);\r
- __pTimeListview->AddListViewItemEventListener(*this);\r
- __pTimeListview->SetShowState(false);\r
- __pTimeListview->SetTextOfEmptyList(CommonUtil::GetString(L"IDS_COM_BODY_NO_SEARCH_RESULTS"));\r
- AddControl(*__pTimeListview);\r
-\r
- __pSearchBar = dynamic_cast<SearchBar*>(GetControl(L"IDC_CITY_SEARCHBAR"));\r
-\r
- if(__pSearchBar != null)\r
- {\r
- __pSearchBar->AddActionEventListener(*this);\r
- __pSearchBar->AddSearchBarEventListener(*this);\r
- __pSearchBar->AddKeypadEventListener(*this);\r
- __pSearchBar->AddTextEventListener(*this);\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-CityListForm::OnTerminating(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-CityListForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- AppLogDebug("CityListForm::OnActionPerformed actionId = %d",actionId);\r
- String fastScrollIndexName = L"ABCDEFGHIJKLMNOPQRSTUVWXYZ";\r
- String fastScrollIndexTime = L" ";\r
-\r
- switch (actionId)\r
- {\r
- case IDA_SEARCH_CANCEL_CLICKED:\r
- {\r
- AppLog("came here");\r
- __searchText = L"";\r
- __pSearchBar->HideKeypad();\r
- __pSearchBar->Clear();\r
-\r
- if(__pNameListview->GetShowState())\r
- {\r
- __pNameListview->SetEnabled(true);\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->SetEnabled(true);\r
- __pTimeListview->UpdateList();\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_FOOTER_NAME_CLICKED:\r
- {\r
- __pNameListview->SetEnabled(true);\r
- __pTimeListview->SetShowState(false);\r
- __pNameListview->SetShowState(true);\r
-\r
- if(__pDataList)\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
-\r
- __pSearchBar->SetMode(SEARCH_BAR_MODE_NORMAL);\r
- __pNameListview->SetFastScrollIndex(fastScrollIndexName, false);\r
-\r
- }\r
- break;\r
-\r
- case IDA_FOOTER_TIME_CLICKED:\r
- {\r
- __pTimeListview->SetBounds(__pTimeListview->GetX(), __pSearchBar->GetY() + __pSearchBar->GetHeight(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
-\r
- __pTimeListview->SetEnabled(true);\r
- __pNameListview->SetShowState(false);\r
- __pTimeListview->SetShowState(true);\r
-\r
- if(__pDataList)\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
-\r
- __pSearchBar->SetMode(SEARCH_BAR_MODE_NORMAL);\r
- //__pTimeListview->SetFastScrollIndex(fastScrollIndexTime, true);\r
-\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- };\r
-\r
- Invalidate(true);\r
-\r
-}\r
-\r
-void\r
-CityListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
-\r
-}\r
-\r
-void\r
-CityListForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
-\r
-}\r
-\r
-void\r
-CityListForm::OnFormBackRequested(Form& source)\r
-{\r
- SceneManager::GetInstance()->GoBackward(BackwardSceneTransition());\r
-}\r
-\r
-ListItemBase *\r
-CityListForm::CreateItem(int index, int itemWidth)\r
-{\r
- int itemHeight = 124;\r
- int separatorIndex;\r
- CityListCustomItem *pItem = new CityListCustomItem();\r
- String cityName;\r
- String areaName;\r
- String gmtValue = L"GMT ";\r
- AppLog("before cast index is %d", index);\r
- TimeZone *pTimeZone = dynamic_cast<TimeZone*>(__pDataList->GetAt(index));\r
- bool searchBarModeOn = false;\r
-\r
- if ( pTimeZone == NULL)\r
- {\r
- if( pItem != NULL)\r
- {\r
- delete pItem;\r
- pItem = NULL;\r
- }\r
- return null;\r
- }\r
-\r
- AppLog("after cast");\r
- int offset = pTimeZone->GetRawOffset();\r
-\r
- if(__pSearchBar->GetMode() == SEARCH_BAR_MODE_INPUT)\r
- searchBarModeOn = true;\r
- else\r
- searchBarModeOn = false;\r
-\r
-\r
- pItem->Construct(GetClientAreaBounds().width, itemHeight, searchBarModeOn);\r
-\r
- pTimeZone->GetId().IndexOf(L"/", 0, separatorIndex);\r
- pTimeZone->GetId().SubString(separatorIndex + 1, cityName);\r
- pTimeZone->GetId().SubString(0, separatorIndex, areaName);\r
-\r
- if(offset >= 0)\r
- {\r
- gmtValue.Append("+");\r
- }\r
- else\r
- {\r
- gmtValue.Append("-");\r
- offset = 0 - offset;\r
- }\r
-\r
- gmtValue.Append(offset/60);\r
-\r
- if (offset%60 != 0)\r
- {\r
- gmtValue.Append(':');\r
- gmtValue.Append(offset%60);\r
- }\r
-\r
- pItem->SetText(cityName);\r
- pItem->SetSubText(areaName);\r
- pItem->SetRightSubText(gmtValue);\r
- pItem->Make(__searchText);\r
-\r
- AppLog("ending ");\r
- return pItem;\r
-}\r
-\r
-bool\r
-CityListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-CityListForm::GetItemCount(void)\r
-{\r
- if(__pDataList)\r
- {\r
- __pDataList->RemoveAll(true);\r
- }\r
-\r
- __pDataList = WorldClockPresentationModel::GetInstance()->GetCityList(__searchText);\r
-\r
- if(GetFooter()->GetSelectedItemIndex() == 0)\r
- {\r
- __pDataList->Sort(nameComparer);\r
- }\r
- else\r
- {\r
- __pDataList->Sort(timeComparer);\r
- }\r
-\r
- AppLog("SearchText : %ls, Count : %d",__searchText.GetPointer(), __pDataList->GetCount());\r
- return __pDataList->GetCount();\r
-}\r
-\r
-void\r
-CityListForm::OnListViewContextItemStateChanged(ListView& listView, int index, int elementId, ListContextItemStatus status)\r
-{\r
-\r
-}\r
-\r
-void\r
-CityListForm::OnListViewItemLongPressed(ListView& listView, int index, int elementId, bool& invokeListViewItemCallback)\r
-{\r
-\r
-}\r
-\r
-void\r
-CityListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- int count ;\r
- ArrayList worldClockList;\r
- WorldClock* pWorldClock = null ;\r
- String city;\r
- String cityName;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
-\r
- // Only 20 cities allowed\r
- if ( count > 20)\r
- {\r
- String msg = CommonUtil::GetString(L"IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST");\r
- CreateMessage(msg);\r
- return ;\r
- }\r
-\r
- pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);\r
-\r
-\r
-\r
- TimeZone *pTimeZone = dynamic_cast<TimeZone*>(__pDataList->GetAt(index));\r
-\r
- if ( pTimeZone != null )\r
- {\r
- AppLog("CityListForm::OnListViewItemStateChanged 1");\r
- int separatorIndex;\r
- pTimeZone->GetId().IndexOf(L"/", 0, separatorIndex);\r
- pTimeZone->GetId().SubString(separatorIndex + 1, cityName);\r
- String areaName;\r
- pTimeZone->GetId().SubString(0, separatorIndex, areaName);\r
- int offset = pTimeZone->GetRawOffset();\r
-\r
- for(int index = 0 ; index < count ; index ++)\r
- {\r
- pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));\r
-\r
- if( pWorldClock == NULL)\r
- {\r
- return ;\r
- }\r
-\r
- AppLog("CityListForm::OnListViewItemStateChanged 2");\r
- city = pWorldClock->GetWorldClockCity();\r
- city.Trim();\r
- cityName.Trim();\r
-\r
- if( city.Equals(cityName,false))\r
- {\r
- String msg = CommonUtil::GetString(L"IDS_BODY_WORLD_CLOCK_EXIST");\r
- CreateMessage(msg);\r
- return ;\r
- }\r
- }\r
- AppLog("CityListForm::OnListViewItemStateChanged 3 offset = %d", offset);\r
- WorldClock wc;\r
- wc.SetWorldClockCity(cityName);\r
- wc.SetWorldClockCountry(areaName);\r
- wc.SetTimeZone(offset);\r
- wc.SetDstTime(0);\r
-\r
- AppLog("cityName = %ls areaName = %ls offset = %d", cityName.GetPointer(), areaName.GetPointer(), offset);\r
- //save to DB\r
- pWorldClockPresentationModel->AddWorldClock(wc);\r
- SceneManager::GetInstance()->GoBackward(BackwardSceneTransition());\r
- }\r
-}\r
-\r
-void\r
-CityListForm::OnListViewItemSwept(ListView& listView, int index, SweepDirection direction)\r
-{\r
-\r
-}\r
-\r
-void\r
-CityListForm::OnSearchBarModeChanged(Tizen::Ui::Controls::SearchBar& source, SearchBarMode mode)\r
-{\r
- if(mode == SEARCH_BAR_MODE_NORMAL)\r
- {\r
- __searchText = L"";\r
-\r
- if(__pNameListview->GetShowState())\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
- }\r
- else\r
- {\r
- if(__pNameListview->GetShowState())\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
- }\r
-}\r
-\r
-void\r
-CityListForm::OnKeypadWillOpen(Tizen::Ui::Control& source)\r
-{\r
-\r
- if(__pTimeListview->GetShowState())\r
- {\r
- __pTimeListview->SetBounds(__pTimeListview->GetX(), __pTimeListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
- }\r
-\r
- if(__pNameListview->GetShowState())\r
- {\r
- __pNameListview->SetBounds(__pNameListview->GetX(), __pNameListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
- }\r
-\r
- Invalidate(true);\r
-}\r
-void\r
-CityListForm::OnKeypadOpened(Tizen::Ui::Control& source)\r
-{\r
-\r
- if (__pNameListview)\r
- {\r
- __pNameListview->SetEnabled(false);\r
- }\r
-\r
-\r
- __pNameListview->SetBounds(__pNameListview->GetX(), __pNameListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
- __pTimeListview->SetBounds(__pTimeListview->GetX(), __pTimeListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
-\r
- Invalidate(true);\r
-}\r
-void\r
-CityListForm::OnKeypadClosed(Tizen::Ui::Control& source)\r
-{\r
-\r
- if (__pNameListview)\r
- {\r
- __pNameListview->SetEnabled(true);\r
- }\r
-\r
- __pNameListview->SetBounds(__pNameListview->GetX(), __pNameListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
- __pTimeListview->SetBounds(__pTimeListview->GetX(), __pTimeListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
-\r
- Invalidate(true);\r
-}\r
-void\r
-CityListForm::OnKeypadActionPerformed(Tizen::Ui::Control& source, Tizen::Ui::KeypadAction keypadAction)\r
-{\r
- if(keypadAction == KEYPAD_ACTION_SEARCH)\r
- {\r
- __searchText = __pSearchBar->GetText();\r
-\r
- if(__pNameListview->GetShowState() == true)\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
-\r
- __pSearchBar->HideKeypad();\r
-\r
- }\r
-}\r
-\r
-void\r
-CityListForm::OnFastScrollIndexSelected(Tizen::Ui::Control& source, Tizen::Base::String& index)\r
-{\r
- AppLog("OnFastScrollIndexSelected : %ls", index.GetPointer());\r
- int orderby = GetFooter()->GetSelectedItemIndex();\r
- int maxCount = 0;\r
-\r
- if(__pDataList == null)\r
- {\r
- return;\r
- }\r
- maxCount = __pDataList->GetCount();\r
-\r
- for(int count = 0; count < maxCount; count++)\r
- {\r
- TimeZone *pTimeZone = dynamic_cast<TimeZone*>(__pDataList->GetAt(count));\r
-\r
- if ( pTimeZone == NULL)\r
- {\r
- return;\r
- }\r
-\r
- if(orderby == 0)\r
- {\r
- int separatorIndex;\r
- pTimeZone->GetId().IndexOf(L"/", 0, separatorIndex);\r
- String cityName;\r
- pTimeZone->GetId().SubString(separatorIndex + 1, cityName);\r
-\r
- if( cityName.StartsWith(index, 0) == true)\r
- {\r
- __pNameListview->ScrollToItem(count);\r
- __pNameListview->Invalidate(false);\r
- break;\r
- }\r
- }\r
- }\r
-}\r
-\r
-void\r
-CityListForm::CreateMessage(String& str)\r
-{\r
- int modalMsgBoxResult = 0;\r
-\r
- if (__pMsgBox != null)\r
- {\r
- delete __pMsgBox;\r
- __pMsgBox = null;\r
- }\r
-\r
- __pMsgBox = new(std::nothrow) MessageBox;\r
-\r
- if (__pMsgBox != null)\r
- {\r
- __pMsgBox->Construct(L"", str, MSGBOX_STYLE_OK, 3000);\r
- }\r
-\r
- if (__pMsgBox != null)\r
- {\r
- __pMsgBox->ShowAndWait(modalMsgBoxResult);\r
-\r
- if (__pMsgBox != null)\r
- {\r
- delete __pMsgBox;\r
- __pMsgBox = null;\r
- }\r
- }\r
-\r
-\r
- return;\r
-}\r
-\r
-void\r
-CityListForm::OnTextValueChanged(const Control& source)\r
-{\r
- GetFooter()->SetShowState(true);\r
- GetFooter()->Invalidate(true);\r
-\r
- __searchText = __pSearchBar->GetText();\r
-\r
- if (__searchText == "")\r
- {\r
- if(__pNameListview->GetShowState() == true)\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
- __pSearchBar->SetFocus();\r
- }\r
- else\r
- {\r
- if(__pNameListview->GetShowState() == true)\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
- }\r
-\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-CityListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- __pTimeListview->SetBounds(__pTimeListview->GetX(), __pSearchBar->GetY() + __pSearchBar->GetHeight(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());\r
-\r
- if(__pNameListview->GetShowState())\r
- {\r
- __pNameListview->UpdateList();\r
- }\r
- else\r
- {\r
- __pTimeListview->UpdateList();\r
- }\r
-\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file CityListForm.cpp
+ * @brief Used to define CityListForm
+ */
+
+#include <FApp.h>
+#include <FLocales.h>
+
+#include "ClkAlarm.h"
+#include "ClkAlarmPresentationModel.h"
+#include "ClkAlarmRepeatCustomItem.h"
+#include "ClkCityListForm.h"
+#include "ClkCommonLib.h"
+#include "ClkCityListCustomItem.h"
+#include "ClkSceneRegister.h"
+#include "ClkWorldClockPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Graphics;
+using namespace Tizen::Locales;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+
+const wchar_t* NO_CITYS = L"No Alarms";
+
+static const int IDA_FOOTER_NAME_CLICKED = 101;
+static const int IDA_FOOTER_TIME_CLICKED = 102;
+static const int IDA_SEARCH_CANCEL_CLICKED = 103;
+
+NameComparer::NameComparer(void)
+{
+
+}
+
+NameComparer::~NameComparer(void)
+{
+
+}
+
+result
+NameComparer::Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const
+{
+ result r = E_SUCCESS;
+ TimeZone *pTz1 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj1));
+ TimeZone *pTz2 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj2));
+ String cityNameTz1;
+ String areaNameTz1;
+ String cityNameTz2;
+ String areaNameTz2;
+ int separatorIndex = 0;
+
+
+ if(pTz1 == null || pTz2 == null)
+ {
+ return E_FAILURE;
+ }
+
+ pTz1->GetId().IndexOf(L"/", 0, separatorIndex);
+ pTz1->GetId().SubString(separatorIndex + 1, cityNameTz1);
+ pTz1->GetId().SubString(0, separatorIndex, areaNameTz1);
+
+ pTz2->GetId().IndexOf(L"/", 0, separatorIndex);
+ pTz2->GetId().SubString(separatorIndex + 1, cityNameTz2);
+ pTz2->GetId().SubString(0, separatorIndex, areaNameTz2);
+
+ cmp = cityNameTz1.CompareTo(cityNameTz2);
+ return r;
+}
+
+TimeComparer::TimeComparer(void)
+{
+
+}
+TimeComparer::~TimeComparer(void)
+{
+
+}
+
+result
+TimeComparer::Compare(const Tizen::Base::Object& obj1, const Tizen::Base::Object& obj2, int& cmp)const
+{
+ result r = E_SUCCESS;
+ TimeZone *pTz1 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj1));
+ TimeZone *pTz2 = dynamic_cast<TimeZone*>(const_cast<Object*>(&obj2));
+
+ if(pTz1 == null || pTz2 == null)
+ {
+ return E_FAILURE;
+ }
+
+ cmp = pTz1->GetRawOffset() - pTz2->GetRawOffset();
+ return r;
+}
+
+CityListForm::CityListForm()
+: __pDataList(null)
+, __pMsgBox(null)
+, __pNameListview(null)
+, __pSearchBar(null)
+, __pTimeListview(null)
+, __searchText("")
+{
+
+}
+
+CityListForm::~CityListForm(void)
+{
+}
+
+bool
+CityListForm::Initialize(void)
+{
+ Construct(L"IDL_CITY_LIST");
+
+ return true;
+}
+
+result
+CityListForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ String fastScrollIndex = L"ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+
+ GetFooter()->SetItemSelected(0);
+ GetFooter()->AddActionEventListener(*this);
+ GetHeader()->SetTitleText(CommonUtil::GetString("IDS_WCL_HEADER_SELECT_TIME_ZONE"));
+
+ SetFormBackEventListener(this);
+ AddOrientationEventListener(*this);
+ __pNameListview = dynamic_cast<ListView*>(GetControl(L"IDC_CITY_LISTVIEW"));
+
+ if(__pNameListview == null)
+ {
+ return E_FAILURE;
+ }
+ __pNameListview->SetItemProvider(*this);
+ __pNameListview->AddListViewItemEventListener(*this);
+ __pNameListview->SetFastScrollIndex(fastScrollIndex, false);
+ __pNameListview->AddFastScrollListener(*this);
+
+
+ __pTimeListview = new ListView();
+
+ if(__pTimeListview == null)
+ {
+ return E_FAILURE;
+ }
+
+ __pTimeListview->Construct(Rectangle(__pNameListview->GetX(), __pNameListview->GetY(), __pNameListview->GetWidth(), __pNameListview->GetHeight()));
+ __pTimeListview->SetItemProvider(*this);
+ __pTimeListview->AddListViewItemEventListener(*this);
+ __pTimeListview->SetShowState(false);
+ __pTimeListview->SetTextOfEmptyList(CommonUtil::GetString(L"IDS_COM_BODY_NO_SEARCH_RESULTS"));
+ AddControl(*__pTimeListview);
+
+ __pSearchBar = dynamic_cast<SearchBar*>(GetControl(L"IDC_CITY_SEARCHBAR"));
+
+ if(__pSearchBar != null)
+ {
+ __pSearchBar->AddActionEventListener(*this);
+ __pSearchBar->AddSearchBarEventListener(*this);
+ __pSearchBar->AddKeypadEventListener(*this);
+ __pSearchBar->AddTextEventListener(*this);
+ }
+
+ return r;
+}
+
+result
+CityListForm::OnTerminating(void)
+{
+ return E_SUCCESS;
+}
+
+void
+CityListForm::OnActionPerformed(const Control& source, int actionId)
+{
+ AppLogDebug("CityListForm::OnActionPerformed actionId = %d",actionId);
+ String fastScrollIndexName = L"ABCDEFGHIJKLMNOPQRSTUVWXYZ";
+ String fastScrollIndexTime = L" ";
+
+ switch (actionId)
+ {
+ case IDA_SEARCH_CANCEL_CLICKED:
+ {
+ AppLog("came here");
+ __searchText = L"";
+ __pSearchBar->HideKeypad();
+ __pSearchBar->Clear();
+
+ if(__pNameListview->GetShowState())
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+
+ }
+ break;
+
+ case IDA_FOOTER_NAME_CLICKED:
+ {
+ __pTimeListview->SetShowState(false);
+ __pNameListview->SetShowState(true);
+
+ if(__pDataList)
+ {
+ __pNameListview->UpdateList();
+ }
+
+ __pSearchBar->SetMode(SEARCH_BAR_MODE_NORMAL);
+ __pNameListview->SetFastScrollIndex(fastScrollIndexName, false);
+
+ }
+ break;
+
+ case IDA_FOOTER_TIME_CLICKED:
+ {
+ __pTimeListview->SetBounds(__pTimeListview->GetX(), __pSearchBar->GetY() + __pSearchBar->GetHeight(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+
+ __pNameListview->SetShowState(false);
+ __pTimeListview->SetShowState(true);
+
+ if(__pDataList)
+ {
+ __pTimeListview->UpdateList();
+ }
+
+ __pSearchBar->SetMode(SEARCH_BAR_MODE_NORMAL);
+ //__pTimeListview->SetFastScrollIndex(fastScrollIndexTime, true);
+
+ }
+ break;
+
+ default:
+ break;
+ };
+
+ Invalidate(true);
+
+}
+
+void
+CityListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+
+}
+
+void
+CityListForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+
+}
+
+void
+CityListForm::OnFormBackRequested(Form& source)
+{
+ SceneManager::GetInstance()->GoBackward(BackwardSceneTransition());
+}
+
+ListItemBase *
+CityListForm::CreateItem(int index, int itemWidth)
+{
+ int itemHeight = 124;
+ int separatorIndex;
+ CityListCustomItem *pItem = new CityListCustomItem();
+ String cityName;
+ String areaName;
+ String gmtValue = L"GMT ";
+ AppLog("before cast index is %d", index);
+ TimeZone *pTimeZone = dynamic_cast<TimeZone*>(__pDataList->GetAt(index));
+ bool searchBarModeOn = false;
+
+ if ( pTimeZone == NULL)
+ {
+ if( pItem != NULL)
+ {
+ delete pItem;
+ pItem = NULL;
+ }
+ return null;
+ }
+
+ AppLog("after cast");
+ int offset = pTimeZone->GetRawOffset();
+
+ if(__pSearchBar->GetMode() == SEARCH_BAR_MODE_INPUT)
+ searchBarModeOn = true;
+ else
+ searchBarModeOn = false;
+
+
+ pItem->Construct(GetClientAreaBounds().width, itemHeight, searchBarModeOn);
+
+ pTimeZone->GetId().IndexOf(L"/", 0, separatorIndex);
+ pTimeZone->GetId().SubString(separatorIndex + 1, cityName);
+ pTimeZone->GetId().SubString(0, separatorIndex, areaName);
+
+ if(offset >= 0)
+ {
+ gmtValue.Append("+");
+ }
+ else
+ {
+ gmtValue.Append("-");
+ offset = 0 - offset;
+ }
+
+ gmtValue.Append(offset/60);
+
+ if (offset%60 != 0)
+ {
+ gmtValue.Append(':');
+ gmtValue.Append(offset%60);
+ }
+
+ pItem->SetText(cityName);
+ pItem->SetSubText(areaName);
+ pItem->SetRightSubText(gmtValue);
+ pItem->Make(__searchText);
+
+ AppLog("ending ");
+ return pItem;
+}
+
+bool
+CityListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+CityListForm::GetItemCount(void)
+{
+ if(__pDataList)
+ {
+ __pDataList->RemoveAll(true);
+ }
+
+ __pDataList = WorldClockPresentationModel::GetInstance()->GetCityList(__searchText);
+
+ if(GetFooter()->GetSelectedItemIndex() == 0)
+ {
+ __pDataList->Sort(nameComparer);
+ }
+ else
+ {
+ __pDataList->Sort(timeComparer);
+ }
+
+ AppLog("SearchText : %ls, Count : %d",__searchText.GetPointer(), __pDataList->GetCount());
+ return __pDataList->GetCount();
+}
+
+void
+CityListForm::OnListViewContextItemStateChanged(ListView& listView, int index, int elementId, ListContextItemStatus status)
+{
+
+}
+
+void
+CityListForm::OnListViewItemLongPressed(ListView& listView, int index, int elementId, bool& invokeListViewItemCallback)
+{
+
+}
+
+void
+CityListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ int count ;
+ ArrayList worldClockList;
+ WorldClock* pWorldClock = null ;
+ String city;
+ String cityName;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+
+ // Only 20 cities allowed
+ if ( count > 20)
+ {
+ String msg = CommonUtil::GetString(L"IDS_WCL_POP_UNABLE_TO_ADD_CITY_WORLD_CLOCK_LIST_FULL_DELETE_SOME_ITEMS_FIRST");
+ CreateMessage(msg);
+ return ;
+ }
+
+ pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);
+
+
+
+ TimeZone *pTimeZone = dynamic_cast<TimeZone*>(__pDataList->GetAt(index));
+
+ if ( pTimeZone != null )
+ {
+ AppLog("CityListForm::OnListViewItemStateChanged 1");
+ int separatorIndex;
+ pTimeZone->GetId().IndexOf(L"/", 0, separatorIndex);
+ pTimeZone->GetId().SubString(separatorIndex + 1, cityName);
+ String areaName;
+ pTimeZone->GetId().SubString(0, separatorIndex, areaName);
+ int offset = pTimeZone->GetRawOffset();
+
+ for(int index = 0 ; index < count ; index ++)
+ {
+ pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));
+
+ if( pWorldClock == NULL)
+ {
+ return ;
+ }
+
+ AppLog("CityListForm::OnListViewItemStateChanged 2");
+ city = pWorldClock->GetWorldClockCity();
+ city.Trim();
+ cityName.Trim();
+
+ if( city.Equals(cityName,false))
+ {
+ String msg = CommonUtil::GetString(L"IDS_BODY_WORLD_CLOCK_EXIST");
+ CreateMessage(msg);
+ return ;
+ }
+ }
+ AppLog("CityListForm::OnListViewItemStateChanged 3 offset = %d", offset);
+ WorldClock wc;
+ wc.SetWorldClockCity(cityName);
+ wc.SetWorldClockCountry(areaName);
+ wc.SetTimeZone(offset);
+ wc.SetDstTime(0);
+
+ AppLog("cityName = %ls areaName = %ls offset = %d", cityName.GetPointer(), areaName.GetPointer(), offset);
+ //save to DB
+ pWorldClockPresentationModel->AddWorldClock(wc);
+ SceneManager::GetInstance()->GoBackward(BackwardSceneTransition());
+ }
+}
+
+void
+CityListForm::OnListViewItemSwept(ListView& listView, int index, SweepDirection direction)
+{
+
+}
+
+void
+CityListForm::OnSearchBarModeChanged(Tizen::Ui::Controls::SearchBar& source, SearchBarMode mode)
+{
+ if(mode == SEARCH_BAR_MODE_NORMAL)
+ {
+ __searchText = L"";
+
+ if(__pNameListview->GetShowState())
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+ }
+ else
+ {
+ if(__pNameListview->GetShowState())
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+ }
+}
+
+void
+CityListForm::OnKeypadWillOpen(Tizen::Ui::Control& source)
+{
+
+ if(__pTimeListview->GetShowState())
+ {
+ __pTimeListview->SetBounds(__pTimeListview->GetX(), __pTimeListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+ }
+
+ if(__pNameListview->GetShowState())
+ {
+ __pNameListview->SetBounds(__pNameListview->GetX(), __pNameListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+ }
+
+ Invalidate(true);
+}
+void
+CityListForm::OnKeypadOpened(Tizen::Ui::Control& source)
+{
+ __pNameListview->SetBounds(__pNameListview->GetX(), __pNameListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+ __pTimeListview->SetBounds(__pTimeListview->GetX(), __pTimeListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+
+ Invalidate(true);
+}
+void
+CityListForm::OnKeypadClosed(Tizen::Ui::Control& source)
+{
+ __pNameListview->SetBounds(__pNameListview->GetX(), __pNameListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+ __pTimeListview->SetBounds(__pTimeListview->GetX(), __pTimeListview->GetY(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+
+ Invalidate(true);
+}
+void
+CityListForm::OnKeypadActionPerformed(Tizen::Ui::Control& source, Tizen::Ui::KeypadAction keypadAction)
+{
+ if(keypadAction == KEYPAD_ACTION_SEARCH)
+ {
+ __searchText = __pSearchBar->GetText();
+
+ if(__pNameListview->GetShowState() == true)
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+
+ __pSearchBar->HideKeypad();
+
+ }
+}
+
+void
+CityListForm::OnFastScrollIndexSelected(Tizen::Ui::Control& source, Tizen::Base::String& index)
+{
+ AppLog("OnFastScrollIndexSelected : %ls", index.GetPointer());
+ int orderby = GetFooter()->GetSelectedItemIndex();
+ int maxCount = 0;
+
+ if(__pDataList == null)
+ {
+ return;
+ }
+ maxCount = __pDataList->GetCount();
+
+ for(int count = 0; count < maxCount; count++)
+ {
+ TimeZone *pTimeZone = dynamic_cast<TimeZone*>(__pDataList->GetAt(count));
+
+ if ( pTimeZone == NULL)
+ {
+ return;
+ }
+
+ if(orderby == 0)
+ {
+ int separatorIndex;
+ pTimeZone->GetId().IndexOf(L"/", 0, separatorIndex);
+ String cityName;
+ pTimeZone->GetId().SubString(separatorIndex + 1, cityName);
+
+ if( cityName.StartsWith(index, 0) == true)
+ {
+ __pNameListview->ScrollToItem(count);
+ __pNameListview->Invalidate(false);
+ break;
+ }
+ }
+ }
+}
+
+void
+CityListForm::CreateMessage(String& str)
+{
+ int modalMsgBoxResult = 0;
+
+ if (__pMsgBox != null)
+ {
+ delete __pMsgBox;
+ __pMsgBox = null;
+ }
+
+ __pMsgBox = new(std::nothrow) MessageBox;
+
+ if (__pMsgBox != null)
+ {
+ __pMsgBox->Construct(L"", str, MSGBOX_STYLE_OK, 3000);
+ }
+
+ if (__pMsgBox != null)
+ {
+ __pMsgBox->ShowAndWait(modalMsgBoxResult);
+
+ if (__pMsgBox != null)
+ {
+ delete __pMsgBox;
+ __pMsgBox = null;
+ }
+ }
+
+
+ return;
+}
+
+void
+CityListForm::OnTextValueChanged(const Control& source)
+{
+ GetFooter()->SetShowState(true);
+ GetFooter()->Invalidate(true);
+
+ __searchText = __pSearchBar->GetText();
+
+ if (__searchText == "")
+ {
+ if(__pNameListview->GetShowState() == true)
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+ __pSearchBar->SetFocus();
+ }
+ else
+ {
+ if(__pNameListview->GetShowState() == true)
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+ }
+
+ Invalidate(true);
+}
+
+void
+CityListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ __pTimeListview->SetBounds(__pTimeListview->GetX(), __pSearchBar->GetY() + __pSearchBar->GetHeight(), GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight());
+
+ if(__pNameListview->GetShowState())
+ {
+ __pNameListview->UpdateList();
+ }
+ else
+ {
+ __pTimeListview->UpdateList();
+ }
+
+}
-//\r
-// Tizen C++ SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//l\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkClockApp.cpp\r
- * @brief Used to define ClockApp\r
- */\r
-\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkClockApp.h"\r
-#include "ClkMainFrame.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkStopWatchPresentationModel.h"\r
-#include "ClkTimerPresentationModel.h"\r
-#include "ClkWorldClockPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int TIMER_START = 117;\r
-static const int TIMER_RESTART = 119;\r
-\r
-\r
-ClockApp::ClockApp(void)\r
-:__nameKey("SceneId"),\r
- __pAppRegistry(null),\r
- __pAlarm(null),\r
- __timerTimeKey("timerTime"),\r
- __timerResetKey("timerReset"),\r
- __isLaunchedAutomatically(false),\r
- __isTimerLaunchedAutomatically(false)\r
-{\r
-\r
-}\r
-\r
-ClockApp::~ClockApp(void)\r
-{\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
-\r
- SettingInfo::RemoveSettingEventListener(*this);\r
-}\r
-\r
-UiApp*\r
-ClockApp::CreateInstance(void)\r
-{\r
- return new (std::nothrow) ClockApp();\r
-}\r
-\r
-bool\r
-ClockApp::OnAppInitializing(AppRegistry& appRegistry)\r
-{\r
- AppLog("ClockApp::OnAppInitializing");\r
-\r
- result r = E_FAILURE;\r
- TimerPresentationModel::GetInstance();\r
- StopWatchPresentationModel::GetInstance();\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- AppManager::GetInstance()->SetAppLaunchConditionEventListener(this);\r
-\r
- SettingInfo::AddSettingEventListener(*this);\r
- int timerResetValue = 0;\r
-\r
- pAlarmPresentationModel->AddEventListener(this);\r
- __pAppRegistry = GetAppRegistry();\r
- __sceneId = IDSCN_ALARM_LIST;\r
- r = __pAppRegistry->Get(__nameKey, __sceneId);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__nameKey, IDSCN_ALARM_LIST);\r
- }\r
-\r
- r = __pAppRegistry->Get(__timerResetKey, timerResetValue);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__timerResetKey, timerResetValue);\r
- }\r
-\r
- pDataServiceProvider->Initialize();\r
- pAlarmPresentationModel->Initialize();\r
- pWorldClockPresentationModel->Initialize();\r
- return true;\r
-}\r
-\r
-bool\r
-ClockApp::OnAppInitialized(void)\r
-{\r
- AppLog("ClockApp::OnAppInitialized");\r
- String tempTick;\r
- String startTick;\r
- String restartTick;\r
- String stopTick;\r
- int cmp;\r
- result r = E_FAILURE;\r
- DateTime timerTime;\r
- DateTime currentTime;\r
- String timerTimeString;\r
- String userSetValue;\r
- MainFrame* pClockFrame = null;\r
- DateTime* recentAlarmTime = new (std::nothrow) DateTime();\r
-\r
- if (recentAlarmTime == null)\r
- {\r
- return false;\r
- }\r
-\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
-\r
- if (__pAlarm != null)\r
- {\r
- delete __pAlarm;\r
- __pAlarm = null;\r
- }\r
-\r
- __pAlarm = new (std::nothrow) AlarmData();\r
-\r
- pClockFrame = new (std::nothrow) MainFrame();\r
- pClockFrame->Construct();\r
- pClockFrame->SetName(L"Clock");\r
- AddFrame(*pClockFrame);\r
- r = __pAppRegistry->Get(__timerTimeKey, timerTimeString);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__timerTimeKey, timerTimeString);\r
- __timerTimeReached.SetValue(9999,1,1);\r
- }\r
- else\r
- {\r
- DateTime::Parse(timerTimeString, __timerTimeReached);\r
- }\r
-\r
- __timerTimeReached.AddSeconds(-1);\r
- cmp = DateTime::Compare(currentTime, __timerTimeReached);\r
-\r
- pAlarmPresentationModel->GetRecentAlarm(*recentAlarmTime, *__pAlarm);\r
- pAlarmPresentationModel->SetAlarm(*__pAlarm);\r
- DataServiceProvider::GetCurrentDateTime(currentTime);\r
- AppLog("Recent time: %ls", recentAlarmTime->ToString().GetPointer());\r
-\r
- \r
- AppLog("recentAlarmTime time = %ls currentTime = %ls", recentAlarmTime->ToString().GetPointer(), currentTime.ToString().GetPointer());\r
-\r
- if(cmp >= 0 || __isTimerLaunchedAutomatically == true)\r
- {\r
- AppLog("__isTimerLaunchedAutomatically");\r
- bool isScreenOn = PowerManager::IsScreenOn();\r
- timerTime.SetValue(9999,1,1);\r
- __pAppRegistry->Set(__timerTimeKey, timerTime.ToString());\r
- if (isScreenOn)\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- else\r
- {\r
- //bring application in foreground\r
- PowerManager::TurnScreenOn();\r
- AppManager* pAppMgr = AppManager::GetInstance();\r
- pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);\r
- PowerManager::KeepScreenOnState(true,false);\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING_LOCK, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- else\r
- {\r
-\r
- if (__isLaunchedAutomatically == true)\r
- {\r
- ShowAlarmRingingForm();\r
- }\r
- else if(__sceneId == IDSCN_ALARM_DELETE_LIST || __sceneId == IDSCN_CREATE_ALARM || __sceneId == IDSCN_EDIT_SNOOZE || __sceneId == IDSCN_ALARM_LIST || __sceneId == IDSCN_ALARM_RINGING || __sceneId == IDSCN_ALARM_RINGING_LOCK)\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- else if(__sceneId == IDSCN_CITY_LIST || __sceneId == IDSCN_WORLD_CLOCK_DELETE_LIST || __sceneId == IDSCN_WORLD_CLOCK_REORDER || __sceneId == IDSCN_WORLD_CLOCK_LIST)\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- else if(__sceneId == IDSCN_STOP_WATCH)\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- else if(__sceneId == IDSCN_TIMER_VIEW || __sceneId == IDSCN_TIMER_RINGING || __sceneId == IDSCN_TIMER_RINGING_LOCK )\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- else\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(__sceneId, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
-\r
- }\r
- if (recentAlarmTime != null)\r
- {\r
- delete recentAlarmTime;\r
- recentAlarmTime = null;\r
- }\r
-\r
- return true;\r
-}\r
-\r
-bool\r
-ClockApp::OnAppWillTerminate(void)\r
-{\r
- AppLog("OnAppWillTerminate");\r
-\r
-\r
- return true;\r
-}\r
-\r
-\r
-bool\r
-ClockApp::OnAppTerminating(AppRegistry& appRegistry, bool forcedTermination)\r
-{\r
- AppLog("ClockApp::OnAppTerminating %d", forcedTermination);\r
- result r = E_FAILURE;\r
- DateTime recentAlarmTime;\r
- DateTime timerTime;\r
- int status = 0;\r
- DateTime currentTime;\r
- String registeredTime;\r
- DateTime alarmTime;\r
- String remainingTime;\r
- String tempTick;\r
- String startTick;\r
- String restartTick;\r
- String stopTick;\r
- String userSetValue;\r
- int cmp = 0;\r
-\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- if(pSceneManager->GetCurrentSceneId() != IDSCN_TIMER_RINGING)\r
- {\r
- r = __pAppRegistry->Set(__nameKey, pSceneManager->GetCurrentSceneId());\r
-\r
- if (IsFailed(r))\r
- {\r
- return false;\r
- }\r
- }\r
- }\r
-\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- pAlarmPresentationModel->GetRecentAlarm(recentAlarmTime, *__pAlarm);\r
- pAlarmPresentationModel->SetAlarm(*__pAlarm);\r
- timerTime = currentTime;\r
- pTimerPresentationModel->GetTimerValue(timerTime, remainingTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
- AppLog("timer time = %ls currentTime = %ls status = %d __pAlarm time = %ls", timerTime.ToString().GetPointer(), currentTime.ToString().GetPointer(), status, __pAlarm->GetAlarmTime().ToString().GetPointer());\r
-\r
- cmp = DateTime::Compare(currentTime, timerTime);\r
-\r
- if((status == TIMER_START || status == TIMER_RESTART) && cmp <=0)\r
- {\r
- __pAppRegistry->Set(__timerTimeKey, timerTime.ToString());\r
- }\r
- else\r
- {\r
- timerTime.SetValue(9999,1,1);\r
- __pAppRegistry->Set(__timerTimeKey, timerTime.ToString());\r
- }\r
-\r
- __pAppRegistry->Save();\r
-\r
- AppLog("End");\r
-\r
- return true;\r
-}\r
-\r
-void\r
-ClockApp::OnForeground(void)\r
-{\r
-\r
-}\r
-\r
-void\r
-ClockApp::OnBackground(void)\r
-{\r
-\r
-}\r
-\r
-void\r
-ClockApp::OnLowMemory(void)\r
-{\r
-\r
-}\r
-\r
-void\r
-ClockApp::OnBatteryLevelChanged(Tizen::System::BatteryLevel batteryLevel)\r
-{\r
-\r
-}\r
-\r
-void\r
-ClockApp::OnAlarmExpired(Tizen::System::Alarm& alarm)\r
-{\r
- AppLog("ClockApp::OnAlarmExpired");\r
- ShowAlarmRingingForm();\r
-}\r
-\r
-void\r
-ClockApp::ShowAlarmRingingForm(void)\r
-{\r
- AlarmData* pAlarm = null;\r
- ArrayList* pArgList = new (std::nothrow) ArrayList();\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();\r
-\r
- if (pArgList != null)\r
- {\r
- bool isScreenOn = PowerManager::IsScreenOn();\r
- pArgList->Construct();\r
- pAlarm = pAlarmPresentationModel->GetAlarm();\r
- pArgList->Add(*pAlarm);\r
-\r
- if (pSceneManager != null)\r
- {\r
- if (isScreenOn)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_RINGING), pArgList);\r
- }\r
- else\r
- {\r
- //bring application in foreground\r
-\r
- AppManager* pAppMgr = AppManager::GetInstance();\r
- pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_RINGING_LOCK), pArgList);\r
- PowerManager::TurnScreenOn();\r
- PowerManager::KeepScreenOnState(true,false);\r
- }\r
-\r
- if (pArgList != null)\r
- {\r
- delete pArgList;\r
- pArgList = null;\r
- }\r
- }\r
- }\r
-\r
-}\r
-\r
-void\r
-ClockApp::OnSettingChanged(Tizen::Base::String& key)\r
-{\r
- AppLog("ClockApp::OnSettingChanged: %ls", key.GetPointer());\r
- if (key == L"http://tizen.org/setting/locale.language")\r
- {\r
- Terminate();\r
- }\r
-}\r
-\r
-void\r
-ClockApp::OnAppLaunchConditionMetN (const Tizen::Base::String &condition, Tizen::Base::Object *pExtraData, Tizen::Base::Collection::IList *pArguments)\r
-{\r
-\r
- if (pArguments != null)\r
- {\r
- String* str = dynamic_cast<String*>(pArguments->GetAt(0));\r
-\r
- if (*str == "Timer")\r
- {\r
- bool isScreenOn = PowerManager::IsScreenOn();\r
- String *userSetValue = null;\r
- ArrayList* pArgList = null;\r
- DateTime timerTime;\r
- timerTime.SetValue(9999,1,1);\r
- __pAppRegistry->Set(__timerTimeKey, timerTime.ToString());\r
-\r
- userSetValue = new String();\r
- *userSetValue = TimerPresentationModel::GetInstance()->userValue;\r
- pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(userSetValue);\r
- }\r
-\r
- if (isScreenOn)\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING, SCENE_TRANSITION_ANIMATION_TYPE_NONE), pArgList);\r
- }\r
- else\r
- {\r
- //bring application in foreground\r
- PowerManager::TurnScreenOn();\r
- AppManager* pAppMgr = AppManager::GetInstance();\r
- pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);\r
- PowerManager::KeepScreenOnState(true,false);\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING_LOCK, SCENE_TRANSITION_ANIMATION_TYPE_NONE), pArgList);\r
- }\r
-\r
- __isTimerLaunchedAutomatically = true;\r
- }\r
- else\r
- {\r
- ShowAlarmRingingForm();\r
- __isLaunchedAutomatically = true;\r
- }\r
- }\r
-}\r
+//
+// Tizen C++ SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//l
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkClockApp.cpp
+ * @brief Used to define ClockApp
+ */
+
+#include "ClkAlarmPresentationModel.h"
+#include "ClkClockApp.h"
+#include "ClkMainFrame.h"
+#include "ClkSceneRegister.h"
+#include "ClkStopWatchPresentationModel.h"
+#include "ClkTimerPresentationModel.h"
+#include "ClkWorldClockPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int TIMER_START = 117;
+static const int TIMER_RESTART = 119;
+
+
+ClockApp::ClockApp(void)
+:__nameKey("SceneId"),
+ __pAppRegistry(null),
+ __pAlarm(null),
+ __timerTimeKey("timerTime"),
+ __timerResetKey("timerReset"),
+ __userSetValueKey("serTimerSetValue"),
+ __isAlarmLaunchedAutomatically(false),
+ __isTimerLaunchedAutomatically(false)
+{
+
+}
+
+ClockApp::~ClockApp(void)
+{
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+
+ SettingInfo::RemoveSettingEventListener(*this);
+}
+
+UiApp*
+ClockApp::CreateInstance(void)
+{
+ return new (std::nothrow) ClockApp();
+}
+
+bool
+ClockApp::OnAppInitializing(AppRegistry& appRegistry)
+{
+ AppLog("ClockApp::OnAppInitializing");
+
+ result r = E_FAILURE;
+
+ DateTime timerTime;
+ DateTime currentTime;
+ String timerTimeString;
+ String userSetValue;
+
+ TimerPresentationModel::GetInstance();
+ StopWatchPresentationModel::GetInstance();
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ AppManager::GetInstance()->SetAppLaunchConditionEventListener(this);
+
+ SettingInfo::AddSettingEventListener(*this);
+ int timerResetValue = 0;
+
+ pAlarmPresentationModel->AddEventListener(this);
+ __pAppRegistry = GetAppRegistry();
+ __sceneId = IDSCN_ALARM_LIST;
+ r = __pAppRegistry->Get(__nameKey, __sceneId);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__nameKey, IDSCN_ALARM_LIST);
+ }
+
+ r = __pAppRegistry->Get(__timerResetKey, timerResetValue);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__timerResetKey, timerResetValue);
+ }
+
+ r = __pAppRegistry->Get(__timerTimeKey, timerTimeString);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__timerTimeKey, timerTimeString);
+ __timerTimeReached.SetValue(9999,1,1);
+ }
+ else
+ {
+ DateTime::Parse(timerTimeString, __timerTimeReached);
+ }
+
+ __pAppRegistry->Get(__userSetValueKey, TimerPresentationModel::GetInstance()->userValue);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__userSetValueKey, TimerPresentationModel::GetInstance()->userValue);
+ }
+
+ pDataServiceProvider->Initialize();
+ pAlarmPresentationModel->Initialize();
+ pWorldClockPresentationModel->Initialize();
+ return true;
+}
+
+bool
+ClockApp::OnAppInitialized(void)
+{
+ AppLog("ClockApp::OnAppInitialized");
+
+ MainFrame* pClockFrame = null;
+
+ if (__pAlarm != null)
+ {
+ delete __pAlarm;
+ __pAlarm = null;
+ }
+ __pAlarm = new (std::nothrow) AlarmData();
+
+ pClockFrame = new (std::nothrow) MainFrame();
+ pClockFrame->Construct();
+ pClockFrame->SetName(L"Clock");
+ AddFrame(*pClockFrame);
+
+
+ if(__isTimerLaunchedAutomatically == true)
+ {
+ ShowTimerRingingForm();
+ }
+ else if (__isAlarmLaunchedAutomatically == true)
+ {
+ ShowAlarmRingingForm();
+ }
+ else if(__sceneId == IDSCN_ALARM_DELETE_LIST || __sceneId == IDSCN_CREATE_ALARM || __sceneId == IDSCN_EDIT_SNOOZE || __sceneId == IDSCN_ALARM_LIST || __sceneId == IDSCN_ALARM_RINGING || __sceneId == IDSCN_ALARM_RINGING_LOCK)
+ {
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ else if(__sceneId == IDSCN_CITY_LIST || __sceneId == IDSCN_WORLD_CLOCK_DELETE_LIST || __sceneId == IDSCN_WORLD_CLOCK_REORDER || __sceneId == IDSCN_WORLD_CLOCK_LIST)
+ {
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ else if(__sceneId == IDSCN_STOP_WATCH)
+ {
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ else if(__sceneId == IDSCN_TIMER_VIEW || __sceneId == IDSCN_TIMER_RINGING || __sceneId == IDSCN_TIMER_RINGING_LOCK )
+ {
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ else
+ {
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(__sceneId, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+
+ return true;
+}
+
+bool
+ClockApp::OnAppWillTerminate(void)
+{
+ AppLog("OnAppWillTerminate");
+
+
+ return true;
+}
+
+
+bool
+ClockApp::OnAppTerminating(AppRegistry& appRegistry, bool forcedTermination)
+{
+ AppLog("ClockApp::OnAppTerminating %d", forcedTermination);
+ result r = E_FAILURE;
+ DateTime recentAlarmTime;
+ DateTime timerTime;
+ int status = 0;
+ DateTime currentTime;
+ String registeredTime;
+ DateTime alarmTime;
+ String remainingTime;
+ String tempTick;
+ String startTick;
+ String restartTick;
+ String stopTick;
+ int cmp = 0;
+ String userSetValue;
+
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ if(pSceneManager->GetCurrentSceneId() != IDSCN_TIMER_RINGING)
+ {
+ r = __pAppRegistry->Set(__nameKey, pSceneManager->GetCurrentSceneId());
+
+ if (IsFailed(r))
+ {
+ return false;
+ }
+ }
+ }
+
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ pAlarmPresentationModel->GetRecentAlarm(recentAlarmTime, *__pAlarm);
+ pAlarmPresentationModel->SetAlarm(*__pAlarm);
+ timerTime = currentTime;
+ pTimerPresentationModel->GetTimerValue(timerTime, remainingTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+ AppLog("timer time = %ls currentTime = %ls status = %d __pAlarm time = %ls", timerTime.ToString().GetPointer(), currentTime.ToString().GetPointer(), status, __pAlarm->GetAlarmTime().ToString().GetPointer());
+
+ cmp = DateTime::Compare(currentTime, timerTime);
+
+ if((status == TIMER_START || status == TIMER_RESTART) && cmp <= 0)
+ {
+ __pAppRegistry->Set(__timerTimeKey, timerTime.ToString());
+ }
+ else
+ {
+ timerTime.SetValue(9999,1,1);
+ __pAppRegistry->Set(__timerTimeKey, timerTime.ToString());
+ }
+
+ r = __pAppRegistry->Set(__userSetValueKey, TimerPresentationModel::GetInstance()->userValue);
+ if(r != E_SUCCESS)
+ {
+ __pAppRegistry->Add(__userSetValueKey, TimerPresentationModel::GetInstance()->userValue);
+ }
+
+ __pAppRegistry->Save();
+
+ AppLog("End");
+
+ return true;
+}
+
+void
+ClockApp::OnForeground(void)
+{
+
+}
+
+void
+ClockApp::OnBackground(void)
+{
+
+}
+
+void
+ClockApp::OnLowMemory(void)
+{
+
+}
+
+void
+ClockApp::OnBatteryLevelChanged(Tizen::System::BatteryLevel batteryLevel)
+{
+
+}
+
+void
+ClockApp::OnAlarmExpired(Tizen::System::Alarm& alarm)
+{
+ AppLog("ClockApp::OnAlarmExpired");
+ ShowAlarmRingingForm();
+}
+
+void
+ClockApp::ShowAlarmRingingForm(void)
+{
+ DateTime currentTime;
+ AlarmData* pAlarm = null;
+ ArrayList* pArgList = new (std::nothrow) ArrayList();
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ AlarmPresentationModel* pAlarmPresentationModel = AlarmPresentationModel::GetInstance();
+
+ if (pArgList != null)
+ {
+ bool isScreenOn = PowerManager::IsScreenOn();
+ pArgList->Construct();
+ DataServiceProvider::GetCurrentDateTime(currentTime);
+ pAlarm = new(std::nothrow) AlarmData();
+ pAlarmPresentationModel->GetRecentAlarm(currentTime, *pAlarm);
+ pAlarmPresentationModel->SetAlarm(*pAlarm);
+ pArgList->Add(*pAlarm);
+
+ if (pSceneManager != null)
+ {
+ if (isScreenOn)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_RINGING), pArgList);
+ }
+ else
+ {
+ //bring application in foreground
+
+ AppManager* pAppMgr = AppManager::GetInstance();
+ pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_RINGING_LOCK), pArgList);
+ PowerManager::TurnScreenOn();
+ PowerManager::KeepScreenOnState(true,false);
+ }
+
+ if (pArgList != null)
+ {
+ delete pArgList;
+ pArgList = null;
+ }
+ }
+ }
+}
+
+void
+ClockApp::ShowTimerRingingForm(void)
+{
+ bool isScreenOn = PowerManager::IsScreenOn();
+ String *userSetValue = null;
+ ArrayList* pArgList = null;
+ String timerTimeStr;
+ DateTime timerTime;
+ timerTime.SetValue(9999,1,1);
+ __pAppRegistry->Get(__timerTimeKey, timerTimeStr);
+ AppLog("Timer: %ls", timerTimeStr.GetPointer());
+ DateTime::Parse(timerTimeStr, timerTime);
+
+ pArgList = new (std::nothrow) ArrayList();
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(TimerPresentationModel::GetInstance()->userValue);
+ }
+
+ if (isScreenOn)
+ {
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING, SCENE_TRANSITION_ANIMATION_TYPE_NONE), pArgList);
+ }
+ else
+ {
+ //bring application in foreground
+ PowerManager::TurnScreenOn();
+ AppManager* pAppMgr = AppManager::GetInstance();
+ pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);
+ PowerManager::KeepScreenOnState(true,false);
+ SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING_LOCK, SCENE_TRANSITION_ANIMATION_TYPE_NONE), pArgList);
+ }
+}
+
+void
+ClockApp::OnSettingChanged(Tizen::Base::String& key)
+{
+ AppLog("ClockApp::OnSettingChanged: %ls", key.GetPointer());
+ if (key == L"http://tizen.org/setting/locale.language")
+ {
+ Terminate();
+ }
+}
+
+void
+ClockApp::OnAppLaunchConditionMetN (const Tizen::Base::String &condition, Tizen::Base::Object *pExtraData, Tizen::Base::Collection::IList *pArguments)
+{
+ if (pArguments != null)
+ {
+ String* str = dynamic_cast<String*>(pArguments->GetAt(0));
+
+ if (str != null && *str == "Timer")
+ {
+ if(GetAppState() == RUNNING)
+ {
+ ShowTimerRingingForm();
+ }
+ else
+ {
+ __isTimerLaunchedAutomatically = true;
+ }
+ }
+ else
+ {
+ if(GetAppState() == RUNNING)
+ {
+ ShowAlarmRingingForm();
+ }
+ else
+ {
+ __isAlarmLaunchedAutomatically = true;
+ }
+ }
+ }
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkClockEntry.cpp\r
- * @brief This file contains the Tizen application entry point.\r
- */\r
-\r
-#include "ClkClockApp.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-\r
-#ifdef __cplusplus\r
-extern "C"\r
-{\r
-#endif // __cplusplus\r
-\r
-_EXPORT_ int OspMain(int argc, char *pArgv[]);\r
-\r
-/**\r
- * The entry function of Tizen application called by the operating system.\r
- */\r
-int\r
-OspMain(int argc, char *pArgv[])\r
-{\r
- result r = E_SUCCESS;\r
-\r
- ArrayList* pArgs = new (std::nothrow) ArrayList();\r
- pArgs->Construct();\r
-\r
- for (int i = 0; i < argc; i++)\r
- {\r
- pArgs->Add(*(new (std::nothrow) String(pArgv[i])));\r
- }\r
-\r
- r = UiApp::Execute(ClockApp::CreateInstance, pArgs);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("Application execution failed-[%s].", GetErrorMessage(r));\r
- r &= 0x0000FFFF;\r
- }\r
-\r
- pArgs->RemoveAll(true);\r
- delete pArgs;\r
-\r
- return static_cast<int>(r);\r
-}\r
-#ifdef __cplusplus\r
-}\r
-#endif // __cplusplus\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkClockEntry.cpp
+ * @brief This file contains the Tizen application entry point.
+ */
+
+#include "ClkClockApp.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif // __cplusplus
+
+_EXPORT_ int OspMain(int argc, char *pArgv[]);
+
+/**
+ * The entry function of Tizen application called by the operating system.
+ */
+int
+OspMain(int argc, char *pArgv[])
+{
+ result r = E_SUCCESS;
+
+ ArrayList* pArgs = new (std::nothrow) ArrayList();
+ pArgs->Construct();
+
+ for (int i = 0; i < argc; i++)
+ {
+ pArgs->Add(*(new (std::nothrow) String(pArgv[i])));
+ }
+
+ r = UiApp::Execute(ClockApp::CreateInstance, pArgs);
+
+ if (IsFailed(r))
+ {
+ AppLogException("Application execution failed-[%s].", GetErrorMessage(r));
+ r &= 0x0000FFFF;
+ }
+
+ pArgs->RemoveAll(true);
+ delete pArgs;
+
+ return static_cast<int>(r);
+}
+#ifdef __cplusplus
+}
+#endif // __cplusplus
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkCommonUtil.cpp\r
- * @brief To define the common method of Clock application\r
- */\r
-\r
-#include <FMedia.h>\r
-#include <FApp.h>\r
-\r
-#include "ClkCommonLib.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-\r
-CommonBitmapTable CommonUtil::__commonBitmapTable[] = {\r
-\r
- // -------- End of table -----------------------------------------------------\r
- {\r
- L"", -1, NULL, 0, -1\r
- } // DO NOT REPLACE THIS LINE\r
-};\r
-\r
-String\r
-CommonUtil::GetString(String resourceId)\r
-{\r
- result r = E_SUCCESS;\r
- String tmpString;\r
- AppResource* pAppResource = Application::GetInstance()->GetAppResource();\r
-\r
- if (pAppResource == null)\r
- {\r
- tmpString = "(Error)";\r
- return tmpString;\r
- }\r
-\r
- r = pAppResource->GetString(resourceId, tmpString);\r
-\r
- if(IsFailed(r))\r
- {\r
- tmpString = "(Error)";\r
- return tmpString;\r
- }\r
-\r
- return tmpString;\r
-}\r
-\r
-Bitmap*\r
-CommonUtil::GetBitmapN(const String& path, const int width, const int height)\r
-{\r
- Bitmap* pBitmap = null;\r
- AppResource* pAppResource = Application::GetInstance()->GetAppResource();\r
-\r
- if (pAppResource == null)\r
- {\r
- return null;\r
- }\r
-\r
- if (path == null)\r
- {\r
- return null;\r
- }\r
-\r
- if (width <= 0 || height <= 0)\r
- {\r
- return null;\r
- }\r
-\r
- AppLogDebug("Calling Decode method for image %ls", path.GetPointer());\r
- pBitmap = pAppResource->GetBitmapN(path, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- AppLogDebug("Image Decoded successfully");\r
-\r
- if (pBitmap == null)\r
- {\r
- return null;\r
- }\r
-\r
- if (width > 0 && height > 0)\r
- {\r
- pBitmap->Scale(Dimension(width, height));\r
- }\r
-\r
- return pBitmap;\r
-}\r
-\r
-\r
-Bitmap*\r
-CommonUtil::GetBitmap(CommonBitmapId id)\r
-{\r
- AppLogDebug("CommonUtil::GetBitmap entered");\r
-\r
- Bitmap* pBitmap = null;\r
-\r
- if (__commonBitmapTable[id].ptr)\r
- {\r
- pBitmap = __commonBitmapTable[id].ptr;\r
- AppLogDebug("found already used bitmap pointer");\r
- }\r
- else\r
- {\r
- AppLogDebug("Not found #%d bitmap data in cache. Start loading...\n", (int) id);\r
- pBitmap = GetBitmapN(__commonBitmapTable[id].filename,\r
- __commonBitmapTable[id].width,\r
- __commonBitmapTable[id].height);\r
-\r
- if (pBitmap == NULL)\r
- {\r
- AppLogDebug("Error: Failed to load #%d bitmap.\n", (int) id);\r
- return null;\r
- }\r
-\r
- __commonBitmapTable[id].ptr = pBitmap;\r
- }\r
-\r
- __commonBitmapTable[id].refcount++;\r
- AppLogDebug("CommonUtil::GetBitmap exit");\r
- return pBitmap;\r
-}\r
-\r
-void\r
-CommonUtil::ReleaseBitmap(CommonBitmapId id)\r
-{\r
- AppLogDebug("CommonUtil::ReleaseBitmap:%d", (int) id);\r
-\r
- if (id < 0 || id >= sizeof(__commonBitmapTable)/ sizeof(CommonBitmapTable))\r
- {\r
- return;\r
- }\r
-\r
- if (__commonBitmapTable[id].ptr == null)\r
- {\r
- return;\r
- }\r
-\r
- delete __commonBitmapTable[id].ptr;\r
- __commonBitmapTable[id].ptr = null;\r
- __commonBitmapTable[id].refcount = 0;\r
- return;\r
-}\r
-\r
-void\r
-CommonUtil::ReleaseBitmap(Bitmap* ptr)\r
-{\r
- int count = 0;\r
-\r
- while (__commonBitmapTable[count].width >= 0 &&\r
- __commonBitmapTable[count].height >= 0)\r
- {\r
-\r
- if (ptr == __commonBitmapTable[count].ptr)\r
- {\r
- ReleaseBitmap((CommonBitmapId) count);\r
- return;\r
- }\r
-\r
- count++;\r
- }\r
-\r
- return;\r
-}\r
-\r
-void\r
-CommonUtil::ReleaseAllBitmap(void)\r
-{\r
- AppLogDebug("CommonUtil::ReleaseAllBitmap()");\r
- int count = 0;\r
-\r
- while (__commonBitmapTable[count].width >= 0 &&\r
- __commonBitmapTable[count].height >= 0)\r
- {\r
-\r
- if (__commonBitmapTable[count].ptr)\r
- {\r
- ReleaseBitmap((CommonBitmapId) count);\r
- }\r
-\r
- count++;\r
- }\r
-\r
- return;\r
-}\r
-\r
-Bitmap*\r
-CommonUtil::GetNinepatchedBitmap(const String& strPath, const int width, const int height)\r
-{\r
- Bitmap* pBitmap = null;\r
- result r = E_SUCCESS;\r
- Canvas* pCanvas = null;\r
- Bitmap* pBmp = AppResource::GetInstance()->GetBitmapN(strPath);\r
-\r
- if (pBmp == NULL)\r
- {\r
- return null;\r
- }\r
-\r
- pCanvas = new (std::nothrow) Canvas();\r
- TryCatch(pCanvas != null, , "Canvas new (std::nothrow) Fail.");\r
- r = pCanvas->Construct(Rectangle(0,0,width, height));\r
- TryCatch(r == E_SUCCESS, , "Canvas Construct Fail.");\r
-\r
- r = pCanvas->DrawNinePatchedBitmap(Rectangle(0,0,width, height), *pBmp);\r
-\r
- if (r != E_SUCCESS)\r
- {\r
- AppLogDebug("DrawNinePatchedBitmap Error %ls", GetErrorMessage(r));\r
- pCanvas->DrawBitmap(Rectangle(0,0,width, height), *pBmp);\r
- }\r
-\r
- pBitmap = new (std::nothrow) Bitmap();\r
- TryCatch(pBitmap != null, , "Bitmap new (std::nothrow) Fail.");\r
-\r
- r = pBitmap->Construct(*pCanvas, Rectangle(0,0,width, height));\r
- TryCatch(r == E_SUCCESS, , "Bitmap Construct Fail.");\r
-\r
- if ( pBmp != NULL)\r
- {\r
- delete pBmp;\r
- pBmp = null;\r
- }\r
-\r
- if (pCanvas != NULL)\r
- {\r
- delete pCanvas;\r
- pCanvas = null;\r
- }\r
-\r
- return pBitmap;\r
-\r
- CATCH:\r
-\r
- if (pBmp != NULL)\r
- {\r
- delete pBmp;\r
- pBmp = null;\r
- }\r
-\r
- if (pCanvas != NULL)\r
- {\r
- delete pCanvas;\r
- pCanvas = null;\r
- }\r
-\r
- if (pBitmap != NULL)\r
- {\r
- delete pBitmap;\r
- pBitmap =null;\r
- }\r
-\r
- return null;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkCommonUtil.cpp
+ * @brief To define the common method of Clock application
+ */
+
+#include <FMedia.h>
+#include <FApp.h>
+
+#include "ClkCommonLib.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+
+CommonBitmapTable CommonUtil::__commonBitmapTable[] = {
+
+ // -------- End of table -----------------------------------------------------
+ {
+ L"", -1, NULL, 0, -1
+ } // DO NOT REPLACE THIS LINE
+};
+
+String
+CommonUtil::GetString(String resourceId)
+{
+ result r = E_SUCCESS;
+ String tmpString;
+ AppResource* pAppResource = Application::GetInstance()->GetAppResource();
+
+ if (pAppResource == null)
+ {
+ tmpString = "(Error)";
+ return tmpString;
+ }
+
+ r = pAppResource->GetString(resourceId, tmpString);
+
+ if(IsFailed(r))
+ {
+ tmpString = "(Error)";
+ return tmpString;
+ }
+
+ return tmpString;
+}
+
+Bitmap*
+CommonUtil::GetBitmapN(const String& path, const int width, const int height)
+{
+ Bitmap* pBitmap = null;
+ AppResource* pAppResource = Application::GetInstance()->GetAppResource();
+
+ if (pAppResource == null)
+ {
+ return null;
+ }
+
+ if (path == null)
+ {
+ return null;
+ }
+
+ if (width <= 0 || height <= 0)
+ {
+ return null;
+ }
+
+ AppLogDebug("Calling Decode method for image %ls", path.GetPointer());
+ pBitmap = pAppResource->GetBitmapN(path, BITMAP_PIXEL_FORMAT_ARGB8888);
+ AppLogDebug("Image Decoded successfully");
+
+ if (pBitmap == null)
+ {
+ return null;
+ }
+
+ if (width > 0 && height > 0)
+ {
+ pBitmap->Scale(Dimension(width, height));
+ }
+
+ return pBitmap;
+}
+
+
+Bitmap*
+CommonUtil::GetBitmap(CommonBitmapId id)
+{
+ AppLogDebug("CommonUtil::GetBitmap entered");
+
+ Bitmap* pBitmap = null;
+
+ if (__commonBitmapTable[id].ptr)
+ {
+ pBitmap = __commonBitmapTable[id].ptr;
+ AppLogDebug("found already used bitmap pointer");
+ }
+ else
+ {
+ AppLogDebug("Not found #%d bitmap data in cache. Start loading...\n", (int) id);
+ pBitmap = GetBitmapN(__commonBitmapTable[id].filename,
+ __commonBitmapTable[id].width,
+ __commonBitmapTable[id].height);
+
+ if (pBitmap == NULL)
+ {
+ AppLogDebug("Error: Failed to load #%d bitmap.\n", (int) id);
+ return null;
+ }
+
+ __commonBitmapTable[id].ptr = pBitmap;
+ }
+
+ __commonBitmapTable[id].refcount++;
+ AppLogDebug("CommonUtil::GetBitmap exit");
+ return pBitmap;
+}
+
+void
+CommonUtil::ReleaseBitmap(CommonBitmapId id)
+{
+ AppLogDebug("CommonUtil::ReleaseBitmap:%d", (int) id);
+
+ if (id < 0 || id >= sizeof(__commonBitmapTable)/ sizeof(CommonBitmapTable))
+ {
+ return;
+ }
+
+ if (__commonBitmapTable[id].ptr == null)
+ {
+ return;
+ }
+
+ delete __commonBitmapTable[id].ptr;
+ __commonBitmapTable[id].ptr = null;
+ __commonBitmapTable[id].refcount = 0;
+ return;
+}
+
+void
+CommonUtil::ReleaseBitmap(Bitmap* ptr)
+{
+ int count = 0;
+
+ while (__commonBitmapTable[count].width >= 0 &&
+ __commonBitmapTable[count].height >= 0)
+ {
+
+ if (ptr == __commonBitmapTable[count].ptr)
+ {
+ ReleaseBitmap((CommonBitmapId) count);
+ return;
+ }
+
+ count++;
+ }
+
+ return;
+}
+
+void
+CommonUtil::ReleaseAllBitmap(void)
+{
+ AppLogDebug("CommonUtil::ReleaseAllBitmap()");
+ int count = 0;
+
+ while (__commonBitmapTable[count].width >= 0 &&
+ __commonBitmapTable[count].height >= 0)
+ {
+
+ if (__commonBitmapTable[count].ptr)
+ {
+ ReleaseBitmap((CommonBitmapId) count);
+ }
+
+ count++;
+ }
+
+ return;
+}
+
+Bitmap*
+CommonUtil::GetNinepatchedBitmap(const String& strPath, const int width, const int height)
+{
+ Bitmap* pBitmap = null;
+ result r = E_SUCCESS;
+ Canvas* pCanvas = null;
+ Bitmap* pBmp = AppResource::GetInstance()->GetBitmapN(strPath);
+
+ if (pBmp == NULL)
+ {
+ return null;
+ }
+
+ pCanvas = new (std::nothrow) Canvas();
+ TryCatch(pCanvas != null, , "Canvas new (std::nothrow) Fail.");
+ r = pCanvas->Construct(Rectangle(0,0,width, height));
+ TryCatch(r == E_SUCCESS, , "Canvas Construct Fail.");
+
+ r = pCanvas->DrawNinePatchedBitmap(Rectangle(0,0,width, height), *pBmp);
+
+ if (r != E_SUCCESS)
+ {
+ AppLogDebug("DrawNinePatchedBitmap Error %ls", GetErrorMessage(r));
+ pCanvas->DrawBitmap(Rectangle(0,0,width, height), *pBmp);
+ }
+
+ pBitmap = new (std::nothrow) Bitmap();
+ TryCatch(pBitmap != null, , "Bitmap new (std::nothrow) Fail.");
+
+ r = pBitmap->Construct(*pCanvas, Rectangle(0,0,width, height));
+ TryCatch(r == E_SUCCESS, , "Bitmap Construct Fail.");
+
+ if ( pBmp != NULL)
+ {
+ delete pBmp;
+ pBmp = null;
+ }
+
+ if (pCanvas != NULL)
+ {
+ delete pCanvas;
+ pCanvas = null;
+ }
+
+ return pBitmap;
+
+ CATCH:
+
+ if (pBmp != NULL)
+ {
+ delete pBmp;
+ pBmp = null;
+ }
+
+ if (pCanvas != NULL)
+ {
+ delete pCanvas;
+ pCanvas = null;
+ }
+
+ if (pBitmap != NULL)
+ {
+ delete pBitmap;
+ pBitmap =null;
+ }
+
+ return null;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkDataServiceProvider.cpp\r
- * @brief Defines the database/storage functions.\r
- */\r
-\r
-#include <cstdlib>\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FLocales.h>\r
-\r
-#include "ClkDataServiceProvider.h"\r
-\r
-const wchar_t* WORLD_CLOCK_TABLE = L"WorldClock";\r
-const wchar_t* ALARM_TABLE = L"AlarmData";\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Utility;\r
-using namespace Tizen::Io;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::System;\r
-\r
-Database* DataServiceProvider::__pDataBase = null;\r
-DbEnumerator* DataServiceProvider::__pDbEnum = null;\r
-DbStatement* DataServiceProvider::__pDbStatement = null;\r
-bool DataServiceProvider::__isBeginTransaction = false;\r
-String DataServiceProvider::DB_FILE_PATH = L"/data/clock.db" ;\r
-\r
-DataServiceProvider* DataServiceProvider::__pInstance = NULL;\r
-\r
-static const int MAX_DB_QUERY_SIZE = 21474836;\r
-static const int QUERY_TYPE_LENGTH = 6;\r
-\r
-DataServiceProvider::DataServiceProvider(void)\r
-{\r
-\r
-}\r
-\r
-DataServiceProvider::~DataServiceProvider(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-DataServiceProvider::Initialize(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- r = DataServiceProvider::OpenDb();\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::UnInitialize(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- //r = PresentationModelBase::CloseDb();\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::OpenDb(void)\r
-{\r
- result r = E_FAILURE;\r
- String dbName = L"";\r
-\r
- if (__pDataBase != null)\r
- {\r
-\r
- if (__pDbEnum != null)\r
- {\r
- delete __pDbEnum;\r
- __pDbEnum = null;\r
- }\r
-\r
- if (__pDbStatement != null)\r
- {\r
- delete __pDbStatement;\r
- __pDbStatement = null;\r
- }\r
-\r
- return r;\r
- }\r
-\r
- __pDataBase = new (std::nothrow) Database();\r
-\r
- if (__pDataBase == null)\r
- {\r
- return E_OUT_OF_MEMORY;\r
- }\r
-\r
- dbName = App::GetInstance()->GetAppRootPath() + DB_FILE_PATH;\r
-\r
- r = __pDataBase->Construct(dbName, true);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("DB construction failed:%s", GetErrorMessage(r));\r
- delete __pDataBase;\r
- __pDataBase = null;\r
- return r;\r
- }\r
-\r
- __isBeginTransaction = false;\r
-\r
- if (File::IsFileExist(dbName))\r
- {\r
- r = InitializeDBTables();\r
- if (IsFailed(r))\r
- {\r
- delete __pDataBase;\r
- __pDataBase = null;\r
- return r;\r
- }\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::CloseDb(void)\r
-{\r
-\r
- if (__pDbEnum != null)\r
- {\r
- delete __pDbEnum;\r
- __pDbEnum = null;\r
- }\r
-\r
- if (__pDbStatement != null)\r
- {\r
- delete __pDbStatement;\r
- __pDbStatement = null;\r
- }\r
-\r
- if (__pDataBase != null)\r
- {\r
- delete __pDataBase;\r
- __pDataBase = null;\r
- }\r
-\r
- __isBeginTransaction = false;\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-result\r
-DataServiceProvider::CreateDBTables(ClockDbTableTypes tableType)\r
-{\r
- result r = E_FAILURE;\r
- String query;\r
- int resultCount = -1;\r
-\r
- switch (tableType)\r
- {\r
- case DB_TYPE_WORLDCLOCK:\r
- {\r
- query.Append(L"CREATE TABLE IF NOT EXISTS ");\r
- query.Append(WORLD_CLOCK_TABLE);\r
- query.Append(L"(ID INTEGER PRIMARY KEY AUTOINCREMENT,CITY TEXT,COUNTRY TEXT , TIMEZONE INTEGER, ORDERNO INTEGER, DSTTIME INTEGER)");\r
- break;\r
- }\r
-\r
- case DB_TYPE_ALARMDATA:\r
- {\r
- query.Append(L"CREATE TABLE IF NOT EXISTS ");\r
- query.Append(ALARM_TABLE);\r
- query.Append(L" ( ID INTEGER PRIMARY KEY AUTOINCREMENT DEFAULT -1, IS_ON INTEGER, NAME TEXT, TIME DATETIME, REPEAT TEXT, SNOOZE_ON INTEGER, SNOOZE_DURATION INTEGER, SNOOZE_REPEAT INTEGER, RING_VOLUME INTEGER, RING_TYPE INTEGER, RING_TONE TEXT, LAST_RINGING_TIME DATETIME, SNOOZE_REPEAT_COUNT INTEGER, CREATED_TIME DATETIME)");\r
- break;\r
- }\r
-\r
- default:\r
- {\r
- AppLogDebug("PresentationModelBase::CreateDBTables: Table Type:%d is invalid", tableType);\r
- break;\r
- }\r
- }\r
-\r
- r = DataServiceProvider::ExecuteQuery(query, resultCount);\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::InitializeDBTables(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- for (register int nDbTblIndex = DB_TYPE_INVALID + 1; nDbTblIndex < DB_TYPE_MAX; nDbTblIndex++)\r
- {\r
- r = CreateDBTables((ClockDbTableTypes) nDbTblIndex);\r
-\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::DropDBTables(void)\r
-{\r
- result r = E_FAILURE;\r
- String query;\r
- int resultCount = -1;\r
-\r
- for (register int tableIndex = DB_TYPE_INVALID + 1; tableIndex < DB_TYPE_MAX; tableIndex++)\r
- {\r
- switch (tableIndex)\r
- {\r
- case DB_TYPE_WORLDCLOCK:\r
- {\r
- query.Clear();\r
- query.Format(MAX_DB_QUERY_SIZE, L"DROP TABLE IF EXISTS WorldClock");\r
- break;\r
- }\r
- case DB_TYPE_ALARMDATA:\r
- {\r
- query.Clear();\r
- query.Format(MAX_DB_QUERY_SIZE, L"DROP TABLE IF EXISTS Alarm");\r
- break;\r
- }\r
- default:\r
- {\r
- AppLogDebug("PresentationModelBase::CreateDBTables: Table Type:%d is invalid", tableIndex);\r
- break;\r
- }\r
- }\r
-\r
- r = DataServiceProvider::ExecuteQuery(query, resultCount);\r
-\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::ExecuteQuery(const String formatQuery, int& count)\r
-{\r
- AppLogDebug("Query: %ls", formatQuery.GetPointer());\r
-\r
- result r = E_FAILURE;\r
- String queryType;\r
-\r
- if (__pDataBase == null)\r
- {\r
- return E_INIT_FAILED;\r
- }\r
-\r
- if (__pDbEnum != null)\r
- {\r
- delete __pDbEnum;\r
- __pDbEnum = null;\r
- }\r
-\r
- if (__pDbStatement != null)\r
- {\r
- delete __pDbStatement;\r
- __pDbStatement = null;\r
- }\r
-\r
-\r
-#if defined(FBK_DB_QUERY_LOG)\r
- {\r
- File file;\r
- file.Construct(L"/Home/Query.txt", "a+", true);\r
- file.Write(formatQuery);\r
- file.Write(String("\r\n"));\r
- }\r
-#endif\r
-\r
- r = formatQuery.SubString(0, QUERY_TYPE_LENGTH, queryType);\r
-\r
- if (r == E_SUCCESS)\r
- {\r
-\r
- if (queryType == "SELECT")\r
- {\r
- __pDbEnum = __pDataBase->QueryN(formatQuery);\r
- r = GetLastResult();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("Failed Database::QueryN(). (error: %s, query: %ls)", GetErrorMessage(r), formatQuery.GetPointer());\r
- return r;\r
- }\r
-\r
- count = 0;\r
-\r
- if (__pDbEnum != null)\r
- {\r
-\r
- while (__pDbEnum->MoveNext() == E_SUCCESS)\r
- {\r
- count++;\r
- }\r
-\r
- __pDbEnum->Reset();\r
- }\r
-\r
- }\r
- else\r
- {\r
-\r
- if (__isBeginTransaction == false &&\r
- (queryType == L"INSERT" || queryType == L"UPDATE" || queryType == L"DELETE"))\r
- {\r
- r = __pDataBase->BeginTransaction();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("Failed Database::BeginTransaction() . (error: %s)", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- __isBeginTransaction = true;\r
- }\r
-\r
- r = __pDataBase->ExecuteSql(formatQuery, false);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("Failed Database::ExecuteSql(). (error: %s, query: %ls)", GetErrorMessage(r), formatQuery.GetPointer());\r
- return r;\r
- }\r
-\r
- count = 0;\r
- }\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::DbIsNextRowPresent(bool& nextRowpresent)\r
-{\r
- result r = E_FAILURE;\r
-\r
- if (null == __pDataBase || null == __pDbEnum)\r
- {\r
-\r
- if (__pDbEnum == null)\r
- {\r
- AppLogException("PresentationModelBase : pdbenum is null");\r
- }\r
-\r
- if (__pDataBase == null)\r
- {\r
- AppLogException("PresentationModelBase : __pDataBase is null");\r
- }\r
-\r
- return E_OUT_OF_MEMORY;\r
- }\r
-\r
- r = __pDbEnum->MoveNext();\r
-\r
- if (IsFailed(r))\r
- {\r
- nextRowpresent = false;\r
- return r;\r
- }\r
-\r
- nextRowpresent = true;\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::IsNullColumn(int index, bool& isColumNull)\r
-{\r
-\r
- if (null == __pDataBase || null == __pDbEnum)\r
- {\r
- return E_DATABASE;\r
- }\r
-\r
- isColumNull = (__pDbEnum->GetColumnType(index) == DB_COLUMNTYPE_NULL ? true : false);\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-result\r
-DataServiceProvider::GetColumn(int index, String& stringValue)\r
-{\r
- result r = E_FAILURE;\r
- DbColumnType columnType;\r
-\r
- if (null == __pDataBase || null == __pDbEnum)\r
- {\r
- return E_OUT_OF_MEMORY;\r
- }\r
-\r
- // Find column type\r
- columnType = __pDbEnum->GetColumnType(index);\r
-\r
- //if column type is null then assign empty string and return\r
- if (columnType == DB_COLUMNTYPE_NULL)\r
- {\r
- stringValue = "";\r
- return E_SUCCESS;\r
- }\r
-\r
- //Get String value\r
- r = __pDbEnum->GetStringAt(index, stringValue);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("GetStringAt: Failed");\r
- return r;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::GetColumn(int index, int& intValue)\r
-{\r
- result r = E_FAILURE;\r
- DbColumnType columnType;\r
-\r
- if (null == __pDataBase || null == __pDbEnum)\r
- {\r
- return E_OUT_OF_MEMORY;\r
- }\r
-\r
- // Find column type\r
- columnType = __pDbEnum->GetColumnType(index);\r
-\r
- //if column type is null then assign empty string and return\r
- if (columnType == DB_COLUMNTYPE_NULL)\r
- {\r
- intValue = 0;\r
- return E_SUCCESS;\r
- }\r
-\r
- //Get String value\r
- r = __pDbEnum->GetIntAt(index, intValue);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("GetIntAt:failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::GetColumn(int index, DateTime& dateValue)\r
-{\r
- result r = E_FAILURE;\r
- DbColumnType nType;\r
-\r
- if (null == __pDataBase || null == __pDbEnum)\r
- {\r
- AppLogDebug("__pDataBase or __pDbEnum is null");\r
- return E_OUT_OF_MEMORY;\r
- }\r
-\r
- // Find column type\r
- nType = __pDbEnum->GetColumnType(index);\r
-\r
- //if column type is null then assign empty string and return\r
- if (nType == DB_COLUMNTYPE_NULL)\r
- {\r
- return E_SUCCESS;\r
- }\r
- //Get String value\r
- r = __pDbEnum->GetDateTimeAt(index, dateValue);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("GetDateTimeAt: Failed");\r
- return r;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::GetColumn(int index, double& doubleValue)\r
-{\r
- result r = E_FAILURE;\r
- DbColumnType columnType;\r
-\r
- if (null == __pDataBase || null == __pDbEnum)\r
- {\r
- return E_OUT_OF_MEMORY;\r
- }\r
-\r
- // Find column type\r
- columnType = __pDbEnum->GetColumnType(index);\r
-\r
- //if column type is null then assign empty string and return\r
- if (columnType == DB_COLUMNTYPE_NULL)\r
- {\r
- doubleValue = 0.0;\r
- return E_SUCCESS;\r
- }\r
-\r
- //Get String value\r
- r = __pDbEnum->GetDoubleAt(index, doubleValue);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("GetDateTimeAt: Failed");\r
- return r;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::RollbackDb()\r
-{\r
- result r = E_FAILURE;\r
-\r
- if (__pDataBase != null && __isBeginTransaction == true)\r
- {\r
- r = __pDataBase->RollbackTransaction();\r
-\r
- if (IsFailed(r))\r
- {\r
- return r;\r
- }\r
-\r
- __isBeginTransaction = false;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::CommitDb()\r
-{\r
- result r = E_FAILURE;\r
-\r
- if (__pDataBase != null && __isBeginTransaction == true)\r
- {\r
- r = __pDataBase->CommitTransaction();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("PresentationModelBase::Commit Transaction:failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- __isBeginTransaction = false;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-DataServiceProvider::GetLastInsertedId(String& tableName, int& rowId)\r
-{\r
- String query;\r
- result r = E_FAILURE;\r
- int count = -1;\r
- bool nextRowpresent = false;\r
-\r
- query.Append(L"SELECT last_insert_rowid() FROM ");\r
- query.Append(tableName);\r
-\r
- r = DataServiceProvider::ExecuteQuery(query, count);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("PresentationModelBase::GetLastInsertedId query failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = DataServiceProvider::DbIsNextRowPresent(nextRowpresent);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("PresentationModelBase::GetLastInsertedId DbIsNextRowPresent failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- if (nextRowpresent == true)\r
- {\r
-\r
- r = DataServiceProvider::GetColumn(0, rowId);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("PresentationModelBase::GetLstInsertedId -(%s)\n", GetErrorMessage(r));\r
- }\r
-\r
- }\r
-\r
- return r;\r
-}\r
-\r
-bool\r
-DataServiceProvider::GetCurrentDateTime(DateTime& dt)\r
-{\r
- DateTime dtNow;\r
- LocaleManager localManager;\r
- result r = E_FAILURE;\r
- TimeZone tz;\r
-\r
- r = SystemTime::GetCurrentTime(UTC_TIME, dtNow);\r
-\r
- if (IsFailed(r))\r
- {\r
- return false;\r
- }\r
-\r
- localManager.Construct();\r
- tz = localManager.GetSystemTimeZone();\r
- dt = tz.UtcTimeToWallTime(dtNow);\r
-\r
- return true;\r
-}\r
-\r
-DataServiceProvider*\r
-DataServiceProvider::GetInstance(void)\r
-{\r
-\r
- if (__pInstance == null)\r
- {\r
- CreateInstance();\r
- }\r
-\r
- return __pInstance;\r
-}\r
-\r
-result\r
-DataServiceProvider::Construct(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-DataServiceProvider::CreateInstance(void)\r
-{\r
- result r = E_FAILURE;\r
- __pInstance = new (std::nothrow) DataServiceProvider();\r
- r = __pInstance->Construct();\r
-\r
- if (IsFailed(r))\r
- {\r
- delete __pInstance;\r
- __pInstance = null;\r
- return;\r
- }\r
-\r
- std::atexit(DestroyInstance);\r
-}\r
-\r
-void\r
-DataServiceProvider::DestroyInstance(void)\r
-{\r
- delete __pInstance;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkDataServiceProvider.cpp
+ * @brief Defines the database/storage functions.
+ */
+
+#include <cstdlib>
+#include <FApp.h>
+#include <FBase.h>
+#include <FLocales.h>
+
+#include "ClkDataServiceProvider.h"
+
+const wchar_t* WORLD_CLOCK_TABLE = L"WorldClock";
+const wchar_t* ALARM_TABLE = L"AlarmData";
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Utility;
+using namespace Tizen::Io;
+using namespace Tizen::Locales;
+using namespace Tizen::System;
+
+Database* DataServiceProvider::__pDataBase = null;
+DbEnumerator* DataServiceProvider::__pDbEnum = null;
+DbStatement* DataServiceProvider::__pDbStatement = null;
+bool DataServiceProvider::__isBeginTransaction = false;
+String DataServiceProvider::DB_FILE_PATH = L"/data/clock.db" ;
+
+DataServiceProvider* DataServiceProvider::__pInstance = NULL;
+
+static const int MAX_DB_QUERY_SIZE = 21474836;
+static const int QUERY_TYPE_LENGTH = 6;
+
+DataServiceProvider::DataServiceProvider(void)
+{
+
+}
+
+DataServiceProvider::~DataServiceProvider(void)
+{
+
+}
+
+result
+DataServiceProvider::Initialize(void)
+{
+ result r = E_FAILURE;
+
+ r = DataServiceProvider::OpenDb();
+
+ return r;
+}
+
+result
+DataServiceProvider::UnInitialize(void)
+{
+ result r = E_FAILURE;
+
+ //r = PresentationModelBase::CloseDb();
+
+ return r;
+}
+
+result
+DataServiceProvider::OpenDb(void)
+{
+ result r = E_FAILURE;
+ String dbName = L"";
+
+ if (__pDataBase != null)
+ {
+
+ if (__pDbEnum != null)
+ {
+ delete __pDbEnum;
+ __pDbEnum = null;
+ }
+
+ if (__pDbStatement != null)
+ {
+ delete __pDbStatement;
+ __pDbStatement = null;
+ }
+
+ return r;
+ }
+
+ __pDataBase = new (std::nothrow) Database();
+
+ if (__pDataBase == null)
+ {
+ return E_OUT_OF_MEMORY;
+ }
+
+ dbName = App::GetInstance()->GetAppRootPath() + DB_FILE_PATH;
+
+ r = __pDataBase->Construct(dbName, true);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("DB construction failed:%s", GetErrorMessage(r));
+ delete __pDataBase;
+ __pDataBase = null;
+ return r;
+ }
+
+ __isBeginTransaction = false;
+
+ if (File::IsFileExist(dbName))
+ {
+ r = InitializeDBTables();
+ if (IsFailed(r))
+ {
+ delete __pDataBase;
+ __pDataBase = null;
+ return r;
+ }
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::CloseDb(void)
+{
+
+ if (__pDbEnum != null)
+ {
+ delete __pDbEnum;
+ __pDbEnum = null;
+ }
+
+ if (__pDbStatement != null)
+ {
+ delete __pDbStatement;
+ __pDbStatement = null;
+ }
+
+ if (__pDataBase != null)
+ {
+ delete __pDataBase;
+ __pDataBase = null;
+ }
+
+ __isBeginTransaction = false;
+
+ return E_SUCCESS;
+}
+
+result
+DataServiceProvider::CreateDBTables(ClockDbTableTypes tableType)
+{
+ result r = E_FAILURE;
+ String query;
+ int resultCount = -1;
+
+ switch (tableType)
+ {
+ case DB_TYPE_WORLDCLOCK:
+ {
+ query.Append(L"CREATE TABLE IF NOT EXISTS ");
+ query.Append(WORLD_CLOCK_TABLE);
+ query.Append(L"(ID INTEGER PRIMARY KEY AUTOINCREMENT,CITY TEXT,COUNTRY TEXT , TIMEZONE INTEGER, ORDERNO INTEGER, DSTTIME INTEGER)");
+ break;
+ }
+
+ case DB_TYPE_ALARMDATA:
+ {
+ query.Append(L"CREATE TABLE IF NOT EXISTS ");
+ query.Append(ALARM_TABLE);
+ query.Append(L" ( ID INTEGER PRIMARY KEY AUTOINCREMENT DEFAULT -1, IS_ON INTEGER, NAME TEXT, TIME DATETIME, REPEAT TEXT, SNOOZE_ON INTEGER, SNOOZE_DURATION INTEGER, SNOOZE_REPEAT INTEGER, RING_VOLUME INTEGER, RING_TYPE INTEGER, RING_TONE TEXT, LAST_RINGING_TIME DATETIME, SNOOZE_REPEAT_COUNT INTEGER, CREATED_TIME DATETIME)");
+ break;
+ }
+
+ default:
+ {
+ AppLogDebug("PresentationModelBase::CreateDBTables: Table Type:%d is invalid", tableType);
+ break;
+ }
+ }
+
+ r = DataServiceProvider::ExecuteQuery(query, resultCount);
+
+ return r;
+}
+
+result
+DataServiceProvider::InitializeDBTables(void)
+{
+ result r = E_FAILURE;
+
+ for (register int nDbTblIndex = DB_TYPE_INVALID + 1; nDbTblIndex < DB_TYPE_MAX; nDbTblIndex++)
+ {
+ r = CreateDBTables((ClockDbTableTypes) nDbTblIndex);
+
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::DropDBTables(void)
+{
+ result r = E_FAILURE;
+ String query;
+ int resultCount = -1;
+
+ for (register int tableIndex = DB_TYPE_INVALID + 1; tableIndex < DB_TYPE_MAX; tableIndex++)
+ {
+ switch (tableIndex)
+ {
+ case DB_TYPE_WORLDCLOCK:
+ {
+ query.Clear();
+ query.Format(MAX_DB_QUERY_SIZE, L"DROP TABLE IF EXISTS WorldClock");
+ break;
+ }
+ case DB_TYPE_ALARMDATA:
+ {
+ query.Clear();
+ query.Format(MAX_DB_QUERY_SIZE, L"DROP TABLE IF EXISTS Alarm");
+ break;
+ }
+ default:
+ {
+ AppLogDebug("PresentationModelBase::CreateDBTables: Table Type:%d is invalid", tableIndex);
+ break;
+ }
+ }
+
+ r = DataServiceProvider::ExecuteQuery(query, resultCount);
+
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::ExecuteQuery(const String formatQuery, int& count)
+{
+ AppLogDebug("Query: %ls", formatQuery.GetPointer());
+
+ result r = E_FAILURE;
+ String queryType;
+
+ if (__pDataBase == null)
+ {
+ return E_INIT_FAILED;
+ }
+
+ if (__pDbEnum != null)
+ {
+ delete __pDbEnum;
+ __pDbEnum = null;
+ }
+
+ if (__pDbStatement != null)
+ {
+ delete __pDbStatement;
+ __pDbStatement = null;
+ }
+
+
+#if defined(FBK_DB_QUERY_LOG)
+ {
+ File file;
+ file.Construct(L"/Home/Query.txt", "a+", true);
+ file.Write(formatQuery);
+ file.Write(String("\r\n"));
+ }
+#endif
+
+ r = formatQuery.SubString(0, QUERY_TYPE_LENGTH, queryType);
+
+ if (r == E_SUCCESS)
+ {
+
+ if (queryType == "SELECT")
+ {
+ __pDbEnum = __pDataBase->QueryN(formatQuery);
+ r = GetLastResult();
+
+ if (IsFailed(r))
+ {
+ AppLogException("Failed Database::QueryN(). (error: %s, query: %ls)", GetErrorMessage(r), formatQuery.GetPointer());
+ return r;
+ }
+
+ count = 0;
+
+ if (__pDbEnum != null)
+ {
+
+ while (__pDbEnum->MoveNext() == E_SUCCESS)
+ {
+ count++;
+ }
+
+ __pDbEnum->Reset();
+ }
+
+ }
+ else
+ {
+
+ if (__isBeginTransaction == false &&
+ (queryType == L"INSERT" || queryType == L"UPDATE" || queryType == L"DELETE"))
+ {
+ r = __pDataBase->BeginTransaction();
+
+ if (IsFailed(r))
+ {
+ AppLogException("Failed Database::BeginTransaction() . (error: %s)", GetErrorMessage(r));
+ return r;
+ }
+
+ __isBeginTransaction = true;
+ }
+
+ r = __pDataBase->ExecuteSql(formatQuery, false);
+
+ if (IsFailed(r))
+ {
+ AppLogException("Failed Database::ExecuteSql(). (error: %s, query: %ls)", GetErrorMessage(r), formatQuery.GetPointer());
+ return r;
+ }
+
+ count = 0;
+ }
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::DbIsNextRowPresent(bool& nextRowpresent)
+{
+ result r = E_FAILURE;
+
+ if (null == __pDataBase || null == __pDbEnum)
+ {
+
+ if (__pDbEnum == null)
+ {
+ AppLogException("PresentationModelBase : pdbenum is null");
+ }
+
+ if (__pDataBase == null)
+ {
+ AppLogException("PresentationModelBase : __pDataBase is null");
+ }
+
+ return E_OUT_OF_MEMORY;
+ }
+
+ r = __pDbEnum->MoveNext();
+
+ if (IsFailed(r))
+ {
+ nextRowpresent = false;
+ return r;
+ }
+
+ nextRowpresent = true;
+ return r;
+}
+
+result
+DataServiceProvider::IsNullColumn(int index, bool& isColumNull)
+{
+
+ if (null == __pDataBase || null == __pDbEnum)
+ {
+ return E_DATABASE;
+ }
+
+ isColumNull = (__pDbEnum->GetColumnType(index) == DB_COLUMNTYPE_NULL ? true : false);
+
+ return E_SUCCESS;
+}
+
+result
+DataServiceProvider::GetColumn(int index, String& stringValue)
+{
+ result r = E_FAILURE;
+ DbColumnType columnType;
+
+ if (null == __pDataBase || null == __pDbEnum)
+ {
+ return E_OUT_OF_MEMORY;
+ }
+
+ // Find column type
+ columnType = __pDbEnum->GetColumnType(index);
+
+ //if column type is null then assign empty string and return
+ if (columnType == DB_COLUMNTYPE_NULL)
+ {
+ stringValue = "";
+ return E_SUCCESS;
+ }
+
+ //Get String value
+ r = __pDbEnum->GetStringAt(index, stringValue);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("GetStringAt: Failed");
+ return r;
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::GetColumn(int index, int& intValue)
+{
+ result r = E_FAILURE;
+ DbColumnType columnType;
+
+ if (null == __pDataBase || null == __pDbEnum)
+ {
+ return E_OUT_OF_MEMORY;
+ }
+
+ // Find column type
+ columnType = __pDbEnum->GetColumnType(index);
+
+ //if column type is null then assign empty string and return
+ if (columnType == DB_COLUMNTYPE_NULL)
+ {
+ intValue = 0;
+ return E_SUCCESS;
+ }
+
+ //Get String value
+ r = __pDbEnum->GetIntAt(index, intValue);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("GetIntAt:failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::GetColumn(int index, DateTime& dateValue)
+{
+ result r = E_FAILURE;
+ DbColumnType nType;
+
+ if (null == __pDataBase || null == __pDbEnum)
+ {
+ AppLogDebug("__pDataBase or __pDbEnum is null");
+ return E_OUT_OF_MEMORY;
+ }
+
+ // Find column type
+ nType = __pDbEnum->GetColumnType(index);
+
+ //if column type is null then assign empty string and return
+ if (nType == DB_COLUMNTYPE_NULL)
+ {
+ return E_SUCCESS;
+ }
+ //Get String value
+ r = __pDbEnum->GetDateTimeAt(index, dateValue);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("GetDateTimeAt: Failed");
+ return r;
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::GetColumn(int index, double& doubleValue)
+{
+ result r = E_FAILURE;
+ DbColumnType columnType;
+
+ if (null == __pDataBase || null == __pDbEnum)
+ {
+ return E_OUT_OF_MEMORY;
+ }
+
+ // Find column type
+ columnType = __pDbEnum->GetColumnType(index);
+
+ //if column type is null then assign empty string and return
+ if (columnType == DB_COLUMNTYPE_NULL)
+ {
+ doubleValue = 0.0;
+ return E_SUCCESS;
+ }
+
+ //Get String value
+ r = __pDbEnum->GetDoubleAt(index, doubleValue);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("GetDateTimeAt: Failed");
+ return r;
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::RollbackDb()
+{
+ result r = E_FAILURE;
+
+ if (__pDataBase != null && __isBeginTransaction == true)
+ {
+ r = __pDataBase->RollbackTransaction();
+
+ if (IsFailed(r))
+ {
+ return r;
+ }
+
+ __isBeginTransaction = false;
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::CommitDb()
+{
+ result r = E_FAILURE;
+
+ if (__pDataBase != null && __isBeginTransaction == true)
+ {
+ r = __pDataBase->CommitTransaction();
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("PresentationModelBase::Commit Transaction:failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ __isBeginTransaction = false;
+ }
+
+ return r;
+}
+
+result
+DataServiceProvider::GetLastInsertedId(String& tableName, int& rowId)
+{
+ String query;
+ result r = E_FAILURE;
+ int count = -1;
+ bool nextRowpresent = false;
+
+ query.Append(L"SELECT last_insert_rowid() FROM ");
+ query.Append(tableName);
+
+ r = DataServiceProvider::ExecuteQuery(query, count);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("PresentationModelBase::GetLastInsertedId query failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ r = DataServiceProvider::DbIsNextRowPresent(nextRowpresent);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("PresentationModelBase::GetLastInsertedId DbIsNextRowPresent failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ if (nextRowpresent == true)
+ {
+
+ r = DataServiceProvider::GetColumn(0, rowId);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("PresentationModelBase::GetLstInsertedId -(%s)\n", GetErrorMessage(r));
+ }
+
+ }
+
+ return r;
+}
+
+bool
+DataServiceProvider::GetCurrentDateTime(DateTime& dt)
+{
+ DateTime dtNow;
+ LocaleManager localManager;
+ result r = E_FAILURE;
+ TimeZone tz;
+
+ r = SystemTime::GetCurrentTime(UTC_TIME, dtNow);
+
+ if (IsFailed(r))
+ {
+ return false;
+ }
+
+ localManager.Construct();
+ tz = localManager.GetSystemTimeZone();
+ dt = tz.UtcTimeToWallTime(dtNow);
+
+ return true;
+}
+
+DataServiceProvider*
+DataServiceProvider::GetInstance(void)
+{
+
+ if (__pInstance == null)
+ {
+ CreateInstance();
+ }
+
+ return __pInstance;
+}
+
+result
+DataServiceProvider::Construct(void)
+{
+ return E_SUCCESS;
+}
+
+void
+DataServiceProvider::CreateInstance(void)
+{
+ result r = E_FAILURE;
+ __pInstance = new (std::nothrow) DataServiceProvider();
+ r = __pInstance->Construct();
+
+ if (IsFailed(r))
+ {
+ delete __pInstance;
+ __pInstance = null;
+ return;
+ }
+
+ std::atexit(DestroyInstance);
+}
+
+void
+DataServiceProvider::DestroyInstance(void)
+{
+ delete __pInstance;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file DaylightSavingPopUp.cpp\r
- * @brief This file contains the definitions of the DayLightSavingPopup class.\r
- */\r
-\r
-#include <FAppUiApp.h>\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkDaylightSavingPopUp.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-\r
-static const int ID_FORMAT_OFF = 501;\r
-static const int ID_FORMAT_1_HOUR = 502 ;\r
-static const int ID_FORMAT_2_HOURS = 503 ;\r
-static const int ID_CANCEL_BUTTON = 504;\r
-\r
-\r
-IDstTimeEventListener::IDstTimeEventListener(void)\r
-{\r
-\r
-}\r
-\r
-IDstTimeEventListener::~IDstTimeEventListener(void)\r
-{\r
-\r
-}\r
-\r
-DaylightSavingPopUp::DaylightSavingPopUp(void)\r
-:__pList(null)\r
-{\r
-\r
-}\r
-\r
-DaylightSavingPopUp::~DaylightSavingPopUp(void)\r
-{\r
-\r
-}\r
-\r
-bool\r
-DaylightSavingPopUp::Initialize(void)\r
-{\r
- Button* pCancelButton = null;\r
- Popup::Construct(L"IDL_DST_POPUP");\r
-\r
- __pList = static_cast<ListView*>(GetControl(L"IDC_POPUP_LIST"));\r
-\r
- if (__pList == null)\r
- {\r
- return false;\r
- }\r
-\r
- __pList->SetItemProvider(*this);\r
- __pList->AddListViewItemEventListener(*this);\r
-\r
- pCancelButton = static_cast< Button* >(GetControl(L"IDC_BUTTON", true));\r
-\r
- if (pCancelButton != null)\r
- {\r
- pCancelButton->AddActionEventListener(*this);\r
- pCancelButton->SetActionId(ID_CANCEL_BUTTON);\r
- }\r
-\r
- return true;\r
-\r
-}\r
-\r
-result\r
-DaylightSavingPopUp::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
- return r;\r
-}\r
-\r
-void\r
-DaylightSavingPopUp::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- switch (actionId)\r
- {\r
- case ID_CANCEL_BUTTON:\r
- {\r
- Popup::SetShowState(false);\r
- Popup::Show();\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
- return;\r
-}\r
-\r
-void\r
-DaylightSavingPopUp::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- switch(index)\r
- {\r
- case 0:\r
- {\r
- __pList->SetItemChecked(0,true);\r
- __pList->SetItemChecked(1,false);\r
- __pList->SetItemChecked(2,false);\r
-\r
- if (__pListener != null)\r
- {\r
- __pListener->OnDaylightSavingPopUpItemSelected(0);\r
- }\r
-\r
- }\r
- break;\r
- case 1:\r
- {\r
- __pList->SetItemChecked(0,false);\r
- __pList->SetItemChecked(1,true);\r
- __pList->SetItemChecked(2,false);\r
-\r
- if (__pListener != null)\r
- {\r
- __pListener->OnDaylightSavingPopUpItemSelected(1);\r
- }\r
-\r
- }\r
- break;\r
-\r
- case 2:\r
- {\r
- __pList->SetItemChecked(0,false);\r
- __pList->SetItemChecked(1,false);\r
- __pList->SetItemChecked(2,true);\r
-\r
- if (__pListener != null)\r
- {\r
- __pListener->OnDaylightSavingPopUpItemSelected(2);\r
- }\r
-\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-\r
- __pList->Invalidate(true);\r
-}\r
-\r
-ListItemBase*\r
-DaylightSavingPopUp::CreateItem(int index, int itemWidth)\r
-{\r
- result r = E_FAILURE;\r
- ListAnnexStyle style = LIST_ANNEX_STYLE_RADIO;\r
- int listItemWidth = 112;\r
-\r
- CustomItem* pItem = new (std::nothrow) CustomItem();\r
- r = pItem->Construct(Dimension(GetClientAreaBounds().width, listItemWidth), style);\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color::GetColor(COLOR_ID_WHITE));\r
-\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- return null;\r
- }\r
-\r
- switch (index)\r
- {\r
-\r
- case 0:\r
- {\r
- pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_OFF, L"Off", true);\r
- }\r
- break;\r
-\r
- case 1:\r
- {\r
- pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_1_HOUR, L"1 hour", true);\r
- }\r
- break;\r
-\r
- case 2:\r
- {\r
- pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_2_HOURS, L"2 hours", true);\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
- return pItem;\r
-}\r
-\r
-bool\r
-DaylightSavingPopUp::DeleteItem(int index, ListItemBase* pItem, int itemWidth)\r
-{\r
- return true;\r
-}\r
-\r
-int\r
-DaylightSavingPopUp::GetItemCount(void)\r
-{\r
- return 3;\r
-}\r
-\r
-void\r
-DaylightSavingPopUp::SetEventListner(IDstTimeEventListener* listner)\r
-{\r
- __pListener = listner;\r
-}\r
-\r
-void\r
-DaylightSavingPopUp::SetDstIndex(int index)\r
-{\r
- __pList->SetItemChecked(index,true);\r
-\r
- if ( index == 0)\r
- {\r
- __pList->SetItemChecked(1,false);\r
- __pList->SetItemChecked(2,false);\r
- }\r
- else if (index == 1)\r
- {\r
- __pList->SetItemChecked(0,false);\r
- __pList->SetItemChecked(2,false);\r
- }\r
- else if (index == 2)\r
- {\r
- __pList->SetItemChecked(0,false);\r
- __pList->SetItemChecked(1,false);\r
- }\r
-\r
- __pList->Invalidate(true);\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file DaylightSavingPopUp.cpp
+ * @brief This file contains the definitions of the DayLightSavingPopup class.
+ */
+
+#include <FAppUiApp.h>
+#include <FUiScenes.h>
+
+#include "ClkCommonLib.h"
+#include "ClkDaylightSavingPopUp.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+
+static const int ID_FORMAT_OFF = 501;
+static const int ID_FORMAT_1_HOUR = 502 ;
+static const int ID_FORMAT_2_HOURS = 503 ;
+static const int ID_CANCEL_BUTTON = 504;
+
+
+IDstTimeEventListener::IDstTimeEventListener(void)
+{
+
+}
+
+IDstTimeEventListener::~IDstTimeEventListener(void)
+{
+
+}
+
+DaylightSavingPopUp::DaylightSavingPopUp(void)
+:__pList(null)
+{
+
+}
+
+DaylightSavingPopUp::~DaylightSavingPopUp(void)
+{
+
+}
+
+bool
+DaylightSavingPopUp::Initialize(void)
+{
+ Button* pCancelButton = null;
+ Popup::Construct(L"IDL_DST_POPUP");
+
+ __pList = static_cast<ListView*>(GetControl(L"IDC_POPUP_LIST"));
+
+ if (__pList == null)
+ {
+ return false;
+ }
+
+ __pList->SetItemProvider(*this);
+ __pList->AddListViewItemEventListener(*this);
+
+ pCancelButton = static_cast< Button* >(GetControl(L"IDC_BUTTON", true));
+
+ if (pCancelButton != null)
+ {
+ pCancelButton->AddActionEventListener(*this);
+ pCancelButton->SetActionId(ID_CANCEL_BUTTON);
+ }
+
+ return true;
+
+}
+
+result
+DaylightSavingPopUp::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+ return r;
+}
+
+void
+DaylightSavingPopUp::OnActionPerformed(const Control& source, int actionId)
+{
+ switch (actionId)
+ {
+ case ID_CANCEL_BUTTON:
+ {
+ Popup::SetShowState(false);
+ Popup::Show();
+ }
+ break;
+ default:
+ break;
+ }
+ return;
+}
+
+void
+DaylightSavingPopUp::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ switch(index)
+ {
+ case 0:
+ {
+ __pList->SetItemChecked(0,true);
+ __pList->SetItemChecked(1,false);
+ __pList->SetItemChecked(2,false);
+
+ if (__pListener != null)
+ {
+ __pListener->OnDaylightSavingPopUpItemSelected(0);
+ }
+
+ }
+ break;
+ case 1:
+ {
+ __pList->SetItemChecked(0,false);
+ __pList->SetItemChecked(1,true);
+ __pList->SetItemChecked(2,false);
+
+ if (__pListener != null)
+ {
+ __pListener->OnDaylightSavingPopUpItemSelected(1);
+ }
+
+ }
+ break;
+
+ case 2:
+ {
+ __pList->SetItemChecked(0,false);
+ __pList->SetItemChecked(1,false);
+ __pList->SetItemChecked(2,true);
+
+ if (__pListener != null)
+ {
+ __pListener->OnDaylightSavingPopUpItemSelected(2);
+ }
+
+ }
+ break;
+
+ default:
+ break;
+ }
+
+ __pList->Invalidate(true);
+}
+
+ListItemBase*
+DaylightSavingPopUp::CreateItem(int index, int itemWidth)
+{
+ result r = E_FAILURE;
+ ListAnnexStyle style = LIST_ANNEX_STYLE_RADIO;
+ int listItemWidth = 112;
+
+ CustomItem* pItem = new (std::nothrow) CustomItem();
+ r = pItem->Construct(Dimension(GetClientAreaBounds().width, listItemWidth), style);
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color::GetColor(COLOR_ID_WHITE));
+
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ return null;
+ }
+
+ switch (index)
+ {
+
+ case 0:
+ {
+ pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_OFF, L"Off", true);
+ }
+ break;
+
+ case 1:
+ {
+ pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_1_HOUR, L"1 hour", true);
+ }
+ break;
+
+ case 2:
+ {
+ pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_2_HOURS, L"2 hours", true);
+ }
+ break;
+ default:
+ break;
+ }
+
+ return pItem;
+}
+
+bool
+DaylightSavingPopUp::DeleteItem(int index, ListItemBase* pItem, int itemWidth)
+{
+ return true;
+}
+
+int
+DaylightSavingPopUp::GetItemCount(void)
+{
+ return 3;
+}
+
+void
+DaylightSavingPopUp::SetEventListner(IDstTimeEventListener* listner)
+{
+ __pListener = listner;
+}
+
+void
+DaylightSavingPopUp::SetDstIndex(int index)
+{
+ __pList->SetItemChecked(index,true);
+
+ if ( index == 0)
+ {
+ __pList->SetItemChecked(1,false);
+ __pList->SetItemChecked(2,false);
+ }
+ else if (index == 1)
+ {
+ __pList->SetItemChecked(0,false);
+ __pList->SetItemChecked(2,false);
+ }
+ else if (index == 2)
+ {
+ __pList->SetItemChecked(0,false);
+ __pList->SetItemChecked(1,false);
+ }
+
+ __pList->Invalidate(true);
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkDefaultCustomItem\r
- * @brief This header file contains the declarations of the DefaultCustomItem\r
- *\r
- */\r
-\r
-#include <FUiControls.h>\r
-#include "ClkDefaultCustomItem.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_STRING = 101;\r
-static const int IDA_FORMAT_SUB_STRING = 102;\r
-static const int IDA_FORMAT_RIGHT_SUB_STRING = 103;\r
-\r
-DefaultCustomItem::DefaultCustomItem(void)\r
-:__rightSubText(""),\r
- __subText(""),\r
- __text("")\r
-\r
-{\r
-\r
-}\r
-\r
-DefaultCustomItem::~DefaultCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-DefaultCustomItem::Construct(int width, int height)\r
-{\r
- result r = E_FAILURE;\r
- __width = width;\r
- __height = height;\r
- const Dimension dim(width, height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
- return r;\r
-\r
-}\r
-\r
-void\r
-DefaultCustomItem::SetText(String& text)\r
-{\r
- __text = text;\r
-}\r
-\r
-String\r
-DefaultCustomItem::GetText(void)\r
-{\r
- return __text;\r
-}\r
-\r
-void\r
-DefaultCustomItem::SetSubText(String& text)\r
-{\r
- __subText.Clear();\r
- __subText.Append(text);\r
-}\r
-\r
-String\r
-DefaultCustomItem::GetSubText(void)\r
-{\r
- return __subText;\r
-}\r
-\r
-void\r
-DefaultCustomItem::SetRightSubText(String& text)\r
-{\r
- __rightSubText.Clear();\r
- __rightSubText.Append(text);\r
-}\r
-\r
-String\r
-DefaultCustomItem::GetRightSubText(void)\r
-{\r
- return __rightSubText;\r
-}\r
-\r
-\r
-result\r
-DefaultCustomItem::Make(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- EnrichedText* pMainEnText = null;\r
- EnrichedText* pSubEnText = null;\r
- TextElement* pMainTextElement = null;\r
- TextElement* pSubTextElement = null;\r
- Font* pMainTextFont = null;\r
- Font* pSubTextFont = null;\r
- int mainTextFont = 32;\r
- int subTextFont = 44;\r
- int textX = 80;\r
- int textY = 40;\r
- int xMargin = 26;\r
- int yMargin = 25;\r
- int width_Element = __width - 60;\r
- int width_text = width_Element;\r
- int width_rightSubText = 0;\r
- int stringHeight = 60;\r
- int subStringHeight = 48;\r
- int subStringFont = 44;\r
- Color textColor = Color(128, 128, 128);\r
- Color pressedTextColor = Color(255, 255, 255);\r
-\r
- pMainEnText = new (std::nothrow) EnrichedText();\r
-\r
- if (pMainEnText == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pMainEnText->Construct(Dimension(__width - textX, textY));\r
-\r
- pMainTextElement = new (std::nothrow) TextElement();\r
- pMainTextElement->Construct(__text);\r
-\r
- pMainTextFont = new (std::nothrow) Font();\r
-\r
- if (pMainTextFont == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pMainTextFont->Construct(FONT_STYLE_BOLD, mainTextFont);\r
-\r
- pMainTextElement->SetFont(*pMainTextFont);\r
- pMainTextElement->SetTextColor(textColor);\r
- pMainEnText->Add(*pMainTextElement);\r
-\r
-\r
- if (__rightSubText != L"")\r
- {\r
- width_rightSubText = 200;\r
- width_text = width_Element - width_rightSubText - 16;\r
- }\r
-\r
- r = AddElement(Rectangle(xMargin, yMargin, width_text, stringHeight), IDA_FORMAT_STRING, *pMainEnText);\r
- //r = AddElement(Rectangle(xMargin, yMargin, width_text, stringHeight), IDA_FORMAT_STRING, __text, textSize, textColor, pressedTextColor, pressedTextColor, true);\r
- TryCatch( !IsFailed(r),L"DefaultCustomItem::Make %s",GetErrorMessage(r));\r
-\r
- if (__subText != L"")\r
- {\r
- pSubEnText = new (std::nothrow) EnrichedText();\r
-\r
- if (pSubEnText == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pSubEnText->Construct(Dimension(__width - textX, textY));\r
-\r
- pSubTextElement = new (std::nothrow) TextElement();\r
- pSubTextElement->Construct(__subText);\r
-\r
- pSubTextFont = new (std::nothrow) Font();\r
-\r
- if (pSubTextFont == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pSubTextFont->Construct(FONT_STYLE_PLAIN, subTextFont);\r
-\r
- pSubTextElement->SetFont(*pSubTextFont);\r
- pSubTextElement->SetTextColor(Color(0, 0, 0));\r
- pSubEnText->Add(*pSubTextElement);\r
-\r
- r = AddElement(Rectangle(xMargin, yMargin + subStringHeight, width_Element, subStringHeight), IDA_FORMAT_SUB_STRING, *pSubEnText);\r
- }\r
-\r
- if (__rightSubText != L"")\r
- {\r
- r = AddElement(Rectangle(xMargin + width_text + 16, yMargin, width_rightSubText, subStringHeight), IDA_FORMAT_RIGHT_SUB_STRING, __rightSubText, subStringFont, Color(128,128,128), pressedTextColor, pressedTextColor, true);\r
- }\r
-\r
-// SetElementSelectionEnabled(IDA_FORMAT_STRING, true);\r
-// SetElementSelectionEnabled(IDA_FORMAT_SUB_STRING, true);\r
-\r
- CATCH:\r
-\r
- if (pMainTextFont != null)\r
- {\r
- delete pMainTextFont;\r
- pMainTextFont = null;\r
- }\r
-\r
- if (pSubTextFont != null)\r
- {\r
- delete pSubTextFont;\r
- pSubTextFont = null;\r
- }\r
-\r
- if (pSubEnText != null)\r
- {\r
- pSubEnText->RemoveAllTextElements(true);\r
- delete pSubEnText;\r
- pSubEnText = null;\r
- }\r
-\r
- if (pMainEnText != null)\r
- {\r
- pMainEnText->RemoveAllTextElements(true);\r
- delete pMainEnText;\r
- pMainEnText = null;\r
- }\r
-\r
- return r;\r
-\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkDefaultCustomItem
+ * @brief This header file contains the declarations of the DefaultCustomItem
+ *
+ */
+
+#include <FUiControls.h>
+#include "ClkDefaultCustomItem.h"
+
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_STRING = 101;
+static const int IDA_FORMAT_SUB_STRING = 102;
+static const int IDA_FORMAT_RIGHT_SUB_STRING = 103;
+
+DefaultCustomItem::DefaultCustomItem(void)
+:__rightSubText(""),
+ __subText(""),
+ __text("")
+
+{
+
+}
+
+DefaultCustomItem::~DefaultCustomItem(void)
+{
+
+}
+
+result
+DefaultCustomItem::Construct(int width, int height)
+{
+ result r = E_FAILURE;
+ __width = width;
+ __height = height;
+ const Dimension dim(width, height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ return r;
+
+}
+
+void
+DefaultCustomItem::SetText(String& text)
+{
+ __text = text;
+}
+
+String
+DefaultCustomItem::GetText(void)
+{
+ return __text;
+}
+
+void
+DefaultCustomItem::SetSubText(String& text)
+{
+ __subText.Clear();
+ __subText.Append(text);
+}
+
+String
+DefaultCustomItem::GetSubText(void)
+{
+ return __subText;
+}
+
+void
+DefaultCustomItem::SetRightSubText(String& text)
+{
+ __rightSubText.Clear();
+ __rightSubText.Append(text);
+}
+
+String
+DefaultCustomItem::GetRightSubText(void)
+{
+ return __rightSubText;
+}
+
+
+result
+DefaultCustomItem::Make(void)
+{
+ result r = E_SUCCESS;
+
+ EnrichedText* pMainEnText = null;
+ EnrichedText* pSubEnText = null;
+ TextElement* pMainTextElement = null;
+ TextElement* pSubTextElement = null;
+ Font* pMainTextFont = null;
+ Font* pSubTextFont = null;
+ int mainTextFont = 32;
+ int subTextFont = 44;
+ int textX = 80;
+ int textY = 40;
+ int xMargin = 26;
+ int yMargin = 25;
+ int width_Element = __width - 60;
+ int width_text = width_Element;
+ int width_rightSubText = 0;
+ int stringHeight = 60;
+ int subStringHeight = 48;
+ int subStringFont = 44;
+ Color textColor = Color(128, 128, 128);
+ Color pressedTextColor = Color(255, 255, 255);
+
+ pMainEnText = new (std::nothrow) EnrichedText();
+
+ if (pMainEnText == null)
+ {
+ return E_FAILURE;
+ }
+
+ pMainEnText->Construct(Dimension(__width - textX, textY));
+
+ pMainTextElement = new (std::nothrow) TextElement();
+ pMainTextElement->Construct(__text);
+
+ pMainTextFont = new (std::nothrow) Font();
+
+ if (pMainTextFont == null)
+ {
+ return E_FAILURE;
+ }
+
+ pMainTextFont->Construct(FONT_STYLE_BOLD, mainTextFont);
+
+ pMainTextElement->SetFont(*pMainTextFont);
+ pMainTextElement->SetTextColor(textColor);
+ pMainEnText->Add(*pMainTextElement);
+
+
+ if (__rightSubText != L"")
+ {
+ width_rightSubText = 200;
+ width_text = width_Element - width_rightSubText - 16;
+ }
+
+ r = AddElement(Rectangle(xMargin, yMargin, width_text, stringHeight), IDA_FORMAT_STRING, *pMainEnText);
+ //r = AddElement(Rectangle(xMargin, yMargin, width_text, stringHeight), IDA_FORMAT_STRING, __text, textSize, textColor, pressedTextColor, pressedTextColor, true);
+ TryCatch( !IsFailed(r),L"DefaultCustomItem::Make %s",GetErrorMessage(r));
+
+ if (__subText != L"")
+ {
+ pSubEnText = new (std::nothrow) EnrichedText();
+
+ if (pSubEnText == null)
+ {
+ return E_FAILURE;
+ }
+
+ pSubEnText->Construct(Dimension(__width - textX, textY));
+
+ pSubTextElement = new (std::nothrow) TextElement();
+ pSubTextElement->Construct(__subText);
+
+ pSubTextFont = new (std::nothrow) Font();
+
+ if (pSubTextFont == null)
+ {
+ return E_FAILURE;
+ }
+
+ pSubTextFont->Construct(FONT_STYLE_PLAIN, subTextFont);
+
+ pSubTextElement->SetFont(*pSubTextFont);
+ pSubTextElement->SetTextColor(Color(0, 0, 0));
+ pSubEnText->Add(*pSubTextElement);
+
+ r = AddElement(Rectangle(xMargin, yMargin + subStringHeight, width_Element, subStringHeight), IDA_FORMAT_SUB_STRING, *pSubEnText);
+ }
+
+ if (__rightSubText != L"")
+ {
+ r = AddElement(Rectangle(xMargin + width_text + 16, yMargin, width_rightSubText, subStringHeight), IDA_FORMAT_RIGHT_SUB_STRING, __rightSubText, subStringFont, Color(128,128,128), pressedTextColor, pressedTextColor, true);
+ }
+
+// SetElementSelectionEnabled(IDA_FORMAT_STRING, true);
+// SetElementSelectionEnabled(IDA_FORMAT_SUB_STRING, true);
+
+ CATCH:
+
+ if (pMainTextFont != null)
+ {
+ delete pMainTextFont;
+ pMainTextFont = null;
+ }
+
+ if (pSubTextFont != null)
+ {
+ delete pSubTextFont;
+ pSubTextFont = null;
+ }
+
+ if (pSubEnText != null)
+ {
+ pSubEnText->RemoveAllTextElements(true);
+ delete pSubEnText;
+ pSubEnText = null;
+ }
+
+ if (pMainEnText != null)
+ {
+ pMainEnText->RemoveAllTextElements(true);
+ delete pMainEnText;
+ pMainEnText = null;
+ }
+
+ return r;
+
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkDropDownCustomItem\r
- * @brief To create Drop Down custom item\r
- *\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FUiControls.h>\r
-\r
-#include "ClkDropDownCustomItem.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_MAIN_STRING = 102;\r
-static const int IDA_FORMAT_DROPPER = 104;\r
-\r
-DropDownCustomItem::DropDownCustomItem(void)\r
- : currentState(DROP_DOWN_ITEM_STATE_CLOSED)\r
- , __mainText("")\r
- , __subText("")\r
-{\r
-\r
-}\r
-\r
-DropDownCustomItem::~DropDownCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-DropDownCustomItem::Construct(int width)\r
-{\r
- result r = E_SUCCESS;\r
- __width = width;\r
- __height = 128;\r
- Dimension dim(__width, __height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
- return r;\r
-}\r
-\r
-void\r
-DropDownCustomItem::SetMainText(const String& text)\r
-{\r
- __mainText = text;\r
-}\r
-\r
-String\r
-DropDownCustomItem::GetMainText(void) const\r
-{\r
- return __mainText;\r
-}\r
-\r
-void\r
-DropDownCustomItem::SetSubText(const String& text)\r
-{\r
- __subText = text;\r
-}\r
-\r
-String\r
-DropDownCustomItem::GetSubText(void) const\r
-{\r
- return __subText;\r
-}\r
-\r
-result\r
-DropDownCustomItem::MakeElements()\r
-{\r
- AppLogDebug("DropDownCustomItem::Make entered");\r
- result r = E_FAILURE;\r
- EnrichedText* pMainEnText = null;\r
- EnrichedText* pSubEnText = null;\r
- TextElement* pMainTextElement = null;\r
- TextElement* pSubTextElement = null;\r
- Font* pMainTextFont = null;\r
- Font* pSubTextFont = null;\r
- AppResource* pAppResource = null;\r
- Bitmap* pDropperBitmapNormal = null;\r
- Bitmap* pDropperBitmapPressed = null;\r
- Color textColor = Color(128, 128, 128);\r
- Color pressedTextColor = Color(255, 255, 255);\r
- int textX = 80;\r
- int textY = 40;\r
- int subTextFont = 44;\r
- int mainTextFont = 32;\r
- int mainStringX = 26;\r
- int mainStringY = 25;\r
- int mainStringWidth = 80;\r
- int mainStringHeight = 90;\r
- int dropperX = 87;\r
- int dropperY = 64;\r
- int dropperWidth = 64;\r
- int dropperHeight = 64;\r
- pMainEnText = new (std::nothrow) EnrichedText();\r
-\r
- if (pMainEnText == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = pMainEnText->Construct(Dimension(__width - textX, textY));\r
-\r
- if(IsFailed(r))\r
- {\r
- if (pMainEnText != null)\r
- {\r
- pMainEnText->RemoveAllTextElements(true);\r
- delete pMainEnText;\r
- }\r
- return E_FAILURE;\r
- }\r
-\r
- pMainTextElement = new (std::nothrow) TextElement();\r
- __mainText.Append('\n');\r
- pMainTextElement->Construct(__mainText);\r
-\r
- pMainTextFont = new (std::nothrow) Font();\r
-\r
- if (pMainTextFont == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pMainTextFont->Construct(FONT_STYLE_BOLD, mainTextFont);\r
-\r
- pMainTextElement->SetFont(*pMainTextFont);\r
- pMainTextElement->SetTextColor(textColor);\r
- pMainEnText->Add(*pMainTextElement);\r
-\r
- pSubEnText = new (std::nothrow) EnrichedText();\r
-\r
- if (pSubEnText == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = pSubEnText->Construct(Dimension(__width - textX, textY));\r
-\r
- if(IsFailed(r))\r
- {\r
- if (pMainTextFont != null)\r
- {\r
- delete pMainTextFont;\r
- pMainTextFont = null;\r
- }\r
-\r
- if (pMainEnText != null)\r
- {\r
- pMainEnText->RemoveAllTextElements(true);\r
- delete pMainEnText;\r
- }\r
-\r
- if (pSubEnText != null)\r
- {\r
- pSubEnText->RemoveAllTextElements(true);\r
- delete pSubEnText;\r
- }\r
- return E_FAILURE;\r
- }\r
-\r
- pSubTextElement = new (std::nothrow) TextElement();\r
- pSubTextElement->Construct(__subText);\r
-\r
- pSubTextFont = new (std::nothrow) Font();\r
-\r
- if (pSubTextFont == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pSubTextFont->Construct(FONT_STYLE_PLAIN, subTextFont);\r
-\r
- pSubTextElement->SetFont(*pSubTextFont);\r
- pSubTextElement->SetTextColor(Color(0, 0, 0));\r
- pMainEnText->Add(*pSubTextElement);\r
-\r
- r = AddElement(Rectangle(mainStringX, mainStringY, __width - mainStringWidth, mainStringHeight), IDA_FORMAT_MAIN_STRING, *pMainEnText);\r
-\r
- pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- if (pAppResource != null)\r
- {\r
-\r
- if (GetCurState() == DROP_DOWN_ITEM_STATE_CLOSED)\r
- {\r
- pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- }\r
- else\r
- {\r
- pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- }\r
-\r
- AddElement(Rectangle(__width - dropperX, (__height - dropperY) / 2, dropperWidth, dropperHeight), IDA_FORMAT_DROPPER, *pDropperBitmapNormal, pDropperBitmapPressed, pDropperBitmapNormal);\r
- delete pDropperBitmapNormal;\r
- delete pDropperBitmapPressed;\r
- }\r
-\r
- //SetElementSelectionEnabled(IDA_FORMAT_MAIN_STRING, true);\r
- //SetElementSelectionEnabled(IDA_FORMAT_SUB_STRING, true);\r
- //SetElementSelectionEnabled(IDA_FORMAT_DROPPER, true);\r
-\r
- if (pMainTextFont != null)\r
- {\r
- delete pMainTextFont;\r
- pMainTextFont = null;\r
- }\r
-\r
- if (pSubTextFont != null)\r
- {\r
- delete pSubTextFont;\r
- pSubTextFont = null;\r
- }\r
-\r
- if (pSubEnText != null)\r
- {\r
- pSubEnText->RemoveAllTextElements(true);\r
- delete pSubEnText;\r
- pSubEnText = null;\r
- }\r
-\r
- if (pMainEnText != null)\r
- {\r
- pMainEnText->RemoveAllTextElements(true);\r
- delete pMainEnText;\r
- pMainEnText = null;\r
- }\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-DropDownItemState\r
-DropDownCustomItem::GetCurState(void) const\r
-{\r
- return currentState;\r
-}\r
-\r
-void\r
-DropDownCustomItem::SetCurState(const DropDownItemState state)\r
-{\r
- currentState = state;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkDropDownCustomItem
+ * @brief To create Drop Down custom item
+ *
+ */
+
+#include <FApp.h>
+#include <FUiControls.h>
+
+#include "ClkDropDownCustomItem.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_MAIN_STRING = 102;
+static const int IDA_FORMAT_DROPPER = 104;
+
+DropDownCustomItem::DropDownCustomItem(void)
+ : currentState(DROP_DOWN_ITEM_STATE_CLOSED)
+ , __mainText("")
+ , __subText("")
+{
+
+}
+
+DropDownCustomItem::~DropDownCustomItem(void)
+{
+
+}
+
+result
+DropDownCustomItem::Construct(int width)
+{
+ result r = E_SUCCESS;
+ __width = width;
+ __height = 128;
+ Dimension dim(__width, __height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ return r;
+}
+
+void
+DropDownCustomItem::SetMainText(const String& text)
+{
+ __mainText = text;
+}
+
+String
+DropDownCustomItem::GetMainText(void) const
+{
+ return __mainText;
+}
+
+void
+DropDownCustomItem::SetSubText(const String& text)
+{
+ __subText = text;
+}
+
+String
+DropDownCustomItem::GetSubText(void) const
+{
+ return __subText;
+}
+
+result
+DropDownCustomItem::MakeElements()
+{
+ AppLogDebug("DropDownCustomItem::Make entered");
+ result r = E_FAILURE;
+ EnrichedText* pMainEnText = null;
+ EnrichedText* pSubEnText = null;
+ TextElement* pMainTextElement = null;
+ TextElement* pSubTextElement = null;
+ Font* pMainTextFont = null;
+ Font* pSubTextFont = null;
+ AppResource* pAppResource = null;
+ Bitmap* pDropperBitmapNormal = null;
+ Bitmap* pDropperBitmapPressed = null;
+ Color textColor = Color(128, 128, 128);
+ Color pressedTextColor = Color(255, 255, 255);
+ int textX = 80;
+ int textY = 40;
+ int subTextFont = 44;
+ int mainTextFont = 32;
+ int mainStringX = 26;
+ int mainStringY = 25;
+ int mainStringWidth = 80;
+ int mainStringHeight = 90;
+ int dropperX = 87;
+ int dropperY = 64;
+ int dropperWidth = 64;
+ int dropperHeight = 64;
+ pMainEnText = new (std::nothrow) EnrichedText();
+
+ if (pMainEnText == null)
+ {
+ return E_FAILURE;
+ }
+
+ r = pMainEnText->Construct(Dimension(__width - textX, textY));
+
+ if(IsFailed(r))
+ {
+ if (pMainEnText != null)
+ {
+ pMainEnText->RemoveAllTextElements(true);
+ delete pMainEnText;
+ }
+ return E_FAILURE;
+ }
+
+ pMainTextElement = new (std::nothrow) TextElement();
+ __mainText.Append('\n');
+ pMainTextElement->Construct(__mainText);
+
+ pMainTextFont = new (std::nothrow) Font();
+
+ if (pMainTextFont == null)
+ {
+ return E_FAILURE;
+ }
+
+ pMainTextFont->Construct(FONT_STYLE_BOLD, mainTextFont);
+
+ pMainTextElement->SetFont(*pMainTextFont);
+ pMainTextElement->SetTextColor(textColor);
+ pMainEnText->Add(*pMainTextElement);
+
+ pSubEnText = new (std::nothrow) EnrichedText();
+
+ if (pSubEnText == null)
+ {
+ return E_FAILURE;
+ }
+
+ r = pSubEnText->Construct(Dimension(__width - textX, textY));
+
+ if(IsFailed(r))
+ {
+ if (pMainTextFont != null)
+ {
+ delete pMainTextFont;
+ pMainTextFont = null;
+ }
+
+ if (pMainEnText != null)
+ {
+ pMainEnText->RemoveAllTextElements(true);
+ delete pMainEnText;
+ }
+
+ if (pSubEnText != null)
+ {
+ pSubEnText->RemoveAllTextElements(true);
+ delete pSubEnText;
+ }
+ return E_FAILURE;
+ }
+
+ pSubTextElement = new (std::nothrow) TextElement();
+ pSubTextElement->Construct(__subText);
+
+ pSubTextFont = new (std::nothrow) Font();
+
+ if (pSubTextFont == null)
+ {
+ return E_FAILURE;
+ }
+
+ pSubTextFont->Construct(FONT_STYLE_PLAIN, subTextFont);
+
+ pSubTextElement->SetFont(*pSubTextFont);
+ pSubTextElement->SetTextColor(Color(0, 0, 0));
+ pMainEnText->Add(*pSubTextElement);
+
+ r = AddElement(Rectangle(mainStringX, mainStringY, __width - mainStringWidth, mainStringHeight), IDA_FORMAT_MAIN_STRING, *pMainEnText);
+
+ pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ if (pAppResource != null)
+ {
+
+ if (GetCurState() == DROP_DOWN_ITEM_STATE_CLOSED)
+ {
+ pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED, BITMAP_PIXEL_FORMAT_ARGB8888);
+ pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);
+ }
+ else
+ {
+ pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED, BITMAP_PIXEL_FORMAT_ARGB8888);
+ pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);
+ }
+
+ AddElement(Rectangle(__width - dropperX, (__height - dropperY) / 2, dropperWidth, dropperHeight), IDA_FORMAT_DROPPER, *pDropperBitmapNormal, pDropperBitmapPressed, pDropperBitmapNormal);
+ delete pDropperBitmapNormal;
+ delete pDropperBitmapPressed;
+ }
+
+ //SetElementSelectionEnabled(IDA_FORMAT_MAIN_STRING, true);
+ //SetElementSelectionEnabled(IDA_FORMAT_SUB_STRING, true);
+ //SetElementSelectionEnabled(IDA_FORMAT_DROPPER, true);
+
+ if (pMainTextFont != null)
+ {
+ delete pMainTextFont;
+ pMainTextFont = null;
+ }
+
+ if (pSubTextFont != null)
+ {
+ delete pSubTextFont;
+ pSubTextFont = null;
+ }
+
+ if (pSubEnText != null)
+ {
+ pSubEnText->RemoveAllTextElements(true);
+ delete pSubEnText;
+ pSubEnText = null;
+ }
+
+ if (pMainEnText != null)
+ {
+ pMainEnText->RemoveAllTextElements(true);
+ delete pMainEnText;
+ pMainEnText = null;
+ }
+
+ return E_SUCCESS;
+}
+
+DropDownItemState
+DropDownCustomItem::GetCurState(void) const
+{
+ return currentState;
+}
+
+void
+DropDownCustomItem::SetCurState(const DropDownItemState state)
+{
+ currentState = state;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/*\r
- *@file ClkDropDownCustomItem\r
- *@brief To create Drop Down custom item\r
- *\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUiControls.h>\r
-\r
-#include "ClkDropdownAndRepeatCustomItem.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_MAIN_STRING = 101;\r
-static const int IDA_FORMAT_SUB_STRING = 102;\r
-static const int IDA_FORMAT_DROPPER = 103;\r
-\r
-DropdownAndRepeatCustomItem::DropdownAndRepeatCustomItem(void)\r
- : currentState(DROP_DOWN_AND_REPEAT_ITEM_STATE_CLOSED)\r
- , __height(0)\r
- , __mainText("")\r
- , __repeatFlags("")\r
- , __subText("")\r
- , __width(0)\r
-{\r
-\r
-}\r
-\r
-DropdownAndRepeatCustomItem::~DropdownAndRepeatCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-DropdownAndRepeatCustomItem::Construct(int width)\r
-{\r
- result r = E_SUCCESS;\r
- __width = width;\r
- __height = 128;\r
- Dimension dim(__width, __height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
- return r;\r
-}\r
-\r
-void\r
-DropdownAndRepeatCustomItem::SetMainText(const String& text)\r
-{\r
- __mainText = text;\r
-}\r
-\r
-String\r
-DropdownAndRepeatCustomItem::GetMainText(void) const\r
-{\r
- return __mainText;\r
-}\r
-\r
-void\r
-DropdownAndRepeatCustomItem::SetSubText(const String& text)\r
-{\r
- __subText = text;\r
-}\r
-\r
-String\r
-DropdownAndRepeatCustomItem::GetSubText(void) const\r
-{\r
- return __subText;\r
-}\r
-\r
-void\r
-DropdownAndRepeatCustomItem::SetRepeatFlags(const String& flag)\r
-{\r
- __repeatFlags = flag;\r
-}\r
-\r
-String\r
-DropdownAndRepeatCustomItem::GetRepeatFlag(void) const\r
-{\r
- return __repeatFlags;\r
-}\r
-\r
-result\r
-DropdownAndRepeatCustomItem::MakeElements()\r
-{\r
- AppLogDebug("DropDownCustomItem::Make entered");\r
- result r = E_FAILURE;\r
- EnrichedText* pMainEnText = null;\r
- EnrichedText* pSubEnText = null;\r
- TextElement* pMainTextElement = null;\r
- TextElement* pSubTextElement = null;\r
- Font* pMainTextFont = null;\r
- Font* pSubTextFont = null;\r
- AppResource* pAppResource = null;\r
- Bitmap* pDropperBitmapNormal = null;\r
- Bitmap* pDropperBitmapPressed = null;\r
- Color textColor = Color(0, 0, 0);\r
- Color pressedTextColor = Color(249, 249, 249);\r
- int xText = 80;\r
- int yText = 40;\r
- int subTextFont = 32;\r
- int repeatFlagX = 26;\r
- int characterGap = 37;\r
- int repeatFlagY = 75;\r
- int repeatFlagWidth = 32;\r
- int repeatFlagHeight = 48;\r
- int repeatFlagFont = 32;\r
- int mainStringX = 26;\r
- int mainStringY = 25;\r
- int mainStringWidth = 80;\r
- int mainStringHeight = 60;\r
- int dropperX = 87;\r
- int dropperY = 64;\r
- int dropperWidth = 64;\r
- int dropperHeight = 64;\r
- pMainEnText = new (std::nothrow) EnrichedText();\r
-\r
- if (pMainEnText == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pMainEnText->Construct(Dimension(__width - xText, yText));\r
-\r
- pMainTextElement = new (std::nothrow) TextElement();\r
-\r
- if (pMainTextElement == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pMainTextElement->Construct(__mainText);\r
-\r
- pMainTextFont = new (std::nothrow) Font();\r
-\r
- if (pMainTextFont == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pMainTextFont->Construct(FONT_STYLE_PLAIN, yText);\r
-\r
- pMainTextElement->SetFont(*pMainTextFont);\r
- pMainTextElement->SetTextColor(textColor);\r
- pMainEnText->Add(*pMainTextElement);\r
-\r
- pSubEnText = new (std::nothrow) EnrichedText();\r
-\r
- if (pSubEnText == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pSubEnText->Construct(Dimension(__width - xText, yText));\r
-\r
- pSubTextElement = new (std::nothrow) TextElement();\r
-\r
- if (pSubTextElement == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __subText.Insert('\n',0);\r
- pSubTextElement->Construct(__subText);\r
-\r
- pSubTextFont = new (std::nothrow) Font();\r
-\r
- if (pSubTextFont == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pSubTextFont->Construct(FONT_STYLE_PLAIN, subTextFont);\r
-\r
- pSubTextElement->SetFont(*pSubTextFont);\r
- pSubTextElement->SetTextColor(Color(128, 128, 128));\r
- pMainEnText->Add(*pSubTextElement);\r
-\r
- for (int i = 0; i < 7 ; i++)\r
- {\r
- AppLogDebug("inside for loop");\r
- String flag = L"";\r
- wchar_t ch;\r
-\r
- GetRepeatFlag().GetCharAt(i, ch);\r
- AppLogDebug("the flag is %ls",GetRepeatFlag().GetPointer());\r
-\r
- if (ch == '1')\r
- {\r
- textColor = Color::GetColor(COLOR_ID_BLUE);\r
- AppLogDebug("color is blue");\r
- }\r
- else\r
- {\r
- textColor = Color(124,124,124);\r
- }\r
-\r
- switch (i)\r
- {\r
- case 0:\r
- flag.Append(L"S");\r
- break;\r
- case 1:\r
- flag.Append(L"M");\r
- break;\r
- case 2:\r
- flag.Append(L"T");\r
- break;\r
- case 3:\r
- flag.Append(L"W");\r
- break;\r
- case 4:\r
- flag.Append(L"T");\r
- break;\r
- case 5:\r
- flag.Append(L"F");\r
- break;\r
- case 6:\r
- flag.Append(L"S");\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
- AppLogDebug("the string is %ls", flag.GetPointer());\r
- r = AddElement(Rectangle(repeatFlagX + i*characterGap, repeatFlagY, repeatFlagWidth, repeatFlagHeight), i, flag, repeatFlagFont, textColor, textColor, textColor, true);\r
- AppLogDebug("the last result %s", GetErrorMessage(r));\r
- }\r
- r = AddElement(Rectangle(mainStringX, mainStringY, __width - mainStringWidth, mainStringHeight), IDA_FORMAT_MAIN_STRING, __mainText);\r
-\r
- pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- if (pAppResource != null)\r
- {\r
-\r
- if (GetCurState() == DROP_DOWN_AND_REPEAT_ITEM_STATE_CLOSED)\r
- {\r
- pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- }\r
- else\r
- {\r
- pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);\r
- }\r
-\r
- AddElement(Rectangle(__width - dropperX, (__height - dropperY) / 2, dropperWidth, dropperHeight), IDA_FORMAT_DROPPER, *pDropperBitmapNormal, pDropperBitmapPressed, pDropperBitmapNormal);\r
- delete pDropperBitmapNormal;\r
- delete pDropperBitmapPressed;\r
- }\r
-\r
- SetElementSelectionEnabled(IDA_FORMAT_MAIN_STRING, true);\r
- SetElementSelectionEnabled(IDA_FORMAT_SUB_STRING, true);\r
- SetElementSelectionEnabled(IDA_FORMAT_DROPPER, true);\r
-\r
- if (pMainTextFont != null)\r
- {\r
- delete pMainTextFont;\r
- pMainTextFont = null;\r
- }\r
-\r
- if (pSubTextFont != null)\r
- {\r
- delete pSubTextFont;\r
- pSubTextFont = null;\r
- }\r
-\r
- if (pSubEnText != null)\r
- {\r
- pSubEnText->RemoveAllTextElements(true);\r
- delete pSubEnText;\r
- pSubEnText = null;\r
- }\r
-\r
- if (pMainEnText != null)\r
- {\r
- pMainEnText->RemoveAllTextElements(true);\r
- delete pMainEnText;\r
- pMainEnText = null;\r
- }\r
-\r
- return E_SUCCESS;\r
-}\r
-\r
-DropDownAndRepeatItemState\r
-DropdownAndRepeatCustomItem::GetCurState(void) const\r
-{\r
- return currentState;\r
-}\r
-\r
-void\r
-DropdownAndRepeatCustomItem::SetCurState(const DropDownAndRepeatItemState state)\r
-{\r
- currentState = state;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/*
+ *@file ClkDropDownCustomItem
+ *@brief To create Drop Down custom item
+ *
+ */
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUiControls.h>
+
+#include "ClkDropdownAndRepeatCustomItem.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_MAIN_STRING = 101;
+static const int IDA_FORMAT_SUB_STRING = 102;
+static const int IDA_FORMAT_DROPPER = 103;
+
+DropdownAndRepeatCustomItem::DropdownAndRepeatCustomItem(void)
+ : currentState(DROP_DOWN_AND_REPEAT_ITEM_STATE_CLOSED)
+ , __height(0)
+ , __mainText("")
+ , __repeatFlags("")
+ , __subText("")
+ , __width(0)
+{
+
+}
+
+DropdownAndRepeatCustomItem::~DropdownAndRepeatCustomItem(void)
+{
+
+}
+
+result
+DropdownAndRepeatCustomItem::Construct(int width)
+{
+ result r = E_SUCCESS;
+ __width = width;
+ __height = 128;
+ Dimension dim(__width, __height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+ return r;
+}
+
+void
+DropdownAndRepeatCustomItem::SetMainText(const String& text)
+{
+ __mainText = text;
+}
+
+String
+DropdownAndRepeatCustomItem::GetMainText(void) const
+{
+ return __mainText;
+}
+
+void
+DropdownAndRepeatCustomItem::SetSubText(const String& text)
+{
+ __subText = text;
+}
+
+String
+DropdownAndRepeatCustomItem::GetSubText(void) const
+{
+ return __subText;
+}
+
+void
+DropdownAndRepeatCustomItem::SetRepeatFlags(const String& flag)
+{
+ __repeatFlags = flag;
+}
+
+String
+DropdownAndRepeatCustomItem::GetRepeatFlag(void) const
+{
+ return __repeatFlags;
+}
+
+result
+DropdownAndRepeatCustomItem::MakeElements()
+{
+ AppLogDebug("DropDownCustomItem::Make entered");
+ result r = E_FAILURE;
+ EnrichedText* pMainEnText = null;
+ EnrichedText* pSubEnText = null;
+ TextElement* pMainTextElement = null;
+ TextElement* pSubTextElement = null;
+ Font* pMainTextFont = null;
+ Font* pSubTextFont = null;
+ AppResource* pAppResource = null;
+ Bitmap* pDropperBitmapNormal = null;
+ Bitmap* pDropperBitmapPressed = null;
+ Color textColor = Color(0, 0, 0);
+ Color pressedTextColor = Color(249, 249, 249);
+ int xText = 80;
+ int yText = 40;
+ int subTextFont = 32;
+ int repeatFlagX = 26;
+ int characterGap = 37;
+ int repeatFlagY = 75;
+ int repeatFlagWidth = 32;
+ int repeatFlagHeight = 48;
+ int repeatFlagFont = 32;
+ int mainStringX = 26;
+ int mainStringY = 25;
+ int mainStringWidth = 80;
+ int mainStringHeight = 60;
+ int dropperX = 87;
+ int dropperY = 64;
+ int dropperWidth = 64;
+ int dropperHeight = 64;
+ pMainEnText = new (std::nothrow) EnrichedText();
+
+ if (pMainEnText == null)
+ {
+ return E_FAILURE;
+ }
+
+ pMainEnText->Construct(Dimension(__width - xText, yText));
+
+ pMainTextElement = new (std::nothrow) TextElement();
+
+ if (pMainTextElement == null)
+ {
+ return E_FAILURE;
+ }
+
+ pMainTextElement->Construct(__mainText);
+
+ pMainTextFont = new (std::nothrow) Font();
+
+ if (pMainTextFont == null)
+ {
+ return E_FAILURE;
+ }
+
+ pMainTextFont->Construct(FONT_STYLE_PLAIN, yText);
+
+ pMainTextElement->SetFont(*pMainTextFont);
+ pMainTextElement->SetTextColor(textColor);
+ pMainEnText->Add(*pMainTextElement);
+
+ pSubEnText = new (std::nothrow) EnrichedText();
+
+ if (pSubEnText == null)
+ {
+ return E_FAILURE;
+ }
+
+ pSubEnText->Construct(Dimension(__width - xText, yText));
+
+ pSubTextElement = new (std::nothrow) TextElement();
+
+ if (pSubTextElement == null)
+ {
+ return E_FAILURE;
+ }
+
+ __subText.Insert('\n',0);
+ pSubTextElement->Construct(__subText);
+
+ pSubTextFont = new (std::nothrow) Font();
+
+ if (pSubTextFont == null)
+ {
+ return E_FAILURE;
+ }
+
+ pSubTextFont->Construct(FONT_STYLE_PLAIN, subTextFont);
+
+ pSubTextElement->SetFont(*pSubTextFont);
+ pSubTextElement->SetTextColor(Color(128, 128, 128));
+ pMainEnText->Add(*pSubTextElement);
+
+ for (int i = 0; i < 7 ; i++)
+ {
+ AppLogDebug("inside for loop");
+ String flag = L"";
+ wchar_t ch;
+
+ GetRepeatFlag().GetCharAt(i, ch);
+ AppLogDebug("the flag is %ls",GetRepeatFlag().GetPointer());
+
+ if (ch == '1')
+ {
+ textColor = Color::GetColor(COLOR_ID_BLUE);
+ AppLogDebug("color is blue");
+ }
+ else
+ {
+ textColor = Color(124,124,124);
+ }
+
+ switch (i)
+ {
+ case 0:
+ flag.Append(L"S");
+ break;
+ case 1:
+ flag.Append(L"M");
+ break;
+ case 2:
+ flag.Append(L"T");
+ break;
+ case 3:
+ flag.Append(L"W");
+ break;
+ case 4:
+ flag.Append(L"T");
+ break;
+ case 5:
+ flag.Append(L"F");
+ break;
+ case 6:
+ flag.Append(L"S");
+ break;
+ default:
+ break;
+ }
+
+ AppLogDebug("the string is %ls", flag.GetPointer());
+ r = AddElement(Rectangle(repeatFlagX + i*characterGap, repeatFlagY, repeatFlagWidth, repeatFlagHeight), i, flag, repeatFlagFont, textColor, textColor, textColor, true);
+ AppLogDebug("the last result %s", GetErrorMessage(r));
+ }
+ r = AddElement(Rectangle(mainStringX, mainStringY, __width - mainStringWidth, mainStringHeight), IDA_FORMAT_MAIN_STRING, __mainText);
+
+ pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ if (pAppResource != null)
+ {
+
+ if (GetCurState() == DROP_DOWN_AND_REPEAT_ITEM_STATE_CLOSED)
+ {
+ pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED, BITMAP_PIXEL_FORMAT_ARGB8888);
+ pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_CLOSED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);
+ }
+ else
+ {
+ pDropperBitmapNormal = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED, BITMAP_PIXEL_FORMAT_ARGB8888);
+ pDropperBitmapPressed = pAppResource->GetBitmapN(IDB_LIST_EXPAND_OPENED_PRESS, BITMAP_PIXEL_FORMAT_ARGB8888);
+ }
+
+ AddElement(Rectangle(__width - dropperX, (__height - dropperY) / 2, dropperWidth, dropperHeight), IDA_FORMAT_DROPPER, *pDropperBitmapNormal, pDropperBitmapPressed, pDropperBitmapNormal);
+ delete pDropperBitmapNormal;
+ delete pDropperBitmapPressed;
+ }
+
+ SetElementSelectionEnabled(IDA_FORMAT_MAIN_STRING, true);
+ SetElementSelectionEnabled(IDA_FORMAT_SUB_STRING, true);
+ SetElementSelectionEnabled(IDA_FORMAT_DROPPER, true);
+
+ if (pMainTextFont != null)
+ {
+ delete pMainTextFont;
+ pMainTextFont = null;
+ }
+
+ if (pSubTextFont != null)
+ {
+ delete pSubTextFont;
+ pSubTextFont = null;
+ }
+
+ if (pSubEnText != null)
+ {
+ pSubEnText->RemoveAllTextElements(true);
+ delete pSubEnText;
+ pSubEnText = null;
+ }
+
+ if (pMainEnText != null)
+ {
+ pMainEnText->RemoveAllTextElements(true);
+ delete pMainEnText;
+ pMainEnText = null;
+ }
+
+ return E_SUCCESS;
+}
+
+DropDownAndRepeatItemState
+DropdownAndRepeatCustomItem::GetCurState(void) const
+{
+ return currentState;
+}
+
+void
+DropdownAndRepeatCustomItem::SetCurState(const DropDownAndRepeatItemState state)
+{
+ currentState = state;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkEditSnoozeForm.cpp\r
- * @brief The definitions of EditSnoozeForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FGraphics.h>\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkAlarm.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkCustomColors.h"\r
-#include "ClkDropDownCustomItem.h"\r
-#include "ClkEditSnoozeForm.h"\r
-#include "ClkRadioCustomItem.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-EditSnoozeForm::EditSnoozeForm(void)\r
- : __durationName(5)\r
- , __durationSelectedIndex(2)\r
- , __pListView(null)\r
- , __repeatName(3)\r
- , __repeatSelectedIndex(1)\r
- , __showSnoozeDuration(true)\r
- , __showSnoozeRepeat(true)\r
-{\r
-\r
-}\r
-\r
-EditSnoozeForm::~EditSnoozeForm(void)\r
-{\r
-\r
-}\r
-\r
-bool\r
-EditSnoozeForm::Initialize(void)\r
-{\r
- result r = E_FAILURE;\r
- r = Construct(L"IDL_EDIT_SNOOZE_FORM");\r
-\r
- if(IsFailed(r))\r
- {\r
- return false;\r
- }\r
-\r
- return true;\r
-}\r
-\r
-result\r
-EditSnoozeForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- Footer* pFooter;\r
- String titleText;\r
-\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_EDIT_SNOOZE, *this);\r
-\r
- __pListView = static_cast< GroupedListView* >(GetControl(L"IDC_SETTING_LIST"));\r
- r = __pListView->SetItemProvider(*this);\r
-\r
- __pListView->AddGroupedListViewItemEventListener(*this);\r
-\r
- pFooter = GetFooter();\r
-\r
- if (pFooter != null)\r
- {\r
- pFooter->SetBackButtonEnabled(true);\r
- SetFormBackEventListener(this);\r
- }\r
-\r
- titleText = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_DURATION");\r
- titleText.Append(" & ");\r
- titleText.Append(CommonUtil::GetString(L"IDS_ALM_BODY_REPEAT"));\r
- GetHeader()->SetTitleText(titleText);\r
-\r
- AddOrientationEventListener(*this);\r
- return r;\r
-}\r
-\r
-void\r
-EditSnoozeForm::OnGroupedListViewItemStateChanged(GroupedListView& listView, int groupIndex, int itemIndex, int elementId, ListItemStatus status)\r
-{\r
-\r
- if (groupIndex == 0 )\r
- {\r
-\r
- if ( itemIndex == 0 )\r
- {\r
- __showSnoozeDuration = !__showSnoozeDuration;\r
- }\r
- else\r
- {\r
- __durationSelectedIndex = itemIndex ;\r
-\r
- if (itemIndex == 1)\r
- {\r
- __durationName = 3;\r
- }\r
- else if (itemIndex == 2)\r
- {\r
- __durationName = 5;\r
- }\r
- else if (itemIndex == 3)\r
- {\r
- __durationName = 10;\r
- }\r
-\r
- }\r
- }\r
-\r
- else if (groupIndex == 1)\r
- {\r
-\r
- if ( itemIndex == 0 )\r
- {\r
- __showSnoozeRepeat = !__showSnoozeRepeat;\r
- }\r
- else\r
- {\r
- __repeatSelectedIndex = itemIndex ;\r
-\r
- if (itemIndex == 1)\r
- {\r
- __repeatName = 3;\r
- }\r
- else if (itemIndex == 2)\r
- {\r
- __repeatName = 5;\r
- }\r
- else if (itemIndex == 3)\r
- {\r
- __repeatName = 10;\r
- }\r
-\r
- }\r
- }\r
-\r
- listView.UpdateList();\r
- Invalidate(true);\r
-\r
-}\r
-\r
-GroupItem*\r
-EditSnoozeForm::CreateGroupItem(int groupIndex, int itemWidth)\r
-{\r
- result r = E_FAILURE;\r
- GroupItem* pItem = null;\r
- Bitmap* __pbgActive = null;\r
- AppResource* pAppResource = null;\r
- int itemHeight = 25 ;\r
-\r
- pItem = new (std::nothrow) GroupItem();\r
-\r
- if (pItem == null)\r
- {\r
- return null;\r
- }\r
-\r
- r = pItem->Construct(Dimension(itemWidth, itemHeight));\r
- TryCatch( !IsFailed(r),,"EditSnoozeForm::CreateItem Construct failed %s",GetErrorMessage(r));\r
-\r
- pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- if (pAppResource != null)\r
- {\r
- __pbgActive = pAppResource->GetBitmapN(IDB_EDIT_BACKGROUND, BITMAP_PIXEL_FORMAT_ARGB8888);\r
-\r
- if (__pbgActive == null)\r
- {\r
- delete pItem;\r
- pItem = null;\r
-\r
- return null;\r
- }\r
-\r
- }\r
-\r
- r = pItem->SetBackgroundBitmap(__pbgActive);\r
-\r
- delete __pbgActive;\r
- __pbgActive = null ;\r
-\r
- return pItem;\r
-\r
- CATCH:\r
- delete pItem;\r
- pItem = null;\r
- return null;\r
-}\r
-\r
-ListItemBase*\r
-EditSnoozeForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)\r
-{\r
- RadioCustomItem* radioItem = null;\r
- DropDownCustomItem* pItem = null;\r
- Bitmap* pBitmap = null;\r
- result r = E_FAILURE;\r
- String snoozeDuration1 = CommonUtil::GetString(L"IDS_ALM_BODY_3MINS");\r
- String snoozeDuration2 =CommonUtil::GetString(L"IDS_ALM_BODY_5MINS");\r
- String snoozeDuration3 = CommonUtil::GetString(L"IDS_ALM_BODY_10MINS");\r
- String mainTextDuration = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_DURATION");\r
- String mainTextRepeat = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_REPEAT");\r
- String snoozeRepeat1 = L"";\r
- String snoozeRepeat2 = L"";\r
- String snoozeRepeat3 = L"";\r
- String snoozeTime;\r
- String snooze;\r
- int radioItemHeight = 112;\r
-\r
- snoozeRepeat1.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), 3);\r
- snoozeRepeat2.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), 5);\r
- snoozeRepeat3.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), 10);\r
-\r
- pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_LIST_LEFTSIDE);\r
- if (__durationSelectedIndex == 1)\r
- {\r
- snoozeTime = snoozeDuration1 ;\r
- }\r
- else if (__durationSelectedIndex == 2)\r
- {\r
- snoozeTime = snoozeDuration2 ;\r
- }\r
- else if (__durationSelectedIndex == 3)\r
- {\r
- snoozeTime = snoozeDuration3 ;\r
- }\r
-\r
- if (__repeatSelectedIndex == 1)\r
- {\r
- snooze = snoozeRepeat1;\r
- }\r
- else if (__repeatSelectedIndex == 2)\r
- {\r
- snooze = snoozeRepeat2;\r
- }\r
- else if (__repeatSelectedIndex == 3)\r
- {\r
- snooze = snoozeRepeat3;\r
- }\r
-\r
- if (groupIndex == 0)\r
- {\r
- switch (itemIndex)\r
- {\r
- case 0:\r
- {\r
- pItem = new (std::nothrow) DropDownCustomItem();\r
- r = pItem->Construct(itemWidth);\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pBitmap;\r
- pBitmap = null ;\r
- return null;\r
- }\r
-\r
- if ( __showSnoozeDuration == true )\r
- {\r
- pItem->SetCurState(DROP_DOWN_ITEM_STATE_OPENED);\r
- }\r
- else\r
- {\r
- pItem->SetCurState(DROP_DOWN_ITEM_STATE_CLOSED);\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- pItem->SetMainText(mainTextDuration);\r
- pItem->SetSubText(snoozeTime);\r
- pItem->MakeElements();\r
-\r
- return pItem;\r
- break;\r
- }\r
- case 1:\r
- {\r
- radioItem = new (std::nothrow) RadioCustomItem();\r
- r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pBitmap;\r
- return null;\r
- }\r
-\r
-\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- radioItem->SetText(snoozeDuration1);\r
-\r
-\r
- if (__durationSelectedIndex == 1)\r
- {\r
- radioItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- radioItem->SetSelected(false);\r
- }\r
-\r
-\r
- radioItem->Make();\r
- return radioItem;\r
- break;\r
- }\r
- case 2:\r
- {\r
- radioItem = new (std::nothrow) RadioCustomItem();\r
- r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pBitmap;\r
- return null;\r
- }\r
-\r
- radioItem->SetText(snoozeDuration2);\r
-\r
- if (__durationSelectedIndex == 2)\r
- {\r
- radioItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- radioItem->SetSelected(false);\r
- }\r
-\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- radioItem->Make();\r
- return radioItem;\r
- break;\r
- }\r
- case 3:\r
- {\r
- radioItem = new (std::nothrow) RadioCustomItem();\r
- r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pBitmap;\r
- return null;\r
- }\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- radioItem->SetText(snoozeDuration3);\r
-\r
- if (__durationSelectedIndex == 3)\r
- {\r
- radioItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- radioItem->SetSelected(false);\r
- }\r
-\r
-\r
- radioItem->Make();\r
- return radioItem;\r
- break;\r
- }\r
- }\r
- }\r
-\r
- if (groupIndex == 1)\r
- {\r
- switch (itemIndex)\r
- {\r
- case 0:\r
- {\r
- pItem = new (std::nothrow) DropDownCustomItem();\r
-\r
- r = pItem->Construct(itemWidth);\r
-\r
- if (IsFailed(r))\r
- {\r
- delete pBitmap;\r
- return null;\r
- }\r
-\r
- if (__showSnoozeRepeat)\r
- {\r
- pItem->SetCurState(DROP_DOWN_ITEM_STATE_OPENED);\r
- }\r
- else\r
- {\r
- pItem->SetCurState(DROP_DOWN_ITEM_STATE_CLOSED);\r
- }\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- pItem->SetMainText(mainTextRepeat);\r
- pItem->SetSubText(snooze);\r
- pItem->MakeElements();\r
-\r
- return pItem;\r
- break;\r
- }\r
-\r
- case 1:\r
- {\r
- radioItem = new (std::nothrow) RadioCustomItem();\r
-\r
- r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pBitmap;\r
- return null;\r
- }\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- radioItem->SetText(snoozeRepeat1);\r
-\r
-\r
- if (__repeatSelectedIndex== 1)\r
- {\r
- radioItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- radioItem->SetSelected(false);\r
- }\r
-\r
- radioItem->Make();\r
- return radioItem;\r
- break;\r
- }\r
- case 2:\r
- {\r
- radioItem = new (std::nothrow) RadioCustomItem();\r
- r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pBitmap;\r
- return null;\r
- }\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- radioItem->SetText(snoozeRepeat2);\r
-\r
- if (__repeatSelectedIndex == 2)\r
- {\r
- radioItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- radioItem->SetSelected(false);\r
- }\r
-\r
-\r
- radioItem->Make();\r
- return radioItem;\r
- break;\r
- }\r
- case 3:\r
- {\r
- radioItem = new (std::nothrow) RadioCustomItem();\r
- r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pBitmap;\r
- return null;\r
- }\r
-\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
-\r
- radioItem->SetText(snoozeRepeat3);\r
-\r
- if (__repeatSelectedIndex== 3)\r
- {\r
- radioItem->SetSelected(true);\r
- }\r
- else\r
- {\r
- radioItem->SetSelected(false);\r
- }\r
-\r
- radioItem->Make();\r
- return radioItem;\r
- break;\r
- }\r
- }\r
- }\r
-\r
- return null;\r
-\r
-}\r
-\r
-bool\r
-EditSnoozeForm::DeleteGroupItem(int groupIndex, GroupItem* pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-bool\r
-EditSnoozeForm::DeleteItem(int groupIndex, int itemIndex, ListItemBase* pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-EditSnoozeForm::GetGroupCount(void)\r
-{\r
- return 2;\r
-}\r
-\r
-int\r
-EditSnoozeForm::GetItemCount(int groupIndex)\r
-{\r
-\r
- if (groupIndex == 0 && __showSnoozeDuration == false)\r
- {\r
- return 1 ;\r
- }\r
- else if (groupIndex == 1 && __showSnoozeRepeat == false)\r
- {\r
- return 1 ;\r
- }\r
- else\r
- {\r
- return 4;\r
- }\r
-\r
-}\r
-\r
-void\r
-EditSnoozeForm::OnFormBackRequested(Form& source)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- ArrayList* pArgList = new (std::nothrow) ArrayList();\r
- Integer* durationInt = new (std::nothrow) Integer(__durationName);\r
- Integer* repeatInt = new (std::nothrow) Integer(__repeatName);\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(*durationInt);\r
- pArgList->Add(*repeatInt);\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT),pArgList );\r
- }\r
-\r
- }\r
-\r
-}\r
-\r
-void\r
-EditSnoozeForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- AlarmData* pAlarm = null;\r
-\r
- if (pArgs != null)\r
- {\r
-\r
- pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));\r
-\r
- if ( pAlarm == null )\r
- {\r
- return;\r
- }\r
-\r
- __durationName = pAlarm->GetSnoozeDuration();\r
-\r
- if (__durationName == 3)\r
- {\r
- __durationSelectedIndex = 1;\r
- }\r
- else if (__durationName == 5)\r
- {\r
- __durationSelectedIndex = 2;\r
- }\r
- else if (__durationName == 10)\r
- {\r
- __durationSelectedIndex = 3;\r
- }\r
-\r
- __repeatName = pAlarm->GetSnoozeRepeat();\r
-\r
- if (__repeatName == 3)\r
- {\r
- __repeatSelectedIndex = 1;\r
- }\r
- else if (__repeatName == 5)\r
- {\r
- __repeatSelectedIndex = 2;\r
- }\r
- else if (__repeatName == 10)\r
- {\r
- __repeatSelectedIndex = 3;\r
- }\r
-\r
- }\r
- __showSnoozeDuration = true ;\r
- __showSnoozeRepeat = true ;\r
- __pListView->UpdateList();\r
- __pListView->Invalidate(true);\r
-}\r
-void\r
-EditSnoozeForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
-\r
- if(__pListView->GetShowState())\r
- {\r
- __pListView->UpdateList();\r
- }\r
-\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkEditSnoozeForm.cpp
+ * @brief The definitions of EditSnoozeForm
+ */
+
+#include <FApp.h>
+#include <FGraphics.h>
+#include <FUiScenes.h>
+
+#include "ClkAlarm.h"
+#include "ClkCommonLib.h"
+#include "ClkCustomColors.h"
+#include "ClkDropDownCustomItem.h"
+#include "ClkEditSnoozeForm.h"
+#include "ClkRadioCustomItem.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+EditSnoozeForm::EditSnoozeForm(void)
+ : __durationName(5)
+ , __durationSelectedIndex(2)
+ , __pListView(null)
+ , __repeatName(3)
+ , __repeatSelectedIndex(1)
+ , __showSnoozeDuration(true)
+ , __showSnoozeRepeat(true)
+{
+
+}
+
+EditSnoozeForm::~EditSnoozeForm(void)
+{
+
+}
+
+bool
+EditSnoozeForm::Initialize(void)
+{
+ result r = E_FAILURE;
+ r = Construct(L"IDL_EDIT_SNOOZE_FORM");
+
+ if(IsFailed(r))
+ {
+ return false;
+ }
+
+ return true;
+}
+
+result
+EditSnoozeForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ Footer* pFooter;
+ String titleText;
+
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_EDIT_SNOOZE, *this);
+
+ __pListView = static_cast< GroupedListView* >(GetControl(L"IDC_SETTING_LIST"));
+ r = __pListView->SetItemProvider(*this);
+
+ __pListView->AddGroupedListViewItemEventListener(*this);
+
+ pFooter = GetFooter();
+
+ if (pFooter != null)
+ {
+ pFooter->SetBackButtonEnabled(true);
+ SetFormBackEventListener(this);
+ }
+
+ titleText = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_DURATION");
+ titleText.Append(" & ");
+ titleText.Append(CommonUtil::GetString(L"IDS_ALM_BODY_REPEAT"));
+ GetHeader()->SetTitleText(titleText);
+
+ AddOrientationEventListener(*this);
+ return r;
+}
+
+void
+EditSnoozeForm::OnGroupedListViewItemStateChanged(GroupedListView& listView, int groupIndex, int itemIndex, int elementId, ListItemStatus status)
+{
+
+ if (groupIndex == 0 )
+ {
+
+ if ( itemIndex == 0 )
+ {
+ __showSnoozeDuration = !__showSnoozeDuration;
+ }
+ else
+ {
+ __durationSelectedIndex = itemIndex ;
+
+ if (itemIndex == 1)
+ {
+ __durationName = 3;
+ }
+ else if (itemIndex == 2)
+ {
+ __durationName = 5;
+ }
+ else if (itemIndex == 3)
+ {
+ __durationName = 10;
+ }
+
+ }
+ }
+
+ else if (groupIndex == 1)
+ {
+
+ if ( itemIndex == 0 )
+ {
+ __showSnoozeRepeat = !__showSnoozeRepeat;
+ }
+ else
+ {
+ __repeatSelectedIndex = itemIndex ;
+
+ if (itemIndex == 1)
+ {
+ __repeatName = 3;
+ }
+ else if (itemIndex == 2)
+ {
+ __repeatName = 5;
+ }
+ else if (itemIndex == 3)
+ {
+ __repeatName = 10;
+ }
+
+ }
+ }
+
+ listView.UpdateList();
+ Invalidate(true);
+
+}
+
+GroupItem*
+EditSnoozeForm::CreateGroupItem(int groupIndex, int itemWidth)
+{
+ result r = E_FAILURE;
+ GroupItem* pItem = null;
+ Bitmap* __pbgActive = null;
+ AppResource* pAppResource = null;
+ int itemHeight = 25 ;
+
+ pItem = new (std::nothrow) GroupItem();
+
+ if (pItem == null)
+ {
+ return null;
+ }
+
+ r = pItem->Construct(Dimension(itemWidth, itemHeight));
+ TryCatch( !IsFailed(r),,"EditSnoozeForm::CreateItem Construct failed %s",GetErrorMessage(r));
+
+ pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ if (pAppResource != null)
+ {
+ __pbgActive = pAppResource->GetBitmapN(IDB_EDIT_BACKGROUND, BITMAP_PIXEL_FORMAT_ARGB8888);
+
+ if (__pbgActive == null)
+ {
+ delete pItem;
+ pItem = null;
+
+ return null;
+ }
+
+ }
+
+ r = pItem->SetBackgroundBitmap(__pbgActive);
+
+ delete __pbgActive;
+ __pbgActive = null ;
+
+ return pItem;
+
+ CATCH:
+ delete pItem;
+ pItem = null;
+ return null;
+}
+
+ListItemBase*
+EditSnoozeForm::CreateItem(int groupIndex, int itemIndex, int itemWidth)
+{
+ RadioCustomItem* radioItem = null;
+ DropDownCustomItem* pItem = null;
+ Bitmap* pBitmap = null;
+ result r = E_FAILURE;
+ String snoozeDuration1 = CommonUtil::GetString(L"IDS_ALM_BODY_3MINS");
+ String snoozeDuration2 =CommonUtil::GetString(L"IDS_ALM_BODY_5MINS");
+ String snoozeDuration3 = CommonUtil::GetString(L"IDS_ALM_BODY_10MINS");
+ String mainTextDuration = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_DURATION");
+ String mainTextRepeat = CommonUtil::GetString(L"IDS_ALM_BODY_SNOOZE_REPEAT");
+ String snoozeRepeat1 = L"";
+ String snoozeRepeat2 = L"";
+ String snoozeRepeat3 = L"";
+ String snoozeTime;
+ String snooze;
+ int radioItemHeight = 112;
+
+ snoozeRepeat1.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), 3);
+ snoozeRepeat2.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), 5);
+ snoozeRepeat3.Format(25, CommonUtil::GetString(L"IDS_CLOCK_BODY_PD_TIMES").GetPointer(), 10);
+
+ pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_LIST_LEFTSIDE);
+ if (__durationSelectedIndex == 1)
+ {
+ snoozeTime = snoozeDuration1 ;
+ }
+ else if (__durationSelectedIndex == 2)
+ {
+ snoozeTime = snoozeDuration2 ;
+ }
+ else if (__durationSelectedIndex == 3)
+ {
+ snoozeTime = snoozeDuration3 ;
+ }
+
+ if (__repeatSelectedIndex == 1)
+ {
+ snooze = snoozeRepeat1;
+ }
+ else if (__repeatSelectedIndex == 2)
+ {
+ snooze = snoozeRepeat2;
+ }
+ else if (__repeatSelectedIndex == 3)
+ {
+ snooze = snoozeRepeat3;
+ }
+
+ if (groupIndex == 0)
+ {
+ switch (itemIndex)
+ {
+ case 0:
+ {
+ pItem = new (std::nothrow) DropDownCustomItem();
+ r = pItem->Construct(itemWidth);
+
+ if (IsFailed(r))
+ {
+ delete pBitmap;
+ pBitmap = null ;
+ return null;
+ }
+
+ if ( __showSnoozeDuration == true )
+ {
+ pItem->SetCurState(DROP_DOWN_ITEM_STATE_OPENED);
+ }
+ else
+ {
+ pItem->SetCurState(DROP_DOWN_ITEM_STATE_CLOSED);
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ pItem->SetMainText(mainTextDuration);
+ pItem->SetSubText(snoozeTime);
+ pItem->MakeElements();
+
+ return pItem;
+ break;
+ }
+ case 1:
+ {
+ radioItem = new (std::nothrow) RadioCustomItem();
+ r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pBitmap;
+ return null;
+ }
+
+
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ radioItem->SetText(snoozeDuration1);
+
+
+ if (__durationSelectedIndex == 1)
+ {
+ radioItem->SetSelected(true);
+ }
+ else
+ {
+ radioItem->SetSelected(false);
+ }
+
+
+ radioItem->Make();
+ return radioItem;
+ break;
+ }
+ case 2:
+ {
+ radioItem = new (std::nothrow) RadioCustomItem();
+ r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pBitmap;
+ return null;
+ }
+
+ radioItem->SetText(snoozeDuration2);
+
+ if (__durationSelectedIndex == 2)
+ {
+ radioItem->SetSelected(true);
+ }
+ else
+ {
+ radioItem->SetSelected(false);
+ }
+
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ radioItem->Make();
+ return radioItem;
+ break;
+ }
+ case 3:
+ {
+ radioItem = new (std::nothrow) RadioCustomItem();
+ r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pBitmap;
+ return null;
+ }
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ radioItem->SetText(snoozeDuration3);
+
+ if (__durationSelectedIndex == 3)
+ {
+ radioItem->SetSelected(true);
+ }
+ else
+ {
+ radioItem->SetSelected(false);
+ }
+
+
+ radioItem->Make();
+ return radioItem;
+ break;
+ }
+ }
+ }
+
+ if (groupIndex == 1)
+ {
+ switch (itemIndex)
+ {
+ case 0:
+ {
+ pItem = new (std::nothrow) DropDownCustomItem();
+
+ r = pItem->Construct(itemWidth);
+
+ if (IsFailed(r))
+ {
+ delete pBitmap;
+ return null;
+ }
+
+ if (__showSnoozeRepeat)
+ {
+ pItem->SetCurState(DROP_DOWN_ITEM_STATE_OPENED);
+ }
+ else
+ {
+ pItem->SetCurState(DROP_DOWN_ITEM_STATE_CLOSED);
+ }
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ pItem->SetMainText(mainTextRepeat);
+ pItem->SetSubText(snooze);
+ pItem->MakeElements();
+
+ return pItem;
+ break;
+ }
+
+ case 1:
+ {
+ radioItem = new (std::nothrow) RadioCustomItem();
+
+ r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pBitmap;
+ return null;
+ }
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ radioItem->SetText(snoozeRepeat1);
+
+
+ if (__repeatSelectedIndex== 1)
+ {
+ radioItem->SetSelected(true);
+ }
+ else
+ {
+ radioItem->SetSelected(false);
+ }
+
+ radioItem->Make();
+ return radioItem;
+ break;
+ }
+ case 2:
+ {
+ radioItem = new (std::nothrow) RadioCustomItem();
+ r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pBitmap;
+ return null;
+ }
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ radioItem->SetText(snoozeRepeat2);
+
+ if (__repeatSelectedIndex == 2)
+ {
+ radioItem->SetSelected(true);
+ }
+ else
+ {
+ radioItem->SetSelected(false);
+ }
+
+
+ radioItem->Make();
+ return radioItem;
+ break;
+ }
+ case 3:
+ {
+ radioItem = new (std::nothrow) RadioCustomItem();
+ r = radioItem->Construct(GetClientAreaBounds().width, radioItemHeight);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pBitmap;
+ return null;
+ }
+
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ radioItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+
+ radioItem->SetText(snoozeRepeat3);
+
+ if (__repeatSelectedIndex== 3)
+ {
+ radioItem->SetSelected(true);
+ }
+ else
+ {
+ radioItem->SetSelected(false);
+ }
+
+ radioItem->Make();
+ return radioItem;
+ break;
+ }
+ }
+ }
+
+ return null;
+
+}
+
+bool
+EditSnoozeForm::DeleteGroupItem(int groupIndex, GroupItem* pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+bool
+EditSnoozeForm::DeleteItem(int groupIndex, int itemIndex, ListItemBase* pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+EditSnoozeForm::GetGroupCount(void)
+{
+ return 2;
+}
+
+int
+EditSnoozeForm::GetItemCount(int groupIndex)
+{
+
+ if (groupIndex == 0 && __showSnoozeDuration == false)
+ {
+ return 1 ;
+ }
+ else if (groupIndex == 1 && __showSnoozeRepeat == false)
+ {
+ return 1 ;
+ }
+ else
+ {
+ return 4;
+ }
+
+}
+
+void
+EditSnoozeForm::OnFormBackRequested(Form& source)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ ArrayList* pArgList = new (std::nothrow) ArrayList();
+ Integer* durationInt = new (std::nothrow) Integer(__durationName);
+ Integer* repeatInt = new (std::nothrow) Integer(__repeatName);
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(*durationInt);
+ pArgList->Add(*repeatInt);
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(SCENE_TRANSITION_ANIMATION_TYPE_RIGHT),pArgList );
+ }
+
+ }
+
+}
+
+void
+EditSnoozeForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ AlarmData* pAlarm = null;
+
+ if (pArgs != null)
+ {
+
+ pAlarm = dynamic_cast<AlarmData*>(pArgs->GetAt(0));
+
+ if ( pAlarm == null )
+ {
+ return;
+ }
+
+ __durationName = pAlarm->GetSnoozeDuration();
+
+ if (__durationName == 3)
+ {
+ __durationSelectedIndex = 1;
+ }
+ else if (__durationName == 5)
+ {
+ __durationSelectedIndex = 2;
+ }
+ else if (__durationName == 10)
+ {
+ __durationSelectedIndex = 3;
+ }
+
+ __repeatName = pAlarm->GetSnoozeRepeat();
+
+ if (__repeatName == 3)
+ {
+ __repeatSelectedIndex = 1;
+ }
+ else if (__repeatName == 5)
+ {
+ __repeatSelectedIndex = 2;
+ }
+ else if (__repeatName == 10)
+ {
+ __repeatSelectedIndex = 3;
+ }
+
+ }
+ __showSnoozeDuration = true ;
+ __showSnoozeRepeat = true ;
+ __pListView->UpdateList();
+ __pListView->Invalidate(true);
+}
+void
+EditSnoozeForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+
+ if(__pListView->GetShowState())
+ {
+ __pListView->UpdateList();
+ }
+
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//l\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/**\r
- * @file ClkMainFrame.cpp\r
- * @brief Used to define MainFrame\r
- */\r
-\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarmListForm.h"\r
-#include "ClkMainFrame.h"\r
-#include "ClkSceneRegister.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-MainFrame::MainFrame(void)\r
-{\r
-}\r
-\r
-MainFrame::~MainFrame(void)\r
-{\r
-}\r
-\r
-result\r
-MainFrame::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- SceneRegister::RegisterAllScenes();\r
- SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- return r;\r
-}\r
-\r
-result\r
-MainFrame::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
- return r;\r
-}\r
-\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//l
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/**
+ * @file ClkMainFrame.cpp
+ * @brief Used to define MainFrame
+ */
+
+#include <FBase.h>
+#include <FUi.h>
+
+#include "ClkAlarmListForm.h"
+#include "ClkMainFrame.h"
+#include "ClkSceneRegister.h"
+
+using namespace Tizen::Base;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+
+MainFrame::MainFrame(void)
+{
+}
+
+MainFrame::~MainFrame(void)
+{
+}
+
+result
+MainFrame::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ SceneRegister::RegisterAllScenes();
+ SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ return r;
+}
+
+result
+MainFrame::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+ return r;
+}
+
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkNotification.cpp\r
- * @brief This defines the behaviour of the Notification Class\r
- *\r
- */\r
-\r
-#include <FAppUiApp.h>\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkNotification.h"\r
-#include "ClkSceneRegister.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-\r
-Notification::Notification(Form& aForm)\r
- : __form(aForm)\r
- , __pLabel(null)\r
- , __pTimer(null)\r
-\r
-{\r
- Construct("IDL_NOTIFICATION_PANEL");\r
-}\r
-\r
-Notification::~Notification()\r
-{\r
-\r
- if (__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- delete __pTimer;\r
- }\r
-\r
-}\r
-\r
-void\r
-Notification::SetText(String& message)\r
-{\r
- __pLabel = static_cast<Label*>(GetControl(L"IDC_NOTIFICATION_LABEL"));\r
-\r
- if (__pLabel == null)\r
- {\r
- return;\r
- }\r
-\r
- __pLabel->SetText(message);\r
-}\r
-\r
-void\r
-Notification::OnTimerExpired(Timer& timer)\r
-{\r
- SetShowState(false);\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-Notification::ShowNotification(void)\r
-{\r
- SceneManager* pSceneManager = null;\r
- SceneId sceneId;\r
-\r
- sceneId = pSceneManager->GetInstance()->GetCurrentSceneId();\r
-\r
- if (sceneId == IDSCN_CREATE_ALARM || sceneId == IDSCN_ALARM_LIST)\r
- {\r
- __pLabel->SetTextConfig(24, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
-\r
- if ( __pLabel != null)\r
- {\r
- AddControl(*__pLabel);\r
- }\r
-\r
- __form.AddControl(*this);\r
-\r
-\r
-\r
- SetPosition(0,__form.GetClientAreaBounds().height - GetHeight());\r
-\r
- __pTimer = new (std::nothrow) Timer();\r
-\r
- if (__pTimer != null)\r
- {\r
- __pTimer->Construct(*this);\r
- __pTimer->Start(2000);\r
- }\r
-\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkNotification.cpp
+ * @brief This defines the behaviour of the Notification Class
+ *
+ */
+
+#include <FAppUiApp.h>
+#include <FUiScenes.h>
+
+#include "ClkNotification.h"
+#include "ClkSceneRegister.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+
+Notification::Notification(Form& aForm)
+ : __form(aForm)
+ , __pLabel(null)
+ , __pTimer(null)
+
+{
+ Construct("IDL_NOTIFICATION_PANEL");
+}
+
+Notification::~Notification()
+{
+
+ if (__pTimer != null)
+ {
+ __pTimer->Cancel();
+ delete __pTimer;
+ }
+
+}
+
+void
+Notification::SetText(String& message)
+{
+ __pLabel = static_cast<Label*>(GetControl(L"IDC_NOTIFICATION_LABEL"));
+
+ if (__pLabel == null)
+ {
+ return;
+ }
+
+ __pLabel->SetText(message);
+}
+
+void
+Notification::OnTimerExpired(Timer& timer)
+{
+ SetShowState(false);
+ Invalidate(true);
+}
+
+void
+Notification::ShowNotification(void)
+{
+ SceneManager* pSceneManager = null;
+ SceneId sceneId;
+
+ sceneId = pSceneManager->GetInstance()->GetCurrentSceneId();
+
+ if (sceneId == IDSCN_CREATE_ALARM || sceneId == IDSCN_ALARM_LIST)
+ {
+ __pLabel->SetTextConfig(24, LABEL_TEXT_STYLE_NORMAL);
+ }
+
+ if ( __pLabel != null)
+ {
+ AddControl(*__pLabel);
+ }
+
+ __form.AddControl(*this);
+
+
+
+ SetPosition(0,__form.GetClientAreaBounds().height - GetHeight());
+
+ __pTimer = new (std::nothrow) Timer();
+
+ if (__pTimer != null)
+ {
+ __pTimer->Construct(*this);
+ __pTimer->Start(2000);
+ }
+
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/**\r
- * @file ClkNumberSelectorControl.cpp\r
- * @brief This defines the behaviour of the NumberSelectorControl Class\r
- *\r
- */\r
-\r
-#include <FAppUiApp.h>\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkNumberSelectorControl.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-\r
-INumberSelectorEventListener::INumberSelectorEventListener(void)\r
-{\r
-\r
-}\r
-\r
-INumberSelectorEventListener::~INumberSelectorEventListener(void)\r
-{\r
-\r
-}\r
-\r
-NumberSelectorControl::NumberSelectorControl(ScrollPanel& form)\r
- : __anchorPosition(0, 0)\r
- , __noLimit(0)\r
- , __pAnchorLabel(null)\r
- , __parentForm(form)\r
- , __pListener(null)\r
- , __pNewScroll(null)\r
- , __selectedValue(0)\r
-{\r
- __actionIdOffset = Tizen::Base::Utility::Math::Rand()%10000;\r
-}\r
-\r
-NumberSelectorControl::~NumberSelectorControl(void)\r
-{\r
-\r
-}\r
-\r
-result NumberSelectorControl::Initialize(int limit, int startIndex)\r
-{\r
- result r = E_SUCCESS;\r
- ScrollPanel *pScroll = null;\r
- Button *pSampleButton = null;\r
- Button *pNewButton = null;\r
- Bitmap *pBgBitmap = null;\r
- Font selectedFont;\r
- Font normalFont;\r
- Color normalColor(255,255,255, 170);\r
- Color pressedColor(255,255,255, 255);\r
- Color selectedColor(255,255,255, 255);\r
- int fontSize = 48;\r
-\r
- __noLimit = limit;\r
-\r
- r = Construct(L"IDL_NUMBER_SELECTOR");\r
-\r
- __parentForm.AddControl(*this);\r
- __pAnchorLabel = dynamic_cast<Label*>(GetControl(L"IDC_ANCHOR"));\r
-\r
- if (__pAnchorLabel == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __anchorPosition = __pAnchorLabel->GetPosition();\r
- pScroll = dynamic_cast<ScrollPanel*>(GetControl(L"IDC_SCROLLPANEL1"));\r
-\r
- if (pScroll == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pNewScroll = new ScrollPanel();\r
- __pNewScroll->Construct(pScroll->GetBounds(), SCROLL_PANEL_SCROLL_DIRECTION_HORIZONTAL, false);\r
- __pNewScroll->SetScrollBarVisible(false);\r
- AddControl(*__pNewScroll);\r
-\r
- pSampleButton = dynamic_cast<Button*>(pScroll->GetControl(L"IDC_BUTTON2"));\r
-\r
- if (pSampleButton == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pBgBitmap = AppResource::GetInstance()->GetBitmapN(L"EditBackground.png");\r
- __pNewScroll->SetClientAreaWidth(__noLimit * pSampleButton->GetWidth());\r
-\r
-\r
- selectedFont.Construct(FONT_STYLE_BOLD, fontSize);\r
- normalFont.Construct(FONT_STYLE_PLAIN, fontSize);\r
-\r
- int x_Position = 0;\r
- for (int count = startIndex; count <= __noLimit; count++)\r
- {\r
- String text;\r
-\r
-\r
- if (count < 10)\r
- {\r
- text.Append(0);\r
- }\r
-\r
- text.Append(count);\r
- AppLogDebug("Text : %ls", text.GetPointer());\r
- pNewButton = new Button();\r
- pNewButton->Construct(Rectangle(x_Position * pSampleButton->GetWidth(), pSampleButton->GetY(), pSampleButton->GetWidth(), pSampleButton->GetHeight()), text);\r
- x_Position++;\r
- pNewButton->SetNormalBackgroundBitmap(*pBgBitmap);\r
- pNewButton->SetPressedBackgroundBitmap(*pBgBitmap);\r
- pNewButton->SetActionId(__actionIdOffset + count);\r
- pNewButton->AddActionEventListener(*this);\r
- String buttonName = L"Button";\r
- buttonName.Append(__actionIdOffset);\r
- buttonName.Append(count);\r
- pNewButton->SetName(buttonName);\r
-\r
- if (count == __selectedValue)\r
- {\r
- pNewButton->SetTextColor(selectedColor);\r
- }\r
- else\r
- {\r
- pNewButton->SetTextColor(normalColor);\r
- }\r
-\r
- pNewButton->SetPressedTextColor(pressedColor);\r
-\r
- __pNewScroll->AddControl(*pNewButton);\r
- }\r
-\r
- pScroll->SetShowState(false);\r
- return r;\r
-}\r
-\r
-void NumberSelectorControl::OnActionPerformed(const Tizen::Ui::Control& source, int actionId)\r
-{\r
- int index = actionId - __actionIdOffset;\r
- __SetNumber(index);\r
-\r
- if (__pListener != null)\r
- {\r
- __pListener->OnNumberSelected(*this, index);\r
- }\r
-\r
-}\r
-\r
-INumberSelectorEventListener*\r
-NumberSelectorControl::GetEventListner(void)\r
-{\r
- return __pListener;\r
-}\r
-\r
-void\r
-NumberSelectorControl::SetEventListner(INumberSelectorEventListener* listner)\r
-{\r
- __pListener = listner;\r
-}\r
-\r
-int\r
-NumberSelectorControl::GetNumber(void)\r
-{\r
- return __selectedValue;\r
-}\r
-\r
-void\r
-NumberSelectorControl::__SetNumber(int value)\r
-{\r
- Color normalColor(255,255,255, 170);\r
- Color pressedColor(255,255,255, 255);\r
- Color selectedColor(255,255,255, 255);\r
- Button* pOldSelected = null;\r
- Button* pNewSelected = null;\r
- Font selectedFont;\r
- Font normalFont;\r
- String buttonName = L"Button";\r
- int fontSize = 48;\r
-\r
- selectedFont.Construct(FONT_STYLE_BOLD, fontSize);\r
- normalFont.Construct(FONT_STYLE_PLAIN, fontSize);\r
-\r
- buttonName.Append(__actionIdOffset);\r
- buttonName.Append(__selectedValue);\r
- AppLogDebug("OldName: %ls", buttonName.GetPointer());\r
- pOldSelected = dynamic_cast<Button*>(GetControl(buttonName, true));\r
-\r
- if (pOldSelected != null)\r
- {\r
- pOldSelected->SetTextColor(normalColor);\r
- pOldSelected->Invalidate(false);\r
- }\r
-\r
- __selectedValue = value;\r
- buttonName = L"Button";\r
- buttonName.Append(__actionIdOffset);\r
- buttonName.Append(__selectedValue);\r
- AppLogDebug("NewName: %ls", buttonName.GetPointer());\r
- pNewSelected = dynamic_cast<Button*>(GetControl(buttonName, true));\r
-\r
- if (pNewSelected != null)\r
- {\r
- pNewSelected->SetTextColor(selectedColor);\r
- pNewSelected->Invalidate(false);\r
- }\r
-\r
-}\r
-\r
-\r
-void\r
-NumberSelectorControl::SetNumber(int value)\r
-{\r
- __SetNumber(value);\r
-\r
- if (__pNewScroll != null)\r
- {\r
- __pNewScroll->SetScrollPosition(__pNewScroll->GetHeight() * __selectedValue, true);\r
- Invalidate(true);\r
- }\r
-\r
-}\r
-\r
-Point\r
-NumberSelectorControl::GetAnchorPosition(void)\r
-{\r
- return __anchorPosition;\r
-}\r
-\r
-void\r
-NumberSelectorControl::SetAnchorPosition(Tizen::Graphics::Point pos)\r
-{\r
- __anchorPosition = pos;\r
-\r
- if (__pAnchorLabel != null)\r
- {\r
- __pAnchorLabel->SetPosition(__anchorPosition);\r
- }\r
-\r
- SetBounds(GetX(), __anchorPosition.y, GetWidth(), GetHeight());\r
-}\r
-\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/**
+ * @file ClkNumberSelectorControl.cpp
+ * @brief This defines the behaviour of the NumberSelectorControl Class
+ *
+ */
+
+#include <FAppUiApp.h>
+#include <FApp.h>
+#include <FBase.h>
+#include <FUi.h>
+
+#include "ClkNumberSelectorControl.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+
+INumberSelectorEventListener::INumberSelectorEventListener(void)
+{
+
+}
+
+INumberSelectorEventListener::~INumberSelectorEventListener(void)
+{
+
+}
+
+NumberSelectorControl::NumberSelectorControl(ScrollPanel& form)
+ : __anchorPosition(0, 0)
+ , __noLimit(0)
+ , __pAnchorLabel(null)
+ , __parentForm(form)
+ , __pListener(null)
+ , __pNewScroll(null)
+ , __selectedValue(0)
+{
+ __actionIdOffset = Tizen::Base::Utility::Math::Rand()%10000;
+}
+
+NumberSelectorControl::~NumberSelectorControl(void)
+{
+
+}
+
+result NumberSelectorControl::Initialize(int limit, int startIndex)
+{
+ result r = E_SUCCESS;
+ ScrollPanel *pScroll = null;
+ Button *pSampleButton = null;
+ Button *pNewButton = null;
+ Bitmap *pBgBitmap = null;
+ Font selectedFont;
+ Font normalFont;
+ Color normalColor(255,255,255, 170);
+ Color pressedColor(255,255,255, 255);
+ Color selectedColor(255,255,255, 255);
+ int fontSize = 48;
+
+ __noLimit = limit;
+
+ r = Construct(L"IDL_NUMBER_SELECTOR");
+
+ __parentForm.AddControl(*this);
+ __pAnchorLabel = dynamic_cast<Label*>(GetControl(L"IDC_ANCHOR"));
+
+ if (__pAnchorLabel == null)
+ {
+ return E_FAILURE;
+ }
+
+ __anchorPosition = __pAnchorLabel->GetPosition();
+ pScroll = dynamic_cast<ScrollPanel*>(GetControl(L"IDC_SCROLLPANEL1"));
+
+ if (pScroll == null)
+ {
+ return E_FAILURE;
+ }
+
+ __pNewScroll = new ScrollPanel();
+ __pNewScroll->Construct(pScroll->GetBounds(), SCROLL_PANEL_SCROLL_DIRECTION_HORIZONTAL, false);
+ __pNewScroll->SetScrollBarVisible(false);
+ AddControl(*__pNewScroll);
+
+ pSampleButton = dynamic_cast<Button*>(pScroll->GetControl(L"IDC_BUTTON2"));
+
+ if (pSampleButton == null)
+ {
+ return E_FAILURE;
+ }
+
+ pBgBitmap = AppResource::GetInstance()->GetBitmapN(L"EditBackground.png");
+ __pNewScroll->SetClientAreaWidth(__noLimit * pSampleButton->GetWidth());
+
+
+ selectedFont.Construct(FONT_STYLE_BOLD, fontSize);
+ normalFont.Construct(FONT_STYLE_PLAIN, fontSize);
+
+ int x_Position = 0;
+ for (int count = startIndex; count <= __noLimit; count++)
+ {
+ String text;
+
+
+ if (count < 10)
+ {
+ text.Append(0);
+ }
+
+ text.Append(count);
+ AppLogDebug("Text : %ls", text.GetPointer());
+ pNewButton = new Button();
+ pNewButton->Construct(Rectangle(x_Position * pSampleButton->GetWidth(), pSampleButton->GetY(), pSampleButton->GetWidth(), pSampleButton->GetHeight()), text);
+ x_Position++;
+ pNewButton->SetNormalBackgroundBitmap(*pBgBitmap);
+ pNewButton->SetPressedBackgroundBitmap(*pBgBitmap);
+ pNewButton->SetActionId(__actionIdOffset + count);
+ pNewButton->AddActionEventListener(*this);
+ String buttonName = L"Button";
+ buttonName.Append(__actionIdOffset);
+ buttonName.Append(count);
+ pNewButton->SetName(buttonName);
+
+ if (count == __selectedValue)
+ {
+ pNewButton->SetTextColor(selectedColor);
+ }
+ else
+ {
+ pNewButton->SetTextColor(normalColor);
+ }
+
+ pNewButton->SetPressedTextColor(pressedColor);
+
+ __pNewScroll->AddControl(*pNewButton);
+ }
+
+ pScroll->SetShowState(false);
+ return r;
+}
+
+void NumberSelectorControl::OnActionPerformed(const Tizen::Ui::Control& source, int actionId)
+{
+ int index = actionId - __actionIdOffset;
+ __SetNumber(index);
+
+ if (__pListener != null)
+ {
+ __pListener->OnNumberSelected(*this, index);
+ }
+
+}
+
+INumberSelectorEventListener*
+NumberSelectorControl::GetEventListner(void)
+{
+ return __pListener;
+}
+
+void
+NumberSelectorControl::SetEventListner(INumberSelectorEventListener* listner)
+{
+ __pListener = listner;
+}
+
+int
+NumberSelectorControl::GetNumber(void)
+{
+ return __selectedValue;
+}
+
+void
+NumberSelectorControl::__SetNumber(int value)
+{
+ Color normalColor(255,255,255, 170);
+ Color pressedColor(255,255,255, 255);
+ Color selectedColor(255,255,255, 255);
+ Button* pOldSelected = null;
+ Button* pNewSelected = null;
+ Font selectedFont;
+ Font normalFont;
+ String buttonName = L"Button";
+ int fontSize = 48;
+
+ selectedFont.Construct(FONT_STYLE_BOLD, fontSize);
+ normalFont.Construct(FONT_STYLE_PLAIN, fontSize);
+
+ buttonName.Append(__actionIdOffset);
+ buttonName.Append(__selectedValue);
+ AppLogDebug("OldName: %ls", buttonName.GetPointer());
+ pOldSelected = dynamic_cast<Button*>(GetControl(buttonName, true));
+
+ if (pOldSelected != null)
+ {
+ pOldSelected->SetTextColor(normalColor);
+ pOldSelected->Invalidate(false);
+ }
+
+ __selectedValue = value;
+ buttonName = L"Button";
+ buttonName.Append(__actionIdOffset);
+ buttonName.Append(__selectedValue);
+ AppLogDebug("NewName: %ls", buttonName.GetPointer());
+ pNewSelected = dynamic_cast<Button*>(GetControl(buttonName, true));
+
+ if (pNewSelected != null)
+ {
+ pNewSelected->SetTextColor(selectedColor);
+ pNewSelected->Invalidate(false);
+ }
+
+}
+
+
+void
+NumberSelectorControl::SetNumber(int value)
+{
+ __SetNumber(value);
+
+ if (__pNewScroll != null)
+ {
+ __pNewScroll->SetScrollPosition(__pNewScroll->GetHeight() * __selectedValue, true);
+ Invalidate(true);
+ }
+
+}
+
+Point
+NumberSelectorControl::GetAnchorPosition(void)
+{
+ return __anchorPosition;
+}
+
+void
+NumberSelectorControl::SetAnchorPosition(Tizen::Graphics::Point pos)
+{
+ __anchorPosition = pos;
+
+ if (__pAnchorLabel != null)
+ {
+ __pAnchorLabel->SetPosition(__anchorPosition);
+ }
+
+ SetBounds(GetX(), __anchorPosition.y, GetWidth(), GetHeight());
+}
+
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file RadioCustomItem.cpp\r
- * @brief The RadioCustomItem\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FUiControls.h>\r
-\r
-#include "ClkRadioCustomItem.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_STRING = 500;\r
-static const int IDA_FORMAT_RADIO_BUTTON = 501;\r
-\r
-RadioCustomItem::RadioCustomItem(void)\r
-: __isSelected(false),\r
- __text("")\r
-\r
-{\r
-\r
-}\r
-\r
-RadioCustomItem::~RadioCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-RadioCustomItem::Construct(int width, int height)\r
-{\r
- result r = E_FAILURE;\r
-\r
- __width = width;\r
- __height = height;\r
- const Dimension dim(width, height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-RadioCustomItem::SetText(const String& text)\r
-{\r
- __text = text;\r
-}\r
-\r
-const String\r
-RadioCustomItem::GetText(void)\r
-{\r
- return __text;\r
-}\r
-\r
-result\r
-RadioCustomItem::Make(void)\r
-{\r
- result r = E_FAILURE;\r
- Color textColor = Color(70, 70, 70);\r
- Color pressedTextColor = Color(249, 249, 249);\r
- Bitmap* pBitmap = null;\r
- int xMargin = 26 ;\r
- int yMargin = 5;\r
- int textSize = 40 ;\r
- int gap = 10 ;\r
-\r
-\r
- if (__isSelected == true)\r
- {\r
- pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_BUTTON_RADIO_PRESS2);\r
- }\r
- else\r
- {\r
- pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_BUTTON_RADIO_PRESS1);\r
- }\r
-\r
- AddElement(Rectangle(xMargin, (__height-pBitmap->GetHeight())/2, pBitmap->GetWidth(), pBitmap->GetHeight()), IDA_FORMAT_RADIO_BUTTON, *pBitmap, null);\r
- AppLogDebug("RadioCustomItem::the text is %ls",__text.GetPointer());\r
-\r
- AddElement(Rectangle(xMargin + pBitmap->GetWidth() + gap, yMargin , __width - xMargin - gap - pBitmap->GetWidth(), __height), IDA_FORMAT_STRING, __text, textSize , textColor, pressedTextColor, pressedTextColor, true);\r
- //SetElementSelectionEnabled(IDA_FORMAT_STRING, true);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-RadioCustomItem::SetSelected(bool selectedValue)\r
-{\r
- __isSelected = selectedValue;\r
-}\r
-\r
-const bool\r
-RadioCustomItem::GetSelected(void)\r
-{\r
- return __isSelected;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file RadioCustomItem.cpp
+ * @brief The RadioCustomItem
+ */
+
+#include <FApp.h>
+#include <FUiControls.h>
+
+#include "ClkRadioCustomItem.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_STRING = 500;
+static const int IDA_FORMAT_RADIO_BUTTON = 501;
+
+RadioCustomItem::RadioCustomItem(void)
+: __isSelected(false),
+ __text("")
+
+{
+
+}
+
+RadioCustomItem::~RadioCustomItem(void)
+{
+
+}
+
+result
+RadioCustomItem::Construct(int width, int height)
+{
+ result r = E_FAILURE;
+
+ __width = width;
+ __height = height;
+ const Dimension dim(width, height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_NORMAL);
+
+ return r;
+}
+
+void
+RadioCustomItem::SetText(const String& text)
+{
+ __text = text;
+}
+
+const String
+RadioCustomItem::GetText(void)
+{
+ return __text;
+}
+
+result
+RadioCustomItem::Make(void)
+{
+ result r = E_FAILURE;
+ Color textColor = Color(70, 70, 70);
+ Color pressedTextColor = Color(249, 249, 249);
+ Bitmap* pBitmap = null;
+ int xMargin = 26 ;
+ int yMargin = 5;
+ int textSize = 40 ;
+ int gap = 10 ;
+
+
+ if (__isSelected == true)
+ {
+ pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_BUTTON_RADIO_PRESS2);
+ }
+ else
+ {
+ pBitmap = AppResource::GetInstance()->GetBitmapN(IDB_BUTTON_RADIO_PRESS1);
+ }
+
+ AddElement(Rectangle(xMargin, (__height-pBitmap->GetHeight())/2, pBitmap->GetWidth(), pBitmap->GetHeight()), IDA_FORMAT_RADIO_BUTTON, *pBitmap, null);
+ AppLogDebug("RadioCustomItem::the text is %ls",__text.GetPointer());
+
+ AddElement(Rectangle(xMargin + pBitmap->GetWidth() + gap, yMargin , __width - xMargin - gap - pBitmap->GetWidth(), __height), IDA_FORMAT_STRING, __text, textSize , textColor, pressedTextColor, pressedTextColor, true);
+ //SetElementSelectionEnabled(IDA_FORMAT_STRING, true);
+
+ return r;
+}
+
+void
+RadioCustomItem::SetSelected(bool selectedValue)
+{
+ __isSelected = selectedValue;
+}
+
+const bool
+RadioCustomItem::GetSelected(void)
+{
+ return __isSelected;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkFormFactory.cpp\r
- * @brief FormFactory class helps in creating appropriate forms with a specified form ID.\r
- *\r
- */\r
-\r
-#include "ClkAlarmListForm.h"\r
-#include "ClkAlarmDeleteListForm.h"\r
-#include "ClkAlarmEditorForm.h"\r
-#include "ClkAlarmRingingForm.h"\r
-#include "ClkCityListForm.h"\r
-#include "ClkAlarmRingingLockForm.h"\r
-#include "ClkEditSnoozeForm.h"\r
-#include "ClkSceneFactory.h"\r
-#include "ClkStopWatchForm.h"\r
-#include "ClkTimerForm.h"\r
-#include "ClkTimerRingingForm.h"\r
-#include "ClkWorldClockDeleteListForm.h"\r
-#include "ClkWorldClockListForm.h"\r
-#include "ClkWorldClockReorderForm.h"\r
-#include "ClkTimerRingingLockForm.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-const wchar_t* IDL_FORM_ALARM_LIST = L"FormAlarmList";\r
-const wchar_t* IDL_FORM_ALARM_DELETE_LIST = L"FormAlarmDeleteList";\r
-const wchar_t* IDL_FORM_CREATE_ALARM = L"FormCreateAlarm";\r
-const wchar_t* IDL_FORM_CITY_LIST = L"FormCityList";\r
-const wchar_t* IDL_FORM_EDIT_SNOOZE = L"FormEditSnooze";\r
-const wchar_t* IDL_FORM_ALARM_RINGING = L"FormAlarmRinging";\r
-const wchar_t* IDL_FORM_ALARM_RINGING_LOCK = L"FormAlarmRingingLock";\r
-const wchar_t* IDL_FORM_WORLD_CLOCK_LIST = L"FormWorldClockList";\r
-const wchar_t* IDL_FORM_WORLD_CLOCK_DELETE_LIST = L"FormWorldClockdeleteList";\r
-const wchar_t* IDL_FORM_ADD_WORLD_CLOCK = L"FormAddWorldClock";\r
-const wchar_t* IDL_FORM_STOP_WATCH = L"FormStopWatch";\r
-const wchar_t* IDL_FORM_TIMER_VIEW = L"FormTimerView";\r
-const wchar_t* IDL_FORM_TIMER_RINGING = L"FormTimerRinging";\r
-const wchar_t* IDL_FORM_WORLD_CLOCK_REORDER = L"FormWorlClockListReorder";\r
-const wchar_t* IDL_FORM_TIMER_RINGING_LOCK = L"FormTimerRingingLock";\r
-\r
-\r
-SceneFactory::SceneFactory(void)\r
-{\r
-\r
-}\r
-\r
-SceneFactory::~SceneFactory(void)\r
-{\r
-\r
-}\r
-\r
-Form*\r
-SceneFactory::CreateFormN(const String& formId, const SceneId& sceneId)\r
-{\r
- Form* pNewForm = null;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (formId == IDL_FORM_ALARM_LIST)\r
- {\r
- AlarmListForm* pForm = new (std::nothrow) AlarmListForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pSceneManager->AddSceneEventListener(sceneId, *pForm);\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_ALARM_DELETE_LIST)\r
- {\r
- AlarmDeleteListForm* pForm = new (std::nothrow) AlarmDeleteListForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_STOP_WATCH)\r
- {\r
- StopWatchForm* pForm = new (std::nothrow) StopWatchForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_CITY_LIST)\r
- {\r
- CityListForm* pForm = new (std::nothrow) CityListForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_EDIT_SNOOZE)\r
- {\r
- EditSnoozeForm* pForm = new (std::nothrow) EditSnoozeForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_WORLD_CLOCK_LIST)\r
- {\r
- WorldClockListForm* pForm = new (std::nothrow) WorldClockListForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_WORLD_CLOCK_DELETE_LIST)\r
- {\r
- WorldClockDeleteListForm* pForm = new (std::nothrow) WorldClockDeleteListForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_ALARM_RINGING)\r
- {\r
- AlarmRingingForm* pForm = new (std::nothrow) AlarmRingingForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_ALARM_RINGING_LOCK)\r
- {\r
- AlarmRingingLockForm* pForm = new (std::nothrow) AlarmRingingLockForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_CREATE_ALARM)\r
- {\r
- AlarmEditorForm* pForm = new (std::nothrow) AlarmEditorForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_TIMER_RINGING)\r
- {\r
- TimerRingingForm* pForm = new (std::nothrow) TimerRingingForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_TIMER_VIEW)\r
- {\r
- TimerForm* pForm = new (std::nothrow) TimerForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_WORLD_CLOCK_REORDER)\r
- {\r
- WorldClockReorderForm* pForm = new (std::nothrow) WorldClockReorderForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
- else if (formId == IDL_FORM_TIMER_RINGING_LOCK)\r
- {\r
- TimerRingingLockForm* pForm = new (std::nothrow) TimerRingingLockForm();\r
-\r
- if (pForm == null)\r
- {\r
- return null;\r
- }\r
-\r
- pForm->Initialize();\r
- pNewForm = pForm;\r
- }\r
-\r
- return pNewForm;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkFormFactory.cpp
+ * @brief FormFactory class helps in creating appropriate forms with a specified form ID.
+ *
+ */
+
+#include "ClkAlarmListForm.h"
+#include "ClkAlarmDeleteListForm.h"
+#include "ClkAlarmEditorForm.h"
+#include "ClkAlarmRingingForm.h"
+#include "ClkCityListForm.h"
+#include "ClkAlarmRingingLockForm.h"
+#include "ClkEditSnoozeForm.h"
+#include "ClkSceneFactory.h"
+#include "ClkStopWatchForm.h"
+#include "ClkTimerForm.h"
+#include "ClkTimerRingingForm.h"
+#include "ClkWorldClockDeleteListForm.h"
+#include "ClkWorldClockListForm.h"
+#include "ClkWorldClockReorderForm.h"
+#include "ClkTimerRingingLockForm.h"
+
+using namespace Tizen::Base;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+const wchar_t* IDL_FORM_ALARM_LIST = L"FormAlarmList";
+const wchar_t* IDL_FORM_ALARM_DELETE_LIST = L"FormAlarmDeleteList";
+const wchar_t* IDL_FORM_CREATE_ALARM = L"FormCreateAlarm";
+const wchar_t* IDL_FORM_CITY_LIST = L"FormCityList";
+const wchar_t* IDL_FORM_EDIT_SNOOZE = L"FormEditSnooze";
+const wchar_t* IDL_FORM_ALARM_RINGING = L"FormAlarmRinging";
+const wchar_t* IDL_FORM_ALARM_RINGING_LOCK = L"FormAlarmRingingLock";
+const wchar_t* IDL_FORM_WORLD_CLOCK_LIST = L"FormWorldClockList";
+const wchar_t* IDL_FORM_WORLD_CLOCK_DELETE_LIST = L"FormWorldClockdeleteList";
+const wchar_t* IDL_FORM_ADD_WORLD_CLOCK = L"FormAddWorldClock";
+const wchar_t* IDL_FORM_STOP_WATCH = L"FormStopWatch";
+const wchar_t* IDL_FORM_TIMER_VIEW = L"FormTimerView";
+const wchar_t* IDL_FORM_TIMER_RINGING = L"FormTimerRinging";
+const wchar_t* IDL_FORM_WORLD_CLOCK_REORDER = L"FormWorlClockListReorder";
+const wchar_t* IDL_FORM_TIMER_RINGING_LOCK = L"FormTimerRingingLock";
+
+
+SceneFactory::SceneFactory(void)
+{
+
+}
+
+SceneFactory::~SceneFactory(void)
+{
+
+}
+
+Form*
+SceneFactory::CreateFormN(const String& formId, const SceneId& sceneId)
+{
+ Form* pNewForm = null;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (formId == IDL_FORM_ALARM_LIST)
+ {
+ AlarmListForm* pForm = new (std::nothrow) AlarmListForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pSceneManager->AddSceneEventListener(sceneId, *pForm);
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_ALARM_DELETE_LIST)
+ {
+ AlarmDeleteListForm* pForm = new (std::nothrow) AlarmDeleteListForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_STOP_WATCH)
+ {
+ StopWatchForm* pForm = new (std::nothrow) StopWatchForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_CITY_LIST)
+ {
+ CityListForm* pForm = new (std::nothrow) CityListForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_EDIT_SNOOZE)
+ {
+ EditSnoozeForm* pForm = new (std::nothrow) EditSnoozeForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_WORLD_CLOCK_LIST)
+ {
+ WorldClockListForm* pForm = new (std::nothrow) WorldClockListForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_WORLD_CLOCK_DELETE_LIST)
+ {
+ WorldClockDeleteListForm* pForm = new (std::nothrow) WorldClockDeleteListForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_ALARM_RINGING)
+ {
+ AlarmRingingForm* pForm = new (std::nothrow) AlarmRingingForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_ALARM_RINGING_LOCK)
+ {
+ AlarmRingingLockForm* pForm = new (std::nothrow) AlarmRingingLockForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_CREATE_ALARM)
+ {
+ AlarmEditorForm* pForm = new (std::nothrow) AlarmEditorForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_TIMER_RINGING)
+ {
+ TimerRingingForm* pForm = new (std::nothrow) TimerRingingForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_TIMER_VIEW)
+ {
+ TimerForm* pForm = new (std::nothrow) TimerForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_WORLD_CLOCK_REORDER)
+ {
+ WorldClockReorderForm* pForm = new (std::nothrow) WorldClockReorderForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+ else if (formId == IDL_FORM_TIMER_RINGING_LOCK)
+ {
+ TimerRingingLockForm* pForm = new (std::nothrow) TimerRingingLockForm();
+
+ if (pForm == null)
+ {
+ return null;
+ }
+
+ pForm->Initialize();
+ pNewForm = pForm;
+ }
+
+ return pNewForm;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkSceneRegister.cpp\r
- * @brief This header file contains the declarations of the %SceneRegister class.\r
- *\r
- */\r
-\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkSceneRegister.h"\r
-#include "ClkSceneFactory.h"\r
-\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-const wchar_t* IDSCN_ALARM_LIST = L"ScnAlarmList";\r
-const wchar_t* IDSCN_ALARM_DELETE_LIST = L"ScnAlarmDeleteList";\r
-const wchar_t* IDSCN_CREATE_ALARM = L"ScnCreateAlarm";\r
-const wchar_t* IDSCN_CITY_LIST = L"ScnCityList";\r
-const wchar_t* IDSCN_EDIT_SNOOZE = L"ScnEditSnooze";\r
-const wchar_t* IDSCN_ALARM_RINGING = L"ScnAlarmRinging";\r
-const wchar_t* IDSCN_ALARM_RINGING_LOCK = L"ScnAlarmRingingLock";\r
-const wchar_t* IDSCN_WORLD_CLOCK_LIST = L"ScnWorldClockList";\r
-const wchar_t* IDSCN_WORLD_CLOCK_DELETE_LIST = L"ScnWorldClockDeleteList";\r
-const wchar_t* IDSCN_STOP_WATCH = L"ScnStopWatch";\r
-const wchar_t* IDSCN_TIMER_VIEW = L"TimerView";\r
-const wchar_t* IDSCN_TIMER_RINGING = L"ScnTimerRinging";\r
-const wchar_t* IDSCN_WORLD_CLOCK_REORDER = L"WorldClockListReorder";\r
-const wchar_t* IDSCN_TIMER_RINGING_LOCK = L"ScnTimerRingingLock";\r
-\r
-SceneRegister::SceneRegister(void)\r
-{\r
-\r
-}\r
-\r
-SceneRegister::~SceneRegister(void)\r
-{\r
-\r
-}\r
-\r
-void\r
-SceneRegister::RegisterAllScenes(void)\r
-{\r
- static const wchar_t* PANEL_BLANK = L"";\r
- static SceneFactory sceneFactory;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager == null)\r
- {\r
- return;\r
- }\r
-\r
- pSceneManager->RegisterFormFactory(sceneFactory);\r
-\r
- pSceneManager->RegisterScene(IDSCN_ALARM_LIST, IDL_FORM_ALARM_LIST, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_ALARM_DELETE_LIST, IDL_FORM_ALARM_DELETE_LIST, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_CREATE_ALARM, IDL_FORM_CREATE_ALARM, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_CITY_LIST, IDL_FORM_CITY_LIST, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_EDIT_SNOOZE, IDL_FORM_EDIT_SNOOZE, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_ALARM_RINGING, IDL_FORM_ALARM_RINGING, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_ALARM_RINGING_LOCK, IDL_FORM_ALARM_RINGING_LOCK, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_WORLD_CLOCK_LIST, IDL_FORM_WORLD_CLOCK_LIST, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_WORLD_CLOCK_DELETE_LIST, IDL_FORM_WORLD_CLOCK_DELETE_LIST, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_STOP_WATCH, IDL_FORM_STOP_WATCH, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_TIMER_VIEW, IDL_FORM_TIMER_VIEW, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_TIMER_RINGING, IDL_FORM_TIMER_RINGING, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_WORLD_CLOCK_REORDER,IDL_FORM_WORLD_CLOCK_REORDER, PANEL_BLANK);\r
- pSceneManager->RegisterScene(IDSCN_TIMER_RINGING_LOCK, IDL_FORM_TIMER_RINGING_LOCK, PANEL_BLANK);\r
-}\r
-\r
-result\r
-SceneRegister::RegisterNewMainView(const String& sceneID, const String& FormID)\r
-{\r
- result r = E_SUCCESS;\r
- static const wchar_t* PANEL_BLANK = L"";\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- r = pSceneManager->RegisterScene(sceneID, FormID, PANEL_BLANK);\r
-\r
- if (GetLastResult() != E_SUCCESS)\r
- {\r
- AppLogDebug("fail Not registered");\r
- }\r
- else\r
- {\r
- AppLogDebug("success registered");\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-SceneRegister::DestroyAndUnRegisterScene(const String& sceneID)\r
-{\r
- result r = E_SUCCESS;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pSceneManager->UnregisterScene(sceneID);\r
- pSceneManager->DestroyScene(sceneID);\r
- return r;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkSceneRegister.cpp
+ * @brief This header file contains the declarations of the %SceneRegister class.
+ *
+ */
+
+#include <FUiScenes.h>
+
+#include "ClkSceneRegister.h"
+#include "ClkSceneFactory.h"
+
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Ui::Scenes;
+
+const wchar_t* IDSCN_ALARM_LIST = L"ScnAlarmList";
+const wchar_t* IDSCN_ALARM_DELETE_LIST = L"ScnAlarmDeleteList";
+const wchar_t* IDSCN_CREATE_ALARM = L"ScnCreateAlarm";
+const wchar_t* IDSCN_CITY_LIST = L"ScnCityList";
+const wchar_t* IDSCN_EDIT_SNOOZE = L"ScnEditSnooze";
+const wchar_t* IDSCN_ALARM_RINGING = L"ScnAlarmRinging";
+const wchar_t* IDSCN_ALARM_RINGING_LOCK = L"ScnAlarmRingingLock";
+const wchar_t* IDSCN_WORLD_CLOCK_LIST = L"ScnWorldClockList";
+const wchar_t* IDSCN_WORLD_CLOCK_DELETE_LIST = L"ScnWorldClockDeleteList";
+const wchar_t* IDSCN_STOP_WATCH = L"ScnStopWatch";
+const wchar_t* IDSCN_TIMER_VIEW = L"TimerView";
+const wchar_t* IDSCN_TIMER_RINGING = L"ScnTimerRinging";
+const wchar_t* IDSCN_WORLD_CLOCK_REORDER = L"WorldClockListReorder";
+const wchar_t* IDSCN_TIMER_RINGING_LOCK = L"ScnTimerRingingLock";
+
+SceneRegister::SceneRegister(void)
+{
+
+}
+
+SceneRegister::~SceneRegister(void)
+{
+
+}
+
+void
+SceneRegister::RegisterAllScenes(void)
+{
+ static const wchar_t* PANEL_BLANK = L"";
+ static SceneFactory sceneFactory;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager == null)
+ {
+ return;
+ }
+
+ pSceneManager->RegisterFormFactory(sceneFactory);
+
+ pSceneManager->RegisterScene(IDSCN_ALARM_LIST, IDL_FORM_ALARM_LIST, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_ALARM_DELETE_LIST, IDL_FORM_ALARM_DELETE_LIST, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_CREATE_ALARM, IDL_FORM_CREATE_ALARM, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_CITY_LIST, IDL_FORM_CITY_LIST, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_EDIT_SNOOZE, IDL_FORM_EDIT_SNOOZE, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_ALARM_RINGING, IDL_FORM_ALARM_RINGING, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_ALARM_RINGING_LOCK, IDL_FORM_ALARM_RINGING_LOCK, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_WORLD_CLOCK_LIST, IDL_FORM_WORLD_CLOCK_LIST, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_WORLD_CLOCK_DELETE_LIST, IDL_FORM_WORLD_CLOCK_DELETE_LIST, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_STOP_WATCH, IDL_FORM_STOP_WATCH, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_TIMER_VIEW, IDL_FORM_TIMER_VIEW, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_TIMER_RINGING, IDL_FORM_TIMER_RINGING, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_WORLD_CLOCK_REORDER,IDL_FORM_WORLD_CLOCK_REORDER, PANEL_BLANK);
+ pSceneManager->RegisterScene(IDSCN_TIMER_RINGING_LOCK, IDL_FORM_TIMER_RINGING_LOCK, PANEL_BLANK);
+}
+
+result
+SceneRegister::RegisterNewMainView(const String& sceneID, const String& FormID)
+{
+ result r = E_SUCCESS;
+ static const wchar_t* PANEL_BLANK = L"";
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager == null)
+ {
+ return E_FAILURE;
+ }
+
+ r = pSceneManager->RegisterScene(sceneID, FormID, PANEL_BLANK);
+
+ if (GetLastResult() != E_SUCCESS)
+ {
+ AppLogDebug("fail Not registered");
+ }
+ else
+ {
+ AppLogDebug("success registered");
+ }
+
+ return r;
+}
+
+result
+SceneRegister::DestroyAndUnRegisterScene(const String& sceneID)
+{
+ result r = E_SUCCESS;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager == null)
+ {
+ return E_FAILURE;
+ }
+
+ pSceneManager->UnregisterScene(sceneID);
+ pSceneManager->DestroyScene(sceneID);
+ return r;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file: ClkSortByPopUp.cpp\r
- * @brief This CPP file contains the declarations of the SortByPopUp\r
- */\r
-\r
-#include <FAppUiApp.h>\r
-#include <FUiScenes.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkSortByPopUp.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int ID_FORMAT_RECENT = 501;\r
-static const int ID_FORMAT_TIME = 502 ;\r
-static const int ID_CANCEL_BUTTON = 504;\r
-\r
-\r
-ISortByEventListener::ISortByEventListener(void)\r
-{\r
-\r
-}\r
-\r
-ISortByEventListener::~ISortByEventListener(void)\r
-{\r
-\r
-}\r
-\r
-SortByPopUp::SortByPopUp(void)\r
-:__pList(null),\r
- __pShareList(null)\r
-{\r
-\r
-}\r
-\r
-SortByPopUp::~SortByPopUp(void)\r
-{\r
-\r
-}\r
-\r
-bool\r
-SortByPopUp::Initialize(void)\r
-{\r
- Button* pCancelButton = null;\r
- Popup::Construct(L"IDL_SORT_BY");\r
-\r
- __pList = static_cast<ListView*>(GetControl(L"IDC_LISTVIEW1"));\r
-\r
- if (__pList == null)\r
- {\r
- return false;\r
- }\r
-\r
- __pList->SetItemProvider(*this);\r
- __pList->AddListViewItemEventListener(*this);\r
- __pList->SetItemChecked(0, true);\r
- Invalidate(true);\r
-\r
- pCancelButton = static_cast< Button* >(GetControl(L"IDC_BUTTON1", true));\r
- if (pCancelButton != null)\r
- {\r
- pCancelButton->AddActionEventListener(*this);\r
- pCancelButton->SetActionId(ID_CANCEL_BUTTON);\r
- }\r
-\r
- return true;\r
-}\r
-\r
-result\r
-SortByPopUp::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
- return r;\r
-}\r
-\r
-void\r
-SortByPopUp::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- switch (actionId)\r
- {\r
- case ID_CANCEL_BUTTON:\r
- {\r
- Popup::SetShowState(false);\r
- Popup::Show();\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
- return;\r
-}\r
-\r
-void\r
-SortByPopUp::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- switch (index)\r
- {\r
- case 0:\r
- {\r
- if (__pList != NULL )\r
- {\r
- __pList->SetItemChecked(0,true);\r
- __pList->SetItemChecked(1,false);\r
- }\r
-\r
- if(__pListener != NULL)\r
- {\r
- __pListener->OnSortByPopUpItemSelected(SORTBY_RECENT);\r
- }\r
- }\r
- break;\r
- case 1:\r
- {\r
- if (__pList != NULL )\r
- {\r
- __pList->SetItemChecked(0,false);\r
- __pList->SetItemChecked(1,true);\r
- }\r
-\r
- if( __pListener != NULL)\r
- {\r
- __pListener->OnSortByPopUpItemSelected(SORTBY_TIME);\r
- }\r
-\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-\r
- if (__pList != NULL )\r
- {\r
- __pList->Invalidate(true);\r
- }\r
-}\r
-\r
-ListItemBase*\r
-SortByPopUp::CreateItem(int index, int itemWidth)\r
-{\r
- result r = E_FAILURE;\r
- ListAnnexStyle style = LIST_ANNEX_STYLE_RADIO;\r
- int listItemWidth = 112;\r
-\r
- CustomItem* pItem = new (std::nothrow) CustomItem();\r
- r = pItem->Construct(Dimension(GetClientAreaBounds().width, listItemWidth), style);\r
- //pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color::GetColor(COLOR_ID_WHITE));\r
-\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));\r
- delete pItem;\r
- pItem = null ;\r
- return null;\r
- }\r
-\r
- switch (index)\r
- {\r
- case 0:\r
- {\r
- pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_RECENT,CommonUtil::GetString(L"IDS_COM_BUTTON_RECENT"), true);\r
- }\r
- break;\r
-\r
- case 1:\r
- {\r
- pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_TIME,CommonUtil::GetString(L"IDS_WCL_TAB_TIME"), true);\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
- return pItem;\r
-}\r
-\r
-bool\r
-SortByPopUp::DeleteItem(int index, ListItemBase* pItem, int itemWidth)\r
-{\r
- return true;\r
-}\r
-\r
-int\r
-SortByPopUp::GetItemCount(void)\r
-{\r
- return 2;\r
-}\r
-\r
-ISortByEventListener*\r
-SortByPopUp::GetEventListner(void)\r
-{\r
- return __pListener;\r
-}\r
-\r
-void\r
-SortByPopUp::SetEventListner(ISortByEventListener* listner)\r
-{\r
- __pListener = listner;\r
-}\r
-\r
-void\r
-SortByPopUp::SetDstIndex(int index)\r
-{\r
- __pList->SetItemChecked(index,true);\r
-\r
- if ( index == 0)\r
- {\r
- __pList->SetItemChecked(1,false);\r
- }\r
- else if (index == 1)\r
- {\r
- __pList->SetItemChecked(0,false);\r
- }\r
- __pList->Invalidate(true);\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file: ClkSortByPopUp.cpp
+ * @brief This CPP file contains the declarations of the SortByPopUp
+ */
+
+#include <FAppUiApp.h>
+#include <FUiScenes.h>
+
+#include "ClkCommonLib.h"
+#include "ClkSortByPopUp.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int ID_FORMAT_RECENT = 501;
+static const int ID_FORMAT_TIME = 502 ;
+static const int ID_CANCEL_BUTTON = 504;
+
+
+ISortByEventListener::ISortByEventListener(void)
+{
+
+}
+
+ISortByEventListener::~ISortByEventListener(void)
+{
+
+}
+
+SortByPopUp::SortByPopUp(void)
+:__pList(null),
+ __pShareList(null)
+{
+
+}
+
+SortByPopUp::~SortByPopUp(void)
+{
+
+}
+
+bool
+SortByPopUp::Initialize(void)
+{
+ Button* pCancelButton = null;
+ Popup::Construct(L"IDL_SORT_BY");
+
+ __pList = static_cast<ListView*>(GetControl(L"IDC_LISTVIEW1"));
+
+ if (__pList == null)
+ {
+ return false;
+ }
+
+ __pList->SetItemProvider(*this);
+ __pList->AddListViewItemEventListener(*this);
+ __pList->SetItemChecked(0, true);
+ Invalidate(true);
+
+ pCancelButton = static_cast< Button* >(GetControl(L"IDC_BUTTON1", true));
+ if (pCancelButton != null)
+ {
+ pCancelButton->AddActionEventListener(*this);
+ pCancelButton->SetActionId(ID_CANCEL_BUTTON);
+ }
+
+ return true;
+}
+
+result
+SortByPopUp::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+ return r;
+}
+
+void
+SortByPopUp::OnActionPerformed(const Control& source, int actionId)
+{
+ switch (actionId)
+ {
+ case ID_CANCEL_BUTTON:
+ {
+ Popup::SetShowState(false);
+ Popup::Show();
+ }
+ break;
+ default:
+ break;
+ }
+ return;
+}
+
+void
+SortByPopUp::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ switch (index)
+ {
+ case 0:
+ {
+ if (__pList != NULL )
+ {
+ __pList->SetItemChecked(0,true);
+ __pList->SetItemChecked(1,false);
+ }
+
+ if(__pListener != NULL)
+ {
+ __pListener->OnSortByPopUpItemSelected(SORTBY_RECENT);
+ }
+ }
+ break;
+ case 1:
+ {
+ if (__pList != NULL )
+ {
+ __pList->SetItemChecked(0,false);
+ __pList->SetItemChecked(1,true);
+ }
+
+ if( __pListener != NULL)
+ {
+ __pListener->OnSortByPopUpItemSelected(SORTBY_TIME);
+ }
+
+ }
+ break;
+
+ default:
+ break;
+ }
+
+ if (__pList != NULL )
+ {
+ __pList->Invalidate(true);
+ }
+}
+
+ListItemBase*
+SortByPopUp::CreateItem(int index, int itemWidth)
+{
+ result r = E_FAILURE;
+ ListAnnexStyle style = LIST_ANNEX_STYLE_RADIO;
+ int listItemWidth = 112;
+
+ CustomItem* pItem = new (std::nothrow) CustomItem();
+ r = pItem->Construct(Dimension(GetClientAreaBounds().width, listItemWidth), style);
+ //pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color::GetColor(COLOR_ID_WHITE));
+
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_NORMAL, Color(241, 238, 233));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED, Color(86, 135, 193));
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_HIGHLIGHTED, Color(86, 135, 193));
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Create Item Failed with error %s", GetErrorMessage(r));
+ delete pItem;
+ pItem = null ;
+ return null;
+ }
+
+ switch (index)
+ {
+ case 0:
+ {
+ pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_RECENT,CommonUtil::GetString(L"IDS_COM_BUTTON_RECENT"), true);
+ }
+ break;
+
+ case 1:
+ {
+ pItem->AddElement(Rectangle(0, 0, GetClientAreaBounds().width, listItemWidth), ID_FORMAT_TIME,CommonUtil::GetString(L"IDS_WCL_TAB_TIME"), true);
+ }
+ break;
+
+ default:
+ break;
+ }
+ return pItem;
+}
+
+bool
+SortByPopUp::DeleteItem(int index, ListItemBase* pItem, int itemWidth)
+{
+ return true;
+}
+
+int
+SortByPopUp::GetItemCount(void)
+{
+ return 2;
+}
+
+ISortByEventListener*
+SortByPopUp::GetEventListner(void)
+{
+ return __pListener;
+}
+
+void
+SortByPopUp::SetEventListner(ISortByEventListener* listner)
+{
+ __pListener = listner;
+}
+
+void
+SortByPopUp::SetDstIndex(int index)
+{
+ __pList->SetItemChecked(index,true);
+
+ if ( index == 0)
+ {
+ __pList->SetItemChecked(1,false);
+ }
+ else if (index == 1)
+ {
+ __pList->SetItemChecked(0,false);
+ }
+ __pList->Invalidate(true);
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkStopWatchForm.cpp\r
- * @brief Describes how the StopWatch works.\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkCustomColors.h"\r
-#include "ClkDataServiceProvider.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkStopWatchForm.h"\r
-#include "ClkStopWatchPresentationModel.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int IDA_BTN_START = 100;\r
-static const int IDA_BTN_LAP = 101;\r
-static const int IDA_BTN_STOP = 102;\r
-static const int IDA_BTN_RESET = 103;\r
-static const int IDA_BTN_RESTART = 104;\r
-static const int STOPWATCH_START = 105;\r
-static const int STOPWATCH_STOP = 106;\r
-static const int STOPWATCH_RESTART = 107;\r
-static const int STOPWATCH_RESET = 108;\r
-static const int IDA_TABBAR_ALARM = 200;\r
-static const int IDA_TABBAR_WORLDCLOCK= 201;\r
-static const int IDA_TABBAR_STOPWATCH = 202;\r
-static const int IDA_TABBAR_TIMER = 203;\r
-static const int ID_FORMAT_RECORD = 204;\r
-static const int ID_FORMAT_LAPNO = 205;\r
-static const int ID_FORMAT_LAPTIME = 206;\r
-static const int ID_FORMAT_LAPTIME_MILLISECONDS = 207;\r
-static const int INTERVAL = 10;\r
-\r
-StopWatchForm::StopWatchForm(void)\r
-: __checkFlag(false)\r
-, __lapTimeText("")\r
-, __milliSecondsField("00")\r
-, __pBtnLap(null)\r
-, __pBtnReset(null)\r
-, __pBtnRestart(null)\r
-, __pBtnStart(null)\r
-, __pBtnStop(null)\r
-, __pDisplayLabel(null)\r
-, __pEighthDigit(null)\r
-, __pFifthDigit(null)\r
-, __pFirstDigit(null)\r
-, __pFourthDigit(null)\r
-, __pLapTimeTextList(null)\r
-, __pList(null)\r
-, __pMillisecondLabel(null)\r
-, __pSecondDigit(null)\r
-, __pSeventhDigit(null)\r
-, __pSixthDigit(null)\r
-, __pThirdDigit(null)\r
-, __pTimer(null)\r
-, __pWatchTextList(null)\r
-, __restartTick(0)\r
-, __startTick(0)\r
-, __status(0)\r
-, __stopTick(0)\r
-, __temp(0)\r
-, __timerResetFlag(0)\r
-, __timerResetKey("timerReset")\r
-, __tmpTick(0)\r
-, __tmpTicker(0)\r
-, __watchText("00:00:00.")\r
-{\r
-\r
-}\r
-\r
-StopWatchForm::~StopWatchForm(void)\r
-{\r
- delete __pWatchTextList;\r
- __pWatchTextList = null;\r
-\r
- delete __pLapTimeTextList;\r
- __pLapTimeTextList = null;\r
-\r
-}\r
-\r
-bool\r
-StopWatchForm::Initialize(void)\r
-{\r
- Construct(L"IDL_STOP_WATCH");\r
-\r
- HeaderItem alarm;\r
- HeaderItem worldClock;\r
- HeaderItem stopWatch;\r
- HeaderItem timer;\r
- Header* pHeader = GetHeader();\r
- Bitmap* pIconBitmap = null;\r
- Bitmap* pPressedIconBitmap = null;\r
- Bitmap* pHighlightedIconBitmap = null;\r
- String timeSet;\r
- String startTick ;\r
- String tempTick;\r
- String restartTick ;\r
- String stopTick ;\r
- String tempTicker;\r
- int checkFlag = 0;\r
- StopWatchPresentationModel* pStopWatchPresentationModel = null;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
- Panel* pPanel = null;\r
-\r
- // Setup back event listener\r
- SetFormBackEventListener(this);\r
- AddOrientationEventListener(*this);\r
-\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_STOP_WATCH, *this);\r
-\r
- if (pHeader != null)\r
- {\r
- pHeader->SetStyle(HEADER_STYLE_TAB);\r
- alarm.Construct(IDA_TABBAR_ALARM);\r
- //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
-\r
- pHeader->AddItem(alarm);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- worldClock.Construct(IDA_TABBAR_WORLDCLOCK);\r
- //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
- pHeader->AddItem(worldClock);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- stopWatch.Construct(IDA_TABBAR_STOPWATCH);\r
- //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(stopWatch);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- timer.Construct(IDA_TABBAR_TIMER);\r
- //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(timer);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- pHeader->AddActionEventListener(*this);\r
- pHeader->SetTabEditModeEnabled(false);\r
- }\r
-\r
-\r
-\r
- pPanel = static_cast< Panel* >(GetControl("IDC_PANEL1"));\r
- if (pPanel != NULL)\r
- {\r
- SetControlAlwaysAtBottom(*pPanel, true);\r
- }\r
-\r
- __pList = static_cast< ListView* >(GetControl("IDC_LISTVIEW1"));\r
- if (__pList != NULL)\r
- {\r
- __pList->SetItemProvider(*this);\r
- }\r
-\r
- __pWatchTextList = new (std::nothrow) ArrayList();\r
- __pWatchTextList->Construct();\r
-\r
- __pLapTimeTextList= new (std::nothrow) ArrayList();\r
- __pLapTimeTextList->Construct();\r
-\r
- // Create Timer\r
- __pTimer = new (std::nothrow) Timer();\r
- __pTimer->Construct(*this);\r
-\r
-\r
- __pFirstDigit = static_cast< Label* >(GetControl("IDC_LABEL1"));\r
- __pSecondDigit = static_cast< Label* >(GetControl("IDC_LABEL2"));\r
- __pThirdDigit = static_cast< Label* >(GetControl("IDC_LABEL4"));\r
- __pFourthDigit = static_cast< Label* >(GetControl("IDC_LABEL5"));\r
- __pFifthDigit = static_cast< Label* >(GetControl("IDC_LABEL7"));\r
- __pSixthDigit = static_cast< Label* >(GetControl("IDC_LABEL8"));\r
- __pSeventhDigit = static_cast< Label* >(GetControl("IDC_LABEL9"));\r
- __pEighthDigit = static_cast< Label* >(GetControl("IDC_LABEL10"));\r
-\r
-\r
- // Create Buttons\r
- CreateButtons();\r
-\r
- pStopWatchPresentationModel = StopWatchPresentationModel::GetInstance();\r
- pStopWatchPresentationModel->GetStopWatchValue(__status, startTick, tempTick, restartTick, stopTick, __milliSecondsField, __watchText);\r
- LongLong::Parse(startTick, __startTick);\r
- LongLong::Parse(tempTick, __tmpTick);\r
- LongLong::Parse(restartTick, __restartTick);\r
- LongLong::Parse(stopTick, __stopTick);\r
-\r
- pStopWatchPresentationModel->GetStopWatchLaps(*__pWatchTextList, *__pLapTimeTextList, tempTicker, checkFlag);\r
- LongLong::Parse(tempTicker, __tmpTicker);\r
-\r
- if(checkFlag == 0)\r
- {\r
- __checkFlag = false;\r
- }\r
- else\r
- {\r
- __checkFlag = true;\r
- }\r
-\r
- SetButtonState();\r
-\r
- __pTimer->Start(INTERVAL);\r
-\r
- if(__pList != null)\r
- {\r
- __pList->UpdateList();\r
- }\r
-\r
- if (__status == STOPWATCH_START || __status == STOPWATCH_RESTART)\r
- {\r
- PowerManager::KeepScreenOnState(true, false);\r
- }\r
- else\r
- {\r
- PowerManager::KeepScreenOnState(false, true);\r
- }\r
-\r
- if (__status == STOPWATCH_STOP)\r
- {\r
- DisplayTimer();\r
- }\r
-\r
- UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- UiApp::GetInstance()->GetAppRegistry()->Save();\r
-\r
- return true;\r
-}\r
-\r
-result\r
-StopWatchForm::OnInitializing(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-result\r
-StopWatchForm::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
- String timeSet;\r
- String startTick;\r
- String tempTick;\r
- String restartTick ;\r
- String stopTick;\r
- String tempTicker;\r
- int checkFlag = 0;\r
- StopWatchPresentationModel* pStopWatchPresentationModel = null;\r
-\r
- UiApp::GetInstance()->GetAppRegistry()->Get(__timerResetKey, __timerResetFlag);\r
-\r
- if (__timerResetFlag != 1)\r
- {\r
- AppLog("__timerResetFlag reset");\r
- __status = STOPWATCH_RESET;\r
- __startTick = 0;\r
- __tmpTick = 0;\r
- __restartTick = 0;\r
- __stopTick = 0;\r
- __checkFlag = false;\r
- __tmpTicker = 0;\r
-\r
- __milliSecondsField.Replace(__milliSecondsField,"00");\r
- __watchText.Replace(__watchText, "00:00:00.");\r
-\r
- if (__pWatchTextList != null && __pLapTimeTextList != null)\r
- {\r
- __pWatchTextList->RemoveAll(true);\r
- __pLapTimeTextList->RemoveAll(true);\r
- }\r
- }\r
-\r
- startTick.Append(__startTick);\r
- tempTick.Append(__tmpTick);\r
- restartTick.Append(__restartTick);\r
- stopTick.Append(__stopTick);\r
- tempTicker.Append(__tmpTicker);\r
-\r
-\r
- if(__checkFlag == true)\r
- {\r
- checkFlag = 1;\r
- }\r
- else\r
- {\r
- checkFlag = 0;\r
- }\r
-\r
- pStopWatchPresentationModel = StopWatchPresentationModel::GetInstance();\r
- pStopWatchPresentationModel->SetStopWatchValue(__status, startTick, tempTick, restartTick, stopTick, __milliSecondsField, __watchText);\r
-\r
- if (__pWatchTextList != null && __pLapTimeTextList != null)\r
- {\r
- pStopWatchPresentationModel->SetStopWatchLaps(*__pWatchTextList, *__pLapTimeTextList, tempTicker, checkFlag);\r
- }\r
-\r
- if (__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- }\r
-\r
- return r;\r
-}\r
-\r
-void\r
-StopWatchForm::CreateButtons(void)\r
-{\r
- String upperStr;\r
-\r
- // Create Start Button\r
-\r
- __pBtnStart = static_cast< Button* >(GetControl("IDC_BUTTON_START"));\r
-\r
- if (__pBtnStart == NULL)\r
- {\r
- return;\r
- }\r
-\r
- __pBtnStart->SetActionId(IDA_BTN_START);\r
- __pBtnStart->AddActionEventListener(*this);\r
-\r
- CommonUtil::GetString("IDS_TMR_SK_START").ToUpper(upperStr);\r
- __pBtnStart->SetText(upperStr);\r
-\r
- // Create Record Button\r
- __pBtnLap = static_cast< Button* >(GetControl("IDC_BUTTON_LAP"));\r
-\r
- if (__pBtnLap == NULL)\r
- {\r
- return;\r
- }\r
-\r
- __pBtnLap->SetActionId(IDA_BTN_LAP);\r
- __pBtnLap->AddActionEventListener(*this);\r
-\r
- CommonUtil::GetString("IDS_SWT_BUTTON_LAP").ToUpper(upperStr);\r
- __pBtnLap->SetText(upperStr);\r
-\r
- // Create Stop Button\r
- __pBtnStop = static_cast< Button* >(GetControl("IDC_BUTTON_STOP"));\r
-\r
- if (__pBtnStop == NULL)\r
- {\r
- return;\r
- }\r
-\r
- __pBtnStop->SetActionId(IDA_BTN_STOP);\r
- __pBtnStop->AddActionEventListener(*this);\r
-\r
- CommonUtil::GetString("IDS_TMR_SK3_STOP").ToUpper(upperStr);\r
- __pBtnStop->SetText(upperStr);\r
-\r
- // Create Restart Button\r
- __pBtnRestart = static_cast< Button* >(GetControl("IDC_BUTTON_RESTART"));\r
-\r
- if (__pBtnRestart == NULL)\r
- {\r
- return;\r
- }\r
-\r
- __pBtnRestart->SetActionId(IDA_BTN_RESTART);\r
- __pBtnRestart->AddActionEventListener(*this);\r
-\r
- CommonUtil::GetString("IDS_SWT_BUTTON_RESTART").ToUpper(upperStr);\r
- __pBtnRestart->SetText(upperStr);\r
-\r
- // Create Reset Button\r
- __pBtnReset = static_cast< Button* >(GetControl("IDC_BUTTON_RESET"));\r
-\r
- if (__pBtnReset == NULL)\r
- {\r
- return;\r
- }\r
-\r
- __pBtnReset->SetActionId(IDA_BTN_RESET);\r
- __pBtnReset->AddActionEventListener(*this);\r
-\r
- CommonUtil::GetString("IDS_TMR_SK_RESET").ToUpper(upperStr);\r
- __pBtnReset->SetText(upperStr);\r
-\r
- // Set Show State\r
- __pBtnStart->SetShowState(true);\r
- __pBtnReset->SetShowState(false);\r
- __pBtnRestart->SetShowState(false);\r
- __pBtnStop->SetShowState(false);\r
- __pBtnLap->SetShowState(false);\r
-}\r
-\r
-void\r
-StopWatchForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- long long tick ;\r
- long long lapTime ;\r
- SceneManager* pSceneManager = null;\r
- Bitmap* pDisplayBitmap = null;\r
- Bitmap* pMilliSecondBitmap = null;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- SystemTime::GetTicks(tick);\r
- TimeSpan span = static_cast<long>(tick);\r
-\r
- SystemTime::GetTicks(lapTime);\r
- TimeSpan lapSpan = static_cast<long>(lapTime);\r
-\r
- AppLogDebug("StopWatchForm::OnActionPerformed actionId = %d",actionId);\r
-\r
- switch (actionId)\r
- {\r
- case IDA_BTN_START:\r
- {\r
- PowerManager::KeepScreenOnState(true, false);\r
-\r
- SystemTime::GetTicks(__startTick);\r
- __status = STOPWATCH_START;\r
- SetButtonState();\r
- __pTimer->Start(INTERVAL);\r
-\r
- break;\r
- }\r
-\r
- case IDA_BTN_STOP:\r
- {\r
- PowerManager::KeepScreenOnState(false, true);\r
-\r
- SystemTime::GetTicks(__stopTick);\r
- __status = STOPWATCH_STOP;\r
- SetButtonState();\r
- break;\r
- }\r
-\r
- case IDA_BTN_RESTART:\r
- {\r
- PowerManager::KeepScreenOnState(true, false);\r
-\r
- SystemTime::GetTicks(__restartTick);\r
-\r
- if (__status == STOPWATCH_STOP)\r
- {\r
- __tmpTick += __restartTick - __stopTick;\r
- }\r
-\r
- __status = STOPWATCH_RESTART;\r
- SetButtonState();\r
- __pTimer->Start(INTERVAL);\r
-\r
- break;\r
- }\r
-\r
- case IDA_BTN_LAP:\r
- {\r
- __temp = __tmpTicker;\r
-\r
- if (__status == STOPWATCH_START)\r
- {\r
- tick -= __startTick;\r
- __tmpTicker = tick;\r
- }\r
- else if (__status == STOPWATCH_RESTART)\r
- {\r
- tick = tick - __tmpTick - __startTick;\r
- __tmpTicker = tick;\r
- }\r
- else\r
- {\r
- return;\r
- }\r
-\r
- if ( __checkFlag == false )\r
- {\r
- lapTime = tick;\r
- }\r
- else\r
- {\r
- lapTime = tick - __temp;\r
- }\r
-\r
- __checkFlag = true;\r
-\r
- span = static_cast<long>(tick);\r
- lapSpan = static_cast<long>(lapTime);\r
-\r
- __watchText.Clear();\r
- __lapTimeText.Clear();\r
-\r
- // set Split time\r
- if (span.GetHours()< 10)\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetHours());\r
- __watchText.Append(":");\r
-\r
- if (span.GetMinutes() < 10)\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetMinutes());\r
- __watchText.Append(":");\r
-\r
- if (span.GetSeconds() < 10)\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetSeconds());\r
- __watchText.Append(".");\r
-\r
- if (span.GetMilliseconds() / 10 < 10)\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetMilliseconds() / 10);\r
-\r
- // Set Lap time\r
- if (lapSpan.GetHours()< 10)\r
- {\r
- __lapTimeText.Append("0");\r
- }\r
- __lapTimeText.Append(lapSpan.GetHours());\r
- __lapTimeText.Append(":");\r
-\r
- if (lapSpan.GetMinutes() < 10)\r
- {\r
- __lapTimeText.Append("0");\r
- }\r
- __lapTimeText.Append(lapSpan.GetMinutes());\r
- __lapTimeText.Append(":");\r
-\r
- if (lapSpan.GetSeconds() < 10)\r
- {\r
- __lapTimeText.Append("0");\r
- }\r
-\r
- __lapTimeText.Append(lapSpan.GetSeconds());\r
- __lapTimeText.Append(".");\r
-\r
- if (lapSpan.GetMilliseconds() / 10 < 10)\r
- {\r
- __lapTimeText.Append("0");\r
- }\r
- __lapTimeText.Append(lapSpan.GetMilliseconds() / 10);\r
-\r
- InsertItem();\r
- break;\r
- }\r
-\r
- case IDA_BTN_RESET:\r
- {\r
- PowerManager::KeepScreenOnState(false, true);\r
-\r
- __status = STOPWATCH_RESET;\r
- SetButtonState();\r
-\r
- __startTick = 0;\r
- __stopTick = 0;\r
- __restartTick = 0;\r
- __tmpTick = 0;\r
- __checkFlag = false;\r
- __tmpTicker = 0;\r
-\r
- __milliSecondsField.Replace(__milliSecondsField,"00");\r
- __watchText.Replace(__watchText, "00:00:00.");\r
-\r
- if (__pWatchTextList && __pLapTimeTextList)\r
- {\r
- __pWatchTextList->RemoveAll(true);\r
- __pLapTimeTextList->RemoveAll(true);\r
- __pList->UpdateList();\r
- }\r
-\r
- pDisplayBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_ZERO);\r
- __pFirstDigit->SetBackgroundBitmap(*pDisplayBitmap);\r
- __pSecondDigit->SetBackgroundBitmap(*pDisplayBitmap);\r
- __pThirdDigit->SetBackgroundBitmap(*pDisplayBitmap);\r
- __pFourthDigit->SetBackgroundBitmap(*pDisplayBitmap);\r
- __pFifthDigit->SetBackgroundBitmap(*pDisplayBitmap);\r
- __pSixthDigit->SetBackgroundBitmap(*pDisplayBitmap);\r
-\r
- pMilliSecondBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_ZERO);\r
- __pSeventhDigit->SetBackgroundBitmap(*pMilliSecondBitmap);\r
- __pEighthDigit->SetBackgroundBitmap(*pMilliSecondBitmap);\r
-\r
- delete pDisplayBitmap;\r
- pDisplayBitmap = null;\r
-\r
- delete pMilliSecondBitmap;\r
- pMilliSecondBitmap = null;\r
- Invalidate(true);\r
-\r
- break;\r
- }\r
-\r
- case IDA_TABBAR_ALARM:\r
- {\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_WORLDCLOCK:\r
- {\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_TIMER:\r
- {\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != NULL)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));\r
- }\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-StopWatchForm::SetButtonState(void)\r
-{\r
- if ( __status == STOPWATCH_START)\r
- {\r
- __pBtnRestart->SetShowState(false);\r
- __pBtnReset->SetShowState(false);\r
- __pBtnStart->SetShowState(false);\r
- __pBtnStop->SetShowState(true);\r
- __pBtnLap->SetShowState(true);\r
- }\r
- else if ( __status == STOPWATCH_RESTART)\r
- {\r
- __pBtnStart->SetShowState(false);\r
- __pBtnReset->SetShowState(false);\r
- __pBtnRestart->SetShowState(false);\r
- __pBtnStop->SetShowState(true);\r
- __pBtnLap->SetShowState(true);\r
- }\r
- else if ( __status == STOPWATCH_STOP)\r
- {\r
- __pBtnStart->SetShowState(false);\r
- __pBtnStop->SetShowState(false);\r
- __pBtnLap->SetShowState(false);\r
- __pBtnReset->SetShowState(true);\r
- __pBtnRestart->SetShowState(true);\r
- }\r
- else if ( __status == STOPWATCH_RESET)\r
- {\r
- __pBtnReset->SetShowState(false);\r
- __pBtnRestart->SetShowState(false);\r
- __pBtnStart->SetShowState(true);\r
- __pBtnStop->SetShowState(false);\r
- __pBtnLap->SetShowState(false);\r
- }\r
-}\r
-\r
-void\r
-StopWatchForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- GetHeader()->SetItemSelected(2);\r
- __pList->Invalidate(true);\r
-}\r
-\r
-void\r
-StopWatchForm::OnFormBackRequested(Form& source)\r
-{\r
- __timerResetFlag = 1;\r
- UiApp* pApp = UiApp::GetInstance();\r
- pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- pApp->GetAppRegistry()->Save();\r
- AppAssert(pApp);\r
- pApp->Terminate();\r
-}\r
-\r
-int\r
-StopWatchForm::GetItemCount(void)\r
-{\r
- int count = 0 ;\r
-\r
- if (__pWatchTextList != NULL)\r
- {\r
- count = __pWatchTextList->GetCount() ;\r
-\r
- }\r
-\r
- return count;\r
-}\r
-\r
-ListItemBase *\r
-StopWatchForm::CreateItem(int index, int itemWidth)\r
-{\r
- String* pItemText = null;\r
- String* plapTimeText = null;\r
- String lapNumber;\r
- String milliSeconds;\r
- String lapTimeRecord;\r
- int itemHeight = 112;\r
- int lapNoX = 0;\r
- int lapNoY = 24;\r
- int lapNoWidth = 75;\r
- int lapNoHeight = 64;\r
- int lapNoFont = 44;\r
- int recordX = 0;\r
- int recordY = 24;\r
- int recordWidth = 162;\r
- int recordHeight = 64;\r
- int recordFont = 30;\r
- int lapTimeX = 0;\r
- int lapTimeY = 22;\r
- int lapTimeWidth = 276;\r
- int lapTimeHeight = 64;\r
- int lapTimeFont = 64;\r
- int lapTimeMillisY = 43;\r
- int lapTimeMillisWidth = 40;\r
- int lapTimeMillisHeight = 45;\r
- int lapTimeMillisFont = 35;\r
-\r
- if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT || GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT_REVERSE)\r
- {\r
- lapNoX = 34;\r
- recordX = 154;\r
- lapTimeX = 362;\r
- }\r
- else\r
- {\r
- lapNoX = 60;\r
- recordX = 274;\r
- lapTimeX = 644;\r
- }\r
-\r
- pItemText = static_cast<String *>(__pWatchTextList->GetAt(index));\r
-\r
- plapTimeText = static_cast<String *>(__pLapTimeTextList->GetAt(index));\r
- plapTimeText->SubString(plapTimeText->GetLength() - 2, 2, milliSeconds);\r
- plapTimeText->SubString(0, plapTimeText->GetLength() - 2, lapTimeRecord);\r
-\r
- CustomItem* pItem = new (std::nothrow) CustomItem();\r
- pItem->Construct(Dimension(itemWidth,itemHeight), LIST_ANNEX_STYLE_NORMAL);\r
-\r
- int count = GetItemCount();\r
-\r
- if ( count == 1 )\r
- {\r
- lapNumber.Append(0);\r
- lapNumber.Append(1);\r
- }\r
- else\r
- {\r
- if ((count-index)/10 == 0)\r
- {\r
- lapNumber.Append(0);\r
- }\r
- lapNumber.Append(count-index);\r
- }\r
-\r
- pItem->AddElement(Rectangle(lapNoX, lapNoY, lapNoWidth, lapNoHeight), ID_FORMAT_LAPNO, lapNumber, lapNoFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);\r
- pItem->AddElement(Rectangle(recordX, recordY, recordWidth, recordHeight), ID_FORMAT_RECORD, *pItemText, recordFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);\r
- pItem->AddElement(Rectangle(lapTimeX, lapTimeY, lapTimeWidth, lapTimeHeight), ID_FORMAT_LAPTIME, lapTimeRecord, lapTimeFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);\r
- pItem->AddElement(Rectangle(lapTimeX + lapTimeWidth, lapTimeMillisY, lapTimeMillisWidth, lapTimeMillisHeight), ID_FORMAT_LAPTIME_MILLISECONDS, milliSeconds, lapTimeMillisFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED , CUSTOM_COLOR_LIST_VIEW_NORMAL);\r
-\r
- return pItem;\r
-\r
-}\r
-\r
-bool\r
-StopWatchForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-\r
-}\r
-\r
-void\r
-StopWatchForm::OnTimerExpired(Timer& timer)\r
-{\r
- SetTimer();\r
-\r
- if (__status == STOPWATCH_STOP || __status == STOPWATCH_RESET)\r
- {\r
- return;\r
- }\r
-\r
- __pTimer->Start(INTERVAL);\r
-\r
-}\r
-\r
-void\r
-StopWatchForm::SetTimer(void)\r
-{\r
- long long tick ;\r
-\r
- SystemTime::GetTicks(tick);\r
-\r
- if (__status == STOPWATCH_START)\r
- {\r
- tick -= __startTick;\r
- }\r
- else if (__status == STOPWATCH_RESTART)\r
- {\r
- tick = tick - __tmpTick - __startTick;\r
- }\r
- else\r
- {\r
- return;\r
- }\r
-\r
- TimeSpan span = static_cast<long>(tick);\r
-\r
- // Set StopWatch String\r
- __watchText.Clear();\r
- __milliSecondsField.Clear();\r
-\r
- if ( span.GetHours() < 10 )\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetHours());\r
- __watchText.Append(":");\r
-\r
- if ( span.GetMinutes() < 10 )\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetMinutes());\r
- __watchText.Append(":");\r
-\r
- if ( span.GetSeconds() < 10 )\r
- {\r
- __watchText.Append("0");\r
- }\r
- __watchText.Append(span.GetSeconds());\r
- __watchText.Append(".");\r
-\r
-\r
- if ( span.GetMilliseconds() / 10 < 10 )\r
- {\r
- __milliSecondsField.Append("0");\r
- }\r
-\r
- __milliSecondsField.Append(span.GetMilliseconds() / 10);\r
-\r
- DisplayTimer();\r
-\r
- return;\r
-}\r
-\r
-\r
-void\r
-StopWatchForm::InsertItem(void)\r
-{\r
-\r
- if ( __pWatchTextList != NULL )\r
- {\r
- __pWatchTextList->InsertAt(*(new (std::nothrow) String(__watchText)), 0);\r
- }\r
-\r
- if (__pLapTimeTextList != NULL)\r
- {\r
- __pLapTimeTextList->InsertAt(*(new (std::nothrow) String(__lapTimeText)), 0);\r
- }\r
-\r
- __pList->UpdateList();\r
-}\r
-\r
-void\r
-StopWatchForm::DisplayTimer(void)\r
-{\r
- int watchtextLength = 0;\r
- int millisecondTextLength = 0;\r
- Bitmap *pBitmap = null;\r
- wchar_t ch;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- watchtextLength = __watchText.GetLength();\r
-\r
- for(int index = 0; index < watchtextLength; index++)\r
- {\r
- __watchText.GetCharAt(index,ch);\r
- switch(ch)\r
- {\r
- case '0':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_ZERO);\r
- break;\r
- case '1':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_ONE);\r
- break;\r
- case '2':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_TWO);\r
- break;\r
- case '3':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_THREE);\r
- break;\r
- case '4':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_FOUR);\r
- break;\r
- case '5':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_FIVE);\r
- break;\r
- case '6':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SIX);\r
- break;\r
- case '7':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SEVEN);\r
- break;\r
- case '8':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_EIGHT);\r
- break;\r
- case '9':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_NINE);\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
- switch(index)\r
- {\r
- case 0:\r
- __pFirstDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 1:\r
- __pSecondDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 3:\r
- __pThirdDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 4:\r
- __pFourthDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 6:\r
- __pFifthDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 7:\r
- __pSixthDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 8:\r
- __pSeventhDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- case 9:\r
- __pEighthDigit->SetBackgroundBitmap(*pBitmap);\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
- if( pBitmap != NULL)\r
- {\r
- delete pBitmap;\r
- pBitmap = null;\r
- }\r
- }\r
-\r
- millisecondTextLength = __milliSecondsField.GetLength();\r
-\r
- for(int index = 0; index < millisecondTextLength; index++)\r
- {\r
- __milliSecondsField.GetCharAt(index,ch);\r
- switch(ch)\r
- {\r
- case '0':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_ZERO);\r
- break;\r
- case '1':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_ONE);\r
- break;\r
- case '2':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_TWO);\r
- break;\r
- case '3':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_THREE);\r
- break;\r
- case '4':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_FOUR);\r
- break;\r
- case '5':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_FIVE);\r
- break;\r
- case '6':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_SIX);\r
- break;\r
- case '7':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_SEVEN);\r
- break;\r
- case '8':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_EIGHT);\r
- break;\r
- case '9':\r
- pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_NINE);\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
- if(index == 0)\r
- {\r
- __pSeventhDigit->SetBackgroundBitmap(*pBitmap);\r
- }\r
- else if(index == 1)\r
- {\r
- __pEighthDigit->SetBackgroundBitmap(*pBitmap);\r
- }\r
-\r
- if( pBitmap != NULL)\r
- {\r
- delete pBitmap;\r
- pBitmap = null;\r
- }\r
- }\r
-\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-StopWatchForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- __pList->UpdateList();\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkStopWatchForm.cpp
+ * @brief Describes how the StopWatch works.
+ */
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+#include "ClkCommonLib.h"
+#include "ClkCustomColors.h"
+#include "ClkDataServiceProvider.h"
+#include "ClkSceneRegister.h"
+#include "ClkStopWatchForm.h"
+#include "ClkStopWatchPresentationModel.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int IDA_BTN_START = 100;
+static const int IDA_BTN_LAP = 101;
+static const int IDA_BTN_STOP = 102;
+static const int IDA_BTN_RESET = 103;
+static const int IDA_BTN_RESTART = 104;
+static const int STOPWATCH_START = 105;
+static const int STOPWATCH_STOP = 106;
+static const int STOPWATCH_RESTART = 107;
+static const int STOPWATCH_RESET = 108;
+static const int IDA_TABBAR_ALARM = 200;
+static const int IDA_TABBAR_WORLDCLOCK= 201;
+static const int IDA_TABBAR_STOPWATCH = 202;
+static const int IDA_TABBAR_TIMER = 203;
+static const int ID_FORMAT_RECORD = 204;
+static const int ID_FORMAT_LAPNO = 205;
+static const int ID_FORMAT_LAPTIME = 206;
+static const int ID_FORMAT_LAPTIME_MILLISECONDS = 207;
+static const int INTERVAL = 10;
+
+StopWatchForm::StopWatchForm(void)
+: __checkFlag(false)
+, __lapTimeText("")
+, __milliSecondsField("00")
+, __pBtnLap(null)
+, __pBtnReset(null)
+, __pBtnRestart(null)
+, __pBtnStart(null)
+, __pBtnStop(null)
+, __pDisplayLabel(null)
+, __pEighthDigit(null)
+, __pFifthDigit(null)
+, __pFirstDigit(null)
+, __pFourthDigit(null)
+, __pLapTimeTextList(null)
+, __pList(null)
+, __pMillisecondLabel(null)
+, __pSecondDigit(null)
+, __pSeventhDigit(null)
+, __pSixthDigit(null)
+, __pThirdDigit(null)
+, __pTimer(null)
+, __pWatchTextList(null)
+, __restartTick(0)
+, __startTick(0)
+, __status(0)
+, __stopTick(0)
+, __temp(0)
+, __timerResetFlag(0)
+, __timerResetKey("timerReset")
+, __tmpTick(0)
+, __tmpTicker(0)
+, __watchText("00:00:00.")
+{
+
+}
+
+StopWatchForm::~StopWatchForm(void)
+{
+ delete __pWatchTextList;
+ __pWatchTextList = null;
+
+ delete __pLapTimeTextList;
+ __pLapTimeTextList = null;
+
+}
+
+bool
+StopWatchForm::Initialize(void)
+{
+ Construct(L"IDL_STOP_WATCH");
+
+ HeaderItem alarm;
+ HeaderItem worldClock;
+ HeaderItem stopWatch;
+ HeaderItem timer;
+ Header* pHeader = GetHeader();
+ Bitmap* pIconBitmap = null;
+ Bitmap* pPressedIconBitmap = null;
+ Bitmap* pHighlightedIconBitmap = null;
+ String timeSet;
+ String startTick ;
+ String tempTick;
+ String restartTick ;
+ String stopTick ;
+ String tempTicker;
+ int checkFlag = 0;
+ StopWatchPresentationModel* pStopWatchPresentationModel = null;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+ Panel* pPanel = null;
+
+ // Setup back event listener
+ SetFormBackEventListener(this);
+ AddOrientationEventListener(*this);
+
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_STOP_WATCH, *this);
+
+ if (pHeader != null)
+ {
+ pHeader->SetStyle(HEADER_STYLE_TAB);
+ alarm.Construct(IDA_TABBAR_ALARM);
+ //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL )
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+
+ pHeader->AddItem(alarm);
+
+ if ( pIconBitmap != NULL )
+ {
+ delete pIconBitmap;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ worldClock.Construct(IDA_TABBAR_WORLDCLOCK);
+ //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+ pHeader->AddItem(worldClock);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ stopWatch.Construct(IDA_TABBAR_STOPWATCH);
+ //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL )
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(stopWatch);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ timer.Construct(IDA_TABBAR_TIMER);
+ //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL )
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(timer);
+
+ if ( pIconBitmap != NULL )
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ pHeader->AddActionEventListener(*this);
+ pHeader->SetTabEditModeEnabled(false);
+ }
+
+
+
+ pPanel = static_cast< Panel* >(GetControl("IDC_PANEL1"));
+ if (pPanel != NULL)
+ {
+ SetControlAlwaysAtBottom(*pPanel, true);
+ }
+
+ __pList = static_cast< ListView* >(GetControl("IDC_LISTVIEW1"));
+ if (__pList != NULL)
+ {
+ __pList->SetItemProvider(*this);
+ }
+
+ __pWatchTextList = new (std::nothrow) ArrayList();
+ __pWatchTextList->Construct();
+
+ __pLapTimeTextList= new (std::nothrow) ArrayList();
+ __pLapTimeTextList->Construct();
+
+ // Create Timer
+ __pTimer = new (std::nothrow) Timer();
+ __pTimer->Construct(*this);
+
+
+ __pFirstDigit = static_cast< Label* >(GetControl("IDC_LABEL1"));
+ __pSecondDigit = static_cast< Label* >(GetControl("IDC_LABEL2"));
+ __pThirdDigit = static_cast< Label* >(GetControl("IDC_LABEL4"));
+ __pFourthDigit = static_cast< Label* >(GetControl("IDC_LABEL5"));
+ __pFifthDigit = static_cast< Label* >(GetControl("IDC_LABEL7"));
+ __pSixthDigit = static_cast< Label* >(GetControl("IDC_LABEL8"));
+ __pSeventhDigit = static_cast< Label* >(GetControl("IDC_LABEL9"));
+ __pEighthDigit = static_cast< Label* >(GetControl("IDC_LABEL10"));
+
+
+ // Create Buttons
+ CreateButtons();
+
+ pStopWatchPresentationModel = StopWatchPresentationModel::GetInstance();
+ pStopWatchPresentationModel->GetStopWatchValue(__status, startTick, tempTick, restartTick, stopTick, __milliSecondsField, __watchText);
+ LongLong::Parse(startTick, __startTick);
+ LongLong::Parse(tempTick, __tmpTick);
+ LongLong::Parse(restartTick, __restartTick);
+ LongLong::Parse(stopTick, __stopTick);
+
+ pStopWatchPresentationModel->GetStopWatchLaps(*__pWatchTextList, *__pLapTimeTextList, tempTicker, checkFlag);
+ LongLong::Parse(tempTicker, __tmpTicker);
+
+ if(checkFlag == 0)
+ {
+ __checkFlag = false;
+ }
+ else
+ {
+ __checkFlag = true;
+ }
+
+ SetButtonState();
+
+ __pTimer->Start(INTERVAL);
+
+ if(__pList != null)
+ {
+ __pList->UpdateList();
+ }
+
+ if (__status == STOPWATCH_START || __status == STOPWATCH_RESTART)
+ {
+ PowerManager::KeepScreenOnState(true, false);
+ }
+ else
+ {
+ PowerManager::KeepScreenOnState(false, true);
+ }
+
+ if (__status == STOPWATCH_STOP)
+ {
+ DisplayTimer();
+ }
+
+ UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ UiApp::GetInstance()->GetAppRegistry()->Save();
+
+ return true;
+}
+
+result
+StopWatchForm::OnInitializing(void)
+{
+ return E_SUCCESS;
+}
+
+result
+StopWatchForm::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+ String timeSet;
+ String startTick;
+ String tempTick;
+ String restartTick ;
+ String stopTick;
+ String tempTicker;
+ int checkFlag = 0;
+ StopWatchPresentationModel* pStopWatchPresentationModel = null;
+
+ UiApp::GetInstance()->GetAppRegistry()->Get(__timerResetKey, __timerResetFlag);
+
+ if (__timerResetFlag != 1)
+ {
+ AppLog("__timerResetFlag reset");
+ __status = STOPWATCH_RESET;
+ __startTick = 0;
+ __tmpTick = 0;
+ __restartTick = 0;
+ __stopTick = 0;
+ __checkFlag = false;
+ __tmpTicker = 0;
+
+ __milliSecondsField.Replace(__milliSecondsField,"00");
+ __watchText.Replace(__watchText, "00:00:00.");
+
+ if (__pWatchTextList != null && __pLapTimeTextList != null)
+ {
+ __pWatchTextList->RemoveAll(true);
+ __pLapTimeTextList->RemoveAll(true);
+ }
+ }
+
+ startTick.Append(__startTick);
+ tempTick.Append(__tmpTick);
+ restartTick.Append(__restartTick);
+ stopTick.Append(__stopTick);
+ tempTicker.Append(__tmpTicker);
+
+
+ if(__checkFlag == true)
+ {
+ checkFlag = 1;
+ }
+ else
+ {
+ checkFlag = 0;
+ }
+
+ pStopWatchPresentationModel = StopWatchPresentationModel::GetInstance();
+ pStopWatchPresentationModel->SetStopWatchValue(__status, startTick, tempTick, restartTick, stopTick, __milliSecondsField, __watchText);
+
+ if (__pWatchTextList != null && __pLapTimeTextList != null)
+ {
+ pStopWatchPresentationModel->SetStopWatchLaps(*__pWatchTextList, *__pLapTimeTextList, tempTicker, checkFlag);
+ }
+
+ if (__pTimer != null)
+ {
+ __pTimer->Cancel();
+ }
+
+ return r;
+}
+
+void
+StopWatchForm::CreateButtons(void)
+{
+ String upperStr;
+
+ // Create Start Button
+
+ __pBtnStart = static_cast< Button* >(GetControl("IDC_BUTTON_START"));
+
+ if (__pBtnStart == NULL)
+ {
+ return;
+ }
+
+ __pBtnStart->SetActionId(IDA_BTN_START);
+ __pBtnStart->AddActionEventListener(*this);
+
+ CommonUtil::GetString("IDS_TMR_SK_START").ToUpper(upperStr);
+ __pBtnStart->SetText(upperStr);
+
+ // Create Record Button
+ __pBtnLap = static_cast< Button* >(GetControl("IDC_BUTTON_LAP"));
+
+ if (__pBtnLap == NULL)
+ {
+ return;
+ }
+
+ __pBtnLap->SetActionId(IDA_BTN_LAP);
+ __pBtnLap->AddActionEventListener(*this);
+
+ CommonUtil::GetString("IDS_SWT_BUTTON_LAP").ToUpper(upperStr);
+ __pBtnLap->SetText(upperStr);
+
+ // Create Stop Button
+ __pBtnStop = static_cast< Button* >(GetControl("IDC_BUTTON_STOP"));
+
+ if (__pBtnStop == NULL)
+ {
+ return;
+ }
+
+ __pBtnStop->SetActionId(IDA_BTN_STOP);
+ __pBtnStop->AddActionEventListener(*this);
+
+ CommonUtil::GetString("IDS_TMR_SK3_STOP").ToUpper(upperStr);
+ __pBtnStop->SetText(upperStr);
+
+ // Create Restart Button
+ __pBtnRestart = static_cast< Button* >(GetControl("IDC_BUTTON_RESTART"));
+
+ if (__pBtnRestart == NULL)
+ {
+ return;
+ }
+
+ __pBtnRestart->SetActionId(IDA_BTN_RESTART);
+ __pBtnRestart->AddActionEventListener(*this);
+
+ CommonUtil::GetString("IDS_SWT_BUTTON_RESTART").ToUpper(upperStr);
+ __pBtnRestart->SetText(upperStr);
+
+ // Create Reset Button
+ __pBtnReset = static_cast< Button* >(GetControl("IDC_BUTTON_RESET"));
+
+ if (__pBtnReset == NULL)
+ {
+ return;
+ }
+
+ __pBtnReset->SetActionId(IDA_BTN_RESET);
+ __pBtnReset->AddActionEventListener(*this);
+
+ CommonUtil::GetString("IDS_TMR_SK_RESET").ToUpper(upperStr);
+ __pBtnReset->SetText(upperStr);
+
+ // Set Show State
+ __pBtnStart->SetShowState(true);
+ __pBtnReset->SetShowState(false);
+ __pBtnRestart->SetShowState(false);
+ __pBtnStop->SetShowState(false);
+ __pBtnLap->SetShowState(false);
+}
+
+void
+StopWatchForm::OnActionPerformed(const Control& source, int actionId)
+{
+ long long tick ;
+ long long lapTime ;
+ SceneManager* pSceneManager = null;
+ Bitmap* pDisplayBitmap = null;
+ Bitmap* pMilliSecondBitmap = null;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ SystemTime::GetTicks(tick);
+ TimeSpan span = static_cast<long>(tick);
+
+ SystemTime::GetTicks(lapTime);
+ TimeSpan lapSpan = static_cast<long>(lapTime);
+
+ AppLogDebug("StopWatchForm::OnActionPerformed actionId = %d",actionId);
+
+ switch (actionId)
+ {
+ case IDA_BTN_START:
+ {
+ PowerManager::KeepScreenOnState(true, false);
+
+ SystemTime::GetTicks(__startTick);
+ __status = STOPWATCH_START;
+ SetButtonState();
+ __pTimer->Start(INTERVAL);
+
+ break;
+ }
+
+ case IDA_BTN_STOP:
+ {
+ PowerManager::KeepScreenOnState(false, true);
+
+ SystemTime::GetTicks(__stopTick);
+ __status = STOPWATCH_STOP;
+ SetButtonState();
+ break;
+ }
+
+ case IDA_BTN_RESTART:
+ {
+ PowerManager::KeepScreenOnState(true, false);
+
+ SystemTime::GetTicks(__restartTick);
+
+ if (__status == STOPWATCH_STOP)
+ {
+ __tmpTick += __restartTick - __stopTick;
+ }
+
+ __status = STOPWATCH_RESTART;
+ SetButtonState();
+ __pTimer->Start(INTERVAL);
+
+ break;
+ }
+
+ case IDA_BTN_LAP:
+ {
+ __temp = __tmpTicker;
+
+ if (__status == STOPWATCH_START)
+ {
+ tick -= __startTick;
+ __tmpTicker = tick;
+ }
+ else if (__status == STOPWATCH_RESTART)
+ {
+ tick = tick - __tmpTick - __startTick;
+ __tmpTicker = tick;
+ }
+ else
+ {
+ return;
+ }
+
+ if ( __checkFlag == false )
+ {
+ lapTime = tick;
+ }
+ else
+ {
+ lapTime = tick - __temp;
+ }
+
+ __checkFlag = true;
+
+ span = static_cast<long>(tick);
+ lapSpan = static_cast<long>(lapTime);
+
+ __watchText.Clear();
+ __lapTimeText.Clear();
+
+ // set Split time
+ if (span.GetHours()< 10)
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetHours());
+ __watchText.Append(":");
+
+ if (span.GetMinutes() < 10)
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetMinutes());
+ __watchText.Append(":");
+
+ if (span.GetSeconds() < 10)
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetSeconds());
+ __watchText.Append(".");
+
+ if (span.GetMilliseconds() / 10 < 10)
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetMilliseconds() / 10);
+
+ // Set Lap time
+ if (lapSpan.GetHours()< 10)
+ {
+ __lapTimeText.Append("0");
+ }
+ __lapTimeText.Append(lapSpan.GetHours());
+ __lapTimeText.Append(":");
+
+ if (lapSpan.GetMinutes() < 10)
+ {
+ __lapTimeText.Append("0");
+ }
+ __lapTimeText.Append(lapSpan.GetMinutes());
+ __lapTimeText.Append(":");
+
+ if (lapSpan.GetSeconds() < 10)
+ {
+ __lapTimeText.Append("0");
+ }
+
+ __lapTimeText.Append(lapSpan.GetSeconds());
+ __lapTimeText.Append(".");
+
+ if (lapSpan.GetMilliseconds() / 10 < 10)
+ {
+ __lapTimeText.Append("0");
+ }
+ __lapTimeText.Append(lapSpan.GetMilliseconds() / 10);
+
+ InsertItem();
+ break;
+ }
+
+ case IDA_BTN_RESET:
+ {
+ PowerManager::KeepScreenOnState(false, true);
+
+ __status = STOPWATCH_RESET;
+ SetButtonState();
+
+ __startTick = 0;
+ __stopTick = 0;
+ __restartTick = 0;
+ __tmpTick = 0;
+ __checkFlag = false;
+ __tmpTicker = 0;
+
+ __milliSecondsField.Replace(__milliSecondsField,"00");
+ __watchText.Replace(__watchText, "00:00:00.");
+
+ if (__pWatchTextList && __pLapTimeTextList)
+ {
+ __pWatchTextList->RemoveAll(true);
+ __pLapTimeTextList->RemoveAll(true);
+ __pList->UpdateList();
+ }
+
+ pDisplayBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_ZERO);
+ __pFirstDigit->SetBackgroundBitmap(*pDisplayBitmap);
+ __pSecondDigit->SetBackgroundBitmap(*pDisplayBitmap);
+ __pThirdDigit->SetBackgroundBitmap(*pDisplayBitmap);
+ __pFourthDigit->SetBackgroundBitmap(*pDisplayBitmap);
+ __pFifthDigit->SetBackgroundBitmap(*pDisplayBitmap);
+ __pSixthDigit->SetBackgroundBitmap(*pDisplayBitmap);
+
+ pMilliSecondBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_ZERO);
+ __pSeventhDigit->SetBackgroundBitmap(*pMilliSecondBitmap);
+ __pEighthDigit->SetBackgroundBitmap(*pMilliSecondBitmap);
+
+ delete pDisplayBitmap;
+ pDisplayBitmap = null;
+
+ delete pMilliSecondBitmap;
+ pMilliSecondBitmap = null;
+ Invalidate(true);
+
+ break;
+ }
+
+ case IDA_TABBAR_ALARM:
+ {
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ }
+ break;
+
+ case IDA_TABBAR_WORLDCLOCK:
+ {
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));
+ }
+ }
+ }
+ break;
+
+ case IDA_TABBAR_TIMER:
+ {
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != NULL)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));
+ }
+ }
+ break;
+
+ default:
+ break;
+ }
+}
+
+void
+StopWatchForm::SetButtonState(void)
+{
+ if ( __status == STOPWATCH_START)
+ {
+ __pBtnRestart->SetShowState(false);
+ __pBtnReset->SetShowState(false);
+ __pBtnStart->SetShowState(false);
+ __pBtnStop->SetShowState(true);
+ __pBtnLap->SetShowState(true);
+ }
+ else if ( __status == STOPWATCH_RESTART)
+ {
+ __pBtnStart->SetShowState(false);
+ __pBtnReset->SetShowState(false);
+ __pBtnRestart->SetShowState(false);
+ __pBtnStop->SetShowState(true);
+ __pBtnLap->SetShowState(true);
+ }
+ else if ( __status == STOPWATCH_STOP)
+ {
+ __pBtnStart->SetShowState(false);
+ __pBtnStop->SetShowState(false);
+ __pBtnLap->SetShowState(false);
+ __pBtnReset->SetShowState(true);
+ __pBtnRestart->SetShowState(true);
+ }
+ else if ( __status == STOPWATCH_RESET)
+ {
+ __pBtnReset->SetShowState(false);
+ __pBtnRestart->SetShowState(false);
+ __pBtnStart->SetShowState(true);
+ __pBtnStop->SetShowState(false);
+ __pBtnLap->SetShowState(false);
+ }
+}
+
+void
+StopWatchForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ GetHeader()->SetItemSelected(2);
+ __pList->Invalidate(true);
+}
+
+void
+StopWatchForm::OnFormBackRequested(Form& source)
+{
+ __timerResetFlag = 1;
+ UiApp* pApp = UiApp::GetInstance();
+ pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ pApp->GetAppRegistry()->Save();
+ AppAssert(pApp);
+ pApp->Terminate();
+}
+
+int
+StopWatchForm::GetItemCount(void)
+{
+ int count = 0 ;
+
+ if (__pWatchTextList != NULL)
+ {
+ count = __pWatchTextList->GetCount() ;
+
+ }
+
+ return count;
+}
+
+ListItemBase *
+StopWatchForm::CreateItem(int index, int itemWidth)
+{
+ String* pItemText = null;
+ String* plapTimeText = null;
+ String lapNumber;
+ String milliSeconds;
+ String lapTimeRecord;
+ int itemHeight = 112;
+ int lapNoX = 0;
+ int lapNoY = 24;
+ int lapNoWidth = 75;
+ int lapNoHeight = 64;
+ int lapNoFont = 44;
+ int recordX = 0;
+ int recordY = 24;
+ int recordWidth = 162;
+ int recordHeight = 64;
+ int recordFont = 30;
+ int lapTimeX = 0;
+ int lapTimeY = 22;
+ int lapTimeWidth = 276;
+ int lapTimeHeight = 64;
+ int lapTimeFont = 64;
+ int lapTimeMillisY = 43;
+ int lapTimeMillisWidth = 40;
+ int lapTimeMillisHeight = 45;
+ int lapTimeMillisFont = 35;
+
+ if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT || GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT_REVERSE)
+ {
+ lapNoX = 34;
+ recordX = 154;
+ lapTimeX = 362;
+ }
+ else
+ {
+ lapNoX = 60;
+ recordX = 274;
+ lapTimeX = 644;
+ }
+
+ pItemText = static_cast<String *>(__pWatchTextList->GetAt(index));
+
+ plapTimeText = static_cast<String *>(__pLapTimeTextList->GetAt(index));
+ plapTimeText->SubString(plapTimeText->GetLength() - 2, 2, milliSeconds);
+ plapTimeText->SubString(0, plapTimeText->GetLength() - 2, lapTimeRecord);
+
+ CustomItem* pItem = new (std::nothrow) CustomItem();
+ pItem->Construct(Dimension(itemWidth,itemHeight), LIST_ANNEX_STYLE_NORMAL);
+
+ int count = GetItemCount();
+
+ if ( count == 1 )
+ {
+ lapNumber.Append(0);
+ lapNumber.Append(1);
+ }
+ else
+ {
+ if ((count-index)/10 == 0)
+ {
+ lapNumber.Append(0);
+ }
+ lapNumber.Append(count-index);
+ }
+
+ pItem->AddElement(Rectangle(lapNoX, lapNoY, lapNoWidth, lapNoHeight), ID_FORMAT_LAPNO, lapNumber, lapNoFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);
+ pItem->AddElement(Rectangle(recordX, recordY, recordWidth, recordHeight), ID_FORMAT_RECORD, *pItemText, recordFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);
+ pItem->AddElement(Rectangle(lapTimeX, lapTimeY, lapTimeWidth, lapTimeHeight), ID_FORMAT_LAPTIME, lapTimeRecord, lapTimeFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);
+ pItem->AddElement(Rectangle(lapTimeX + lapTimeWidth, lapTimeMillisY, lapTimeMillisWidth, lapTimeMillisHeight), ID_FORMAT_LAPTIME_MILLISECONDS, milliSeconds, lapTimeMillisFont, Color(0,0,0), Color(0,0,0), Color(0,0,0), true);
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED , CUSTOM_COLOR_LIST_VIEW_NORMAL);
+
+ return pItem;
+
+}
+
+bool
+StopWatchForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+
+}
+
+void
+StopWatchForm::OnTimerExpired(Timer& timer)
+{
+ SetTimer();
+
+ if (__status == STOPWATCH_STOP || __status == STOPWATCH_RESET)
+ {
+ return;
+ }
+
+ __pTimer->Start(INTERVAL);
+
+}
+
+void
+StopWatchForm::SetTimer(void)
+{
+ long long tick ;
+
+ SystemTime::GetTicks(tick);
+
+ if (__status == STOPWATCH_START)
+ {
+ tick -= __startTick;
+ }
+ else if (__status == STOPWATCH_RESTART)
+ {
+ tick = tick - __tmpTick - __startTick;
+ }
+ else
+ {
+ return;
+ }
+
+ TimeSpan span = static_cast<long>(tick);
+
+ // Set StopWatch String
+ __watchText.Clear();
+ __milliSecondsField.Clear();
+
+ if ( span.GetHours() < 10 )
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetHours());
+ __watchText.Append(":");
+
+ if ( span.GetMinutes() < 10 )
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetMinutes());
+ __watchText.Append(":");
+
+ if ( span.GetSeconds() < 10 )
+ {
+ __watchText.Append("0");
+ }
+ __watchText.Append(span.GetSeconds());
+ __watchText.Append(".");
+
+
+ if ( span.GetMilliseconds() / 10 < 10 )
+ {
+ __milliSecondsField.Append("0");
+ }
+
+ __milliSecondsField.Append(span.GetMilliseconds() / 10);
+
+ DisplayTimer();
+
+ return;
+}
+
+
+void
+StopWatchForm::InsertItem(void)
+{
+
+ if ( __pWatchTextList != NULL )
+ {
+ __pWatchTextList->InsertAt(*(new (std::nothrow) String(__watchText)), 0);
+ }
+
+ if (__pLapTimeTextList != NULL)
+ {
+ __pLapTimeTextList->InsertAt(*(new (std::nothrow) String(__lapTimeText)), 0);
+ }
+
+ __pList->UpdateList();
+}
+
+void
+StopWatchForm::DisplayTimer(void)
+{
+ int watchtextLength = 0;
+ int millisecondTextLength = 0;
+ Bitmap *pBitmap = null;
+ wchar_t ch;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ watchtextLength = __watchText.GetLength();
+
+ for(int index = 0; index < watchtextLength; index++)
+ {
+ __watchText.GetCharAt(index,ch);
+ switch(ch)
+ {
+ case '0':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_ZERO);
+ break;
+ case '1':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_ONE);
+ break;
+ case '2':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_TWO);
+ break;
+ case '3':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_THREE);
+ break;
+ case '4':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_FOUR);
+ break;
+ case '5':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_FIVE);
+ break;
+ case '6':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SIX);
+ break;
+ case '7':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SEVEN);
+ break;
+ case '8':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_EIGHT);
+ break;
+ case '9':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_NINE);
+ break;
+ default:
+ break;
+ }
+
+ switch(index)
+ {
+ case 0:
+ __pFirstDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 1:
+ __pSecondDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 3:
+ __pThirdDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 4:
+ __pFourthDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 6:
+ __pFifthDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 7:
+ __pSixthDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 8:
+ __pSeventhDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ case 9:
+ __pEighthDigit->SetBackgroundBitmap(*pBitmap);
+ break;
+ default:
+ break;
+ }
+
+ if( pBitmap != NULL)
+ {
+ delete pBitmap;
+ pBitmap = null;
+ }
+ }
+
+ millisecondTextLength = __milliSecondsField.GetLength();
+
+ for(int index = 0; index < millisecondTextLength; index++)
+ {
+ __milliSecondsField.GetCharAt(index,ch);
+ switch(ch)
+ {
+ case '0':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_ZERO);
+ break;
+ case '1':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_ONE);
+ break;
+ case '2':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_TWO);
+ break;
+ case '3':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_THREE);
+ break;
+ case '4':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_FOUR);
+ break;
+ case '5':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_FIVE);
+ break;
+ case '6':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_SIX);
+ break;
+ case '7':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_SEVEN);
+ break;
+ case '8':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_EIGHT);
+ break;
+ case '9':
+ pBitmap = pAppResource->GetBitmapN(IDB_STOPWATCH_SMALL_NINE);
+ break;
+ default:
+ break;
+ }
+
+ if(index == 0)
+ {
+ __pSeventhDigit->SetBackgroundBitmap(*pBitmap);
+ }
+ else if(index == 1)
+ {
+ __pEighthDigit->SetBackgroundBitmap(*pBitmap);
+ }
+
+ if( pBitmap != NULL)
+ {
+ delete pBitmap;
+ pBitmap = null;
+ }
+ }
+
+ Invalidate(true);
+}
+
+void
+StopWatchForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ __pList->UpdateList();
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkStopWatchPresentationModel.cpp\r
- * @brief Describes how the StopWatch works.\r
- */\r
-\r
-#include <cstdlib>\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkStopWatchPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-\r
-StopWatchPresentationModel* StopWatchPresentationModel::__pInstance = NULL;\r
-\r
-StopWatchPresentationModel::StopWatchPresentationModel()\r
-:__checkFlagKey("lapCheckFlag")\r
-,__LapCountKey("stopWatchLapCount")\r
-,__millisecondTextKey("stopWatchMilliSecond")\r
-,__pAppRegistry(null)\r
-,__restartTick("stopWatchRestartTick")\r
-,__startTick("stopWatchStartTick")\r
-,__statusKey("stopWatchStatus")\r
-,__stopTick("stopWatchStopTick")\r
-,__tempTick("stopWatchTempTick")\r
-,__tmpTicker("stopWatchTmpTicker")\r
-,__watchTextKey("stopWatchText")\r
-{\r
-\r
-}\r
-\r
-StopWatchPresentationModel::~StopWatchPresentationModel()\r
-{\r
-\r
-}\r
-\r
-void\r
-StopWatchPresentationModel::SetStopWatchValue(int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& milliSecondText, String& watchText)\r
-{\r
- result r = E_FAILURE;\r
- DateTime currentTime;\r
- String currentStopWatchValue;\r
- String currentTimeValue;\r
- DataServiceProvider* pDataServiceProvider= DataServiceProvider::GetInstance();\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
-\r
- if (__pAppRegistry == null)\r
- {\r
- __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();\r
- }\r
-\r
- r = __pAppRegistry->Set(__statusKey, status);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__statusKey, status);\r
- }\r
-\r
- r = __pAppRegistry->Set(__startTick, startTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__startTick, startTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__tempTick, tempTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__tempTick, tempTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__restartTick, restartTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__restartTick, restartTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__stopTick, stopTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__stopTick, stopTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__millisecondTextKey, milliSecondText);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__millisecondTextKey, milliSecondText);\r
- }\r
-\r
- r = __pAppRegistry->Set(__watchTextKey, watchText);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__watchTextKey, watchText);\r
- }\r
-\r
- __pAppRegistry->Save();\r
-}\r
-\r
-void\r
-StopWatchPresentationModel::GetStopWatchValue(int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& milliSecondText, String& watchText)\r
-{\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue");\r
- result r = E_FAILURE;\r
- String oldTime;\r
-\r
- if (__pAppRegistry == null)\r
- {\r
- __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();\r
- }\r
-\r
- r = __pAppRegistry->Get(__statusKey, status);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__startTick, startTick);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__tempTick, tempTick);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__restartTick, restartTick);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__stopTick, stopTick);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__millisecondTextKey, milliSecondText);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__watchTextKey, watchText);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
-}\r
-\r
-void\r
-StopWatchPresentationModel::SetStopWatchLaps(ArrayList& watchTextList, ArrayList& lapTimeTextList, String& tempTicker, int& checkFlag)\r
-{\r
- result r = E_FAILURE;\r
- int watchTextCount = watchTextList.GetCount();\r
- String* watchText = null;\r
- String watchTextKey ;\r
- String* lapTimeText = null;\r
- String lapTimeTextKey;\r
-\r
- for (int count = 0; count < watchTextCount; count++)\r
- {\r
- watchTextKey.Clear();\r
- lapTimeTextKey.Clear();\r
-\r
- watchText = static_cast<String *>(watchTextList.GetAt(count));\r
- watchTextKey.Append("watchText");\r
- watchTextKey.Append(count);\r
-\r
- lapTimeText = static_cast<String *>(lapTimeTextList.GetAt(count));\r
- lapTimeTextKey.Append("lapTimeText");\r
- lapTimeTextKey.Append(count);\r
-\r
- r = __pAppRegistry->Set(watchTextKey, *watchText);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(watchTextKey, *watchText);\r
- }\r
-\r
- r = __pAppRegistry->Set(lapTimeTextKey, *lapTimeText);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(lapTimeTextKey, *lapTimeText);\r
- }\r
- }\r
-\r
- r = __pAppRegistry->Set(__LapCountKey, watchTextCount);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__LapCountKey, watchTextCount);\r
- }\r
-\r
- r = __pAppRegistry->Set(__tmpTicker, tempTicker);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__tmpTicker, tempTicker);\r
- }\r
-\r
- r = __pAppRegistry->Set(__checkFlagKey, checkFlag);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__checkFlagKey, checkFlag);\r
- }\r
- __pAppRegistry->Save();\r
-}\r
-\r
-void\r
-StopWatchPresentationModel::GetStopWatchLaps(ArrayList& lapsList, ArrayList& lapTimeTextList, String& tempTicker, int& checkFlag)\r
-{\r
- result r = E_FAILURE;\r
- int lapCount = 0;\r
- String watchTextKey ;\r
- String lapTimeTextKey;\r
- String *watchText = new String();\r
- String *lapTimeText = new String();\r
- r = __pAppRegistry->Get(__LapCountKey, lapCount);\r
-\r
- if(IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchLaps result = %s", GetErrorMessage(r));\r
- }\r
-\r
- for(int count = 0; count < lapCount; count++)\r
- {\r
- watchTextKey.Clear();\r
- lapTimeTextKey.Clear();\r
-\r
- watchTextKey.Append("watchText");\r
- watchTextKey.Append(count);\r
-\r
- lapTimeTextKey.Append("lapTimeText");\r
- lapTimeTextKey.Append(count);\r
-\r
- r = __pAppRegistry->Get(watchTextKey, *watchText);\r
-\r
- if(r == E_SUCCESS)\r
- {\r
- lapsList.InsertAt((new (std::nothrow) String(*watchText)), count);\r
- }\r
-\r
- r = __pAppRegistry->Get(lapTimeTextKey, *lapTimeText);\r
-\r
- if(r == E_SUCCESS)\r
- {\r
- lapTimeTextList.InsertAt((new (std::nothrow) String(*lapTimeText)), count);\r
- }\r
- }\r
- r = __pAppRegistry->Get(__tmpTicker, tempTicker);\r
-\r
- if(IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__checkFlagKey, checkFlag);\r
-\r
- if(IsFailed(r))\r
- {\r
- AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- delete watchText;\r
- watchText = null;\r
-\r
- delete lapTimeText;\r
- lapTimeText = null;\r
-}\r
-\r
-StopWatchPresentationModel*\r
-StopWatchPresentationModel::GetInstance(void)\r
-{\r
- if (__pInstance == null)\r
- {\r
- CreateInstance();\r
- }\r
-\r
- return __pInstance;\r
-}\r
-\r
-result\r
-StopWatchPresentationModel::Construct(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-StopWatchPresentationModel::CreateInstance(void)\r
-{\r
- __pInstance = new (std::nothrow) StopWatchPresentationModel();\r
- result r = __pInstance->Construct();\r
-\r
- if (IsFailed(r))\r
- {\r
- delete __pInstance;\r
- __pInstance = null;\r
- return;\r
- }\r
-\r
- std::atexit(DestroyInstance);\r
-}\r
-\r
-void\r
-StopWatchPresentationModel::DestroyInstance(void)\r
-{\r
- delete __pInstance;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkStopWatchPresentationModel.cpp
+ * @brief Describes how the StopWatch works.
+ */
+
+#include <cstdlib>
+#include <FApp.h>
+#include <FBase.h>
+
+#include "ClkAlarmPresentationModel.h"
+#include "ClkStopWatchPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+
+StopWatchPresentationModel* StopWatchPresentationModel::__pInstance = NULL;
+
+StopWatchPresentationModel::StopWatchPresentationModel()
+:__checkFlagKey("lapCheckFlag")
+,__LapCountKey("stopWatchLapCount")
+,__millisecondTextKey("stopWatchMilliSecond")
+,__pAppRegistry(null)
+,__restartTick("stopWatchRestartTick")
+,__startTick("stopWatchStartTick")
+,__statusKey("stopWatchStatus")
+,__stopTick("stopWatchStopTick")
+,__tempTick("stopWatchTempTick")
+,__tmpTicker("stopWatchTmpTicker")
+,__watchTextKey("stopWatchText")
+{
+
+}
+
+StopWatchPresentationModel::~StopWatchPresentationModel()
+{
+
+}
+
+void
+StopWatchPresentationModel::SetStopWatchValue(int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& milliSecondText, String& watchText)
+{
+ result r = E_FAILURE;
+ DateTime currentTime;
+ String currentStopWatchValue;
+ String currentTimeValue;
+ DataServiceProvider* pDataServiceProvider= DataServiceProvider::GetInstance();
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+
+ if (__pAppRegistry == null)
+ {
+ __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();
+ }
+
+ r = __pAppRegistry->Set(__statusKey, status);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__statusKey, status);
+ }
+
+ r = __pAppRegistry->Set(__startTick, startTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__startTick, startTick);
+ }
+
+ r = __pAppRegistry->Set(__tempTick, tempTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__tempTick, tempTick);
+ }
+
+ r = __pAppRegistry->Set(__restartTick, restartTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__restartTick, restartTick);
+ }
+
+ r = __pAppRegistry->Set(__stopTick, stopTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__stopTick, stopTick);
+ }
+
+ r = __pAppRegistry->Set(__millisecondTextKey, milliSecondText);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__millisecondTextKey, milliSecondText);
+ }
+
+ r = __pAppRegistry->Set(__watchTextKey, watchText);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__watchTextKey, watchText);
+ }
+
+ __pAppRegistry->Save();
+}
+
+void
+StopWatchPresentationModel::GetStopWatchValue(int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& milliSecondText, String& watchText)
+{
+ AppLog("StopWatchPresentationModel::GetStopWatchValue");
+ result r = E_FAILURE;
+ String oldTime;
+
+ if (__pAppRegistry == null)
+ {
+ __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();
+ }
+
+ r = __pAppRegistry->Get(__statusKey, status);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__startTick, startTick);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__tempTick, tempTick);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__restartTick, restartTick);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__stopTick, stopTick);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__millisecondTextKey, milliSecondText);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__watchTextKey, watchText);
+
+ if (IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+}
+
+void
+StopWatchPresentationModel::SetStopWatchLaps(ArrayList& watchTextList, ArrayList& lapTimeTextList, String& tempTicker, int& checkFlag)
+{
+ result r = E_FAILURE;
+ int watchTextCount = watchTextList.GetCount();
+ String* watchText = null;
+ String watchTextKey ;
+ String* lapTimeText = null;
+ String lapTimeTextKey;
+
+ for (int count = 0; count < watchTextCount; count++)
+ {
+ watchTextKey.Clear();
+ lapTimeTextKey.Clear();
+
+ watchText = static_cast<String *>(watchTextList.GetAt(count));
+ watchTextKey.Append("watchText");
+ watchTextKey.Append(count);
+
+ lapTimeText = static_cast<String *>(lapTimeTextList.GetAt(count));
+ lapTimeTextKey.Append("lapTimeText");
+ lapTimeTextKey.Append(count);
+
+ r = __pAppRegistry->Set(watchTextKey, *watchText);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(watchTextKey, *watchText);
+ }
+
+ r = __pAppRegistry->Set(lapTimeTextKey, *lapTimeText);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(lapTimeTextKey, *lapTimeText);
+ }
+ }
+
+ r = __pAppRegistry->Set(__LapCountKey, watchTextCount);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__LapCountKey, watchTextCount);
+ }
+
+ r = __pAppRegistry->Set(__tmpTicker, tempTicker);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__tmpTicker, tempTicker);
+ }
+
+ r = __pAppRegistry->Set(__checkFlagKey, checkFlag);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__checkFlagKey, checkFlag);
+ }
+ __pAppRegistry->Save();
+}
+
+void
+StopWatchPresentationModel::GetStopWatchLaps(ArrayList& lapsList, ArrayList& lapTimeTextList, String& tempTicker, int& checkFlag)
+{
+ result r = E_FAILURE;
+ int lapCount = 0;
+ String watchTextKey ;
+ String lapTimeTextKey;
+ String *watchText = new String();
+ String *lapTimeText = new String();
+ r = __pAppRegistry->Get(__LapCountKey, lapCount);
+
+ if(IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchLaps result = %s", GetErrorMessage(r));
+ }
+
+ for(int count = 0; count < lapCount; count++)
+ {
+ watchTextKey.Clear();
+ lapTimeTextKey.Clear();
+
+ watchTextKey.Append("watchText");
+ watchTextKey.Append(count);
+
+ lapTimeTextKey.Append("lapTimeText");
+ lapTimeTextKey.Append(count);
+
+ r = __pAppRegistry->Get(watchTextKey, *watchText);
+
+ if(r == E_SUCCESS)
+ {
+ lapsList.InsertAt((new (std::nothrow) String(*watchText)), count);
+ }
+
+ r = __pAppRegistry->Get(lapTimeTextKey, *lapTimeText);
+
+ if(r == E_SUCCESS)
+ {
+ lapTimeTextList.InsertAt((new (std::nothrow) String(*lapTimeText)), count);
+ }
+ }
+ r = __pAppRegistry->Get(__tmpTicker, tempTicker);
+
+ if(IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__checkFlagKey, checkFlag);
+
+ if(IsFailed(r))
+ {
+ AppLog("StopWatchPresentationModel::GetStopWatchValue result = %s", GetErrorMessage(r));
+ }
+
+ delete watchText;
+ watchText = null;
+
+ delete lapTimeText;
+ lapTimeText = null;
+}
+
+StopWatchPresentationModel*
+StopWatchPresentationModel::GetInstance(void)
+{
+ if (__pInstance == null)
+ {
+ CreateInstance();
+ }
+
+ return __pInstance;
+}
+
+result
+StopWatchPresentationModel::Construct(void)
+{
+ return E_SUCCESS;
+}
+
+void
+StopWatchPresentationModel::CreateInstance(void)
+{
+ __pInstance = new (std::nothrow) StopWatchPresentationModel();
+ result r = __pInstance->Construct();
+
+ if (IsFailed(r))
+ {
+ delete __pInstance;
+ __pInstance = null;
+ return;
+ }
+
+ std::atexit(DestroyInstance);
+}
+
+void
+StopWatchPresentationModel::DestroyInstance(void)
+{
+ delete __pInstance;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTimerForm.cpp\r
- * @brief Describes how the Timer works.\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FSystem.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkSceneRegister.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkDataServiceProvider.h"\r
-#include "ClkTimerForm.h"\r
-#include "ClkTimerPresentationModel.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int IDA_BTN_START = 100;\r
-static const int IDA_BTN_STOP = 101;\r
-static const int IDA_BTN_RESET = 102;\r
-static const int IDA_BUTTON_HOURS = 103;\r
-static const int IDA_BUTTON_MINUTES = 104;\r
-static const int IDA_BUTTON_SECONDS = 105;\r
-static const int IDA_BUTTON_0 = 106;\r
-static const int IDA_BUTTON_1 = 107;\r
-static const int IDA_BUTTON_2 = 108;\r
-static const int IDA_BUTTON_3 = 109;\r
-static const int IDA_BUTTON_4 = 110;\r
-static const int IDA_BUTTON_5 = 111;\r
-static const int IDA_BUTTON_6 = 112;\r
-static const int IDA_BUTTON_7 = 113;\r
-static const int IDA_BUTTON_8 = 114;\r
-static const int IDA_BUTTON_9 = 115;\r
-static const int IDA_BUTTON_CLR = 116;\r
-static const int TIMER_START = 117;\r
-static const int TIMER_STOP = 118;\r
-static const int TIMER_RESTART = 119;\r
-static const int TIMER_RESET = 120;\r
-static const int IDA_TABBAR_ALARM = 200;\r
-static const int IDA_TABBAR_WORLDCLOCK= 201;\r
-static const int IDA_TABBAR_STOPWATCH = 202;\r
-static const int IDA_TABBAR_TIMER = 203;\r
-static const int IDA_BTN_RESTART = 204 ;\r
-\r
-TimerForm::TimerForm(void)\r
-: __isHourSelected(false)\r
-, __isMinuteSelected(true)\r
-, __isSecondSelected(false)\r
-, __isTimerUp(false)\r
-, __pAppRegistry(null)\r
-, __pBtnHourDisplay(null)\r
-, __pBtnMinuteDisplay(null)\r
-, __pBtnReset(null)\r
-, __pBtnRestart(null)\r
-, __pBtnSecondDisplay(null)\r
-, __pBtnSetHours(null)\r
-, __pBtnSetMinutes(null)\r
-, __pBtnSetSeconds (null)\r
-, __pBtnStart(null)\r
-, __pBtnStop(null)\r
-, __pButton0(null)\r
-, __pButton1(null)\r
-, __pButton2(null)\r
-, __pButton3(null)\r
-, __pButton4(null)\r
-, __pButton5(null)\r
-, __pButton6(null)\r
-, __pButton7(null)\r
-, __pButton8(null)\r
-, __pButton9(null)\r
-, __pButtonClr(null)\r
-, __pDisplayLabel(null)\r
-, __pInputPanel(null)\r
-, __pTimer(null)\r
-, __pTimerPanel(null)\r
-, __pTimerStartedPanel(null)\r
-, __restartTick(0)\r
-, __spanHours(0)\r
-, __spanMinutes(0)\r
-, __spanSeconds(0)\r
-, __startTick(0)\r
-, __status(0)\r
-, __stopTick(0)\r
-,__timerResetFlag(0)\r
-,__timerResetKey("timerReset")\r
-, __tmpTick(0)\r
-, __userSetValue("")\r
-{\r
-\r
-}\r
-\r
-TimerForm::~TimerForm(void)\r
-{\r
-\r
-}\r
-\r
-bool\r
-TimerForm::Initialize(void)\r
-{\r
- result r = Construct(L"IDL_TIMER");\r
- AppLog("the result is %S", GetErrorMessage(r));\r
-\r
- return true;\r
-}\r
-\r
-result\r
-TimerForm::OnInitializing(void)\r
-{\r
- AppLog("TimerForm::OnInitializing");\r
- result r = E_SUCCESS;\r
-\r
- HeaderItem alarm;\r
- HeaderItem worldClock;\r
- HeaderItem stopWatch;\r
- HeaderItem timer;\r
- Header* pHeader = GetHeader();\r
- Bitmap* pIconBitmap = null;\r
- Bitmap* pPressedIconBitmap = null;\r
- Bitmap* pHighlightedIconBitmap = null;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick ;\r
- String userSetValue;\r
- String tempStr;\r
- String time;\r
- String upperStr;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
- TimerPresentationModel *pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
- DateTime remainingTime;\r
- DateTime ringingTime;\r
- int status = 0;\r
- int canvasHeight = 186;\r
- int canvasWidth = 222;\r
-\r
- // Setup back event listener\r
- SetFormBackEventListener(this);\r
- AddOrientationEventListener(*this);\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_TIMER_VIEW, *this);\r
-\r
- if (pHeader != null)\r
- {\r
- pHeader->SetStyle(HEADER_STYLE_TAB);\r
- alarm.Construct(IDA_TABBAR_ALARM);\r
- //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
-\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(alarm);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- worldClock.Construct(IDA_TABBAR_WORLDCLOCK);\r
- //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(worldClock);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if (pPressedIconBitmap != NULL)\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- stopWatch.Construct(IDA_TABBAR_STOPWATCH);\r
- //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(stopWatch);\r
- pHeader->SetItemSelected(3);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- timer.Construct(IDA_TABBAR_TIMER);\r
- //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);\r
- }\r
-\r
- if (pHighlightedIconBitmap != NULL)\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(timer);\r
- pHeader->SetItemSelected(3);\r
-\r
- if ( pIconBitmap != NULL )\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
- }\r
-\r
- pHeader->AddActionEventListener(*this);\r
- pHeader->SetTabEditModeEnabled(false);\r
-\r
- Panel* pPanel = static_cast< Panel* >(GetControl("IDC_PANEL1"));\r
- if (pPanel != NULL)\r
- {\r
- SetControlAlwaysAtBottom(*pPanel, true);\r
- }\r
-\r
- __pBtnStart = static_cast< Button* >(GetControl("IDC_BUTTON_START"));\r
-\r
- if (__pBtnStart == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnStart->SetActionId(IDA_BTN_START);\r
- __pBtnStart->AddActionEventListener(*this);\r
- SetControlAlwaysOnTop(*__pBtnStart, true);\r
-\r
- CommonUtil::GetString("IDS_TMR_SK_START").ToUpper(upperStr);\r
- __pBtnStart->SetText(upperStr);\r
-\r
- __pBtnStop = static_cast< Button* >(GetControl("IDC_BUTTON_STOP"));\r
-\r
- if (__pBtnStop == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnStop->SetActionId(IDA_BTN_STOP);\r
- __pBtnStop->AddActionEventListener(*this);\r
- __pBtnStop->SetShowState(false);\r
-\r
- CommonUtil::GetString("IDS_TMR_SK3_STOP").ToUpper(upperStr);\r
- __pBtnStop->SetText(upperStr);\r
-\r
- __pBtnReset = static_cast< Button* >(GetControl("IDC_BUTTON_RESET"));\r
-\r
- if (__pBtnReset == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnReset->SetActionId(IDA_BTN_RESET);\r
- __pBtnReset->AddActionEventListener(*this);\r
- __pBtnReset->SetShowState(false);\r
-\r
- CommonUtil::GetString("IDS_TMR_SK_RESET").ToUpper(upperStr);\r
- __pBtnReset->SetText(upperStr);\r
-\r
- __pBtnRestart = static_cast< Button* >(GetControl("IDC_BUTTON_RESTART"));\r
-\r
- if (__pBtnRestart == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnRestart->SetActionId(IDA_BTN_RESTART);\r
- __pBtnRestart->AddActionEventListener(*this);\r
- __pBtnRestart->SetShowState(false);\r
-\r
- CommonUtil::GetString("IDS_SWT_BUTTON_RESTART").ToUpper(upperStr);\r
- __pBtnRestart->SetText(upperStr);\r
-\r
- __pInputPanel = static_cast< Panel* >(GetControl("IDC_INPUT_PANEL"));\r
-\r
- if (__pInputPanel == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pTimerPanel = static_cast< Panel* >(GetControl("IDC_TIMER_PANEL"));\r
-\r
-\r
- if (__pTimerPanel == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pTimerStartedPanel = static_cast< Panel* >(GetControl("IDC_PANEL_TIMER_STARTED"));\r
-\r
-\r
- if (__pTimerStartedPanel == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pTimerStartedPanel->SetShowState(false);\r
- SetControlAlwaysAtBottom(*__pTimerStartedPanel,true);\r
- SetControlAlwaysOnTop(*__pTimerPanel,true);\r
-\r
- Bitmap* pBgNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_NORMAL_BG);\r
- Bitmap* pbgEditBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_BG);\r
-\r
- Canvas* pCanvas = null;\r
- pCanvas = new (std::nothrow) Canvas();\r
- pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvas->DrawBitmap(Point(0,0),*pBgNormalBitmap);\r
- pCanvas->DrawBitmap(Point(0,0),*pbgEditBitmap);\r
-\r
- Bitmap* pFinalBitmap = new (std::nothrow) Bitmap();\r
-\r
- if (pFinalBitmap == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvas;\r
-\r
- // TIMER STARTED PANEL CONTROLS\r
-\r
- __pBtnHourDisplay = static_cast<Button*>(__pTimerStartedPanel->GetControl("IDC_BUTTON_HOUR_DISPLAY"));\r
-\r
- if (__pBtnHourDisplay == NULL)\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
- __pBtnHourDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- __pBtnHourDisplay->SetPressedBackgroundBitmap(*pFinalBitmap);\r
- // __pBtnHourDisplay->SetColor(BUTTON_ITEM_STATUS_PRESSED,);\r
-\r
-\r
- __pBtnMinuteDisplay = static_cast<Button*>(__pTimerStartedPanel->GetControl("IDC_BUTTON_MINUTE_DISPLAY"));\r
-\r
- if (__pBtnMinuteDisplay == NULL)\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnMinuteDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- __pBtnMinuteDisplay->SetPressedBackgroundBitmap(*pFinalBitmap);\r
-\r
-\r
-\r
- __pBtnSecondDisplay = static_cast<Button*>(__pTimerStartedPanel->GetControl("IDC_BUTTON_SECOND_DISPLAY"));\r
-\r
- if (__pBtnSecondDisplay == NULL)\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
- __pBtnSecondDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- __pBtnSecondDisplay->SetPressedBackgroundBitmap(*pFinalBitmap);\r
-\r
- // TIMER PANEL CONTROLS\r
-\r
- __pBtnSetHours = static_cast<Button*>(__pTimerPanel->GetControl("IDC_BUTTON_HOURS"));\r
-\r
- if (__pBtnSetHours == NULL)\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnSetHours->SetActionId(IDA_BUTTON_HOURS);\r
- __pBtnSetHours->AddActionEventListener(*this);\r
- __pBtnSetHours->SetText(L"00");\r
- __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);\r
-\r
- Bitmap* pbgFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_FOCUS_BG);\r
- Bitmap* pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_BG);\r
-\r
- Canvas* pCanvasFocused = null;\r
- pCanvasFocused = new (std::nothrow) Canvas();\r
- pCanvasFocused->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvasFocused->DrawBitmap(Point(0,0),*pbgFocusBitmap);\r
- pCanvasFocused->DrawBitmap(Point(0,0),*pbgBitmap);\r
-\r
- Bitmap* pFinalBitmapFocused = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmapFocused != NULL)\r
- {\r
- pFinalBitmapFocused->Construct(*pCanvasFocused,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvasFocused;\r
- }\r
-\r
-\r
- __pBtnSetMinutes = static_cast<Button*>(__pTimerPanel->GetControl("IDC_BUTTON_MINUTES"));\r
-\r
- if (__pBtnSetMinutes == NULL)\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnSetMinutes->SetText(L"01");\r
- __pBtnSetMinutes->SetActionId(IDA_BUTTON_MINUTES);\r
- __pBtnSetMinutes->AddActionEventListener(*this);\r
-\r
- __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmapFocused);\r
-\r
- __pBtnSetSeconds = static_cast<Button*>(__pTimerPanel->GetControl("IDC_BUTTON_SECONDS"));\r
-\r
- if (__pBtnSetSeconds == NULL)\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pBtnSetSeconds->SetText(L"00");\r
- __pBtnSetSeconds->SetActionId(IDA_BUTTON_SECONDS);\r
- __pBtnSetSeconds->AddActionEventListener(*this);\r
- __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);\r
-\r
- __pButton0 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON0"));\r
-\r
- if ( __pButton0 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton0->SetActionId(IDA_BUTTON_0);\r
- __pButton0->AddActionEventListener(*this);\r
-\r
- __pButton1 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON1"));\r
-\r
- if ( __pButton1 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton1->SetActionId(IDA_BUTTON_1);\r
- __pButton1->AddActionEventListener(*this);\r
-\r
-\r
- __pButton2 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON2"));\r
-\r
- if ( __pButton2 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton2->SetActionId(IDA_BUTTON_2);\r
- __pButton2->AddActionEventListener(*this);\r
-\r
-\r
- __pButton3 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON3"));\r
-\r
- if ( __pButton3 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton3->SetActionId(IDA_BUTTON_3);\r
- __pButton3->AddActionEventListener(*this);\r
-\r
-\r
- __pButton4 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON4"));\r
-\r
- if ( __pButton4 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton4->SetActionId(IDA_BUTTON_4);\r
- __pButton4->AddActionEventListener(*this);\r
-\r
- __pButton5 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON5"));\r
-\r
- if ( __pButton5 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton5->SetActionId(IDA_BUTTON_5);\r
- __pButton5->AddActionEventListener(*this);\r
-\r
-\r
- __pButton6 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON6"));\r
-\r
- if ( __pButton6 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton6->SetActionId(IDA_BUTTON_6);\r
- __pButton6->AddActionEventListener(*this);\r
-\r
- __pButton7 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON7"));\r
-\r
- if ( __pButton7 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton7->SetActionId(IDA_BUTTON_7);\r
- __pButton7->AddActionEventListener(*this);\r
-\r
- __pButton8 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON8"));\r
-\r
- if ( __pButton8 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton8->SetActionId(IDA_BUTTON_8);\r
- __pButton8->AddActionEventListener(*this);\r
-\r
- __pButton9 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON9"));\r
-\r
- if ( __pButton9 == NULL )\r
- {\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButton9->SetActionId(IDA_BUTTON_9);\r
- __pButton9->AddActionEventListener(*this);\r
-\r
- __pButtonClr = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON_CLR"));\r
-\r
- if ( __pButtonClr == NULL )\r
- {\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return E_FAILURE;\r
- }\r
-\r
- __pButtonClr->SetActionId(IDA_BUTTON_CLR);\r
- __pButtonClr->AddActionEventListener(*this);\r
-\r
- // Create Timer\r
- __pTimer = new (std::nothrow) Timer();\r
- __pTimer->Construct(*this);\r
-\r
- String registeredTime;\r
- pTimerPresentationModel->GetTimerValue(ringingTime, time, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
- LongLong::Parse(startTick, __startTick);\r
- LongLong::Parse(tempTick, __tmpTick);\r
- LongLong::Parse(restartTick, __restartTick);\r
- LongLong::Parse(stopTick, __stopTick);\r
- __status = status;\r
- __userSetValue.Clear();\r
- __userSetValue.Append(userSetValue);\r
- DateTime::Parse(time, remainingTime);\r
- DateTime::Parse(registeredTime, __registeredTime);\r
-\r
- if(__status == TIMER_STOP || __status == 0 || __status == TIMER_RESET)\r
- {\r
- AppLog("remainingTime = %ls", remainingTime.ToString().GetPointer());\r
- __spanHours = remainingTime.GetHour();\r
- __spanMinutes = remainingTime.GetMinute();\r
- __spanSeconds = remainingTime.GetSecond();\r
- }\r
- else\r
- {\r
- __spanHours = ringingTime.GetHour();\r
- __spanMinutes = ringingTime.GetMinute();\r
- __spanSeconds = ringingTime.GetSecond();\r
-\r
- }\r
-\r
- AppLog("stopTick = %lld __status = %d remainingTime = %ls ringingTime = %ls", __stopTick, __status, remainingTime.ToString().GetPointer(), ringingTime.ToString().GetPointer());\r
- if ( __status == TIMER_START || __status == TIMER_RESTART || __status == TIMER_STOP)\r
- {\r
-\r
- if (__pBtnHourDisplay != null)\r
- {\r
-\r
- if (__spanHours < 10)\r
- {\r
- tempStr.Append("0");\r
- }\r
-\r
- tempStr.Append(__spanHours);\r
- __pBtnHourDisplay->SetText(tempStr);\r
- }\r
-\r
- if (__pBtnMinuteDisplay != null)\r
- {\r
- tempStr.Clear();\r
-\r
- if (__spanMinutes < 10)\r
- {\r
- tempStr.Append("0");\r
- }\r
-\r
- tempStr.Append(__spanMinutes);\r
- __pBtnMinuteDisplay->SetText(tempStr);\r
- }\r
-\r
- if (__pBtnSecondDisplay != null)\r
- {\r
- tempStr.Clear();\r
-\r
- if (__spanSeconds < 10)\r
- {\r
- tempStr.Append("0");\r
- }\r
-\r
- tempStr.Append(__spanSeconds);\r
- __pBtnSecondDisplay->SetText(tempStr);\r
- }\r
-\r
- }\r
- else\r
- {\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- tempStr.Clear();\r
- if (__spanHours < 10)\r
- {\r
- tempStr.Append("0");\r
- }\r
- tempStr.Append(__spanHours);\r
- __pBtnSetHours->SetText(tempStr);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- tempStr.Clear();\r
- if (__spanMinutes < 10)\r
- {\r
- tempStr.Append("0");\r
- }\r
- tempStr.Append(__spanMinutes);\r
- __pBtnSetMinutes->SetText(tempStr);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- tempStr.Clear();\r
- if (__spanSeconds < 10)\r
- {\r
- tempStr.Append("0");\r
- }\r
- tempStr.Append(__spanSeconds);\r
- __pBtnSetSeconds->SetText(tempStr);\r
- }\r
-\r
- }\r
-\r
- if(status == TIMER_START)\r
- {\r
- SetButtonState();\r
- DisplayTimer();\r
- __pTimer->Start(1);\r
- __pTimerStartedPanel->SetShowState(true);\r
- }\r
- else if(status == TIMER_RESTART)\r
- {\r
- SetButtonState();\r
- DisplayTimer();\r
- __pTimer->Start(1);\r
- __pTimerStartedPanel->SetShowState(true);\r
- }\r
- else if(status == TIMER_RESET)\r
- {\r
- SetButtonState();\r
- DisplayTimer();\r
- __pTimerStartedPanel->SetShowState(false);\r
- __startTick = 0;\r
- __stopTick = 0;\r
- __restartTick = 0;\r
- __tmpTick = 0;\r
-\r
- if ( __pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)\r
- {\r
- if ( __pBtnSetHours->GetText() == "00" && __pBtnSetMinutes->GetText() == "00" && __pBtnSetSeconds->GetText() == "00")\r
- {\r
- __pBtnSetHours->SetText(L"00");\r
- __pBtnSetMinutes->SetText(L"01");\r
- __pBtnSetSeconds->SetText(L"00");\r
- }\r
- }\r
- }\r
- else if(status == TIMER_STOP || status == 0)\r
- {\r
- SetButtonState();\r
- DisplayTimer();\r
- if ( status == 0 && __pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)\r
- {\r
- if ( __pBtnSetHours->GetText() == "00" && __pBtnSetMinutes->GetText() == "00" && __pBtnSetSeconds->GetText() == "00")\r
- {\r
- __pBtnSetHours->SetText(L"00");\r
- __pBtnSetMinutes->SetText(L"01");\r
- __pBtnSetSeconds->SetText(L"00");\r
- }\r
- }\r
- }\r
-\r
- UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- UiApp::GetInstance()->GetAppRegistry()->Save();\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- return r;\r
-}\r
-\r
-\r
-result\r
-TimerForm::OnTerminating(void)\r
-{\r
- AppLog("TimerForm::OnAppTerminating");\r
- result r = E_SUCCESS;\r
- DateTime remainingTime;\r
- String timeSet = L"";\r
- String startTick = L"";\r
- String tempTick = L"";\r
- String restartTick = L"";\r
- String stopTick = L"";\r
- String registeredTime;\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
-\r
- UiApp::GetInstance()->GetAppRegistry()->Get(__timerResetKey, __timerResetFlag);\r
-\r
- if (__timerResetFlag != 1)\r
- {\r
- __status = TIMER_RESET;\r
- __startTick = 0;\r
- __tmpTick = 0;\r
- __restartTick = 0;\r
- __stopTick = 0;\r
- remainingTime.SetValue(9999,1,1);\r
- }\r
- else\r
- {\r
- AppLog("__status = %d", __status);\r
- if (__status == 0 || __status == TIMER_RESET)\r
- {\r
- int hours, min, sec;\r
- Integer::Parse(__pBtnSetHours->GetText(), hours);\r
- Integer::Parse(__pBtnSetMinutes->GetText(), min);\r
- Integer::Parse(__pBtnSetSeconds->GetText(), sec);\r
-\r
- remainingTime.AddHours(hours);\r
- remainingTime.AddMinutes(min);\r
- remainingTime.AddSeconds(sec);\r
-\r
- AppLog("remainingTime = %ls", remainingTime.ToString().GetPointer());\r
- }\r
- else\r
- {\r
- remainingTime.AddHours(__spanHours);\r
- remainingTime.AddMinutes(__spanMinutes);\r
- remainingTime.AddSeconds(__spanSeconds);\r
- }\r
- }\r
-\r
- startTick.Append(__startTick);\r
- tempTick.Append(__tmpTick);\r
- restartTick.Append(__restartTick);\r
- stopTick.Append(__stopTick);\r
- registeredTime.Append(__registeredTime.ToString());\r
- pTimerPresentationModel->SetTimerValue(remainingTime, __status, startTick, tempTick, restartTick, stopTick, __userSetValue, registeredTime);\r
- AppLog("remainingTime = %ls __status = %d", remainingTime.ToString().GetPointer(), __status);\r
-\r
- if (__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- }\r
-\r
- return r;\r
-}\r
-\r
-void\r
-TimerForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- result r = E_FAILURE;\r
- SceneManager* pSceneManager = null;\r
- long long tick ;\r
- int canvasWidth = 222;\r
- int canvasHeight = 186;\r
-\r
- TimeSpan uptime(0);\r
- SystemTime::GetUptime(uptime);\r
-\r
- tick = uptime.GetTicks();\r
- TimeSpan span = static_cast<long>(tick);\r
-\r
-\r
- Bitmap* pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_NORMAL_BG);\r
- Bitmap* pbgEditBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_BG);\r
- Bitmap* pbgFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_FOCUS_BG);\r
-\r
- Canvas* pCanvas = null;\r
- pCanvas = new (std::nothrow) Canvas();\r
- pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvas->DrawBitmap(Point(0,0),*pbgBitmap);\r
- pCanvas->DrawBitmap(Point(0,0),*pbgEditBitmap);\r
-\r
- Bitmap* pFinalBitmap = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmap != NULL)\r
- {\r
- pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvas;\r
- }\r
-\r
- Canvas* pCanvasFocused = null;\r
- pCanvasFocused = new (std::nothrow) Canvas();\r
- pCanvasFocused->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvasFocused->DrawBitmap(Point(0,0),*pbgFocusBitmap);\r
- pCanvasFocused->DrawBitmap(Point(0,0),*pbgEditBitmap);\r
-\r
- Bitmap* pFinalBitmapFocused = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmapFocused != NULL)\r
- {\r
- pFinalBitmapFocused->Construct(*pCanvasFocused,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvasFocused;\r
- }\r
-\r
- switch (actionId)\r
- {\r
- case IDA_TABBAR_ALARM:\r
- {\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_WORLDCLOCK:\r
- {\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));\r
- }\r
- }\r
-\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_STOPWATCH:\r
- {\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != NULL)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH));\r
- }\r
- }\r
- break;\r
-\r
- case IDA_BTN_START:\r
- {\r
- __status = TIMER_START;\r
-\r
- int hours = 0;\r
- int minutes = 0;\r
- int seconds = 0;\r
- String strHours;\r
- String strMinutes;\r
- String strSeconds;\r
- DateTime date;\r
- DateTime currentTime;\r
- String *str1 = null;\r
- String *str2 = null;\r
- int cmp = 0;\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- r = __pTimer->Start(1);\r
- AppLog("result = %s", GetErrorMessage(r));\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- strHours = __pBtnSetHours->GetText();\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- strMinutes = __pBtnSetMinutes->GetText();\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- strSeconds = __pBtnSetSeconds->GetText();\r
- }\r
-\r
- __userSetValue.Clear();\r
- __userSetValue.Append(strHours);\r
- __userSetValue.Append(":");\r
- __userSetValue.Append(strMinutes);\r
- __userSetValue.Append(":");\r
- __userSetValue.Append(strSeconds);\r
-\r
- Integer::Parse(strHours,hours);\r
- Integer::Parse(strMinutes,minutes);\r
- Integer::Parse(strSeconds,seconds);\r
-\r
- SystemTime::GetCurrentTime(date);\r
- uptime = date.GetTime();\r
- __startTick = uptime.GetTicks() + hours*60*60*1000 + minutes*60*1000 + seconds*1000 ;\r
- SetButtonState();\r
- DisplayTimer();\r
- __pTimerStartedPanel->SetShowState(true);\r
-\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- __registeredTime = currentTime;\r
-\r
- AppLog("hours = %d minutes = %d seconds = %d", hours, minutes, seconds);\r
- __registeredTime.AddHours(hours);\r
- __registeredTime.AddMinutes(minutes);\r
- __registeredTime.AddSeconds(seconds);\r
- cmp = DateTime::Compare(currentTime, __registeredTime);\r
- AppLog("currentTime = %ls timerTime = %ls", currentTime.ToString().GetPointer(), __registeredTime.ToString().GetPointer());\r
-\r
- if(cmp <=0)\r
- {\r
- AppLog("came here");\r
- str1 = new (std::nothrow) String(pApp->GetAppId());\r
-\r
- if (str1 == null)\r
- {\r
- return;\r
- }\r
-\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- delete str1;\r
- str1 = null;\r
-\r
- return;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(__registeredTime.ToString());\r
- str2->Append("'");\r
-\r
- String *timerType = new String("Timer");\r
- ArrayList* pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(timerType);\r
- }\r
- pAppManager->RegisterAppLaunch(*str1,*str2, pArgList, AppManager::LAUNCH_OPTION_DEFAULT);\r
- AppLog("Reg __registeredTime = %ls", __registeredTime.ToString().GetPointer());\r
-\r
- if (str1 != null)\r
- {\r
- delete str1;\r
- str1 = null;\r
- }\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_BTN_RESET:\r
- {\r
- String *str2 = null;\r
- App* pApp = App::GetInstance();\r
- AppManager* pAppManager = AppManager::GetInstance();\r
-\r
- __status = TIMER_RESET;\r
- SetButtonState();\r
- __pTimerStartedPanel->SetShowState(false);\r
- __startTick = 0;\r
- __stopTick = 0;\r
- __restartTick = 0;\r
- __tmpTick = 0;\r
-\r
-\r
- if ( __pBtnSetHours != null && __pBtnSetHours->GetText().IsEmpty())\r
- {\r
- __pBtnSetHours->SetText(L"00");\r
-\r
-\r
- if ( __pBtnSetMinutes != null )\r
- {\r
- __pBtnSetMinutes->SetText(L"01");\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetText(L"00");\r
- }\r
-\r
- }\r
-\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- return;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(__registeredTime.ToString());\r
- str2->Append("'");\r
- pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);\r
-\r
- AppLog("UnReg __registeredTime = %ls", __registeredTime.ToString().GetPointer());\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
- break;\r
-\r
- case IDA_BTN_RESTART:\r
- {\r
- DateTime date;\r
- DateTime currentTime;\r
- DateTime __timerTime;\r
- String *str1 = null;\r
- String *str2 = null;\r
- int cmp = 0;\r
- int hours = 0;\r
- int minutes = 0;\r
- int seconds = 0;\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- __pTimer->Start(1);\r
-\r
- SystemTime::GetCurrentTime(date);\r
- uptime = date.GetTime();\r
-\r
- __restartTick = uptime.GetTicks();\r
-\r
- if (__status == TIMER_STOP)\r
- {\r
- __tmpTick += __restartTick - __stopTick;\r
- }\r
- __status = TIMER_RESTART;\r
-\r
- SetButtonState();\r
-\r
-\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- __registeredTime = currentTime;\r
-\r
- AppLog("hours = %d minutes = %d seconds = %d", hours, minutes, seconds);\r
- Integer::Parse(__pBtnHourDisplay->GetText(),hours);\r
- Integer::Parse(__pBtnMinuteDisplay->GetText(),minutes);\r
- Integer::Parse(__pBtnSecondDisplay->GetText(),seconds);\r
-\r
- __registeredTime.AddHours(hours);\r
- __registeredTime.AddMinutes(minutes);\r
- __registeredTime.AddSeconds(seconds);\r
- cmp = DateTime::Compare(currentTime, __registeredTime);\r
- AppLog("currentTime = %ls timerTime = %ls", currentTime.ToString().GetPointer(), __timerTime.ToString().GetPointer());\r
-\r
- if(cmp <=0)\r
- {\r
- AppLog("came here");\r
- str1 = new (std::nothrow) String(pApp->GetAppId());\r
-\r
- if (str1 == null)\r
- {\r
- return;\r
- }\r
-\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- delete str1;\r
- str1 = null;\r
-\r
- return;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(__registeredTime.ToString());\r
- str2->Append("'");\r
-\r
- String *timerType = new String("Timer");\r
- ArrayList* pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(timerType);\r
- }\r
- pAppManager->RegisterAppLaunch(*str1,*str2, pArgList, AppManager::LAUNCH_OPTION_DEFAULT);\r
- AppLog("Reg __registeredTime = %ls", __registeredTime.ToString().GetPointer());\r
-\r
- if (str1 != null)\r
- {\r
- delete str1;\r
- str1 = null;\r
- }\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_BTN_STOP:\r
- {\r
- AppManager* pAppManager = AppManager::GetInstance();\r
- App* pApp = App::GetInstance();\r
- String* str2 = null;\r
- DateTime date;\r
- SystemTime::GetCurrentTime(date);\r
- uptime = date.GetTime();\r
- __stopTick = uptime.GetTicks();\r
- __status = TIMER_STOP;\r
- SetButtonState();\r
-\r
- str2 = new (std::nothrow) String("DateTime=");\r
-\r
- if (str2 == null)\r
- {\r
- return;\r
- }\r
-\r
- str2->Append("'");\r
- str2->Append(__registeredTime.ToString());\r
- str2->Append("'");\r
- pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);\r
-\r
- AppLog("UnReg __registeredTime = %ls", __registeredTime.ToString().GetPointer());\r
-\r
- if (str2 != null)\r
- {\r
- delete str2;\r
- str2 = null;\r
- }\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_HOURS:\r
- {\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmapFocused);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- __isHourSelected = true ;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = false ;\r
- __inputText.Clear();\r
- Invalidate(true);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_MINUTES:\r
- {\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmapFocused);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- __inputText.Clear();\r
- Invalidate(true);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_SECONDS:\r
- {\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmapFocused);\r
- }\r
-\r
- __isHourSelected = false ;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true ;\r
- __inputText.Clear();\r
- Invalidate(true);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_0:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(0);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_1:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(1);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_2:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(2);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_3:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(3);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
- case IDA_BUTTON_4:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(4);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
- case IDA_BUTTON_5:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(5);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
- case IDA_BUTTON_6:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(6);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
- case IDA_BUTTON_7:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(7);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
-\r
- case IDA_BUTTON_8:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(8);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
- case IDA_BUTTON_9:\r
- {\r
- if(__inputText.GetLength() == 2)\r
- {\r
- if(__isHourSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = true;\r
- __isSecondSelected = false;\r
- }\r
- else if(__isMinuteSelected == true)\r
- {\r
- __isHourSelected = false;\r
- __isMinuteSelected = false;\r
- __isSecondSelected = true;\r
- }\r
- __inputText.Clear();\r
- }\r
- __inputText.Append(9);\r
- SetTimer(__inputText);\r
- }\r
- break;\r
- case IDA_BUTTON_CLR:\r
- {\r
- String check = L"00";\r
-\r
- if ( __isHourSelected == true && __pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetText(L"00");\r
- }\r
- else if ( __isMinuteSelected == true && __pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetText(L"00");\r
- }\r
- else if (__isSecondSelected == true && __pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetText(L"00");\r
- }\r
-\r
- if (__pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)\r
- {\r
- if ( __pBtnSetHours->GetText() == check && __pBtnSetMinutes->GetText() == check && __pBtnSetSeconds->GetText() == check)\r
- {\r
- __pBtnStart->SetEnabled(false);\r
- }\r
- else\r
- {\r
- __pBtnStart->SetEnabled(true);\r
- }\r
- }\r
-\r
- Invalidate(true);\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
- if (__inputText.GetLength() == 2)\r
- {\r
- if ( __isHourSelected == true )\r
- {\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmapFocused);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- }\r
- else if ( __isMinuteSelected == true)\r
- {\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmap);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmapFocused);\r
- }\r
-\r
- }\r
- }\r
-\r
- if (pFinalBitmapFocused != null)\r
- {\r
- delete pFinalBitmapFocused;\r
- pFinalBitmapFocused = null;\r
- }\r
-\r
- if (pFinalBitmap != null)\r
- {\r
- delete pFinalBitmap;\r
- pFinalBitmap = null;\r
- }\r
-}\r
-\r
-\r
-void\r
-TimerForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- if (previousSceneId == IDSCN_TIMER_RINGING || previousSceneId == IDSCN_TIMER_RINGING_LOCK)\r
- {\r
- String textHour, textMinute, textSecond;\r
- __userSetValue.SubString(0,2,textHour);\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetText(textHour);\r
- }\r
-\r
- __userSetValue.SubString(3,2,textMinute);\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetText(textMinute);\r
- }\r
-\r
- __userSetValue.SubString(6,2,textSecond);\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetText(textSecond);\r
- }\r
-\r
- __tmpTick = 0;\r
- }\r
-\r
- if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT)\r
- {\r
- __pBtnHourDisplay->SetTextSize(130);\r
- __pBtnMinuteDisplay->SetTextSize(130);\r
- __pBtnSecondDisplay->SetTextSize(130);\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetTextSize(130);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetTextSize(130);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetTextSize(130);\r
- }\r
-\r
- }\r
- else\r
- {\r
- __pBtnHourDisplay->SetTextSize(110);\r
- __pBtnMinuteDisplay->SetTextSize(110);\r
- __pBtnSecondDisplay->SetTextSize(110);\r
-\r
- if (__pBtnSetHours != null)\r
- {\r
- __pBtnSetHours->SetTextSize(110);\r
- }\r
-\r
- if (__pBtnSetMinutes != null)\r
- {\r
- __pBtnSetMinutes->SetTextSize(110);\r
- }\r
-\r
- if (__pBtnSetSeconds != null)\r
- {\r
- __pBtnSetSeconds->SetTextSize(110);\r
- }\r
- }\r
-\r
- GetHeader()->SetItemSelected(3);\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-TimerForm::OnFormBackRequested(Form& source)\r
-{\r
- __timerResetFlag = 1;\r
- UiApp* pApp = UiApp::GetInstance();\r
- pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- pApp->GetAppRegistry()->Save();\r
- AppAssert(pApp);\r
- pApp->Terminate();\r
-}\r
-\r
-void\r
-TimerForm::OnTimerExpired(Timer& timer)\r
-{\r
- ArrayList *pArgList = null;\r
- String *str = null;\r
-\r
- TimerPresentationModel::GetInstance()->userValue = __userSetValue;\r
- if (__status == TIMER_STOP || __status == TIMER_RESET)\r
- {\r
- DisplayTimer();\r
- return;\r
- }\r
-\r
- if ( __isTimerUp == false )\r
- {\r
- __pTimer->Start(100);\r
- DisplayTimer();\r
- }\r
- else\r
- {\r
- printf("OnTimerExired : Time is up!\n");\r
- //DisplayTimer();\r
- bool isScreenOn = PowerManager::IsScreenOn();\r
- __pInputPanel->SetShowState(true);\r
- __pTimerPanel->SetShowState(true);\r
- __pTimerStartedPanel->SetShowState(false);\r
- __pBtnStop->SetShowState(false);\r
- __pBtnReset->SetShowState(false);\r
- __pBtnStart->SetShowState(true);\r
- __status = 0;\r
- __isTimerUp = false;\r
-#if 0\r
- if (__pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)\r
- {\r
- str = new (std::nothrow) String();\r
- str->Append(__pBtnSetHours->GetText());\r
- str->Append(":");\r
- str->Append(__pBtnSetMinutes->GetText());\r
- str->Append(":");\r
- str->Append(__pBtnSetSeconds->GetText());\r
- pArgList = new (std::nothrow) ArrayList();\r
-\r
- if (pArgList != null)\r
- {\r
- pArgList->Construct();\r
- pArgList->Add(*str);\r
- }\r
-\r
- __pBtnSetHours->SetText(L"00");\r
- __pBtnSetMinutes->SetText(L"01");\r
- __pBtnSetSeconds->SetText(L"00");\r
- }\r
-\r
- if (pArgList != null)\r
- {\r
- AppLog("TimerForm::OnTimerExpired timerTimeCheck");\r
- if( isScreenOn )\r
- {\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING), pArgList);\r
- }\r
- else\r
- {\r
- PowerManager::TurnScreenOn();\r
- AppManager* pAppMgr = AppManager::GetInstance();\r
- pAppMgr->LaunchApplication(L"PhYwYqDa1I",null);\r
- PowerManager::KeepScreenOnState(true,false);\r
- SceneManager::GetInstance()->GoForward(ForwardSceneTransition(IDSCN_TIMER_RINGING_LOCK), pArgList);\r
- }\r
-\r
- pArgList->RemoveAll(true);\r
- delete pArgList;\r
- pArgList = null;\r
- }\r
-#endif\r
- }\r
-}\r
-\r
-void\r
-TimerForm::SetTimer(const String &inputval)\r
-{\r
- wchar_t ch1, ch2;\r
- String buttonText;\r
- String check = L"00";\r
-\r
- if (__inputText.GetLength() == 1)\r
- {\r
- buttonText.Append("0");\r
- buttonText.Append(__inputText);\r
- }\r
- else\r
- {\r
- buttonText.Append(__inputText);\r
- }\r
-\r
- buttonText.GetCharAt(0, ch1);\r
- buttonText.GetCharAt(1, ch2);\r
-\r
- if ((ch1 == '6' || ch1 == '7' || ch1 == '8' || ch1 == '9') && (__isHourSelected == false))\r
- {\r
- __inputText.Clear();\r
- __inputText.Append("59");\r
-\r
- if ( __isHourSelected == true )\r
- {\r
- __pBtnSetHours->SetText(__inputText);\r
- }\r
- else if ( __isMinuteSelected == true)\r
- {\r
- __pBtnSetMinutes->SetText(__inputText);\r
- }\r
- else if ( __isSecondSelected == true)\r
- {\r
- __pBtnSetSeconds->SetText(__inputText);\r
- }\r
- }\r
- else\r
- {\r
- if ( __isHourSelected == true )\r
- {\r
- __pBtnSetHours->SetText(buttonText);\r
- }\r
- else if ( __isMinuteSelected == true)\r
- {\r
- __pBtnSetMinutes->SetText(buttonText);\r
- }\r
- else if ( __isSecondSelected == true)\r
- {\r
- __pBtnSetSeconds->SetText(buttonText);\r
- }\r
- }\r
-\r
- if ( __pBtnSetHours->GetText() == check && __pBtnSetMinutes->GetText() == check && __pBtnSetSeconds->GetText() == check)\r
- {\r
- __pBtnStart->SetEnabled(false);\r
- }\r
- else\r
- {\r
- __pBtnStart->SetEnabled(true);\r
- }\r
-\r
- DisplayTimer();\r
- Invalidate(true);\r
-}\r
-\r
-\r
-void\r
-TimerForm::SetButtonState(void)\r
-{\r
- if ( __status == TIMER_START)\r
- {\r
- __pBtnStart->SetShowState(false);\r
- __pBtnStop->SetShowState(true);\r
- __pBtnReset->SetShowState(true);\r
- __pBtnRestart->SetShowState(false);\r
- __pInputPanel->SetShowState(false);\r
- __pTimerPanel->SetShowState(false);\r
- __pTimerStartedPanel->SetShowState(true);\r
- }\r
- else if ( __status == TIMER_RESTART)\r
- {\r
- __pBtnStart->SetShowState(false);\r
- __pBtnStop->SetShowState(true);\r
- __pBtnRestart->SetShowState(false);\r
- __pBtnReset->SetShowState(true);\r
- __pInputPanel->SetShowState(false);\r
- __pTimerPanel->SetShowState(false);\r
- __pTimerStartedPanel->SetShowState(true);\r
-\r
- }\r
- else if ( __status == TIMER_STOP)\r
- {\r
- __pBtnStart->SetShowState(false);\r
- __pBtnStop->SetShowState(false);\r
- __pBtnRestart->SetShowState(true);\r
- __pBtnReset->SetShowState(true);\r
- __pInputPanel->SetShowState(false);\r
- __pTimerPanel->SetShowState(false);\r
- __pTimerStartedPanel->SetShowState(true);\r
- }\r
- else if ( __status == TIMER_RESET)\r
- {\r
- __pBtnStart->SetShowState(true);\r
- __pBtnStop->SetShowState(false);\r
- __pBtnReset->SetShowState(false);\r
- __pBtnRestart->SetShowState(false);\r
- __pInputPanel->SetShowState(true);\r
- __pTimerPanel->SetShowState(true);\r
- __pTimerStartedPanel->SetShowState(false);\r
- }\r
-}\r
-\r
-void\r
-TimerForm::DisplayTimer(void)\r
-{\r
- AppLog("TimerForm::DisplayTimer");\r
- long long tick ;\r
-\r
- String hoursText;\r
- String minutesText;\r
- String secondsText ;\r
- String stringTick;\r
- String startTick;\r
-\r
- // Get current tick value\r
- TimeSpan uptime(0);\r
- DateTime date;\r
- SystemTime::GetCurrentTime(date);\r
-\r
-\r
- uptime = date.GetTime();\r
- tick = uptime.GetTicks();\r
- stringTick.Append(tick);\r
- startTick.Append(__startTick);\r
- AppLog("stringTick = %ls __startTick = %ls", stringTick.GetPointer(), startTick.GetPointer());\r
-\r
- if (__status == TIMER_START)\r
- {\r
- tick = __startTick - tick;\r
- }\r
- else if (__status == TIMER_RESTART)\r
- {\r
- tick =__tmpTick + __startTick - tick;\r
- }\r
- else\r
- {\r
- return;\r
- }\r
-\r
- TimeSpan span = static_cast<long>(tick);\r
- __spanHours = span.GetHours() + span.GetDays()*24;\r
- __spanMinutes = span.GetMinutes();\r
- __spanSeconds = span.GetSeconds();\r
-\r
- //ClockApp::__timerTime.SetValue(1,1,1,__spanHours,__spanMinutes,__spanSeconds);\r
-\r
- // Set StopWatch String\r
- hoursText.Clear();\r
-\r
- if ( __spanHours < 10 )\r
- {\r
- hoursText.Append("0");\r
- }\r
-\r
- hoursText.Append(__spanHours);\r
- __pBtnHourDisplay->SetText(hoursText);\r
-\r
- if ( __spanMinutes < 10 )\r
- {\r
- minutesText.Append("0");\r
- }\r
-\r
- minutesText.Append(__spanMinutes);\r
- __pBtnMinuteDisplay->SetText(minutesText);\r
-\r
- if ( __spanSeconds < 10 )\r
- {\r
- secondsText.Append("0");\r
- }\r
-\r
- secondsText.Append(__spanSeconds);\r
-\r
- if ( __spanHours == 0 && __spanMinutes == 0 && __spanSeconds == 0 )\r
- {\r
- __pBtnSecondDisplay->SetText("01");\r
- }\r
- else\r
- {\r
- __pBtnSecondDisplay->SetText(secondsText);\r
- }\r
-\r
- __pBtnSecondDisplay->Invalidate(true);\r
- //AppLog("TimerForm::DisplayTimer");\r
- __pTimerStartedPanel->Invalidate(true);\r
-\r
- if ( __spanHours == 0 && __spanMinutes == 0 && __spanSeconds == 0 )\r
- {\r
- __isTimerUp = true;\r
- }\r
-\r
- Invalidate(true);\r
- return;\r
-}\r
-\r
-void\r
-TimerForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- if (orientationStatus == ORIENTATION_STATUS_PORTRAIT)\r
- {\r
- __pBtnHourDisplay->SetTextSize(130);\r
- __pBtnMinuteDisplay->SetTextSize(130);\r
- __pBtnSecondDisplay->SetTextSize(130);\r
- __pBtnSetHours->SetTextSize(130);\r
- __pBtnSetMinutes->SetTextSize(130);\r
- __pBtnSetSeconds->SetTextSize(130);\r
- }\r
- else\r
- {\r
- __pBtnHourDisplay->SetTextSize(110);\r
- __pBtnMinuteDisplay->SetTextSize(110);\r
- __pBtnSecondDisplay->SetTextSize(110);\r
- __pBtnSetHours->SetTextSize(110);\r
- __pBtnSetMinutes->SetTextSize(110);\r
- __pBtnSetSeconds->SetTextSize(110);\r
- }\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTimerForm.cpp
+ * @brief Describes how the Timer works.
+ */
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FSystem.h>
+#include <FUi.h>
+
+#include "ClkSceneRegister.h"
+#include "ClkCommonLib.h"
+#include "ClkDataServiceProvider.h"
+#include "ClkTimerForm.h"
+#include "ClkTimerPresentationModel.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int IDA_BTN_START = 100;
+static const int IDA_BTN_STOP = 101;
+static const int IDA_BTN_RESET = 102;
+static const int IDA_BUTTON_HOURS = 103;
+static const int IDA_BUTTON_MINUTES = 104;
+static const int IDA_BUTTON_SECONDS = 105;
+static const int IDA_BUTTON_0 = 106;
+static const int IDA_BUTTON_1 = 107;
+static const int IDA_BUTTON_2 = 108;
+static const int IDA_BUTTON_3 = 109;
+static const int IDA_BUTTON_4 = 110;
+static const int IDA_BUTTON_5 = 111;
+static const int IDA_BUTTON_6 = 112;
+static const int IDA_BUTTON_7 = 113;
+static const int IDA_BUTTON_8 = 114;
+static const int IDA_BUTTON_9 = 115;
+static const int IDA_BUTTON_CLR = 116;
+static const int TIMER_START = 117;
+static const int TIMER_STOP = 118;
+static const int TIMER_RESTART = 119;
+static const int TIMER_RESET = 120;
+static const int IDA_TABBAR_ALARM = 200;
+static const int IDA_TABBAR_WORLDCLOCK= 201;
+static const int IDA_TABBAR_STOPWATCH = 202;
+static const int IDA_TABBAR_TIMER = 203;
+static const int IDA_BTN_RESTART = 204 ;
+
+TimerForm::TimerForm(void)
+: __isHourSelected(false)
+, __isMinuteSelected(true)
+, __isSecondSelected(false)
+, __isTimerUp(true)
+, __pAppRegistry(null)
+, __pBtnHourDisplay(null)
+, __pBtnMinuteDisplay(null)
+, __pBtnReset(null)
+, __pBtnRestart(null)
+, __pBtnSecondDisplay(null)
+, __pBtnSetHours(null)
+, __pBtnSetMinutes(null)
+, __pBtnSetSeconds (null)
+, __pBtnStart(null)
+, __pBtnStop(null)
+, __pButton0(null)
+, __pButton1(null)
+, __pButton2(null)
+, __pButton3(null)
+, __pButton4(null)
+, __pButton5(null)
+, __pButton6(null)
+, __pButton7(null)
+, __pButton8(null)
+, __pButton9(null)
+, __pButtonClr(null)
+, __pDisplayLabel(null)
+, __pInputPanel(null)
+, __pTimer(null)
+, __pTimerPanel(null)
+, __pTimerStartedPanel(null)
+, __restartTick(0)
+, __spanHours(0)
+, __spanMinutes(0)
+, __spanSeconds(0)
+, __startTick(0)
+, __status(0)
+, __stopTick(0)
+,__timerResetFlag(0)
+,__timerResetKey("timerReset")
+, __tmpTick(0)
+, __userSetValue("")
+{
+
+}
+
+TimerForm::~TimerForm(void)
+{
+
+}
+
+bool
+TimerForm::Initialize(void)
+{
+ result r = Construct(L"IDL_TIMER");
+ AppLog("the result is %S", GetErrorMessage(r));
+
+ return true;
+}
+
+result
+TimerForm::OnInitializing(void)
+{
+ AppLog("TimerForm::OnInitializing");
+ result r = E_SUCCESS;
+
+ HeaderItem alarm;
+ HeaderItem worldClock;
+ HeaderItem stopWatch;
+ HeaderItem timer;
+ Header* pHeader = GetHeader();
+ Bitmap* pIconBitmap = null;
+ Bitmap* pPressedIconBitmap = null;
+ Bitmap* pHighlightedIconBitmap = null;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick ;
+ String userSetValue;
+ String tempStr;
+ String time;
+ String upperStr;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+ TimerPresentationModel *pTimerPresentationModel = TimerPresentationModel::GetInstance();
+ DateTime remainingTime;
+ DateTime ringingTime;
+ int status = 0;
+ int canvasHeight = 186;
+ int canvasWidth = 222;
+
+ // Setup back event listener
+ SetFormBackEventListener(this);
+ AddOrientationEventListener(*this);
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_TIMER_VIEW, *this);
+
+ if (pHeader != null)
+ {
+ pHeader->SetStyle(HEADER_STYLE_TAB);
+ alarm.Construct(IDA_TABBAR_ALARM);
+ //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL )
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(alarm);
+
+ if ( pIconBitmap != NULL )
+ {
+ delete pIconBitmap;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ worldClock.Construct(IDA_TABBAR_WORLDCLOCK);
+ //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(worldClock);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if (pPressedIconBitmap != NULL)
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ stopWatch.Construct(IDA_TABBAR_STOPWATCH);
+ //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL )
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(stopWatch);
+ pHeader->SetItemSelected(3);
+
+ if ( pIconBitmap != NULL )
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ timer.Construct(IDA_TABBAR_TIMER);
+ //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL )
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);
+ }
+
+ if (pHighlightedIconBitmap != NULL)
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(timer);
+ pHeader->SetItemSelected(3);
+
+ if ( pIconBitmap != NULL )
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+ }
+
+ pHeader->AddActionEventListener(*this);
+ pHeader->SetTabEditModeEnabled(false);
+
+ Panel* pPanel = static_cast< Panel* >(GetControl("IDC_PANEL1"));
+ if (pPanel != NULL)
+ {
+ SetControlAlwaysAtBottom(*pPanel, true);
+ }
+
+ __pBtnStart = static_cast< Button* >(GetControl("IDC_BUTTON_START"));
+
+ if (__pBtnStart == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pBtnStart->SetActionId(IDA_BTN_START);
+ __pBtnStart->AddActionEventListener(*this);
+ SetControlAlwaysOnTop(*__pBtnStart, true);
+
+ CommonUtil::GetString("IDS_TMR_SK_START").ToUpper(upperStr);
+ __pBtnStart->SetText(upperStr);
+
+ __pBtnStop = static_cast< Button* >(GetControl("IDC_BUTTON_STOP"));
+
+ if (__pBtnStop == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pBtnStop->SetActionId(IDA_BTN_STOP);
+ __pBtnStop->AddActionEventListener(*this);
+ __pBtnStop->SetShowState(false);
+
+ CommonUtil::GetString("IDS_TMR_SK3_STOP").ToUpper(upperStr);
+ __pBtnStop->SetText(upperStr);
+
+ __pBtnReset = static_cast< Button* >(GetControl("IDC_BUTTON_RESET"));
+
+ if (__pBtnReset == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pBtnReset->SetActionId(IDA_BTN_RESET);
+ __pBtnReset->AddActionEventListener(*this);
+ __pBtnReset->SetShowState(false);
+
+ CommonUtil::GetString("IDS_TMR_SK_RESET").ToUpper(upperStr);
+ __pBtnReset->SetText(upperStr);
+
+ __pBtnRestart = static_cast< Button* >(GetControl("IDC_BUTTON_RESTART"));
+
+ if (__pBtnRestart == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pBtnRestart->SetActionId(IDA_BTN_RESTART);
+ __pBtnRestart->AddActionEventListener(*this);
+ __pBtnRestart->SetShowState(false);
+
+ CommonUtil::GetString("IDS_SWT_BUTTON_RESTART").ToUpper(upperStr);
+ __pBtnRestart->SetText(upperStr);
+
+ __pInputPanel = static_cast< Panel* >(GetControl("IDC_INPUT_PANEL"));
+
+ if (__pInputPanel == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pTimerPanel = static_cast< Panel* >(GetControl("IDC_TIMER_PANEL"));
+
+
+ if (__pTimerPanel == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pTimerStartedPanel = static_cast< Panel* >(GetControl("IDC_PANEL_TIMER_STARTED"));
+
+
+ if (__pTimerStartedPanel == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ __pTimerStartedPanel->SetShowState(false);
+ SetControlAlwaysAtBottom(*__pTimerStartedPanel,true);
+ SetControlAlwaysOnTop(*__pTimerPanel,true);
+
+ Bitmap* pBgNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_NORMAL_BG);
+ Bitmap* pbgEditBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_BG);
+
+ Canvas* pCanvas = null;
+ pCanvas = new (std::nothrow) Canvas();
+ pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvas->DrawBitmap(Point(0,0),*pBgNormalBitmap);
+ pCanvas->DrawBitmap(Point(0,0),*pbgEditBitmap);
+
+ Bitmap* pFinalBitmap = new (std::nothrow) Bitmap();
+
+ if (pFinalBitmap == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvas;
+
+ // TIMER STARTED PANEL CONTROLS
+
+ __pBtnHourDisplay = static_cast<Button*>(__pTimerStartedPanel->GetControl("IDC_BUTTON_HOUR_DISPLAY"));
+
+ if (__pBtnHourDisplay == NULL)
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+ __pBtnHourDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);
+ __pBtnHourDisplay->SetPressedBackgroundBitmap(*pFinalBitmap);
+ // __pBtnHourDisplay->SetColor(BUTTON_ITEM_STATUS_PRESSED,);
+
+
+ __pBtnMinuteDisplay = static_cast<Button*>(__pTimerStartedPanel->GetControl("IDC_BUTTON_MINUTE_DISPLAY"));
+
+ if (__pBtnMinuteDisplay == NULL)
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnMinuteDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);
+ __pBtnMinuteDisplay->SetPressedBackgroundBitmap(*pFinalBitmap);
+
+
+
+ __pBtnSecondDisplay = static_cast<Button*>(__pTimerStartedPanel->GetControl("IDC_BUTTON_SECOND_DISPLAY"));
+
+ if (__pBtnSecondDisplay == NULL)
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+ __pBtnSecondDisplay->SetNormalBackgroundBitmap(*pFinalBitmap);
+ __pBtnSecondDisplay->SetPressedBackgroundBitmap(*pFinalBitmap);
+
+ // TIMER PANEL CONTROLS
+
+ __pBtnSetHours = static_cast<Button*>(__pTimerPanel->GetControl("IDC_BUTTON_HOURS"));
+
+ if (__pBtnSetHours == NULL)
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnSetHours->SetActionId(IDA_BUTTON_HOURS);
+ __pBtnSetHours->AddActionEventListener(*this);
+ __pBtnSetHours->SetText(L"00");
+ __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);
+
+ Bitmap* pbgFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_FOCUS_BG);
+ Bitmap* pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_BG);
+
+ Canvas* pCanvasFocused = null;
+ pCanvasFocused = new (std::nothrow) Canvas();
+ pCanvasFocused->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvasFocused->DrawBitmap(Point(0,0),*pbgFocusBitmap);
+ pCanvasFocused->DrawBitmap(Point(0,0),*pbgBitmap);
+
+ Bitmap* pFinalBitmapFocused = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmapFocused != NULL)
+ {
+ pFinalBitmapFocused->Construct(*pCanvasFocused,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvasFocused;
+ }
+
+
+ __pBtnSetMinutes = static_cast<Button*>(__pTimerPanel->GetControl("IDC_BUTTON_MINUTES"));
+
+ if (__pBtnSetMinutes == NULL)
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnSetMinutes->SetText(L"01");
+ __pBtnSetMinutes->SetActionId(IDA_BUTTON_MINUTES);
+ __pBtnSetMinutes->AddActionEventListener(*this);
+
+ __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmapFocused);
+
+ __pBtnSetSeconds = static_cast<Button*>(__pTimerPanel->GetControl("IDC_BUTTON_SECONDS"));
+
+ if (__pBtnSetSeconds == NULL)
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pBtnSetSeconds->SetText(L"00");
+ __pBtnSetSeconds->SetActionId(IDA_BUTTON_SECONDS);
+ __pBtnSetSeconds->AddActionEventListener(*this);
+ __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);
+
+ __pButton0 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON0"));
+
+ if ( __pButton0 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton0->SetActionId(IDA_BUTTON_0);
+ __pButton0->AddActionEventListener(*this);
+
+ __pButton1 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON1"));
+
+ if ( __pButton1 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+ return E_FAILURE;
+ }
+
+ __pButton1->SetActionId(IDA_BUTTON_1);
+ __pButton1->AddActionEventListener(*this);
+
+
+ __pButton2 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON2"));
+
+ if ( __pButton2 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton2->SetActionId(IDA_BUTTON_2);
+ __pButton2->AddActionEventListener(*this);
+
+
+ __pButton3 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON3"));
+
+ if ( __pButton3 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton3->SetActionId(IDA_BUTTON_3);
+ __pButton3->AddActionEventListener(*this);
+
+
+ __pButton4 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON4"));
+
+ if ( __pButton4 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton4->SetActionId(IDA_BUTTON_4);
+ __pButton4->AddActionEventListener(*this);
+
+ __pButton5 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON5"));
+
+ if ( __pButton5 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+ return E_FAILURE;
+ }
+
+ __pButton5->SetActionId(IDA_BUTTON_5);
+ __pButton5->AddActionEventListener(*this);
+
+
+ __pButton6 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON6"));
+
+ if ( __pButton6 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton6->SetActionId(IDA_BUTTON_6);
+ __pButton6->AddActionEventListener(*this);
+
+ __pButton7 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON7"));
+
+ if ( __pButton7 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton7->SetActionId(IDA_BUTTON_7);
+ __pButton7->AddActionEventListener(*this);
+
+ __pButton8 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON8"));
+
+ if ( __pButton8 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+ return E_FAILURE;
+ }
+
+ __pButton8->SetActionId(IDA_BUTTON_8);
+ __pButton8->AddActionEventListener(*this);
+
+ __pButton9 = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON9"));
+
+ if ( __pButton9 == NULL )
+ {
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButton9->SetActionId(IDA_BUTTON_9);
+ __pButton9->AddActionEventListener(*this);
+
+ __pButtonClr = static_cast< Button* >(__pInputPanel->GetControl("IDC_BUTTON_CLR"));
+
+ if ( __pButtonClr == NULL )
+ {
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return E_FAILURE;
+ }
+
+ __pButtonClr->SetActionId(IDA_BUTTON_CLR);
+ __pButtonClr->AddActionEventListener(*this);
+
+ // Create Timer
+ __pTimer = new (std::nothrow) Timer();
+ __pTimer->Construct(*this);
+
+ String registeredTime;
+ pTimerPresentationModel->GetTimerValue(ringingTime, time, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+ LongLong::Parse(startTick, __startTick);
+ LongLong::Parse(tempTick, __tmpTick);
+ LongLong::Parse(restartTick, __restartTick);
+ LongLong::Parse(stopTick, __stopTick);
+ __status = status;
+ __userSetValue.Clear();
+ __userSetValue.Append(userSetValue);
+ DateTime::Parse(time, remainingTime);
+ DateTime::Parse(registeredTime, __registeredTime);
+
+ if(__status == TIMER_STOP || __status == 0 || __status == TIMER_RESET)
+ {
+ AppLog("remainingTime = %ls", remainingTime.ToString().GetPointer());
+ __spanHours = remainingTime.GetHour();
+ __spanMinutes = remainingTime.GetMinute();
+ __spanSeconds = remainingTime.GetSecond();
+ }
+ else
+ {
+ __spanHours = ringingTime.GetHour();
+ __spanMinutes = ringingTime.GetMinute();
+ __spanSeconds = ringingTime.GetSecond();
+
+ }
+
+ AppLog("stopTick = %lld __status = %d remainingTime = %ls ringingTime = %ls", __stopTick, __status, remainingTime.ToString().GetPointer(), ringingTime.ToString().GetPointer());
+ if ( __status == TIMER_START || __status == TIMER_RESTART || __status == TIMER_STOP)
+ {
+
+ if (__pBtnHourDisplay != null)
+ {
+
+ if (__spanHours < 10)
+ {
+ tempStr.Append("0");
+ }
+
+ tempStr.Append(__spanHours);
+ __pBtnHourDisplay->SetText(tempStr);
+ }
+
+ if (__pBtnMinuteDisplay != null)
+ {
+ tempStr.Clear();
+
+ if (__spanMinutes < 10)
+ {
+ tempStr.Append("0");
+ }
+
+ tempStr.Append(__spanMinutes);
+ __pBtnMinuteDisplay->SetText(tempStr);
+ }
+
+ if (__pBtnSecondDisplay != null)
+ {
+ tempStr.Clear();
+
+ if (__spanSeconds < 10)
+ {
+ tempStr.Append("0");
+ }
+
+ tempStr.Append(__spanSeconds);
+ __pBtnSecondDisplay->SetText(tempStr);
+ }
+
+ }
+ else
+ {
+
+ if (__pBtnSetHours != null)
+ {
+ tempStr.Clear();
+ if (__spanHours < 10)
+ {
+ tempStr.Append("0");
+ }
+ tempStr.Append(__spanHours);
+ __pBtnSetHours->SetText(tempStr);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ tempStr.Clear();
+ if (__spanMinutes < 10)
+ {
+ tempStr.Append("0");
+ }
+ tempStr.Append(__spanMinutes);
+ __pBtnSetMinutes->SetText(tempStr);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ tempStr.Clear();
+ if (__spanSeconds < 10)
+ {
+ tempStr.Append("0");
+ }
+ tempStr.Append(__spanSeconds);
+ __pBtnSetSeconds->SetText(tempStr);
+ }
+
+ }
+
+ if(status == TIMER_START)
+ {
+ SetButtonState();
+ DisplayTimer();
+ __pTimer->Start(1);
+ __pTimerStartedPanel->SetShowState(true);
+ __isTimerUp = false;
+ }
+ else if(status == TIMER_RESTART)
+ {
+ SetButtonState();
+ DisplayTimer();
+ __pTimer->Start(1);
+ __pTimerStartedPanel->SetShowState(true);
+ __isTimerUp = false;
+ }
+ else if(status == TIMER_RESET)
+ {
+ SetButtonState();
+ DisplayTimer();
+ __pTimerStartedPanel->SetShowState(false);
+ __startTick = 0;
+ __stopTick = 0;
+ __restartTick = 0;
+ __tmpTick = 0;
+
+ if ( __pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)
+ {
+ if ( __pBtnSetHours->GetText() == "00" && __pBtnSetMinutes->GetText() == "00" && __pBtnSetSeconds->GetText() == "00")
+ {
+ __pBtnSetHours->SetText(L"00");
+ __pBtnSetMinutes->SetText(L"01");
+ __pBtnSetSeconds->SetText(L"00");
+ }
+ }
+ }
+ else if(status == TIMER_STOP || status == 0)
+ {
+ __isTimerUp = false;
+ SetButtonState();
+ DisplayTimer();
+ if ( status == 0 && __pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)
+ {
+ if ( __pBtnSetHours->GetText() == "00" && __pBtnSetMinutes->GetText() == "00" && __pBtnSetSeconds->GetText() == "00")
+ {
+ __pBtnSetHours->SetText(L"00");
+ __pBtnSetMinutes->SetText(L"01");
+ __pBtnSetSeconds->SetText(L"00");
+ }
+ }
+ }
+
+ UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ UiApp::GetInstance()->GetAppRegistry()->Save();
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ return r;
+}
+
+
+result
+TimerForm::OnTerminating(void)
+{
+ AppLog("TimerForm::OnAppTerminating");
+ result r = E_SUCCESS;
+ DateTime remainingTime;
+ String timeSet = L"";
+ String startTick = L"";
+ String tempTick = L"";
+ String restartTick = L"";
+ String stopTick = L"";
+ String registeredTime;
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+
+ UiApp::GetInstance()->GetAppRegistry()->Get(__timerResetKey, __timerResetFlag);
+
+ if (__timerResetFlag != 1)
+ {
+ __status = TIMER_RESET;
+ __startTick = 0;
+ __tmpTick = 0;
+ __restartTick = 0;
+ __stopTick = 0;
+ remainingTime.SetValue(9999,1,1);
+ }
+ else
+ {
+ AppLog("__status = %d", __status);
+ if (__status == 0 || __status == TIMER_RESET)
+ {
+ int hours, min, sec;
+ Integer::Parse(__pBtnSetHours->GetText(), hours);
+ Integer::Parse(__pBtnSetMinutes->GetText(), min);
+ Integer::Parse(__pBtnSetSeconds->GetText(), sec);
+
+ remainingTime.AddHours(hours);
+ remainingTime.AddMinutes(min);
+ remainingTime.AddSeconds(sec);
+
+ AppLog("remainingTime = %ls", remainingTime.ToString().GetPointer());
+ }
+ else
+ {
+ remainingTime.AddHours(__spanHours);
+ remainingTime.AddMinutes(__spanMinutes);
+ remainingTime.AddSeconds(__spanSeconds);
+ }
+ }
+
+ startTick.Append(__startTick);
+ tempTick.Append(__tmpTick);
+ restartTick.Append(__restartTick);
+ stopTick.Append(__stopTick);
+ registeredTime.Append(__registeredTime.ToString());
+ pTimerPresentationModel->SetTimerValue(remainingTime, __status, startTick, tempTick, restartTick, stopTick, __userSetValue, registeredTime);
+ AppLog("remainingTime = %ls __status = %d", remainingTime.ToString().GetPointer(), __status);
+
+ if (__pTimer != null)
+ {
+ __pTimer->Cancel();
+ }
+
+ return r;
+}
+
+void
+TimerForm::OnActionPerformed(const Control& source, int actionId)
+{
+ result r = E_FAILURE;
+ SceneManager* pSceneManager = null;
+ long long tick ;
+ int canvasWidth = 222;
+ int canvasHeight = 186;
+
+ TimeSpan uptime(0);
+ SystemTime::GetUptime(uptime);
+
+ tick = uptime.GetTicks();
+ TimeSpan span = static_cast<long>(tick);
+
+
+ Bitmap* pbgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_NORMAL_BG);
+ Bitmap* pbgEditBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_BG);
+ Bitmap* pbgFocusBitmap = AppResource::GetInstance()->GetBitmapN(IDB_TIMER_FOCUS_BG);
+
+ Canvas* pCanvas = null;
+ pCanvas = new (std::nothrow) Canvas();
+ pCanvas->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvas->DrawBitmap(Point(0,0),*pbgBitmap);
+ pCanvas->DrawBitmap(Point(0,0),*pbgEditBitmap);
+
+ Bitmap* pFinalBitmap = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmap != NULL)
+ {
+ pFinalBitmap->Construct(*pCanvas,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvas;
+ }
+
+ Canvas* pCanvasFocused = null;
+ pCanvasFocused = new (std::nothrow) Canvas();
+ pCanvasFocused->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvasFocused->DrawBitmap(Point(0,0),*pbgFocusBitmap);
+ pCanvasFocused->DrawBitmap(Point(0,0),*pbgEditBitmap);
+
+ Bitmap* pFinalBitmapFocused = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmapFocused != NULL)
+ {
+ pFinalBitmapFocused->Construct(*pCanvasFocused,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvasFocused;
+ }
+
+ switch (actionId)
+ {
+ case IDA_TABBAR_ALARM:
+ {
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ }
+ break;
+
+ case IDA_TABBAR_WORLDCLOCK:
+ {
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_WORLD_CLOCK_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));
+ }
+ }
+
+ }
+ break;
+
+ case IDA_TABBAR_STOPWATCH:
+ {
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != NULL)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH));
+ }
+ }
+ break;
+
+ case IDA_BTN_START:
+ {
+ __status = TIMER_START;
+
+ int hours = 0;
+ int minutes = 0;
+ int seconds = 0;
+ String strHours;
+ String strMinutes;
+ String strSeconds;
+ DateTime date;
+ DateTime currentTime;
+ String *str1 = null;
+ String *str2 = null;
+ int cmp = 0;
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ r = __pTimer->Start(1);
+ AppLog("result = %s", GetErrorMessage(r));
+
+ if (__pBtnSetHours != null)
+ {
+ strHours = __pBtnSetHours->GetText();
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ strMinutes = __pBtnSetMinutes->GetText();
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ strSeconds = __pBtnSetSeconds->GetText();
+ }
+
+ __userSetValue.Clear();
+ __userSetValue.Append(strHours);
+ __userSetValue.Append(":");
+ __userSetValue.Append(strMinutes);
+ __userSetValue.Append(":");
+ __userSetValue.Append(strSeconds);
+
+ TimerPresentationModel::GetInstance()->userValue = __userSetValue;
+
+ Integer::Parse(strHours,hours);
+ Integer::Parse(strMinutes,minutes);
+ Integer::Parse(strSeconds,seconds);
+
+ SystemTime::GetCurrentTime(date);
+ uptime = date.GetTime();
+ __startTick = uptime.GetTicks() + hours*60*60*1000 + minutes*60*1000 + seconds*1000 ;
+ SetButtonState();
+ DisplayTimer();
+ __pTimerStartedPanel->SetShowState(true);
+
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ __registeredTime = currentTime;
+
+ AppLog("hours = %d minutes = %d seconds = %d", hours, minutes, seconds);
+ __registeredTime.AddHours(hours);
+ __registeredTime.AddMinutes(minutes);
+ __registeredTime.AddSeconds(seconds);
+ cmp = DateTime::Compare(currentTime, __registeredTime);
+ AppLog("currentTime = %ls timerTime = %ls", currentTime.ToString().GetPointer(), __registeredTime.ToString().GetPointer());
+
+ if(cmp <=0)
+ {
+ AppLog("came here");
+ str1 = new (std::nothrow) String(pApp->GetAppId());
+
+ if (str1 == null)
+ {
+ return;
+ }
+
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ delete str1;
+ str1 = null;
+
+ return;
+ }
+
+ str2->Append("'");
+ str2->Append(__registeredTime.ToString());
+ str2->Append("'");
+
+ String *timerType = new String("Timer");
+ ArrayList* pArgList = new (std::nothrow) ArrayList();
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(timerType);
+ }
+ pAppManager->RegisterAppLaunch(*str1,*str2, pArgList, AppManager::LAUNCH_OPTION_DEFAULT);
+ AppLog("Reg __registeredTime = %ls", __registeredTime.ToString().GetPointer());
+
+ if (str1 != null)
+ {
+ delete str1;
+ str1 = null;
+ }
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+ }
+ break;
+
+ case IDA_BTN_RESET:
+ {
+ String *str2 = null;
+ App* pApp = App::GetInstance();
+ AppManager* pAppManager = AppManager::GetInstance();
+
+ __status = TIMER_RESET;
+ SetButtonState();
+ __pTimerStartedPanel->SetShowState(false);
+ __startTick = 0;
+ __stopTick = 0;
+ __restartTick = 0;
+ __tmpTick = 0;
+
+
+ if ( __pBtnSetHours != null && __pBtnSetHours->GetText().IsEmpty())
+ {
+ __pBtnSetHours->SetText(L"00");
+
+
+ if ( __pBtnSetMinutes != null )
+ {
+ __pBtnSetMinutes->SetText(L"01");
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetText(L"00");
+ }
+
+ }
+
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ return;
+ }
+
+ str2->Append("'");
+ str2->Append(__registeredTime.ToString());
+ str2->Append("'");
+ pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);
+
+ AppLog("UnReg __registeredTime = %ls", __registeredTime.ToString().GetPointer());
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+ break;
+
+ case IDA_BTN_RESTART:
+ {
+ DateTime date;
+ DateTime currentTime;
+ DateTime __timerTime;
+ String *str1 = null;
+ String *str2 = null;
+ int cmp = 0;
+ int hours = 0;
+ int minutes = 0;
+ int seconds = 0;
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ __pTimer->Start(1);
+
+ SystemTime::GetCurrentTime(date);
+ uptime = date.GetTime();
+
+ __restartTick = uptime.GetTicks();
+
+ if (__status == TIMER_STOP)
+ {
+ __tmpTick += __restartTick - __stopTick;
+ }
+ __status = TIMER_RESTART;
+
+ SetButtonState();
+
+
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ __registeredTime = currentTime;
+
+ AppLog("hours = %d minutes = %d seconds = %d", hours, minutes, seconds);
+ Integer::Parse(__pBtnHourDisplay->GetText(),hours);
+ Integer::Parse(__pBtnMinuteDisplay->GetText(),minutes);
+ Integer::Parse(__pBtnSecondDisplay->GetText(),seconds);
+
+ __registeredTime.AddHours(hours);
+ __registeredTime.AddMinutes(minutes);
+ __registeredTime.AddSeconds(seconds);
+ cmp = DateTime::Compare(currentTime, __registeredTime);
+ AppLog("currentTime = %ls timerTime = %ls", currentTime.ToString().GetPointer(), __timerTime.ToString().GetPointer());
+
+ if(cmp <=0)
+ {
+ AppLog("came here");
+ str1 = new (std::nothrow) String(pApp->GetAppId());
+
+ if (str1 == null)
+ {
+ return;
+ }
+
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ delete str1;
+ str1 = null;
+
+ return;
+ }
+
+ str2->Append("'");
+ str2->Append(__registeredTime.ToString());
+ str2->Append("'");
+
+ String *timerType = new String("Timer");
+ ArrayList* pArgList = new (std::nothrow) ArrayList();
+
+ if (pArgList != null)
+ {
+ pArgList->Construct();
+ pArgList->Add(timerType);
+ }
+ pAppManager->RegisterAppLaunch(*str1,*str2, pArgList, AppManager::LAUNCH_OPTION_DEFAULT);
+ AppLog("Reg __registeredTime = %ls", __registeredTime.ToString().GetPointer());
+
+ if (str1 != null)
+ {
+ delete str1;
+ str1 = null;
+ }
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+ }
+ break;
+
+ case IDA_BTN_STOP:
+ {
+ AppManager* pAppManager = AppManager::GetInstance();
+ App* pApp = App::GetInstance();
+ String* str2 = null;
+ DateTime date;
+ SystemTime::GetCurrentTime(date);
+ uptime = date.GetTime();
+ __stopTick = uptime.GetTicks();
+ __status = TIMER_STOP;
+ SetButtonState();
+
+ str2 = new (std::nothrow) String("DateTime=");
+
+ if (str2 == null)
+ {
+ return;
+ }
+
+ str2->Append("'");
+ str2->Append(__registeredTime.ToString());
+ str2->Append("'");
+ pAppManager->UnregisterAppLaunch(pApp->GetAppId(), str2);
+
+ AppLog("UnReg __registeredTime = %ls", __registeredTime.ToString().GetPointer());
+
+ if (str2 != null)
+ {
+ delete str2;
+ str2 = null;
+ }
+ }
+ break;
+
+ case IDA_BUTTON_HOURS:
+ {
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmapFocused);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ __isHourSelected = true ;
+ __isMinuteSelected = false;
+ __isSecondSelected = false ;
+ __inputText.Clear();
+ Invalidate(true);
+ }
+ break;
+
+ case IDA_BUTTON_MINUTES:
+ {
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmapFocused);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ __inputText.Clear();
+ Invalidate(true);
+ }
+ break;
+
+ case IDA_BUTTON_SECONDS:
+ {
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmapFocused);
+ }
+
+ __isHourSelected = false ;
+ __isMinuteSelected = false;
+ __isSecondSelected = true ;
+ __inputText.Clear();
+ Invalidate(true);
+ }
+ break;
+
+ case IDA_BUTTON_0:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(0);
+ SetTimer(__inputText);
+ }
+ break;
+
+ case IDA_BUTTON_1:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(1);
+ SetTimer(__inputText);
+ }
+ break;
+
+ case IDA_BUTTON_2:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(2);
+ SetTimer(__inputText);
+ }
+ break;
+
+ case IDA_BUTTON_3:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(3);
+ SetTimer(__inputText);
+ }
+ break;
+ case IDA_BUTTON_4:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(4);
+ SetTimer(__inputText);
+ }
+ break;
+ case IDA_BUTTON_5:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(5);
+ SetTimer(__inputText);
+ }
+ break;
+ case IDA_BUTTON_6:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(6);
+ SetTimer(__inputText);
+ }
+ break;
+ case IDA_BUTTON_7:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(7);
+ SetTimer(__inputText);
+ }
+ break;
+
+ case IDA_BUTTON_8:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(8);
+ SetTimer(__inputText);
+ }
+ break;
+ case IDA_BUTTON_9:
+ {
+ if(__inputText.GetLength() == 2)
+ {
+ if(__isHourSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = true;
+ __isSecondSelected = false;
+ }
+ else if(__isMinuteSelected == true)
+ {
+ __isHourSelected = false;
+ __isMinuteSelected = false;
+ __isSecondSelected = true;
+ }
+ __inputText.Clear();
+ }
+ __inputText.Append(9);
+ SetTimer(__inputText);
+ }
+ break;
+ case IDA_BUTTON_CLR:
+ {
+ String check = L"00";
+
+ if ( __isHourSelected == true && __pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetText(L"00");
+ }
+ else if ( __isMinuteSelected == true && __pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetText(L"00");
+ }
+ else if (__isSecondSelected == true && __pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetText(L"00");
+ }
+
+ if (__pBtnSetHours != null && __pBtnSetMinutes != null && __pBtnSetSeconds != null)
+ {
+ if ( __pBtnSetHours->GetText() == check && __pBtnSetMinutes->GetText() == check && __pBtnSetSeconds->GetText() == check)
+ {
+ __pBtnStart->SetEnabled(false);
+ }
+ else
+ {
+ __pBtnStart->SetEnabled(true);
+ }
+ }
+
+ Invalidate(true);
+ }
+ break;
+ default:
+ break;
+ }
+
+ if (__inputText.GetLength() == 2)
+ {
+ if ( __isHourSelected == true )
+ {
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmapFocused);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ }
+ else if ( __isMinuteSelected == true)
+ {
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetNormalBackgroundBitmap(*pFinalBitmap);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetNormalBackgroundBitmap(*pFinalBitmapFocused);
+ }
+
+ }
+ }
+
+ if (pFinalBitmapFocused != null)
+ {
+ delete pFinalBitmapFocused;
+ pFinalBitmapFocused = null;
+ }
+
+ if (pFinalBitmap != null)
+ {
+ delete pFinalBitmap;
+ pFinalBitmap = null;
+ }
+}
+
+
+void
+TimerForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ if(__isTimerUp == true)
+ {
+ __status = TIMER_RESET;
+
+ __userSetValue = TimerPresentationModel::GetInstance()->userValue;
+ String textHour, textMinute, textSecond;
+ __userSetValue.SubString(0,2,textHour);
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetText(textHour);
+ }
+
+ __userSetValue.SubString(3,2,textMinute);
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetText(textMinute);
+ }
+
+ __userSetValue.SubString(6,2,textSecond);
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetText(textSecond);
+ }
+
+ __tmpTick = 0;
+ SetButtonState();
+ }
+
+ if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT)
+ {
+ __pBtnHourDisplay->SetTextSize(130);
+ __pBtnMinuteDisplay->SetTextSize(130);
+ __pBtnSecondDisplay->SetTextSize(130);
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetTextSize(130);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetTextSize(130);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetTextSize(130);
+ }
+
+ }
+ else
+ {
+ __pBtnHourDisplay->SetTextSize(110);
+ __pBtnMinuteDisplay->SetTextSize(110);
+ __pBtnSecondDisplay->SetTextSize(110);
+
+ if (__pBtnSetHours != null)
+ {
+ __pBtnSetHours->SetTextSize(110);
+ }
+
+ if (__pBtnSetMinutes != null)
+ {
+ __pBtnSetMinutes->SetTextSize(110);
+ }
+
+ if (__pBtnSetSeconds != null)
+ {
+ __pBtnSetSeconds->SetTextSize(110);
+ }
+ }
+
+ GetHeader()->SetItemSelected(3);
+ Invalidate(true);
+}
+
+void
+TimerForm::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId)
+{
+}
+
+void
+TimerForm::OnFormBackRequested(Form& source)
+{
+ __timerResetFlag = 1;
+ UiApp* pApp = UiApp::GetInstance();
+ pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ pApp->GetAppRegistry()->Save();
+ AppAssert(pApp);
+ pApp->Terminate();
+}
+
+void
+TimerForm::OnTimerExpired(Timer& timer)
+{
+ if (__status == TIMER_STOP || __status == TIMER_RESET)
+ {
+ DisplayTimer();
+ return;
+ }
+
+ if ( __isTimerUp == false )
+ {
+ DisplayTimer();
+ if(__isTimerUp == false)
+ {
+ __pTimer->Start(100);
+ }
+ }
+ else
+ {
+ printf("OnTimerExired : Time is up!\n");
+ __pInputPanel->SetShowState(true);
+ __pTimerPanel->SetShowState(true);
+ __pTimerStartedPanel->SetShowState(false);
+ __pBtnStop->SetShowState(false);
+ __pBtnReset->SetShowState(false);
+ __pBtnStart->SetShowState(true);
+ __status = 0;
+ __pTimer->Cancel();
+ }
+}
+
+void
+TimerForm::SetTimer(const String &inputval)
+{
+ wchar_t ch1, ch2;
+ String buttonText;
+ String check = L"00";
+
+ if (__inputText.GetLength() == 1)
+ {
+ buttonText.Append("0");
+ buttonText.Append(__inputText);
+ }
+ else
+ {
+ buttonText.Append(__inputText);
+ }
+
+ buttonText.GetCharAt(0, ch1);
+ buttonText.GetCharAt(1, ch2);
+
+ if ((ch1 == '6' || ch1 == '7' || ch1 == '8' || ch1 == '9') && (__isHourSelected == false))
+ {
+ __inputText.Clear();
+ __inputText.Append("59");
+
+ if ( __isHourSelected == true )
+ {
+ __pBtnSetHours->SetText(__inputText);
+ }
+ else if ( __isMinuteSelected == true)
+ {
+ __pBtnSetMinutes->SetText(__inputText);
+ }
+ else if ( __isSecondSelected == true)
+ {
+ __pBtnSetSeconds->SetText(__inputText);
+ }
+ }
+ else
+ {
+ if ( __isHourSelected == true )
+ {
+ __pBtnSetHours->SetText(buttonText);
+ }
+ else if ( __isMinuteSelected == true)
+ {
+ __pBtnSetMinutes->SetText(buttonText);
+ }
+ else if ( __isSecondSelected == true)
+ {
+ __pBtnSetSeconds->SetText(buttonText);
+ }
+ }
+
+ if ( __pBtnSetHours->GetText() == check && __pBtnSetMinutes->GetText() == check && __pBtnSetSeconds->GetText() == check)
+ {
+ __pBtnStart->SetEnabled(false);
+ }
+ else
+ {
+ __pBtnStart->SetEnabled(true);
+ }
+
+ DisplayTimer();
+ Invalidate(true);
+}
+
+
+void
+TimerForm::SetButtonState(void)
+{
+ if ( __status == TIMER_START)
+ {
+ __pBtnStart->SetShowState(false);
+ __pBtnStop->SetShowState(true);
+ __pBtnReset->SetShowState(true);
+ __pBtnRestart->SetShowState(false);
+ __pInputPanel->SetShowState(false);
+ __pTimerPanel->SetShowState(false);
+ __pTimerStartedPanel->SetShowState(true);
+ }
+ else if ( __status == TIMER_RESTART)
+ {
+ __pBtnStart->SetShowState(false);
+ __pBtnStop->SetShowState(true);
+ __pBtnRestart->SetShowState(false);
+ __pBtnReset->SetShowState(true);
+ __pInputPanel->SetShowState(false);
+ __pTimerPanel->SetShowState(false);
+ __pTimerStartedPanel->SetShowState(true);
+
+ }
+ else if ( __status == TIMER_STOP)
+ {
+ __pBtnStart->SetShowState(false);
+ __pBtnStop->SetShowState(false);
+ __pBtnRestart->SetShowState(true);
+ __pBtnReset->SetShowState(true);
+ __pInputPanel->SetShowState(false);
+ __pTimerPanel->SetShowState(false);
+ __pTimerStartedPanel->SetShowState(true);
+ }
+ else if ( __status == TIMER_RESET)
+ {
+ __pBtnStart->SetShowState(true);
+ __pBtnStop->SetShowState(false);
+ __pBtnReset->SetShowState(false);
+ __pBtnRestart->SetShowState(false);
+ __pInputPanel->SetShowState(true);
+ __pTimerPanel->SetShowState(true);
+ __pTimerStartedPanel->SetShowState(false);
+ }
+}
+
+void
+TimerForm::DisplayTimer(void)
+{
+ AppLog("TimerForm::DisplayTimer");
+ long long tick ;
+
+ String hoursText;
+ String minutesText;
+ String secondsText ;
+ String stringTick;
+ String startTick;
+
+ // Get current tick value
+ TimeSpan uptime(0);
+ DateTime date;
+ SystemTime::GetCurrentTime(date);
+
+
+ uptime = date.GetTime();
+ tick = uptime.GetTicks();
+ stringTick.Append(tick);
+ startTick.Append(__startTick);
+ AppLog("stringTick = %ls __startTick = %ls", stringTick.GetPointer(), startTick.GetPointer());
+
+ if (__status == TIMER_START)
+ {
+ tick = __startTick - tick;
+ }
+ else if (__status == TIMER_RESTART)
+ {
+ tick =__tmpTick + __startTick - tick;
+ }
+ else
+ {
+ return;
+ }
+
+ TimeSpan span = static_cast<long>(tick);
+ __spanHours = span.GetHours() + span.GetDays()*24;
+ __spanMinutes = span.GetMinutes();
+ __spanSeconds = span.GetSeconds();
+
+ if ( __spanHours <= 0 && __spanMinutes <= 0 && __spanSeconds <= 0 )
+ {
+ __spanSeconds = 0;
+ __spanMinutes = 0;
+ __spanHours = 0;
+ __isTimerUp = true;
+ }
+ else
+ {
+ __isTimerUp = false;
+ }
+ //ClockApp::__timerTime.SetValue(1,1,1,__spanHours,__spanMinutes,__spanSeconds);
+
+ // Set StopWatch String
+ hoursText.Clear();
+
+ if ( __spanHours < 10 )
+ {
+ hoursText.Append("0");
+ }
+
+ hoursText.Append(__spanHours);
+ __pBtnHourDisplay->SetText(hoursText);
+
+ if ( __spanMinutes < 10 )
+ {
+ minutesText.Append("0");
+ }
+
+ minutesText.Append(__spanMinutes);
+ __pBtnMinuteDisplay->SetText(minutesText);
+
+ if ( __spanSeconds < 10 )
+ {
+ secondsText.Append("0");
+ }
+
+ secondsText.Append(__spanSeconds);
+
+ if ( __spanHours == 0 && __spanMinutes == 0 && __spanSeconds == 0 )
+ {
+ __pBtnSecondDisplay->SetText("01");
+ }
+ else
+ {
+ __pBtnSecondDisplay->SetText(secondsText);
+ }
+
+ __pBtnSecondDisplay->Invalidate(true);
+ //AppLog("TimerForm::DisplayTimer");
+ __pTimerStartedPanel->Invalidate(true);
+
+
+
+ Invalidate(true);
+ return;
+}
+
+void
+TimerForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ if (orientationStatus == ORIENTATION_STATUS_PORTRAIT)
+ {
+ __pBtnHourDisplay->SetTextSize(130);
+ __pBtnMinuteDisplay->SetTextSize(130);
+ __pBtnSecondDisplay->SetTextSize(130);
+ __pBtnSetHours->SetTextSize(130);
+ __pBtnSetMinutes->SetTextSize(130);
+ __pBtnSetSeconds->SetTextSize(130);
+ }
+ else
+ {
+ __pBtnHourDisplay->SetTextSize(110);
+ __pBtnMinuteDisplay->SetTextSize(110);
+ __pBtnSecondDisplay->SetTextSize(110);
+ __pBtnSetHours->SetTextSize(110);
+ __pBtnSetMinutes->SetTextSize(110);
+ __pBtnSetSeconds->SetTextSize(110);
+ }
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTimerPresentationModel.cpp\r
- * @brief This file contains the definitions of the TimerPresentationModel Class.\r
- */\r
-\r
-#include <cstdlib>\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-\r
-#include "ClkAlarmPresentationModel.h"\r
-#include "ClkTimerPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-\r
-TimerPresentationModel* TimerPresentationModel::__pInstance = NULL;\r
-\r
-TimerPresentationModel::TimerPresentationModel()\r
-:__nameKey("timerTime")\r
- ,__pAppRegistry(null)\r
- ,__remainingTimeKey("remainingTime")\r
- ,__restartTickKey("restartTick")\r
- ,__statusKey("timerStatus")\r
- ,__startTickKey("startTick")\r
- ,__stopTickKey("stopTick")\r
- ,__tempTickKey("tempTick")\r
- ,__userSetValueKey("userSetValue")\r
-,__registeredValueKey("registeredValue")\r
-{\r
-\r
-}\r
-\r
-TimerPresentationModel::~TimerPresentationModel()\r
-{\r
-\r
-}\r
-\r
-void\r
-TimerPresentationModel::SetTimerValue(const DateTime& remainingTime, int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& userSetValue, String& registeredValue)\r
-{\r
- result r = E_FAILURE;\r
- DateTime ringingTime;\r
- String time;\r
- DataServiceProvider* pDataServiceProvider= DataServiceProvider::GetInstance();\r
-\r
- if ( pDataServiceProvider == NULL )\r
- {\r
- return;\r
- }\r
-\r
- pDataServiceProvider->GetCurrentDateTime(ringingTime);\r
- ringingTime.AddHours(remainingTime.GetHour());\r
- ringingTime.AddMinutes(remainingTime.GetMinute());\r
- ringingTime.AddSeconds(remainingTime.GetSecond());\r
- AppLog("remainingTime = %ls ringing time = %ls", remainingTime.ToString().GetPointer(), ringingTime.ToString().GetPointer());\r
-\r
- if(__pAppRegistry == null)\r
- {\r
- __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();\r
- }\r
-\r
- r = __pAppRegistry->Set(__remainingTimeKey, remainingTime.ToString());\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__remainingTimeKey, remainingTime.ToString());\r
- }\r
-\r
- time = ringingTime.ToString();\r
- r = __pAppRegistry->Set(__nameKey, time);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__nameKey, time);\r
- }\r
-\r
- r = __pAppRegistry->Set(__statusKey, status);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__statusKey, status);\r
- }\r
-\r
- r = __pAppRegistry->Set(__startTickKey, startTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__startTickKey, startTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__tempTickKey, tempTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__tempTickKey, tempTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__restartTickKey, restartTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__restartTickKey, restartTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__stopTickKey, stopTick);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__stopTickKey, stopTick);\r
- }\r
-\r
- r = __pAppRegistry->Set(__userSetValueKey, userSetValue);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__userSetValueKey, userSetValue);\r
- }\r
-\r
- r = __pAppRegistry->Set(__registeredValueKey, registeredValue);\r
-\r
- if (r == E_KEY_NOT_FOUND)\r
- {\r
- __pAppRegistry->Add(__registeredValueKey, registeredValue);\r
- }\r
-\r
- __pAppRegistry->Save();\r
-}\r
-\r
-void\r
-TimerPresentationModel::GetTimerValue(DateTime& timerValue, String& remainingTime, int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& userSetValue, String& registeredValue)\r
-{\r
- AppLog("TimerPresentationModel::GetTimerValue");\r
- result r = E_FAILURE;\r
- DateTime currentTime;\r
- DateTime time;\r
- String ringingTime;\r
- DataServiceProvider* pDataServiceProvider= DataServiceProvider::GetInstance();\r
-\r
- if(__pAppRegistry == null)\r
- {\r
- __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();\r
- }\r
-\r
- pDataServiceProvider->GetCurrentDateTime(currentTime);\r
- r = __pAppRegistry->Get(__nameKey, ringingTime);\r
-\r
- if(IsFailed(r))\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- DateTime::Parse(ringingTime, time);\r
- AppLog("ringing time = %ls remainningTime = %ls currentTime = %ls",ringingTime.GetPointer(), time.ToString().GetPointer(), currentTime.ToString().GetPointer());\r
-\r
- timerValue.AddHours(time.GetHour() - currentTime.GetHour());\r
- timerValue.AddMinutes(time.GetMinute() - currentTime.GetMinute());\r
- timerValue.AddSeconds(time.GetSecond() - currentTime.GetSecond());\r
- r = __pAppRegistry->Get(__statusKey, status);\r
-\r
- if( IsFailed(r))\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- AppLog("TimerPresentationModel::GetTimerValue end timerValue = %ls status = %d", timerValue.ToString().GetPointer(), status);\r
-\r
- r = __pAppRegistry->Get(__userSetValueKey, userSetValue);\r
-\r
- if ( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__remainingTimeKey, remainingTime);\r
-\r
- if ( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- if (status != 0)\r
- {\r
- r = __pAppRegistry->Get(__startTickKey, startTick);\r
-\r
- if ( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__tempTickKey, tempTick);\r
-\r
- if( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__restartTickKey, restartTick);\r
-\r
- if ( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__stopTickKey, stopTick);\r
-\r
- if ( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- r = __pAppRegistry->Get(__registeredValueKey, registeredValue);\r
-\r
- if ( IsFailed(r) )\r
- {\r
- AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));\r
- }\r
-\r
- }\r
- AppLog("TimerPresentationModel::GetTimerValue end");\r
-}\r
-\r
-TimerPresentationModel*\r
-TimerPresentationModel::GetInstance(void)\r
-{\r
- if (__pInstance == null)\r
- {\r
- CreateInstance();\r
- }\r
-\r
- return __pInstance;\r
-}\r
-\r
-result\r
-TimerPresentationModel::Construct(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-TimerPresentationModel::CreateInstance(void)\r
-{\r
- __pInstance = new (std::nothrow) TimerPresentationModel();\r
- result r = __pInstance->Construct();\r
- if (IsFailed(r))\r
- {\r
- delete __pInstance;\r
- __pInstance = null;\r
- return;\r
- }\r
-\r
- std::atexit(DestroyInstance);\r
-}\r
-\r
-void\r
-TimerPresentationModel::DestroyInstance(void)\r
-{\r
- delete __pInstance;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTimerPresentationModel.cpp
+ * @brief This file contains the definitions of the TimerPresentationModel Class.
+ */
+
+#include <cstdlib>
+#include <FApp.h>
+#include <FBase.h>
+
+#include "ClkAlarmPresentationModel.h"
+#include "ClkTimerPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+
+TimerPresentationModel* TimerPresentationModel::__pInstance = NULL;
+
+TimerPresentationModel::TimerPresentationModel()
+:__nameKey("timerTime")
+ ,__pAppRegistry(null)
+ ,__remainingTimeKey("remainingTime")
+ ,__restartTickKey("restartTick")
+ ,__statusKey("timerStatus")
+ ,__startTickKey("startTick")
+ ,__stopTickKey("stopTick")
+ ,__tempTickKey("tempTick")
+ ,__userSetValueKey("userSetValue")
+,__registeredValueKey("registeredValue")
+,userValue("00:01:00")
+{
+
+}
+
+TimerPresentationModel::~TimerPresentationModel()
+{
+
+}
+
+void
+TimerPresentationModel::SetTimerValue(const DateTime& remainingTime, int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& userSetValue, String& registeredValue)
+{
+ result r = E_FAILURE;
+ DateTime ringingTime;
+ String time;
+ DataServiceProvider* pDataServiceProvider= DataServiceProvider::GetInstance();
+
+ if ( pDataServiceProvider == NULL )
+ {
+ return;
+ }
+
+ pDataServiceProvider->GetCurrentDateTime(ringingTime);
+ ringingTime.AddHours(remainingTime.GetHour());
+ ringingTime.AddMinutes(remainingTime.GetMinute());
+ ringingTime.AddSeconds(remainingTime.GetSecond());
+ AppLog("remainingTime = %ls ringing time = %ls", remainingTime.ToString().GetPointer(), ringingTime.ToString().GetPointer());
+
+ if(__pAppRegistry == null)
+ {
+ __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();
+ }
+
+ r = __pAppRegistry->Set(__remainingTimeKey, remainingTime.ToString());
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__remainingTimeKey, remainingTime.ToString());
+ }
+
+ time = ringingTime.ToString();
+ r = __pAppRegistry->Set(__nameKey, time);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__nameKey, time);
+ }
+
+ r = __pAppRegistry->Set(__statusKey, status);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__statusKey, status);
+ }
+
+ r = __pAppRegistry->Set(__startTickKey, startTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__startTickKey, startTick);
+ }
+
+ r = __pAppRegistry->Set(__tempTickKey, tempTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__tempTickKey, tempTick);
+ }
+
+ r = __pAppRegistry->Set(__restartTickKey, restartTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__restartTickKey, restartTick);
+ }
+
+ r = __pAppRegistry->Set(__stopTickKey, stopTick);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__stopTickKey, stopTick);
+ }
+
+ r = __pAppRegistry->Set(__userSetValueKey, userSetValue);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__userSetValueKey, userSetValue);
+ }
+
+ r = __pAppRegistry->Set(__registeredValueKey, registeredValue);
+
+ if (r == E_KEY_NOT_FOUND)
+ {
+ __pAppRegistry->Add(__registeredValueKey, registeredValue);
+ }
+
+ __pAppRegistry->Save();
+}
+
+void
+TimerPresentationModel::GetTimerValue(DateTime& timerValue, String& remainingTime, int& status, String& startTick, String& tempTick, String& restartTick, String& stopTick, String& userSetValue, String& registeredValue)
+{
+ AppLog("TimerPresentationModel::GetTimerValue");
+ result r = E_FAILURE;
+ DateTime currentTime;
+ DateTime time;
+ String ringingTime;
+ DataServiceProvider* pDataServiceProvider= DataServiceProvider::GetInstance();
+
+ if(__pAppRegistry == null)
+ {
+ __pAppRegistry = UiApp::GetInstance()->GetAppRegistry();
+ }
+
+ pDataServiceProvider->GetCurrentDateTime(currentTime);
+ r = __pAppRegistry->Get(__nameKey, ringingTime);
+
+ if(IsFailed(r))
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ DateTime::Parse(ringingTime, time);
+ AppLog("ringing time = %ls remainningTime = %ls currentTime = %ls",ringingTime.GetPointer(), time.ToString().GetPointer(), currentTime.ToString().GetPointer());
+
+ timerValue.AddHours(time.GetHour() - currentTime.GetHour());
+ timerValue.AddMinutes(time.GetMinute() - currentTime.GetMinute());
+ timerValue.AddSeconds(time.GetSecond() - currentTime.GetSecond());
+ r = __pAppRegistry->Get(__statusKey, status);
+
+ if( IsFailed(r))
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ AppLog("TimerPresentationModel::GetTimerValue end timerValue = %ls status = %d", timerValue.ToString().GetPointer(), status);
+
+ r = __pAppRegistry->Get(__userSetValueKey, userSetValue);
+
+ if ( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__remainingTimeKey, remainingTime);
+
+ if ( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ if (status != 0)
+ {
+ r = __pAppRegistry->Get(__startTickKey, startTick);
+
+ if ( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__tempTickKey, tempTick);
+
+ if( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__restartTickKey, restartTick);
+
+ if ( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__stopTickKey, stopTick);
+
+ if ( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ r = __pAppRegistry->Get(__registeredValueKey, registeredValue);
+
+ if ( IsFailed(r) )
+ {
+ AppLog("TimerPresentationModel::GetTimerValue result = %s", GetErrorMessage(r));
+ }
+
+ }
+ AppLog("TimerPresentationModel::GetTimerValue end");
+}
+
+TimerPresentationModel*
+TimerPresentationModel::GetInstance(void)
+{
+ if (__pInstance == null)
+ {
+ CreateInstance();
+ }
+
+ return __pInstance;
+}
+
+result
+TimerPresentationModel::Construct(void)
+{
+ return E_SUCCESS;
+}
+
+void
+TimerPresentationModel::CreateInstance(void)
+{
+ __pInstance = new (std::nothrow) TimerPresentationModel();
+ result r = __pInstance->Construct();
+ if (IsFailed(r))
+ {
+ delete __pInstance;
+ __pInstance = null;
+ return;
+ }
+
+ std::atexit(DestroyInstance);
+}
+
+void
+TimerPresentationModel::DestroyInstance(void)
+{
+ delete __pInstance;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTimerRingingForm.cpp\r
- * @brief Used to define TimerRingingForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FAppUiApp.h>\r
-#include <FBase.h>\r
-#include <FMedia.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTimerPresentationModel.h"\r
-#include "ClkTimerRingingForm.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-using namespace Tizen::Telephony;\r
-\r
-static const int IDA_TABBAR_ITEM1_STOP = 101;\r
-const RequestId REQUEST_ID_SETZORDER = 10000;\r
-\r
-TimerRingingForm::TimerRingingForm()\r
-:__pStopButton(null)\r
-,__pTimer(null)\r
-,__pTimerTimeLabel(null)\r
-{\r
- // TODO Auto-generated constructor stub\r
-\r
-}\r
-\r
-TimerRingingForm::~TimerRingingForm() {\r
- // TODO Auto-generated destructor stub\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- delete __pTimer;\r
- __pTimer = null;\r
- }\r
-}\r
-\r
-bool\r
-TimerRingingForm::Initialize()\r
-{\r
- Form::Construct(L"IDL_TIMER_RINGING_FORM");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-TimerRingingForm::OnInitializing(void)\r
-{\r
- result r = E_FAILURE;\r
-\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->AddSceneEventListener(IDSCN_TIMER_RINGING, *this);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("OnInitialized failed with %s", GetErrorMessage(r));\r
- return r;\r
- }\r
- }\r
-\r
- AddOrientationEventListener(*this);\r
- __pStopButton = static_cast< Button* >(GetControl("IDC_BUTTON1"));\r
-\r
- if (__pStopButton != null)\r
- {\r
- __pStopButton->SetActionId(IDA_TABBAR_ITEM1_STOP);\r
- __pStopButton->AddActionEventListener(*this);\r
- }\r
-\r
- __pTimerTimeLabel = static_cast< Label* >(GetControl("IDC_LABEL2"));\r
-\r
- __callManager.Construct(*this);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-TimerRingingForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- int timerExpired = 60000;\r
- String* str = null;\r
- DateTime timerValue;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick;\r
- int status;\r
- String userSetValue;\r
- String remainingTime;\r
- String registeredTime;\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
- pTimerPresentationModel->GetTimerValue(timerValue, remainingTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
-\r
-\r
- if(__pTimerTimeLabel != null)\r
- {\r
- if (pArgs != null)\r
- {\r
- str = dynamic_cast<String*>(pArgs->GetAt(0));\r
-\r
- if ( str != NULL)\r
- {\r
- AppLog("str = %ls", str->GetPointer());\r
-\r
- if(str->Contains("::") == true)\r
- {\r
- __pTimerTimeLabel->SetText(userSetValue);\r
- }\r
- else\r
- {\r
- __pTimerTimeLabel->SetText(*str);\r
- }\r
- }\r
-\r
- }\r
- else\r
- {\r
- __pTimerTimeLabel->SetText(userSetValue);\r
- }\r
- }\r
-\r
- __pTimer = new (std::nothrow) Timer();\r
- __pTimer->Construct(*this);\r
- __pTimer->Start(timerExpired); // to call OnTimerExpired after 1 minute\r
-\r
-\r
- String filePath = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3";\r
- __player.Construct(*this);\r
- __player.OpenFile(filePath, false);\r
- __player.Play();\r
-\r
- Invalidate(true);\r
- Show();\r
-\r
- SendUserEvent(REQUEST_ID_SETZORDER, null);\r
-\r
-}\r
-\r
-void\r
-TimerRingingForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)\r
-{\r
- if (requestId == REQUEST_ID_SETZORDER)\r
- {\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
- }\r
-}\r
-\r
-void\r
-TimerRingingForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
-\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
-\r
- if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT)\r
- {\r
- __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
- else\r
- {\r
- __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
-\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- delete __pTimer;\r
- __pTimer = null;\r
- }\r
-}\r
-\r
-void\r
-TimerRingingForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- result r = E_FAILURE;\r
- SceneManager* pSceneManager = null;\r
- UiApp* pApp = null;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick;\r
- DateTime dateTime;\r
- String userSetValue;\r
- String registeredTime;\r
- int status = 0;\r
-\r
- startTick.Append(0);\r
- tempTick.Append(0);\r
-\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
-\r
- if ( pTimerPresentationModel == null )\r
- {\r
- return;\r
- }\r
-\r
- switch (actionId)\r
- {\r
- case IDA_TABBAR_ITEM1_STOP:\r
- dateTime.SetValue(9999,1,1);\r
- pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
-\r
- if(IsFailed(r))\r
- {\r
- pApp = UiApp::GetInstance();\r
- pApp->Terminate();\r
- }\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-TimerRingingForm::OnTimerExpired(Timer& timer)\r
-{\r
- result r = E_FAILURE;\r
- SceneManager* pSceneManager = null;\r
- UiApp* pApp = null;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick;\r
- DateTime dateTime;\r
- String userSetValue;\r
- String registeredTime;\r
- int status = 0;\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
- pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
-\r
- if(IsFailed(r))\r
- {\r
- pApp = UiApp::GetInstance();\r
- pApp->Terminate();\r
- }\r
- }\r
-}\r
-\r
-void\r
-TimerRingingForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)\r
-{\r
- AppLog("callStatus %d", callStatus);\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if(callStatus != CALL_STATUS_IDLE)\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
- }\r
- else\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
- }\r
-}\r
-\r
-void\r
-TimerRingingForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- if (orientationStatus == ORIENTATION_STATUS_PORTRAIT)\r
- {\r
- __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
- else\r
- {\r
- __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTimerRingingForm.cpp
+ * @brief Used to define TimerRingingForm
+ */
+
+#include <FApp.h>
+#include <FAppUiApp.h>
+#include <FBase.h>
+#include <FMedia.h>
+#include <FUi.h>
+
+#include "ClkCommonLib.h"
+#include "ClkSceneRegister.h"
+#include "ClkTimerPresentationModel.h"
+#include "ClkTimerRingingForm.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Media;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+using namespace Tizen::Telephony;
+
+static const int IDA_TABBAR_ITEM1_STOP = 101;
+const RequestId REQUEST_ID_SETZORDER = 10000;
+
+TimerRingingForm::TimerRingingForm()
+:__pStopButton(null)
+,__pTimer(null)
+,__pTimerTimeLabel(null)
+{
+ // TODO Auto-generated constructor stub
+
+}
+
+TimerRingingForm::~TimerRingingForm() {
+ // TODO Auto-generated destructor stub
+ if(__pTimer != null)
+ {
+ __pTimer->Cancel();
+ delete __pTimer;
+ __pTimer = null;
+ }
+}
+
+bool
+TimerRingingForm::Initialize()
+{
+ Form::Construct(L"IDL_TIMER_RINGING_FORM");
+
+ return true;
+}
+
+result
+TimerRingingForm::OnInitializing(void)
+{
+ result r = E_FAILURE;
+
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->AddSceneEventListener(IDSCN_TIMER_RINGING, *this);
+
+ if (IsFailed(r))
+ {
+ AppLogException("OnInitialized failed with %s", GetErrorMessage(r));
+ return r;
+ }
+ }
+
+ AddOrientationEventListener(*this);
+ __pStopButton = static_cast< Button* >(GetControl("IDC_BUTTON1"));
+
+ if (__pStopButton != null)
+ {
+ __pStopButton->SetActionId(IDA_TABBAR_ITEM1_STOP);
+ __pStopButton->AddActionEventListener(*this);
+ }
+
+ __pTimerTimeLabel = static_cast< Label* >(GetControl("IDC_LABEL2"));
+
+ __callManager.Construct(*this);
+
+ return r;
+}
+
+void
+TimerRingingForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ int timerExpired = 60000;
+ String* str = null;
+ DateTime timerValue;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick;
+ int status;
+ String userSetValue;
+ String remainingTime;
+ String registeredTime;
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+ pTimerPresentationModel->GetTimerValue(timerValue, remainingTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+
+
+ if(__pTimerTimeLabel != null)
+ {
+ if (pArgs != null)
+ {
+ str = dynamic_cast<String*>(pArgs->GetAt(0));
+
+ if ( str != NULL)
+ {
+ AppLog("str = %ls", str->GetPointer());
+
+ if(str->Contains("::") == true)
+ {
+ __pTimerTimeLabel->SetText(userSetValue);
+ }
+ else
+ {
+ __pTimerTimeLabel->SetText(*str);
+ }
+ }
+
+ }
+ else
+ {
+ __pTimerTimeLabel->SetText(userSetValue);
+ }
+ }
+
+ __pTimer = new (std::nothrow) Timer();
+ __pTimer->Construct(*this);
+ __pTimer->Start(timerExpired); // to call OnTimerExpired after 1 minute
+
+
+ String filePath = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3";
+ __player.Construct(*this);
+ __player.OpenFile(filePath, false);
+ __player.Play();
+
+ Invalidate(true);
+ Show();
+
+ SendUserEvent(REQUEST_ID_SETZORDER, null);
+
+}
+
+void
+TimerRingingForm::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)
+{
+ if (requestId == REQUEST_ID_SETZORDER)
+ {
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+ }
+}
+
+void
+TimerRingingForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+
+ if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT)
+ {
+ __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);
+ }
+ else
+ {
+ __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);
+ }
+
+ if(__pTimer != null)
+ {
+ __pTimer->Cancel();
+ delete __pTimer;
+ __pTimer = null;
+ }
+}
+
+void
+TimerRingingForm::OnActionPerformed(const Control& source, int actionId)
+{
+ result r = E_FAILURE;
+ SceneManager* pSceneManager = null;
+ UiApp* pApp = null;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick;
+ DateTime dateTime;
+ String userSetValue;
+ String registeredTime;
+ int status = 0;
+
+ startTick.Append(0);
+ tempTick.Append(0);
+
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+
+ if ( pTimerPresentationModel == null )
+ {
+ return;
+ }
+
+ switch (actionId)
+ {
+ case IDA_TABBAR_ITEM1_STOP:
+ dateTime.SetValue(9999,1,1);
+ pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+
+ if(IsFailed(r))
+ {
+ pApp = UiApp::GetInstance();
+ pApp->Terminate();
+ }
+ }
+ break;
+ default:
+ break;
+ }
+}
+
+void
+TimerRingingForm::OnTimerExpired(Timer& timer)
+{
+ result r = E_FAILURE;
+ SceneManager* pSceneManager = null;
+ UiApp* pApp = null;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick;
+ DateTime dateTime;
+ String userSetValue;
+ String registeredTime;
+ int status = 0;
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+ pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+
+ if(IsFailed(r))
+ {
+ pApp = UiApp::GetInstance();
+ pApp->Terminate();
+ }
+ }
+}
+
+void
+TimerRingingForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)
+{
+ AppLog("callStatus %d", callStatus);
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if(callStatus != CALL_STATUS_IDLE)
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+ }
+ else
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+ }
+}
+
+void
+TimerRingingForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ if (orientationStatus == ORIENTATION_STATUS_PORTRAIT)
+ {
+ __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);
+ }
+ else
+ {
+ __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);
+ }
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTimerRingingLockForm.cpp\r
- * @brief Used to define TimerRingingLockForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FAppUiApp.h>\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FMedia.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkAlarmRingingLockPanel.h"\r
-#include "ClkCommonLib.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTimerPresentationModel.h"\r
-#include "ClkTimerRingingLockForm.h"\r
-#include "ClkTypes.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-using namespace Tizen::Telephony;\r
-\r
-\r
-TimerRingingLockForm::TimerRingingLockForm()\r
-: __pAlarmRingingSnoozeOffPanel(null)\r
-, __pTimer(null)\r
-, __pTimerTimeLabel(null)\r
-{\r
- // TODO Auto-generated constructor stub\r
-\r
-}\r
-\r
-TimerRingingLockForm::~TimerRingingLockForm()\r
-{\r
- // TODO Auto-generated destructor stub\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- delete __pTimer;\r
- __pTimer = null;\r
- }\r
-}\r
-\r
-bool\r
-TimerRingingLockForm::Initialize()\r
-{\r
- Form::Construct(L"IDL_TIMER_RINGING_LOCK_FORM");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-TimerRingingLockForm::OnInitializing(void)\r
-{\r
- result r = E_FAILURE;\r
- Rectangle snoozeRect;\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->AddSceneEventListener(IDSCN_TIMER_RINGING_LOCK, *this);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogException("OnInitialized failed with %s", GetErrorMessage(r));\r
- return r;\r
- }\r
- }\r
-\r
- AddOrientationEventListener(*this);\r
- __pTimerTimeLabel = static_cast<Label*>(GetControl("IDC_LABEL2"));\r
-\r
- snoozeRect.x = 0;\r
- snoozeRect.y = GetHeight() - Y_RINGER_LOCK_PANEL_OFFSET;\r
- snoozeRect.width = GetWidth();\r
- snoozeRect.height = H_RINGER_LOCK_PANEL;\r
-\r
- __pAlarmRingingSnoozeOffPanel = new (std::nothrow) AlarmRingingSnoozeOffPanel();\r
- __pAlarmRingingSnoozeOffPanel->Construct(snoozeRect);\r
- __pAlarmRingingSnoozeOffPanel->SetAlarmRinignigCommandListener(this);\r
- AddControl(*__pAlarmRingingSnoozeOffPanel);\r
- __pAlarmRingingSnoozeOffPanel->SetBounds(snoozeRect);\r
-\r
- __callManager.Construct(*this);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-TimerRingingLockForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- int timerExpired = 60000;\r
- String* str = null;\r
- DateTime timerValue;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick;\r
- int status;\r
- String userSetValue;\r
- String remainingTime;\r
- String registeredTime;\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
-\r
- if ( pTimerPresentationModel != NULL)\r
- {\r
- pTimerPresentationModel->GetTimerValue(timerValue,remainingTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
- }\r
-\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
-\r
- if (pArgs != null)\r
- {\r
- str = dynamic_cast<String*>(pArgs->GetAt(0));\r
-\r
- if ( str != NULL )\r
- {\r
- AppLog("str = %ls", str->GetPointer());\r
- if(str->Contains("::") == true)\r
- {\r
- __pTimerTimeLabel->SetText(userSetValue);\r
- }\r
- else\r
- {\r
- __pTimerTimeLabel->SetText(*str);\r
- }\r
- }\r
- }\r
- else\r
- {\r
- AppLog("TimerRingingForm::OnSceneActivatedN userSetValue = %ls", userSetValue.GetPointer());\r
- __pTimerTimeLabel->SetText(userSetValue);\r
- }\r
-\r
- if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT)\r
- {\r
- __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
- else\r
- {\r
- __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
-\r
- __pTimer = new (std::nothrow) Timer();\r
- __pTimer->Construct(*this);\r
- __pTimer->Start(timerExpired);// to call OnTimerExpired after 1 minute\r
-
- String filePath = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3";\r
- __player.Construct(*this);\r
- __player.OpenFile(filePath, false);\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTimerRingingLockForm.cpp
+ * @brief Used to define TimerRingingLockForm
+ */
+
+#include <FApp.h>
+#include <FAppUiApp.h>
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FMedia.h>
+#include <FUi.h>
+
+#include "ClkAlarmRingingLockPanel.h"
+#include "ClkCommonLib.h"
+#include "ClkSceneRegister.h"
+#include "ClkTimerPresentationModel.h"
+#include "ClkTimerRingingLockForm.h"
+#include "ClkTypes.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Media;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+using namespace Tizen::Telephony;
+
+
+TimerRingingLockForm::TimerRingingLockForm()
+: __pAlarmRingingSnoozeOffPanel(null)
+, __pTimer(null)
+, __pTimerTimeLabel(null)
+{
+ // TODO Auto-generated constructor stub
+
+}
+
+TimerRingingLockForm::~TimerRingingLockForm()
+{
+ // TODO Auto-generated destructor stub
+ if(__pTimer != null)
+ {
+ __pTimer->Cancel();
+ delete __pTimer;
+ __pTimer = null;
+ }
+}
+
+bool
+TimerRingingLockForm::Initialize()
+{
+ Form::Construct(L"IDL_TIMER_RINGING_LOCK_FORM");
+
+ return true;
+}
+
+result
+TimerRingingLockForm::OnInitializing(void)
+{
+ result r = E_FAILURE;
+ Rectangle snoozeRect;
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->AddSceneEventListener(IDSCN_TIMER_RINGING_LOCK, *this);
+
+ if (IsFailed(r))
+ {
+ AppLogException("OnInitialized failed with %s", GetErrorMessage(r));
+ return r;
+ }
+ }
+
+ AddOrientationEventListener(*this);
+ __pTimerTimeLabel = static_cast<Label*>(GetControl("IDC_LABEL2"));
+
+ snoozeRect.x = 0;
+ snoozeRect.y = GetHeight() - Y_RINGER_LOCK_PANEL_OFFSET;
+ snoozeRect.width = GetWidth();
+ snoozeRect.height = H_RINGER_LOCK_PANEL;
+
+ __pAlarmRingingSnoozeOffPanel = new (std::nothrow) AlarmRingingSnoozeOffPanel();
+ __pAlarmRingingSnoozeOffPanel->Construct(snoozeRect);
+ __pAlarmRingingSnoozeOffPanel->SetAlarmRinignigCommandListener(this);
+ AddControl(*__pAlarmRingingSnoozeOffPanel);
+ __pAlarmRingingSnoozeOffPanel->SetBounds(snoozeRect);
+
+ __callManager.Construct(*this);
+
+ return r;
+}
+
+void
+TimerRingingLockForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ int timerExpired = 60000;
+ String* str = null;
+ DateTime timerValue;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick;
+ int status;
+ String userSetValue;
+ String remainingTime;
+ String registeredTime;
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+
+ if ( pTimerPresentationModel != NULL)
+ {
+ pTimerPresentationModel->GetTimerValue(timerValue,remainingTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+ }
+
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+
+ if (pArgs != null)
+ {
+ str = dynamic_cast<String*>(pArgs->GetAt(0));
+
+ if ( str != NULL )
+ {
+ AppLog("str = %ls", str->GetPointer());
+ if(str->Contains("::") == true)
+ {
+ __pTimerTimeLabel->SetText(userSetValue);
+ }
+ else
+ {
+ __pTimerTimeLabel->SetText(*str);
+ }
+ }
+ }
+ else
+ {
+ AppLog("TimerRingingForm::OnSceneActivatedN userSetValue = %ls", userSetValue.GetPointer());
+ __pTimerTimeLabel->SetText(userSetValue);
+ }
+
+ if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT)
+ {
+ __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);
+ }
+ else
+ {
+ __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);
+ }
+
+ __pTimer = new (std::nothrow) Timer();
+ __pTimer->Construct(*this);
+ __pTimer->Start(timerExpired);// to call OnTimerExpired after 1 minute
+
+ String filePath = Tizen::App::App::GetInstance()->GetAppRootPath() + L"data/Walk in the forest.mp3";
+ __player.Construct(*this);
+ __player.OpenFile(filePath, false);
__player.Play();
-\r
- Invalidate(true);\r
-}\r
-\r
-void\r
-TimerRingingLockForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
-\r
- if(__pTimer != null)\r
- {\r
- __pTimer->Cancel();\r
- delete __pTimer;\r
- __pTimer = null;\r
- }\r
-}\r
-\r
-void\r
-TimerRingingLockForm::OnAlarmRingingLockEvent(AlarmRingingCommandId commandId)\r
-{\r
- result r = E_FAILURE;\r
- SceneManager* pSceneManager = null;\r
- UiApp* pApp = null;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick;\r
- DateTime dateTime;\r
- String userSetValue;\r
- String registeredTime;\r
- int status = 0;\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
-\r
- if ( pTimerPresentationModel != NULL)\r
- {\r
- pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
- }\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
-\r
- if(IsFailed(r))\r
- {\r
- pApp = UiApp::GetInstance();\r
- pApp->Terminate();\r
- }\r
- }\r
-}\r
-\r
-void\r
-TimerRingingLockForm::OnTimerExpired(Timer& timer)\r
-{\r
- result r = E_FAILURE;\r
- SceneManager* pSceneManager = null;\r
- UiApp* pApp = null;\r
- String startTick;\r
- String tempTick;\r
- String restartTick;\r
- String stopTick;\r
- DateTime dateTime;\r
- String userSetValue;\r
- int status = 0;\r
- String registeredTime;\r
- TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();\r
-\r
- if ( pTimerPresentationModel != NULL)\r
- {\r
- pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);\r
- }\r
-\r
- pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- r = pSceneManager->GoBackward(BackwardSceneTransition());\r
-\r
- if(IsFailed(r))\r
- {\r
- pApp = UiApp::GetInstance();\r
- pApp->Terminate();\r
- }\r
- }\r
-}\r
-\r
-void\r
-TimerRingingLockForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)\r
-{\r
- AppLog("callStatus %d", callStatus);\r
- Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");\r
-\r
- if(callStatus != CALL_STATUS_IDLE)\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);\r
- }\r
- }\r
- else\r
- {\r
- if (pFrame != null)\r
- {\r
- pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);\r
- }\r
- }\r
-}\r
-\r
-void\r
-TimerRingingLockForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- Rectangle snoozeRect;\r
-\r
- if (orientationStatus == ORIENTATION_STATUS_PORTRAIT)\r
- {\r
- snoozeRect.y = GetHeight() - Y_RINGER_LOCK_PANEL_OFFSET;\r
- __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
- else\r
- {\r
- snoozeRect.y = GetHeight() - 210;\r
- __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);\r
- }\r
-\r
- snoozeRect.x = 0;\r
- snoozeRect.width = GetWidth();\r
- snoozeRect.height = H_RINGER_LOCK_PANEL;\r
- __pAlarmRingingSnoozeOffPanel->SetBounds(snoozeRect);\r
-}\r
+
+ Invalidate(true);
+}
+
+void
+TimerRingingLockForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+
+ if(__pTimer != null)
+ {
+ __pTimer->Cancel();
+ delete __pTimer;
+ __pTimer = null;
+ }
+}
+
+void
+TimerRingingLockForm::OnAlarmRingingLockEvent(AlarmRingingCommandId commandId)
+{
+ result r = E_FAILURE;
+ SceneManager* pSceneManager = null;
+ UiApp* pApp = null;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick;
+ DateTime dateTime;
+ String userSetValue;
+ String registeredTime;
+ int status = 0;
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+
+ if ( pTimerPresentationModel != NULL)
+ {
+ pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+ }
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+
+ if(IsFailed(r))
+ {
+ pApp = UiApp::GetInstance();
+ pApp->Terminate();
+ }
+ }
+}
+
+void
+TimerRingingLockForm::OnTimerExpired(Timer& timer)
+{
+ result r = E_FAILURE;
+ SceneManager* pSceneManager = null;
+ UiApp* pApp = null;
+ String startTick;
+ String tempTick;
+ String restartTick;
+ String stopTick;
+ DateTime dateTime;
+ String userSetValue;
+ int status = 0;
+ String registeredTime;
+ TimerPresentationModel* pTimerPresentationModel = TimerPresentationModel::GetInstance();
+
+ if ( pTimerPresentationModel != NULL)
+ {
+ pTimerPresentationModel->SetTimerValue(dateTime, status, startTick, tempTick, restartTick, stopTick, userSetValue, registeredTime);
+ }
+
+ pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ r = pSceneManager->GoBackward(BackwardSceneTransition());
+
+ if(IsFailed(r))
+ {
+ pApp = UiApp::GetInstance();
+ pApp->Terminate();
+ }
+ }
+}
+
+void
+TimerRingingLockForm::OnTelephonyCallStatusChangedN (CallStatus callStatus, CallInfo *pCallInfo)
+{
+ AppLog("callStatus %d", callStatus);
+ Frame* pFrame = UiApp::GetInstance()->GetFrame(L"Clock");
+
+ if(callStatus != CALL_STATUS_IDLE)
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_NORMAL);
+ }
+ }
+ else
+ {
+ if (pFrame != null)
+ {
+ pFrame->SetZOrderGroup(WINDOW_Z_ORDER_GROUP_HIGH);
+ }
+ }
+}
+
+void
+TimerRingingLockForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ Rectangle snoozeRect;
+
+ if (orientationStatus == ORIENTATION_STATUS_PORTRAIT)
+ {
+ snoozeRect.y = GetHeight() - Y_RINGER_LOCK_PANEL_OFFSET;
+ __pTimerTimeLabel->SetTextConfig(140, LABEL_TEXT_STYLE_NORMAL);
+ }
+ else
+ {
+ snoozeRect.y = GetHeight() - 210;
+ __pTimerTimeLabel->SetTextConfig(100, LABEL_TEXT_STYLE_NORMAL);
+ }
+
+ snoozeRect.x = 0;
+ snoozeRect.width = GetWidth();
+ snoozeRect.height = H_RINGER_LOCK_PANEL;
+ __pAlarmRingingSnoozeOffPanel->SetBounds(snoozeRect);
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ToggleCustomItem.cpp\r
- * @brief The ToggleCustomItem\r
- *\r
- */\r
-\r
-#include <FBase.h>\r
-#include <FGraphics.h>\r
-#include <FUiControls.h>\r
-\r
-#include "ClkToggleCustomItem.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-static const int IDA_FORMAT_STRING = 101;\r
-\r
-ToggleCustomItem::ToggleCustomItem(void)\r
-:__height(0),\r
- __text(""),\r
- __width(0)\r
-{\r
-\r
-}\r
-\r
-ToggleCustomItem::~ToggleCustomItem(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-ToggleCustomItem::Construct(int width, int height)\r
-{\r
- result r = E_FAILURE;\r
-\r
- __width = width;\r
- __height = height;\r
- const Dimension dim(width, height);\r
- r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_ONOFF_SLIDING);\r
-\r
- return r;\r
-}\r
-\r
-void\r
-ToggleCustomItem::SetText(String& text)\r
-{\r
- __text = text;\r
-}\r
-\r
-String\r
-ToggleCustomItem::GetText(void)\r
-{\r
- return __text;\r
-}\r
-\r
-result\r
-ToggleCustomItem::Make(void)\r
-{\r
- EnrichedText* pMainEnText = null;\r
- TextElement* pMainTextElement = null;\r
- Font* pMainTextFont = null;\r
- int mainTextFont = 32;\r
- int textX = 80;\r
- int textY = 40;\r
- Color textColor = Color(128, 128, 128);\r
- Color pressedTextColor = Color(249, 249, 249);\r
- int X_Margin = 26;\r
- int Y_Margin = 40;\r
- int itemWidth = __width - 60 ;\r
-\r
- pMainEnText = new (std::nothrow) EnrichedText();\r
- pMainEnText->Construct(Dimension(__width - textX, textY));\r
-\r
- pMainTextElement = new (std::nothrow) TextElement();\r
- pMainTextElement->Construct(__text);\r
-\r
- pMainTextFont = new (std::nothrow) Font();\r
- pMainTextFont->Construct(FONT_STYLE_BOLD, mainTextFont);\r
-\r
- pMainTextElement->SetFont(*pMainTextFont);\r
- pMainTextElement->SetTextColor(textColor);\r
- pMainEnText->Add(*pMainTextElement);\r
-\r
-\r
- AddElement(Rectangle(X_Margin, Y_Margin, itemWidth , __height), IDA_FORMAT_STRING, *pMainEnText);\r
- //SetElementSelectionEnabled(IDA_FORMAT_STRING, true);\r
-\r
- delete pMainTextFont;\r
- pMainEnText->RemoveAllTextElements(true);\r
- delete pMainEnText;\r
-\r
-\r
- return E_SUCCESS;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ToggleCustomItem.cpp
+ * @brief The ToggleCustomItem
+ *
+ */
+
+#include <FBase.h>
+#include <FGraphics.h>
+#include <FUiControls.h>
+
+#include "ClkToggleCustomItem.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Graphics;
+using namespace Tizen::Ui::Controls;
+
+static const int IDA_FORMAT_STRING = 101;
+
+ToggleCustomItem::ToggleCustomItem(void)
+:__height(0),
+ __text(""),
+ __width(0)
+{
+
+}
+
+ToggleCustomItem::~ToggleCustomItem(void)
+{
+
+}
+
+result
+ToggleCustomItem::Construct(int width, int height)
+{
+ result r = E_FAILURE;
+
+ __width = width;
+ __height = height;
+ const Dimension dim(width, height);
+ r = CustomItem::Construct(dim, LIST_ANNEX_STYLE_ONOFF_SLIDING);
+
+ return r;
+}
+
+void
+ToggleCustomItem::SetText(String& text)
+{
+ __text = text;
+}
+
+String
+ToggleCustomItem::GetText(void)
+{
+ return __text;
+}
+
+result
+ToggleCustomItem::Make(void)
+{
+ EnrichedText* pMainEnText = null;
+ TextElement* pMainTextElement = null;
+ Font* pMainTextFont = null;
+ int mainTextFont = 32;
+ int textX = 80;
+ int textY = 40;
+ Color textColor = Color(128, 128, 128);
+ Color pressedTextColor = Color(249, 249, 249);
+ int X_Margin = 26;
+ int Y_Margin = 40;
+ int itemWidth = __width - 60 ;
+
+ pMainEnText = new (std::nothrow) EnrichedText();
+ pMainEnText->Construct(Dimension(__width - textX, textY));
+
+ pMainTextElement = new (std::nothrow) TextElement();
+ pMainTextElement->Construct(__text);
+
+ pMainTextFont = new (std::nothrow) Font();
+ pMainTextFont->Construct(FONT_STYLE_BOLD, mainTextFont);
+
+ pMainTextElement->SetFont(*pMainTextFont);
+ pMainTextElement->SetTextColor(textColor);
+ pMainEnText->Add(*pMainTextElement);
+
+
+ AddElement(Rectangle(X_Margin, Y_Margin, itemWidth , __height), IDA_FORMAT_STRING, *pMainEnText);
+ //SetElementSelectionEnabled(IDA_FORMAT_STRING, true);
+
+ delete pMainTextFont;
+ pMainEnText->RemoveAllTextElements(true);
+ delete pMainEnText;
+
+
+ return E_SUCCESS;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkTypes.h\r
- * @brief This is the header file for TableType\r
- */\r
-\r
-#include "ClkTypes.h"\r
-\r
-const int DURATION_RINGING_UI_UPDATION = 20;\r
-const int MIN_Y_TOUCH_POSITION = 40;\r
-const int MAX_Y_TOUCH_POSITION = 94;\r
-const int Y_RINGER_LOCK_PANEL_OFFSET = 255;\r
-const int CONTROL_WIDTH_OFFSET = 188;\r
-const int H_RINGER_LOCK_PANEL = 200;\r
-const int Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET = 10;\r
-\r
-const wchar_t* IDB_CONTROLBAR_ICON_ALARM = L"P03_tab_icon_alarm_dim_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_ALARM_NORMAL = L"P03_tab_icon_alarm_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED = L"P03_tab_icon_alarm_press_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK = L"P03_tab_icon_world_clock_dim_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL = L"P03_tab_icon_world_clock_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED = L"P03_tab_icon_world_clock_press_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH = L"P03_tab_icon_stopwatch_dim_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL = L"P03_tab_icon_stopwatch_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED = L"P03_tab_icon_stopwatch_press_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_TIMER = L"P03_tab_icon_timer_dim_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_TIMER_NORMAL = L"P03_tab_icon_timer_web.png";\r
-const wchar_t* IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED = L"P03_tab_icon_timer_press_web.png";\r
-const wchar_t* IDB_EDIT_BACKGROUND = L"EditBackground.png";\r
-const wchar_t* IDB_LIST_LEFTSIDE = L"ListLeftSide.png";\r
-const wchar_t* IDB_BUTTON_SWEEP_DELETE = L"00_button_sweep_delete.9.png";\r
-const wchar_t* IDB_BUTTON_SWEEP_DELETE_PRESS = L"00_button_sweep_delete_press.9.png";\r
-const wchar_t* IDB_ALARM_CLOCK = L"P03_alarm_clock_02.png";\r
-const wchar_t* IDB_CHECK_BG = L"00_check_bg.png";\r
-const wchar_t* IDB_CHECK_CHECKING = L"00_check_checking.png";\r
-const wchar_t* IDB_LIST_EXPAND_CLOSED = L"00_list_expand_closed.png";\r
-const wchar_t* IDB_LIST_EXPAND_CLOSED_PRESS = L"00_list_expand_closed_press.png";\r
-const wchar_t* IDB_LIST_EXPAND_OPENED = L"00_list_expand_opened.png";\r
-const wchar_t* IDB_LIST_EXPAND_OPENED_PRESS = L"00_list_expand_opened_press.png";\r
-const wchar_t* IDB_LIST_GROUP_BG = L"00_list_group_bg.9.png";\r
-const wchar_t* IDB_LIST_GROUP_BG_PRESS = L"00_list_group_bg_press.9.png";\r
-const wchar_t* IDB_BUTTON_RADIO_PRESS1 = L"00_button_radio_press1.png";\r
-const wchar_t* IDB_BUTTON_RADIO_PRESS2 = L"00_button_radio_press2.png";\r
-const wchar_t* IDB_WORLD_CLOCK_BG1 = L"P03_worldclock_bg_01.png";\r
-const wchar_t* IDB_WORLD_CLOCK_BG2 = L"P03_worldclock_bg_02.png";\r
-const wchar_t* IDB_TIMER_FOCUS_BG = L"P03_timer_edit_time_bg_focus.png";\r
-const wchar_t* IDB_TIMER_BG = L"P03_timer_edit_time_bg_ef.png";\r
-const wchar_t* IDB_TIMER_NORMAL_BG = L"P03_timer_edit_time_bg.png" ;\r
-const wchar_t* IDB_STOPWATCH_ZERO = L"P03_stopwatch_time_00.png";\r
-const wchar_t* IDB_STOPWATCH_ONE = L"P03_stopwatch_time_01.png";\r
-const wchar_t* IDB_STOPWATCH_TWO = L"P03_stopwatch_time_02.png";\r
-const wchar_t* IDB_STOPWATCH_THREE = L"P03_stopwatch_time_03.png";\r
-const wchar_t* IDB_STOPWATCH_FOUR = L"P03_stopwatch_time_04.png";\r
-const wchar_t* IDB_STOPWATCH_FIVE = L"P03_stopwatch_time_05.png";\r
-const wchar_t* IDB_STOPWATCH_SIX = L"P03_stopwatch_time_06.png";\r
-const wchar_t* IDB_STOPWATCH_SEVEN = L"P03_stopwatch_time_07.png";\r
-const wchar_t* IDB_STOPWATCH_EIGHT = L"P03_stopwatch_time_08.png";\r
-const wchar_t* IDB_STOPWATCH_NINE = L"P03_stopwatch_time_09.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_ZERO = L"P03_stopwatch_time_small_00.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_ONE = L"P03_stopwatch_time_small_01.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_TWO = L"P03_stopwatch_time_small_02.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_THREE = L"P03_stopwatch_time_small_03.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_FOUR = L"P03_stopwatch_time_small_04.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_FIVE = L"P03_stopwatch_time_small_05.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_SIX = L"P03_stopwatch_time_small_06.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_SEVEN = L"P03_stopwatch_time_small_07.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_EIGHT = L"P03_stopwatch_time_small_08.png";\r
-const wchar_t* IDB_STOPWATCH_SMALL_NINE = L"P03_stopwatch_time_small_09.png";\r
-const wchar_t* IDB_ALARM_ICON_OFF = L"P03_alarm_icon_off.png";\r
-const wchar_t* IDB_ALARM_ICON_ON = L"P03_alarm_icon_on.png";\r
-const wchar_t* IDB_ALARM_ICON_SNOOZE = L"P03_alarm_icon_snooze.png";\r
-const wchar_t* IDB_RINGER_LOCK_SNOOZE_RIGHT_ARROW = L"P03_alarm_jog_snooze_arrow_02.png";\r
-const wchar_t* IDB_RINGER_LOCK_SNOOZE = L"P03_alarm_jog_snooze.png";\r
-const wchar_t* IDB_RINGER_LOCK_SNOOZE_PRESSED = L"P03_alarm_jog_snooze_dim.png";\r
-const wchar_t* IDB_RINGER_LOCK_STOP = L"P03_alarm_jog_dismiss.png";\r
-const wchar_t* IDB_RINGER_LOCK_STOP_PRESSED = L"P03_alarm_jog_dismiss_dim.png";\r
-const wchar_t* IDB_RINGER_LOCK_STOP_LEFT_ARROW = L"P03_alarm_jog_dismiss_arrow_02.png";\r
-const wchar_t* IDB_RINGER_LOCK_STOP_RIGHT_ARROW = L"P03_alarm_jog_dismiss_arrow_01.png";\r
-const wchar_t* IDB_WORLD_CLOCK_WHITE_BG = L"P03_Worldclock_flip_white_bg.png";\r
-const wchar_t* IDB_WORLD_CLOCK_BLACK_BG = L"P03_Worldclock_flip_black_bg.png";\r
-const wchar_t* IDB_WORLD_CLOCK_WHITE_FG = L"P03_Worldclock_flip_white_bg_ef.png";\r
-const wchar_t* IDB_WORLD_CLOCK_BLACK_FG = L"P03_Worldclock_flip_black_bg_ef.png" ;\r
-const wchar_t* IDB_ALARM_TIME_BG = L"P03_alarm_edit_time_bg_ef.png";\r
-const wchar_t* IDB_ALARM_TIME_NORMAL_BG = L"P03_alarm_edit_time_bg.png" ;\r
-const wchar_t* IDB_ALARM_TIME_FOCUS_BG = L"P03_alarm_edit_time_bg_focus.png";\r
-const wchar_t* IDB_ALARM_TIME_TOGGLE_AM_BG = L"P03_alarm_edit_switch_am.png";\r
-const wchar_t* IDB_ALARM_TIME_TOGGLE_PM_BG = L"P03_alarm_edit_switch_pm.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_BG = L"P03_alarm_repeat_circle_bg_off.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_FOCUS_BG = L"P03_alarm_repeat_circle_bg_on.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_SUN_BG = L"P03_alarm_repeat_txt_off_SUN.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG = L"P03_alarm_repeat_txt_on_SUN.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_MON_BG = L"P03_alarm_repeat_txt_off_MON.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_MON_FOCUS_BG = L"P03_alarm_repeat_txt_on_MON.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_TUE_BG = L"P03_alarm_repeat_txt_off_TUE.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG = L"P03_alarm_repeat_txt_on_TUE.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_WED_BG = L"P03_alarm_repeat_txt_off_WED.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_WED_FOCUS_BG = L"P03_alarm_repeat_txt_on_WED.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_THU_BG = L"P03_alarm_repeat_txt_off_THU.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_THU_FOCUS_BG = L"P03_alarm_repeat_txt_on_THU.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_FRI_BG = L"P03_alarm_repeat_txt_off_FRI.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG = L"P03_alarm_repeat_txt_on_FRI.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_SAT_BG = L"P03_alarm_repeat_txt_off_SAT.png";\r
-const wchar_t* IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG = L"P03_alarm_repeat_txt_on_SAT.png";\r
-const wchar_t* IDS_HOUR_IMAGE_PATH = L"P03_alarm_hour_";\r
-const wchar_t* IDS_MIN_IMAGE_PATH = L"P03_alarm_min_";\r
-const wchar_t* IDS_SEC_IMAGE_PATH = L"P03_alarm_sec_";\r
-const wchar_t* IDS_CLOCK_TAB4_ALARM_TONE = L"/data/04 - Kyon.mp3";\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkTypes.h
+ * @brief This is the header file for TableType
+ */
+
+#include "ClkTypes.h"
+
+const int DURATION_RINGING_UI_UPDATION = 20;
+const int MIN_Y_TOUCH_POSITION = 40;
+const int MAX_Y_TOUCH_POSITION = 94;
+const int Y_RINGER_LOCK_PANEL_OFFSET = 255;
+const int CONTROL_WIDTH_OFFSET = 188;
+const int H_RINGER_LOCK_PANEL = 200;
+const int Y_RINGER_LOCK_PANEL_RELATIVE_OFFSET = 10;
+
+const wchar_t* IDB_CONTROLBAR_ICON_ALARM = L"P03_tab_icon_alarm_dim_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_ALARM_NORMAL = L"P03_tab_icon_alarm_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED = L"P03_tab_icon_alarm_press_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK = L"P03_tab_icon_world_clock_dim_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL = L"P03_tab_icon_world_clock_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED = L"P03_tab_icon_world_clock_press_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH = L"P03_tab_icon_stopwatch_dim_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL = L"P03_tab_icon_stopwatch_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED = L"P03_tab_icon_stopwatch_press_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_TIMER = L"P03_tab_icon_timer_dim_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_TIMER_NORMAL = L"P03_tab_icon_timer_web.png";
+const wchar_t* IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED = L"P03_tab_icon_timer_press_web.png";
+const wchar_t* IDB_EDIT_BACKGROUND = L"EditBackground.png";
+const wchar_t* IDB_LIST_LEFTSIDE = L"ListLeftSide.png";
+const wchar_t* IDB_BUTTON_SWEEP_DELETE = L"00_button_sweep_delete.9.png";
+const wchar_t* IDB_BUTTON_SWEEP_DELETE_PRESS = L"00_button_sweep_delete_press.9.png";
+const wchar_t* IDB_ALARM_CLOCK = L"P03_alarm_clock_02.png";
+const wchar_t* IDB_CHECK_BG = L"00_check_bg.png";
+const wchar_t* IDB_CHECK_CHECKING = L"00_check_checking.png";
+const wchar_t* IDB_LIST_EXPAND_CLOSED = L"00_list_expand_closed.png";
+const wchar_t* IDB_LIST_EXPAND_CLOSED_PRESS = L"00_list_expand_closed_press.png";
+const wchar_t* IDB_LIST_EXPAND_OPENED = L"00_list_expand_opened.png";
+const wchar_t* IDB_LIST_EXPAND_OPENED_PRESS = L"00_list_expand_opened_press.png";
+const wchar_t* IDB_LIST_GROUP_BG = L"00_list_group_bg.9.png";
+const wchar_t* IDB_LIST_GROUP_BG_PRESS = L"00_list_group_bg_press.9.png";
+const wchar_t* IDB_BUTTON_RADIO_PRESS1 = L"00_button_radio_press1.png";
+const wchar_t* IDB_BUTTON_RADIO_PRESS2 = L"00_button_radio_press2.png";
+const wchar_t* IDB_WORLD_CLOCK_BG1 = L"P03_worldclock_bg_01.png";
+const wchar_t* IDB_WORLD_CLOCK_BG2 = L"P03_worldclock_bg_02.png";
+const wchar_t* IDB_TIMER_FOCUS_BG = L"P03_timer_edit_time_bg_focus.png";
+const wchar_t* IDB_TIMER_BG = L"P03_timer_edit_time_bg_ef.png";
+const wchar_t* IDB_TIMER_NORMAL_BG = L"P03_timer_edit_time_bg.png" ;
+const wchar_t* IDB_STOPWATCH_ZERO = L"P03_stopwatch_time_00.png";
+const wchar_t* IDB_STOPWATCH_ONE = L"P03_stopwatch_time_01.png";
+const wchar_t* IDB_STOPWATCH_TWO = L"P03_stopwatch_time_02.png";
+const wchar_t* IDB_STOPWATCH_THREE = L"P03_stopwatch_time_03.png";
+const wchar_t* IDB_STOPWATCH_FOUR = L"P03_stopwatch_time_04.png";
+const wchar_t* IDB_STOPWATCH_FIVE = L"P03_stopwatch_time_05.png";
+const wchar_t* IDB_STOPWATCH_SIX = L"P03_stopwatch_time_06.png";
+const wchar_t* IDB_STOPWATCH_SEVEN = L"P03_stopwatch_time_07.png";
+const wchar_t* IDB_STOPWATCH_EIGHT = L"P03_stopwatch_time_08.png";
+const wchar_t* IDB_STOPWATCH_NINE = L"P03_stopwatch_time_09.png";
+const wchar_t* IDB_STOPWATCH_SMALL_ZERO = L"P03_stopwatch_time_small_00.png";
+const wchar_t* IDB_STOPWATCH_SMALL_ONE = L"P03_stopwatch_time_small_01.png";
+const wchar_t* IDB_STOPWATCH_SMALL_TWO = L"P03_stopwatch_time_small_02.png";
+const wchar_t* IDB_STOPWATCH_SMALL_THREE = L"P03_stopwatch_time_small_03.png";
+const wchar_t* IDB_STOPWATCH_SMALL_FOUR = L"P03_stopwatch_time_small_04.png";
+const wchar_t* IDB_STOPWATCH_SMALL_FIVE = L"P03_stopwatch_time_small_05.png";
+const wchar_t* IDB_STOPWATCH_SMALL_SIX = L"P03_stopwatch_time_small_06.png";
+const wchar_t* IDB_STOPWATCH_SMALL_SEVEN = L"P03_stopwatch_time_small_07.png";
+const wchar_t* IDB_STOPWATCH_SMALL_EIGHT = L"P03_stopwatch_time_small_08.png";
+const wchar_t* IDB_STOPWATCH_SMALL_NINE = L"P03_stopwatch_time_small_09.png";
+const wchar_t* IDB_ALARM_ICON_OFF = L"P03_alarm_icon_off.png";
+const wchar_t* IDB_ALARM_ICON_ON = L"P03_alarm_icon_on.png";
+const wchar_t* IDB_ALARM_ICON_SNOOZE = L"P03_alarm_icon_snooze.png";
+const wchar_t* IDB_RINGER_LOCK_SNOOZE_RIGHT_ARROW = L"P03_alarm_jog_snooze_arrow_02.png";
+const wchar_t* IDB_RINGER_LOCK_SNOOZE = L"P03_alarm_jog_snooze.png";
+const wchar_t* IDB_RINGER_LOCK_SNOOZE_PRESSED = L"P03_alarm_jog_snooze_dim.png";
+const wchar_t* IDB_RINGER_LOCK_STOP = L"P03_alarm_jog_dismiss.png";
+const wchar_t* IDB_RINGER_LOCK_STOP_PRESSED = L"P03_alarm_jog_dismiss_dim.png";
+const wchar_t* IDB_RINGER_LOCK_STOP_LEFT_ARROW = L"P03_alarm_jog_dismiss_arrow_02.png";
+const wchar_t* IDB_RINGER_LOCK_STOP_RIGHT_ARROW = L"P03_alarm_jog_dismiss_arrow_01.png";
+const wchar_t* IDB_WORLD_CLOCK_WHITE_BG = L"P03_Worldclock_flip_white_bg.png";
+const wchar_t* IDB_WORLD_CLOCK_BLACK_BG = L"P03_Worldclock_flip_black_bg.png";
+const wchar_t* IDB_WORLD_CLOCK_WHITE_FG = L"P03_Worldclock_flip_white_bg_ef.png";
+const wchar_t* IDB_WORLD_CLOCK_BLACK_FG = L"P03_Worldclock_flip_black_bg_ef.png" ;
+const wchar_t* IDB_ALARM_TIME_BG = L"P03_alarm_edit_time_bg_ef.png";
+const wchar_t* IDB_ALARM_TIME_NORMAL_BG = L"P03_alarm_edit_time_bg.png" ;
+const wchar_t* IDB_ALARM_TIME_FOCUS_BG = L"P03_alarm_edit_time_bg_focus.png";
+const wchar_t* IDB_ALARM_TIME_TOGGLE_AM_BG = L"P03_alarm_edit_switch_am.png";
+const wchar_t* IDB_ALARM_TIME_TOGGLE_PM_BG = L"P03_alarm_edit_switch_pm.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_BG = L"P03_alarm_repeat_circle_bg_off.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_FOCUS_BG = L"P03_alarm_repeat_circle_bg_on.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_SUN_BG = L"P03_alarm_repeat_txt_off_SUN.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_SUN_FOCUS_BG = L"P03_alarm_repeat_txt_on_SUN.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_MON_BG = L"P03_alarm_repeat_txt_off_MON.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_MON_FOCUS_BG = L"P03_alarm_repeat_txt_on_MON.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_TUE_BG = L"P03_alarm_repeat_txt_off_TUE.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_TUE_FOCUS_BG = L"P03_alarm_repeat_txt_on_TUE.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_WED_BG = L"P03_alarm_repeat_txt_off_WED.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_WED_FOCUS_BG = L"P03_alarm_repeat_txt_on_WED.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_THU_BG = L"P03_alarm_repeat_txt_off_THU.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_THU_FOCUS_BG = L"P03_alarm_repeat_txt_on_THU.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_FRI_BG = L"P03_alarm_repeat_txt_off_FRI.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_FRI_FOCUS_BG = L"P03_alarm_repeat_txt_on_FRI.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_SAT_BG = L"P03_alarm_repeat_txt_off_SAT.png";
+const wchar_t* IDB_ALARM_TIME_DAYS_SAT_FOCUS_BG = L"P03_alarm_repeat_txt_on_SAT.png";
+const wchar_t* IDS_HOUR_IMAGE_PATH = L"P03_alarm_hour_";
+const wchar_t* IDS_MIN_IMAGE_PATH = L"P03_alarm_min_";
+const wchar_t* IDS_SEC_IMAGE_PATH = L"P03_alarm_sec_";
+const wchar_t* IDS_CLOCK_TAB4_ALARM_TONE = L"/data/04 - Kyon.mp3";
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkWorldClock.cpp\r
- * @brief Used to define WorldClock\r
- */\r
-\r
-#include <FBase.h>\r
-\r
-#include "ClkWorldClock.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Utility;\r
-using namespace Tizen::Content;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Io;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::Media;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-\r
-WorldClock::WorldClock(void)\r
-: __dstTime(0),\r
- __order(0),\r
- __timeZone(0),\r
- __worldClockCity(""),\r
- __worldClockCountry(""),\r
- __worldClockId("")\r
-{\r
-\r
-}\r
-\r
-WorldClock::WorldClock(const WorldClock& rhs)\r
-{\r
- __worldClockId = rhs.__worldClockId;\r
- __worldClockCity = rhs.__worldClockCity;\r
- __worldClockCountry = rhs.__worldClockCountry;\r
- __timeZone = rhs.__timeZone;\r
- __order = rhs.__order;\r
- __dstTime = rhs.__dstTime;\r
-}\r
-\r
-WorldClock::~WorldClock(void)\r
-{\r
-\r
-}\r
-\r
-WorldClock&\r
-WorldClock::operator =(const WorldClock& rhs)\r
-{\r
-\r
- if (this != &rhs)\r
- {\r
- __worldClockId = rhs.__worldClockId;\r
- __worldClockCity = rhs.__worldClockCity;\r
- __worldClockCountry = rhs.__worldClockCountry;\r
- __timeZone = rhs.__timeZone;\r
- __order = rhs.__order;\r
- __dstTime = rhs.__dstTime;\r
- }\r
- return *this;\r
-}\r
-\r
-const String\r
-WorldClock::GetWorldClockId(void)\r
-{\r
- return __worldClockId;\r
-}\r
-\r
-const String\r
-WorldClock::GetWorldClockCity(void)\r
-{\r
- return __worldClockCity;\r
-}\r
-\r
-const String\r
-WorldClock::GetWorldClockCountry(void)\r
-{\r
- return __worldClockCountry;\r
-}\r
-\r
-const int\r
-WorldClock::GetOrder(void)\r
-{\r
- return __order;\r
-}\r
-\r
-const int\r
-WorldClock::GetTimeZone(void)\r
-{\r
- return __timeZone;\r
-}\r
-\r
-const int\r
-WorldClock::GetDstTime(void)\r
-{\r
- return __dstTime;\r
-}\r
-\r
-void\r
-WorldClock::SetWorldClockId(const String& worldClockID)\r
-{\r
- __worldClockId = worldClockID;\r
-}\r
-\r
-void\r
-WorldClock::SetWorldClockCity(const String& worldClockCity)\r
-{\r
- __worldClockCity = worldClockCity;\r
-}\r
-\r
-void\r
-WorldClock::SetWorldClockCountry(const String& worldClockCountry)\r
-{\r
- __worldClockCountry = worldClockCountry;\r
-}\r
-\r
-void\r
-WorldClock::SetTimeZone(const int timeZone)\r
-{\r
- __timeZone = timeZone;\r
-}\r
-\r
-void\r
-WorldClock::SetOrder(const int order)\r
-{\r
- __order = order;\r
-}\r
-\r
-void\r
-WorldClock::SetDstTime(const int dstTime)\r
-{\r
- __dstTime = dstTime;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkWorldClock.cpp
+ * @brief Used to define WorldClock
+ */
+
+#include <FBase.h>
+
+#include "ClkWorldClock.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Utility;
+using namespace Tizen::Content;
+using namespace Tizen::Graphics;
+using namespace Tizen::Io;
+using namespace Tizen::System;
+using namespace Tizen::Locales;
+using namespace Tizen::Media;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+
+WorldClock::WorldClock(void)
+: __dstTime(0),
+ __order(0),
+ __timeZone(0),
+ __worldClockCity(""),
+ __worldClockCountry(""),
+ __worldClockId("")
+{
+
+}
+
+WorldClock::WorldClock(const WorldClock& rhs)
+{
+ __worldClockId = rhs.__worldClockId;
+ __worldClockCity = rhs.__worldClockCity;
+ __worldClockCountry = rhs.__worldClockCountry;
+ __timeZone = rhs.__timeZone;
+ __order = rhs.__order;
+ __dstTime = rhs.__dstTime;
+}
+
+WorldClock::~WorldClock(void)
+{
+
+}
+
+WorldClock&
+WorldClock::operator =(const WorldClock& rhs)
+{
+
+ if (this != &rhs)
+ {
+ __worldClockId = rhs.__worldClockId;
+ __worldClockCity = rhs.__worldClockCity;
+ __worldClockCountry = rhs.__worldClockCountry;
+ __timeZone = rhs.__timeZone;
+ __order = rhs.__order;
+ __dstTime = rhs.__dstTime;
+ }
+ return *this;
+}
+
+const String
+WorldClock::GetWorldClockId(void)
+{
+ return __worldClockId;
+}
+
+const String
+WorldClock::GetWorldClockCity(void)
+{
+ return __worldClockCity;
+}
+
+const String
+WorldClock::GetWorldClockCountry(void)
+{
+ return __worldClockCountry;
+}
+
+const int
+WorldClock::GetOrder(void)
+{
+ return __order;
+}
+
+const int
+WorldClock::GetTimeZone(void)
+{
+ return __timeZone;
+}
+
+const int
+WorldClock::GetDstTime(void)
+{
+ return __dstTime;
+}
+
+void
+WorldClock::SetWorldClockId(const String& worldClockID)
+{
+ __worldClockId = worldClockID;
+}
+
+void
+WorldClock::SetWorldClockCity(const String& worldClockCity)
+{
+ __worldClockCity = worldClockCity;
+}
+
+void
+WorldClock::SetWorldClockCountry(const String& worldClockCountry)
+{
+ __worldClockCountry = worldClockCountry;
+}
+
+void
+WorldClock::SetTimeZone(const int timeZone)
+{
+ __timeZone = timeZone;
+}
+
+void
+WorldClock::SetOrder(const int order)
+{
+ __order = order;
+}
+
+void
+WorldClock::SetDstTime(const int dstTime)
+{
+ __dstTime = dstTime;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-\r
-/**\r
- * @file WorldClockDeleteListForm.cpp\r
- * @brief Used to define WorldClockDeleteList\r
- */\r
-\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FLocales.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkCustomColors.h"\r
-#include "ClkNotification.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-#include "ClkWorldClock.h"\r
-#include "ClkWorldClockDeleteListForm.h"\r
-#include "ClkWorldClockPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int IDA_TABBAR_ITEM1_ALARM = 200;\r
-static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;\r
-static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;\r
-static const int IDA_TABBAR_ITEM3_TIMER = 203;\r
-static const int IDA_SELECT_ALL_CHECKED = 204;\r
-static const int IDA_SELECT_ALL_UNCHECKED = 205;\r
-static const int IDA_DELETE_WORLD_CLOCK = 206;\r
-static const int IDA_FORMAT_COUNTRY = 207;\r
-static const int IDA_FORMAT_TIME = 208;\r
-static const int IDA_DONE_WORLD_CLOCK = 209;\r
-\r
-WorldClockDeleteListForm::WorldClockDeleteListForm(void)\r
-:__pData(null),\r
- __pListView(null),\r
- __pSelectAllCheck(null),\r
- __pSelectedLabel(null),\r
- __selectedCount(0),\r
- __selectedItemCount(0)\r
-{\r
-\r
-}\r
-\r
-WorldClockDeleteListForm::~WorldClockDeleteListForm(void)\r
-{\r
- if ( __pData != null )\r
- {\r
- __pData->RemoveAll(true);\r
- delete __pData;\r
- __pData = NULL;\r
- }\r
-}\r
-\r
-bool\r
-WorldClockDeleteListForm::Initialize(void)\r
-{\r
- Construct(L"IDL_DELETE_WORLD_CLOCK_LIST");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-WorldClockDeleteListForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- HeaderItem alarm;\r
- HeaderItem worldClock;\r
- HeaderItem stopWatch;\r
- HeaderItem timer;\r
- Header* pHeader = GetHeader();\r
- Bitmap* pIconBitmap = null;\r
- Bitmap* pPressedIconBitmap = null;\r
- Bitmap* pHighlightedIconBitmap = null;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
-\r
- SetFormBackEventListener(this);\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_WORLD_CLOCK_DELETE_LIST, *this);\r
-\r
- SetFormBackEventListener(this);\r
- SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER);\r
-\r
- if ( pHeader != null)\r
- {\r
- pHeader->SetStyle(HEADER_STYLE_TAB);\r
- alarm.Construct(IDA_TABBAR_ITEM1_ALARM);\r
- //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);\r
-\r
- if ( pIconBitmap != NULL)\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(alarm);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);\r
- //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);\r
-\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(worldClock);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);\r
- //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(stopWatch);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- timer.Construct(IDA_TABBAR_ITEM3_TIMER);\r
- //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
-\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
-\r
- pHeader->AddItem(timer);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- pHeader->SetItemSelected(1);\r
- pHeader->AddActionEventListener(*this);\r
- pHeader->SetTabEditModeEnabled(false);\r
- }\r
-\r
- GetFooter()->AddActionEventListener(*this);\r
-\r
- __pSelectedLabel = static_cast< Label* >(GetControl(L"IDC_LABEL1"));\r
-\r
- if (__pSelectedLabel == null)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- __pSelectAllCheck = static_cast< CheckButton* >(GetControl(L"IDC_SELECT_ALL",true));\r
-\r
- if (__pSelectAllCheck != null)\r
- {\r
- __pSelectAllCheck->SetActionId(IDA_SELECT_ALL_CHECKED, IDA_SELECT_ALL_UNCHECKED);\r
- __pSelectAllCheck->AddActionEventListener(*this);\r
- }\r
-\r
- __pListView = static_cast< ListView* >(GetControl(L"IDC_LISTVIEW_ALARM"));\r
-\r
- if ( __pListView != NULL)\r
- {\r
- __pListView->SetItemProvider(*this);\r
- __pListView->AddListViewItemEventListener(*this);\r
- __pListView->UpdateList();\r
- }\r
-\r
- __selectedItemList.Construct();\r
-\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockDeleteListForm::OnTerminating(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- return r;\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
- String labelString ;\r
- String lowerStr;\r
- ArrayList* pArrayList = null;\r
- WorldClock* pWorldClock = null;\r
- String notification ;\r
- NotificationManager notifyMgr;\r
-\r
- if ( __pListView == NULL)\r
- {\r
- return;\r
- }\r
-\r
- switch (actionId)\r
- {\r
- case IDA_DELETE_WORLD_CLOCK:\r
- {\r
- pArrayList = new (std::nothrow) ArrayList();\r
- pArrayList->Construct();\r
- int count = 0;\r
- int listCount = __pListView->GetItemCount();\r
-\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
-\r
- __selectedItemList.RemoveAll(true);\r
-\r
- __pData = new (std::nothrow) ArrayList();\r
- __pData->Construct();\r
-\r
- pWorldClockPresentationModel->GetAddedWorldClock(0, count, *__pData);\r
-\r
- for (int count = 0;count < listCount;count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- pWorldClock = dynamic_cast< WorldClock* >(__pData->GetAt(count));\r
- if ( pWorldClock != null && pArrayList != NULL)\r
- {\r
- pArrayList->Add(*pWorldClock);\r
- }\r
-\r
- }\r
- }\r
-\r
-\r
- if ( pArrayList != null )\r
- {\r
- pWorldClockPresentationModel->DeleteWorldClock(*pArrayList);\r
- pArrayList->RemoveAll();\r
- delete pArrayList;\r
- }\r
-\r
- if ( __pListView->GetItemCount() == 0)\r
- {\r
- __pSelectAllCheck->SetShowState(false);\r
- __pSelectAllCheck->Invalidate(true);\r
- __pListView->SetBounds(__pListView->GetX(), __pListView->GetY() - 120, __pListView->GetWidth(), GetClientAreaBounds().height);\r
-\r
- __pSelectedLabel->SetShowState(false);\r
- // pSceneManager->GoBackward(BackwardSceneTransition());\r
-\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0,false);\r
- GetFooter()->Invalidate(true);\r
-\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(true);\r
-\r
- notification = CommonUtil::GetString(L"IDS_COM_POP_DELETED");\r
- notifyMgr.Construct();\r
- notifyMgr.Notify(notification);\r
-\r
- listCount = __pListView->GetItemCount();\r
- for (int count = 0;count < listCount;count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- __pListView->SetItemChecked(count, false);\r
- }\r
- }\r
-\r
- __pListView->UpdateList();\r
-\r
- if( __pListView->GetItemCount() == 0)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));\r
- }\r
-\r
- }\r
- break;\r
- case IDA_DONE_WORLD_CLOCK:\r
- {\r
- int count = 0;\r
- String labelString;\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- WorldClock* pWorldClock = null ;\r
-\r
- for(int counter = 0 ; counter < count ; counter++ )\r
- {\r
- pWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(counter));\r
-\r
- if ( pWorldClock != NULL)\r
- {\r
- pWorldClock->SetOrder(counter);\r
- pWorldClockPresentationModel->UpdateWorldClockOrder(*pWorldClock);\r
- }\r
- }\r
- GetFooter()->RemoveItemAt(1);\r
- GetFooter()->Invalidate(true);\r
-\r
- __pSelectAllCheck->SetEnabled(true);\r
- __pSelectAllCheck->Invalidate(true);\r
- __pSelectedLabel->SetShowState(true);\r
-\r
- if (__selectedItemCount == 0)\r
- {\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- }\r
- else\r
- {\r
- CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);\r
- labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);\r
- }\r
-\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(true);\r
-\r
- __pListView->EndReorderingMode();\r
- __pListView->UpdateList();\r
- }\r
- break;\r
- case IDA_SELECT_ALL_CHECKED:\r
- {\r
- int listCount = __pListView->GetItemCount();\r
- String lowerStr;\r
-\r
- __selectedItemList.RemoveAll(true);\r
- for (int count = 0;count < listCount ; count++)\r
- {\r
- __pListView->SetItemChecked(count,true);\r
- __selectedItemList.Add(new Integer(count));\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0,true);\r
- GetFooter()->Invalidate(true);\r
-\r
- CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);\r
- labelString.Format(25, lowerStr.GetPointer(), __pListView->GetItemCount());\r
-\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(true);\r
-\r
- __pListView->Invalidate(true);\r
-\r
- }\r
- break;\r
- case IDA_SELECT_ALL_UNCHECKED:\r
- {\r
- int listCount = __pListView->GetItemCount();\r
-\r
- __selectedItemList.RemoveAll(true);\r
- for (int count = 0;count < listCount;count++)\r
- {\r
- __pListView->SetItemChecked(count,false);\r
- }\r
-\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(true);\r
-\r
- __pListView->Invalidate(true);\r
-\r
- GetFooter()->SetItemEnabled(0,false);\r
- GetFooter()->Invalidate(true);\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM1_ALARM:\r
- {\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- }\r
- break;\r
- case IDA_TABBAR_ITEM2_STOPWATCH:\r
- {\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- break;\r
- case IDA_TABBAR_ITEM3_TIMER:\r
- {\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));\r
- }\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
- int count = 0;\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- if (__pListView != null)\r
- {\r
- if (count == 0)\r
- {\r
- __pSelectAllCheck->SetShowState(false);\r
- __pListView->SetBounds(__pListView->GetX(), __pListView->GetY() - 120, __pListView->GetWidth(), GetClientAreaBounds().height);\r
-\r
- }\r
- else\r
- {\r
- __pSelectAllCheck->SetShowState(true);\r
- __pListView->SetBounds(__pListView->GetX(), __pListView->GetY(), __pListView->GetWidth(), GetClientAreaBounds().height - 112 - 48);\r
-\r
- }\r
- __pSelectAllCheck->Invalidate(true);\r
- __pListView->UpdateList();\r
-\r
- for (int i = 0; i < __selectedItemList.GetCount(); i++)\r
- {\r
- Integer* pObj = dynamic_cast<Integer*>(__selectedItemList.GetAt(i));\r
-\r
- if (pObj != null)\r
- {\r
- __pListView->SetItemChecked(pObj->ToInt(), true);\r
- }\r
- }\r
- }\r
-\r
- __worldClockList.RemoveAll(true);\r
-\r
- if ( pWorldClockPresentationModel != NULL)\r
- {\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- pWorldClockPresentationModel->GetAddedWorldClock(0,count,__worldClockList);\r
- }\r
-\r
- GetHeader()->SetItemSelected(1);\r
- GetHeader()->Invalidate(true);\r
-\r
- if (__selectedItemList.GetCount() == 0)\r
- {\r
- GetFooter()->SetItemEnabled(0,false);\r
- }\r
-\r
- if (__pListView != null)\r
- {\r
- if (__selectedItemList.GetCount() != 0 && __selectedItemList.GetCount() == __pListView->GetItemCount())\r
- {\r
- __pSelectAllCheck->SetSelected(true);\r
- }\r
- }\r
-\r
- __pSelectedLabel->SetText(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
-\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId)\r
-{\r
-\r
- int listCount = __pListView->GetItemCount() ;\r
-\r
- for (int count = 0; count < listCount; count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- __pListView->SetItemChecked(count, false);\r
- }\r
- }\r
- __pSelectAllCheck->SetSelected(false);\r
-\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnFormBackRequested(Form& source)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)\r
-{\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
- int count = 0;\r
- bool flag = false;\r
- String labelString;\r
- String lowerStr;\r
- __selectedItemCount = 0;\r
-\r
- int listCount = __pListView->GetItemCount();\r
-\r
- if (__pListView->IsItemChecked(index) == true)\r
- {\r
- __selectedItemList.Add(new Integer(index));\r
- }\r
- else\r
- {\r
- __selectedItemList.Remove(* new Integer(index));\r
- }\r
-\r
- for (int count = 0;count < listCount;count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- __selectedItemCount++;\r
- }\r
- }\r
-\r
- if (__selectedItemCount == 0)\r
- {\r
- labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));\r
- }\r
- else\r
- {\r
- CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);\r
- labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);\r
- }\r
-\r
- __pSelectedLabel->SetText(labelString);\r
- __pSelectedLabel->Invalidate(true);\r
-\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
-\r
- if (__selectedItemCount == count)\r
- {\r
- __pSelectAllCheck->SetSelected(true);\r
- }\r
- else\r
- {\r
- __pSelectAllCheck->SetSelected(false);\r
- }\r
-\r
- for (int count = 0 ; count < listCount ; count++)\r
- {\r
- if (__pListView->IsItemChecked(count))\r
- {\r
- flag = true;\r
- break;\r
- }\r
- }\r
-\r
- if (flag == true)\r
- {\r
- GetFooter()->SetItemEnabled(0,true);\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0,false);\r
- }\r
-\r
- GetFooter()->Invalidate(true);\r
-}\r
-\r
-ListItemBase *\r
-WorldClockDeleteListForm::CreateItem(int index, int itemWidth)\r
-{\r
- int count = 0 ;\r
- int hours = 0;\r
- int minutes = 0;\r
- int itemHeight = 140 ;\r
- int xMargin = 26;\r
- int yMainText = 22;\r
- int rightMargin = 26 ;\r
- int mainTextHeight = 54 ;\r
- int subTextHeight = 42;\r
- int mainTextSize = 44;\r
- int subTextSize = 32;\r
- int timediff = 0;\r
- ArrayList worldClockList;\r
- String time;\r
- String city ;\r
- String country;\r
- DateTime dtNow;\r
- DateTime dt;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel == NULL)\r
- {\r
- return null;\r
- }\r
-\r
- SystemTime::GetCurrentTime(UTC_TIME,dtNow);\r
-\r
- CustomItem* pItem = new (std::nothrow) CustomItem();\r
-\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);\r
-\r
- WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));\r
-\r
- if ( pWorldClock == null )\r
- {\r
- if( pItem != NULL)\r
- {\r
- delete pItem;\r
- pItem = null;\r
- }\r
-\r
- return null;\r
- }\r
-\r
- country = pWorldClock->GetWorldClockCountry();\r
- city = pWorldClock->GetWorldClockCity();\r
- city.Append(L" / ");\r
- city.Append(country);\r
- timediff = pWorldClock->GetTimeZone();\r
-\r
- TimeZone tz(timediff,pWorldClock->GetWorldClockId());\r
-\r
- dt = tz.UtcTimeToWallTime(dtNow);\r
- hours = dt.GetHour();\r
- minutes = dt.GetMinute();\r
-\r
- if (hours < 10)\r
- {\r
- time.Append("0");\r
- }\r
-\r
- time.Append(hours);\r
- time.Append(L":");\r
-\r
- if (minutes < 10)\r
- {\r
- time.Append("0");\r
- }\r
-\r
- time.Append(minutes);\r
- time.Append(" ");\r
-\r
- if (hours >= 12)\r
- {\r
- time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));\r
- }\r
- else\r
- {\r
- time.Append(CommonUtil::GetString(L"IDS_COM_BODY_AM"));\r
- }\r
-\r
- if(__pListView->IsInReorderingMode() == true)\r
- {\r
- pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_NORMAL);\r
- }\r
- else\r
- {\r
- pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_MARK);\r
- }\r
- pItem->AddElement(Rectangle(xMargin, yMainText, GetClientAreaBounds().width - xMargin - rightMargin, mainTextHeight), IDA_FORMAT_COUNTRY,city, mainTextSize, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT ,true);\r
- pItem->AddElement(Rectangle(xMargin, yMainText + mainTextHeight, GetClientAreaBounds().width - xMargin - rightMargin, subTextHeight), IDA_FORMAT_TIME,time, subTextSize, CUSTOM_COLOR_GREY , CUSTOM_COLOR_GREY, CUSTOM_COLOR_GREY ,true);\r
-\r
- return pItem;\r
-}\r
-\r
-bool\r
-WorldClockDeleteListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-WorldClockDeleteListForm::GetItemCount(void)\r
-{\r
- int count = 0;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel != NULL)\r
- {\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- }\r
-\r
-\r
- if ( count == 0)\r
- {\r
- __pSelectAllCheck->SetSelected(false);\r
- __pSelectAllCheck->SetShowState(false);\r
- __pSelectAllCheck->Invalidate(false);\r
- }\r
- else\r
- {\r
- __pSelectAllCheck->SetShowState(true);\r
- __pSelectAllCheck->Invalidate(false);\r
- }\r
-\r
-\r
- return count;\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback)\r
-{\r
- if(__pListView->IsInReorderingMode() == true)\r
- {\r
- return;\r
- }\r
- int listCount = __pListView->GetItemCount();\r
-\r
- if (listCount > 1)\r
- {\r
- __pListView->BeginReorderingMode();\r
- String reorderText = CommonUtil::GetString("IDS_WCL_SK_DONE");\r
- if (GetFooter()->GetItemCount() == 1)\r
- {\r
- FooterItem footerItem;\r
- footerItem.Construct(IDA_DONE_WORLD_CLOCK);\r
- footerItem.SetText(reorderText);\r
- GetFooter()->AddItem(footerItem);\r
- GetFooter()->SetItemEnabled(0, false);\r
- GetFooter()->Invalidate(true);\r
- }\r
-\r
- __selectedItemCount = 0;\r
-\r
-\r
- __pListView->UpdateList();\r
-\r
- __pSelectAllCheck->SetEnabled(false);\r
- __pSelectAllCheck->SetSelected(false);\r
- __pSelectAllCheck->Invalidate(true);\r
-\r
- __pSelectedLabel->SetShowState(false);\r
-\r
- __pListView->Invalidate(true);\r
- }\r
-}\r
-\r
-void\r
-WorldClockDeleteListForm::OnListViewItemReordered(Tizen::Ui::Controls::ListView & listView, int indexFrom,int indexTo)\r
-{\r
- WorldClock* ptempWorldClock = null ;\r
-\r
- ptempWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(indexFrom));\r
-\r
- if ( ptempWorldClock != NULL )\r
- {\r
- __worldClockList.RemoveAt(indexFrom,false);\r
- __worldClockList.InsertAt(*ptempWorldClock,indexTo);\r
- }\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+
+/**
+ * @file WorldClockDeleteListForm.cpp
+ * @brief Used to define WorldClockDeleteList
+ */
+
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FLocales.h>
+#include <FUi.h>
+
+#include "ClkCommonLib.h"
+#include "ClkCustomColors.h"
+#include "ClkNotification.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+#include "ClkWorldClock.h"
+#include "ClkWorldClockDeleteListForm.h"
+#include "ClkWorldClockPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Locales;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int IDA_TABBAR_ITEM1_ALARM = 200;
+static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;
+static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;
+static const int IDA_TABBAR_ITEM3_TIMER = 203;
+static const int IDA_SELECT_ALL_CHECKED = 204;
+static const int IDA_SELECT_ALL_UNCHECKED = 205;
+static const int IDA_DELETE_WORLD_CLOCK = 206;
+static const int IDA_FORMAT_COUNTRY = 207;
+static const int IDA_FORMAT_TIME = 208;
+static const int IDA_DONE_WORLD_CLOCK = 209;
+
+WorldClockDeleteListForm::WorldClockDeleteListForm(void)
+:__pData(null),
+ __pListView(null),
+ __pSelectAllCheck(null),
+ __pSelectedLabel(null),
+ __selectedCount(0),
+ __selectedItemCount(0)
+{
+
+}
+
+WorldClockDeleteListForm::~WorldClockDeleteListForm(void)
+{
+ if ( __pData != null )
+ {
+ __pData->RemoveAll(true);
+ delete __pData;
+ __pData = NULL;
+ }
+}
+
+bool
+WorldClockDeleteListForm::Initialize(void)
+{
+ Construct(L"IDL_DELETE_WORLD_CLOCK_LIST");
+
+ return true;
+}
+
+result
+WorldClockDeleteListForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+
+ HeaderItem alarm;
+ HeaderItem worldClock;
+ HeaderItem stopWatch;
+ HeaderItem timer;
+ Header* pHeader = GetHeader();
+ Bitmap* pIconBitmap = null;
+ Bitmap* pPressedIconBitmap = null;
+ Bitmap* pHighlightedIconBitmap = null;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+
+
+ SetFormBackEventListener(this);
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_WORLD_CLOCK_DELETE_LIST, *this);
+
+ SetFormBackEventListener(this);
+ SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER);
+
+ if ( pHeader != null)
+ {
+ pHeader->SetStyle(HEADER_STYLE_TAB);
+ alarm.Construct(IDA_TABBAR_ITEM1_ALARM);
+ //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);
+
+ if ( pIconBitmap != NULL)
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(alarm);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);
+ //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);
+
+
+ if (pIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(worldClock);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);
+ //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);
+
+ if (pIconBitmap != NULL)
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(stopWatch);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ timer.Construct(IDA_TABBAR_ITEM3_TIMER);
+ //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);
+
+ if (pIconBitmap != NULL)
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+
+ pHeader->AddItem(timer);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ pHeader->SetItemSelected(1);
+ pHeader->AddActionEventListener(*this);
+ pHeader->SetTabEditModeEnabled(false);
+ }
+
+ GetHeader()->SetItemEnabled(0, false);
+ GetHeader()->SetItemEnabled(2, false);
+ GetHeader()->SetItemEnabled(3, false);
+ GetHeader()->Invalidate(true);
+
+ GetFooter()->AddActionEventListener(*this);
+
+ __pSelectedLabel = static_cast< Label* >(GetControl(L"IDC_LABEL1"));
+
+ if (__pSelectedLabel == null)
+ {
+ return E_FAILURE;
+ }
+
+ __pSelectAllCheck = static_cast< CheckButton* >(GetControl(L"IDC_SELECT_ALL",true));
+
+ if (__pSelectAllCheck != null)
+ {
+ __pSelectAllCheck->SetActionId(IDA_SELECT_ALL_CHECKED, IDA_SELECT_ALL_UNCHECKED);
+ __pSelectAllCheck->AddActionEventListener(*this);
+ }
+
+ __pListView = static_cast< ListView* >(GetControl(L"IDC_LISTVIEW_ALARM"));
+
+ if ( __pListView != NULL)
+ {
+ __pListView->SetItemProvider(*this);
+ __pListView->AddListViewItemEventListener(*this);
+ __pListView->UpdateList();
+ }
+
+ __selectedItemList.Construct();
+
+ return r;
+}
+
+result
+WorldClockDeleteListForm::OnTerminating(void)
+{
+ result r = E_SUCCESS;
+
+ return r;
+}
+
+void
+WorldClockDeleteListForm::OnActionPerformed(const Control& source, int actionId)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+ String labelString ;
+ String lowerStr;
+ ArrayList* pArrayList = null;
+ WorldClock* pWorldClock = null;
+ String notification ;
+ NotificationManager notifyMgr;
+
+ if ( __pListView == NULL)
+ {
+ return;
+ }
+
+ switch (actionId)
+ {
+ case IDA_DELETE_WORLD_CLOCK:
+ {
+ pArrayList = new (std::nothrow) ArrayList();
+ pArrayList->Construct();
+ int count = 0;
+ int listCount = __pListView->GetItemCount();
+
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+
+ __selectedItemList.RemoveAll(true);
+
+ __pData = new (std::nothrow) ArrayList();
+ __pData->Construct();
+
+ pWorldClockPresentationModel->GetAddedWorldClock(0, count, *__pData);
+
+ for (int count = 0;count < listCount;count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ pWorldClock = dynamic_cast< WorldClock* >(__pData->GetAt(count));
+ if ( pWorldClock != null && pArrayList != NULL)
+ {
+ pArrayList->Add(*pWorldClock);
+ }
+
+ }
+ }
+
+
+ if ( pArrayList != null )
+ {
+ pWorldClockPresentationModel->DeleteWorldClock(*pArrayList);
+ pArrayList->RemoveAll();
+ delete pArrayList;
+ }
+
+ if ( __pListView->GetItemCount() == 0)
+ {
+ __pSelectAllCheck->SetShowState(false);
+ __pSelectAllCheck->Invalidate(true);
+ __pListView->SetBounds(__pListView->GetX(), __pListView->GetY() - 120, __pListView->GetWidth(), GetClientAreaBounds().height);
+
+ __pSelectedLabel->SetShowState(false);
+ // pSceneManager->GoBackward(BackwardSceneTransition());
+
+ }
+
+ GetFooter()->SetItemEnabled(0,false);
+ GetFooter()->Invalidate(true);
+
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(true);
+
+ notification = CommonUtil::GetString(L"IDS_COM_POP_DELETED");
+ notifyMgr.Construct();
+ notifyMgr.Notify(notification);
+
+ listCount = __pListView->GetItemCount();
+ for (int count = 0;count < listCount;count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ __pListView->SetItemChecked(count, false);
+ }
+ }
+
+ __pListView->UpdateList();
+
+ if( __pListView->GetItemCount() == 0)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));
+ }
+
+ }
+ break;
+ case IDA_DONE_WORLD_CLOCK:
+ {
+ int count = 0;
+ String labelString;
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ WorldClock* pWorldClock = null ;
+
+ for(int counter = 0 ; counter < count ; counter++ )
+ {
+ pWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(counter));
+
+ if ( pWorldClock != NULL)
+ {
+ pWorldClock->SetOrder(counter);
+ pWorldClockPresentationModel->UpdateWorldClockOrder(*pWorldClock);
+ }
+ }
+ GetFooter()->RemoveItemAt(1);
+ GetFooter()->Invalidate(true);
+
+ __pSelectAllCheck->SetShowState(true);
+ __pSelectAllCheck->SetEnabled(true);
+ __pSelectAllCheck->Invalidate(true);
+ __pSelectedLabel->SetShowState(true);
+
+ if (__pListView != null && __pData != null)
+ {
+ if (__selectedItemList.GetCount() != 0 && __selectedItemList.GetCount() == __pData->GetCount())
+ {
+ __pSelectAllCheck->SetSelected(true);
+ }
+ else
+ {
+ __pSelectAllCheck->SetSelected(false);
+ }
+ }
+
+ if (__selectedItemCount == 0)
+ {
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ }
+ else
+ {
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+ labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);
+ }
+
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(true);
+
+ __pListView->EndReorderingMode();
+ __pListView->UpdateList();
+ __pListView->SetBounds(__pListView->GetX(), __pSelectAllCheck->GetY() + __pSelectAllCheck->GetHeight(), __pListView->GetWidth(), GetClientAreaBounds().height - __pSelectAllCheck->GetHeight() - __pSelectedLabel->GetHeight());
+ Invalidate(true);
+ }
+ break;
+ case IDA_SELECT_ALL_CHECKED:
+ {
+ int listCount = __pListView->GetItemCount();
+ String lowerStr;
+
+ __selectedItemList.RemoveAll(true);
+ for (int count = 0;count < listCount ; count++)
+ {
+ __pListView->SetItemChecked(count,true);
+ __selectedItemList.Add(new Integer(count));
+ }
+
+ GetFooter()->SetItemEnabled(0,true);
+ GetFooter()->Invalidate(true);
+
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+ labelString.Format(25, lowerStr.GetPointer(), __pListView->GetItemCount());
+
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(true);
+
+ __pListView->Invalidate(true);
+
+ }
+ break;
+ case IDA_SELECT_ALL_UNCHECKED:
+ {
+ int listCount = __pListView->GetItemCount();
+
+ __selectedItemList.RemoveAll(true);
+ for (int count = 0;count < listCount;count++)
+ {
+ __pListView->SetItemChecked(count,false);
+ }
+
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(true);
+
+ __pListView->Invalidate(true);
+
+ GetFooter()->SetItemEnabled(0,false);
+ GetFooter()->Invalidate(true);
+ }
+ break;
+
+ case IDA_TABBAR_ITEM1_ALARM:
+ {
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ }
+ break;
+ case IDA_TABBAR_ITEM2_STOPWATCH:
+ {
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ break;
+ case IDA_TABBAR_ITEM3_TIMER:
+ {
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));
+ }
+ }
+ break;
+ default:
+ break;
+ }
+}
+
+void
+WorldClockDeleteListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+ int count = 0;
+ String labelString;
+ String lowerStr;
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ if (__pListView != null)
+ {
+ if (count == 0)
+ {
+ __pSelectAllCheck->SetShowState(false);
+ __pListView->SetBounds(__pListView->GetX(), __pListView->GetY() - 120, __pListView->GetWidth(), GetClientAreaBounds().height);
+
+ }
+ else
+ {
+ __pSelectAllCheck->SetShowState(true);
+ __pListView->SetBounds(__pListView->GetX(), __pListView->GetY(), __pListView->GetWidth(), GetClientAreaBounds().height - 112 - 48);
+
+ }
+ __pSelectAllCheck->Invalidate(true);
+ __pListView->UpdateList();
+
+ __selectedItemCount = __selectedItemList.GetCount();
+ for (int i = 0; i < __selectedItemCount; i++)
+ {
+ Integer* pObj = dynamic_cast<Integer*>(__selectedItemList.GetAt(i));
+
+ if (pObj != null)
+ {
+ __pListView->SetItemChecked(pObj->ToInt(), true);
+ }
+ }
+
+ }
+
+ if (__selectedItemCount == 0)
+ {
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ }
+ else
+ {
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+ labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);
+ }
+
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(true);
+
+ __worldClockList.RemoveAll(true);
+
+ if ( pWorldClockPresentationModel != NULL)
+ {
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ pWorldClockPresentationModel->GetAddedWorldClock(0,count,__worldClockList);
+ }
+
+ GetHeader()->SetItemSelected(1);
+ GetHeader()->Invalidate(true);
+
+ if (__selectedItemList.GetCount() == 0)
+ {
+ GetFooter()->SetItemEnabled(0,false);
+ }
+
+ if (__pListView != null && __pData != null)
+ {
+ if (__selectedItemList.GetCount() != 0 && __selectedItemList.GetCount() == __pData->GetCount())
+ {
+ __pSelectAllCheck->SetSelected(true);
+ }
+ }
+}
+
+void
+WorldClockDeleteListForm::OnSceneDeactivated(const Tizen::Ui::Scenes::SceneId& currentSceneId, const Tizen::Ui::Scenes::SceneId& nextSceneId)
+{
+
+ int listCount = __pListView->GetItemCount() ;
+
+ for (int count = 0; count < listCount; count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ __pListView->SetItemChecked(count, false);
+ }
+ }
+ __pSelectAllCheck->SetSelected(false);
+
+}
+
+void
+WorldClockDeleteListForm::OnFormBackRequested(Form& source)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_WORLD_CLOCK_LIST));
+ }
+}
+
+void
+WorldClockDeleteListForm::OnListViewItemStateChanged(ListView& listView, int index, int elementId, ListItemStatus status)
+{
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+ int count = 0;
+ bool flag = false;
+ String labelString;
+ String lowerStr;
+ __selectedItemCount = 0;
+
+ int listCount = __pListView->GetItemCount();
+
+ if (__pListView->IsInReorderingMode() == true)
+ {
+ return;
+ }
+
+ if (__pListView->IsItemChecked(index) == true)
+ {
+ __selectedItemList.Add(new Integer(index));
+ }
+ else
+ {
+ __selectedItemList.Remove(* new Integer(index));
+ }
+
+ for (int count = 0;count < listCount;count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ __selectedItemCount++;
+ }
+ }
+
+ if (__selectedItemCount == 0)
+ {
+ labelString.Append(CommonUtil::GetString(L"IDS_NOTHING_SELECTED"));
+ }
+ else
+ {
+ CommonUtil::GetString(L"IDS_COM_BODY_PD_SELECTED").ToLower(lowerStr);
+ labelString.Format(25, lowerStr.GetPointer(), __selectedItemCount);
+ }
+
+ __pSelectedLabel->SetText(labelString);
+ __pSelectedLabel->Invalidate(true);
+
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+
+ if (__selectedItemCount == count)
+ {
+ __pSelectAllCheck->SetSelected(true);
+ }
+ else
+ {
+ __pSelectAllCheck->SetSelected(false);
+ }
+
+ for (int count = 0 ; count < listCount ; count++)
+ {
+ if (__pListView->IsItemChecked(count))
+ {
+ flag = true;
+ break;
+ }
+ }
+
+ if (flag == true)
+ {
+ GetFooter()->SetItemEnabled(0,true);
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0,false);
+ }
+
+ GetFooter()->Invalidate(true);
+}
+
+ListItemBase *
+WorldClockDeleteListForm::CreateItem(int index, int itemWidth)
+{
+ int count = 0 ;
+ int hours = 0;
+ int minutes = 0;
+ int itemHeight = 140 ;
+ int xMargin = 26;
+ int yMainText = 22;
+ int rightMargin = 26 ;
+ int mainTextHeight = 54 ;
+ int subTextHeight = 42;
+ int mainTextSize = 44;
+ int subTextSize = 32;
+ int timediff = 0;
+ ArrayList worldClockList;
+ String time;
+ String city ;
+ String country;
+ DateTime dtNow;
+ DateTime dt;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel == NULL)
+ {
+ return null;
+ }
+
+ SystemTime::GetCurrentTime(UTC_TIME,dtNow);
+
+ CustomItem* pItem = new (std::nothrow) CustomItem();
+
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);
+
+ WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));
+
+ if ( pWorldClock == null )
+ {
+ if( pItem != NULL)
+ {
+ delete pItem;
+ pItem = null;
+ }
+
+ return null;
+ }
+
+ country = pWorldClock->GetWorldClockCountry();
+ city = pWorldClock->GetWorldClockCity();
+ city.Append(L" / ");
+ city.Append(country);
+ timediff = pWorldClock->GetTimeZone();
+
+ TimeZone tz(timediff,pWorldClock->GetWorldClockId());
+
+ dt = tz.UtcTimeToWallTime(dtNow);
+ hours = dt.GetHour();
+ minutes = dt.GetMinute();
+
+ if (hours < 10)
+ {
+ time.Append("0");
+ }
+
+ time.Append(hours);
+ time.Append(L":");
+
+ if (minutes < 10)
+ {
+ time.Append("0");
+ }
+
+ time.Append(minutes);
+ time.Append(" ");
+
+ if (hours >= 12)
+ {
+ time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));
+ }
+ else
+ {
+ time.Append(CommonUtil::GetString(L"IDS_COM_BODY_AM"));
+ }
+
+ if(__pListView->IsInReorderingMode() == true)
+ {
+ pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_NORMAL);
+ }
+ else
+ {
+ pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_MARK);
+ }
+ pItem->AddElement(Rectangle(xMargin, yMainText, GetClientAreaBounds().width - xMargin - rightMargin, mainTextHeight), IDA_FORMAT_COUNTRY,city, mainTextSize, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT ,true);
+ pItem->AddElement(Rectangle(xMargin, yMainText + mainTextHeight, GetClientAreaBounds().width - xMargin - rightMargin, subTextHeight), IDA_FORMAT_TIME,time, subTextSize, CUSTOM_COLOR_GREY , CUSTOM_COLOR_GREY, CUSTOM_COLOR_GREY ,true);
+
+ return pItem;
+}
+
+bool
+WorldClockDeleteListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+WorldClockDeleteListForm::GetItemCount(void)
+{
+ int count = 0;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel != NULL)
+ {
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ }
+
+
+ if ( count == 0)
+ {
+ __pSelectAllCheck->SetSelected(false);
+ __pSelectAllCheck->SetShowState(false);
+ __pSelectAllCheck->Invalidate(false);
+ }
+ else
+ {
+ __pSelectAllCheck->SetShowState(true);
+ __pSelectAllCheck->Invalidate(false);
+ }
+
+
+ return count;
+}
+
+void
+WorldClockDeleteListForm::OnListViewItemLongPressed(Tizen::Ui::Controls::ListView& listView, int index, int elementId, bool& invokeListViewItemCallback)
+{
+ if(__pListView->IsInReorderingMode() == true)
+ {
+ return;
+ }
+ int listCount = __pListView->GetItemCount();
+
+ if (listCount > 1)
+ {
+ for(int count = 0; count < __pListView->GetItemCount(); count++)
+ {
+ __pListView->SetItemChecked(count, false);
+ }
+ __pListView->BeginReorderingMode();
+ __selectedItemList.RemoveAll(true);
+ String reorderText = CommonUtil::GetString("IDS_WCL_SK_DONE");
+ if (GetFooter()->GetItemCount() == 1)
+ {
+ FooterItem footerItem;
+ footerItem.Construct(IDA_DONE_WORLD_CLOCK);
+ footerItem.SetText(reorderText);
+ GetFooter()->AddItem(footerItem);
+ GetFooter()->SetItemEnabled(0, false);
+ GetFooter()->Invalidate(true);
+ }
+
+ __selectedItemCount = 0;
+
+
+ __pListView->UpdateList();
+
+ __pSelectAllCheck->SetEnabled(false);
+ __pSelectAllCheck->SetShowState(false);
+ __pSelectAllCheck->SetSelected(false);
+ __pSelectAllCheck->Invalidate(true);
+
+ __pSelectedLabel->SetShowState(false);
+
+ __pListView->Invalidate(true);
+ __pListView->SetBounds(__pListView->GetX(), __pSelectAllCheck->GetY(), __pListView->GetWidth(), GetClientAreaBounds().height );
+
+ Invalidate(true);
+ }
+}
+
+void
+WorldClockDeleteListForm::OnListViewItemReordered(Tizen::Ui::Controls::ListView & listView, int indexFrom,int indexTo)
+{
+ WorldClock* ptempWorldClock = null ;
+
+ ptempWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(indexFrom));
+
+ if ( ptempWorldClock != NULL )
+ {
+ __worldClockList.RemoveAt(indexFrom,false);
+ __worldClockList.InsertAt(*ptempWorldClock,indexTo);
+ }
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file WorldClockListForm.cpp\r
- * @brief Used to define WorldClockListForm\r
- */\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FLocales.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkCustomColors.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-#include "ClkWorldClock.h"\r
-#include "ClkWorldClockListForm.h"\r
-#include "ClkWorldClockPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int IDA_TABBAR_ITEM1_ALARM = 200;\r
-static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;\r
-static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;\r
-static const int IDA_TABBAR_ITEM3_TIMER = 203;\r
-static const int IDA_FOOTER_EDIT = 100;\r
-static const int IDA_FOOTER_ADD = 101;\r
-static const int IDA_FORMAT_COUNTRY = 103;\r
-static const int IDA_FORMAT_DAY = 106;\r
-static const int IDA_FORMAT_CLOCK_HOURS = 107 ;\r
-static const int IDA_FORMAT_CLOCK_MINUTES = 108 ;\r
-static const int IDA_CONTEXT_ITEM_DST_SETTING = 109;\r
-static const int IDA_CONTEXT_ITEM_DELETE = 110;\r
-static const int IDA_FORMAT_CITY = 111;\r
-static const int IDA_REORDER_BTN_CLICKED = 112;\r
-static const int IDA_DELETE_BTN_CLICKED = 113 ;\r
-\r
-\r
-WorldClockListForm::WorldClockListForm(void)\r
-:__dstTime(0)\r
-,__index(0)\r
-,__pItemContext(null)\r
-,__pListview (null)\r
-,__pMenu(null)\r
-,__pPopUp(null)\r
-,__pTimer (null)\r
-,__timerResetFlag(0)\r
-,__timerResetKey("timerReset")\r
-{\r
-\r
-}\r
-\r
-WorldClockListForm::~WorldClockListForm(void)\r
-{\r
- if ( __pTimer != NULL)\r
- {\r
- delete __pTimer ;\r
- }\r
-}\r
-\r
-bool\r
-WorldClockListForm::Initialize(void)\r
-{\r
- Construct(L"IDL_WORLD_CLOCK_LIST");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-WorldClockListForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- HeaderItem alarm;\r
- HeaderItem worldClock;\r
- HeaderItem stopWatch;\r
- HeaderItem timer;\r
- Header* pHeader = GetHeader();\r
- Bitmap* pIconBitmap = null;\r
- Bitmap* pPressedIconBitmap = null;\r
- Bitmap* pHighlightedIconBitmap = null;\r
- Bitmap *pBitmapNormal = null;\r
- Bitmap *pBitmapPressed = null;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- if ( pAppResource == NULL )\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- GetHeader()->AddActionEventListener(*this);\r
- GetFooter()->AddActionEventListener(*this);\r
-\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_WORLD_CLOCK_LIST, *this);\r
- // Setup back event listener\r
- SetFormBackEventListener(this);\r
- AddOrientationEventListener(*this);\r
- __pPopUp = new (std::nothrow) DaylightSavingPopUp();\r
-\r
- if (__pPopUp != null)\r
- {\r
- __pPopUp->Initialize();\r
- __pPopUp->SetEventListner(this);\r
- AddControl(*__pPopUp);\r
- }\r
-\r
-\r
- __pListview = static_cast< ListView* >(GetControl("IDC_LISTVIEW1"));\r
-\r
- if (__pListview != null)\r
- {\r
- __pListview->SetItemProvider(*this);\r
- __pListview->AddListViewItemEventListener(*this);\r
- __pListview->SetTextOfEmptyList(CommonUtil::GetString("IDS_NO_ITEMS"));\r
- }\r
-\r
- if (pHeader != null)\r
- {\r
- pHeader->SetStyle(HEADER_STYLE_TAB);\r
- alarm.Construct(IDA_TABBAR_ITEM1_ALARM);\r
- //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- pHeader->AddItem(alarm);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);\r
- //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- }\r
-\r
- pHeader->AddItem(worldClock);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);\r
- //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- pHeader->AddItem(stopWatch);\r
- pHeader->SetItemSelected(0);\r
- pHeader->SetTabEditModeEnabled(false);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- timer.Construct(IDA_TABBAR_ITEM3_TIMER);\r
- //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));\r
- pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);\r
- pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);\r
- timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);\r
- timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);\r
- timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);\r
- pHeader->AddItem(timer);\r
- pHeader->SetItemSelected(0);\r
-\r
- if (pIconBitmap != NULL)\r
- {\r
- delete pIconBitmap;\r
- }\r
-\r
- if ( pPressedIconBitmap != NULL )\r
- {\r
- delete pPressedIconBitmap;\r
- }\r
-\r
- if ( pHighlightedIconBitmap != NULL )\r
- {\r
- delete pHighlightedIconBitmap;\r
- }\r
-\r
- }\r
-\r
- __pItemContext = new (std::nothrow) ListContextItem();\r
- __pItemContext->Construct();\r
- __pItemContext->AddElement(IDA_CONTEXT_ITEM_DST_SETTING, CommonUtil::GetString(L"IDS_WCL_OPT_DST_SETTINGS"));\r
-\r
- pBitmapNormal = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE, 336, 102);\r
- pBitmapPressed = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE_PRESS, 336, 102);\r
-\r
- if (pBitmapNormal != null && pBitmapPressed != null)\r
- {\r
- __pItemContext->AddElement(IDA_CONTEXT_ITEM_DELETE, CommonUtil::GetString(L"IDS_ALM_SK_REMOVE"), *pBitmapNormal, *pBitmapPressed, pBitmapPressed);\r
- }\r
-\r
- if ( pBitmapNormal!= NULL)\r
- {\r
- delete pBitmapNormal;\r
- }\r
-\r
- if ( pBitmapPressed!= NULL)\r
- {\r
- delete pBitmapPressed;\r
- }\r
- // Create Timer\r
- __pTimer = new (std::nothrow) Timer();\r
- __pTimer->Construct(*this);\r
-\r
- UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- UiApp::GetInstance()->GetAppRegistry()->Save();\r
-\r
- return r;\r
-}\r
-\r
-void\r
-WorldClockListForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- AppLogDebug("WorldClockListForm::OnActionPerformed actionId = %d",actionId);\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- switch (actionId)\r
- {\r
- case IDA_TABBAR_ITEM1_ALARM:\r
- {\r
- if (pSceneManager != NULL)\r
- {\r
- if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));\r
- }\r
- else\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM2_STOPWATCH:\r
- {\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM3_TIMER:\r
- {\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));\r
- }\r
- }\r
- break;\r
-\r
- case IDA_FOOTER_EDIT:\r
- {\r
- if ( __pMenu != NULL)\r
- {\r
- __pMenu->SetShowState(true);\r
- __pMenu->Show();\r
- __pMenu->Invalidate(true);\r
- }\r
- }\r
- break;\r
-\r
- case IDA_FOOTER_ADD:\r
- {\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_CITY_LIST));\r
- }\r
- }\r
- break;\r
-\r
- case IDA_DELETE_BTN_CLICKED:\r
- {\r
- if ( __pMenu != NULL)\r
- {\r
- __pMenu->SetShowState(false);\r
- __pMenu->Invalidate(true);\r
- }\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));\r
- }\r
- }\r
- break;\r
- case IDA_REORDER_BTN_CLICKED:\r
- {\r
- if ( __pMenu != NULL)\r
- {\r
- __pMenu->SetShowState(false);\r
- __pMenu->Invalidate(true);\r
- }\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_REORDER));\r
- }\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-WorldClockListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- Point p = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);\r
- InitContextMenu(p);\r
-\r
- __pListview->UpdateList();\r
- Invalidate(true);\r
-\r
- DateTime dtNow;\r
- SystemTime::GetCurrentTime(UTC_TIME, dtNow);\r
- __pTimer->Start((60 - dtNow.GetSecond()) * 1000);\r
- GetHeader()->SetItemSelected(1);\r
- GetHeader()->Invalidate(true);\r
- GetFooter()->Invalidate(true);\r
-\r
-}\r
-\r
-void\r
-WorldClockListForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)\r
-{\r
- __pTimer->Cancel();\r
-}\r
-\r
-void\r
-WorldClockListForm::OnFormBackRequested(Form& source)\r
-{\r
- __timerResetFlag = 1;\r
- UiApp* pApp = UiApp::GetInstance();\r
- pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);\r
- pApp->GetAppRegistry()->Save();\r
- AppAssert(pApp);\r
- pApp->Terminate();\r
-}\r
-\r
-ListItemBase *\r
-WorldClockListForm::CreateItem(int index, int itemWidth)\r
-{\r
- ArrayList worldClockList;\r
- WorldClock* pWorldClock = null;\r
- String curMonth;\r
- String curDay;\r
- String time;\r
- String city ;\r
- String country ;\r
- String hrs;\r
- String min;\r
- Bitmap* pClockBgBitmap = null;\r
- Bitmap* pClockNormalBitmap = null;\r
- Canvas* pCanvasHours = null;\r
- Canvas* pCanvasMinutes = null;\r
- Bitmap* pFinalBitmapHours = null;\r
- Bitmap* pFinalBitmapMinutes = null;\r
- EnrichedText* pEnrichedTextMinutes = null;\r
- EnrichedText* pEnrichedTextHours = null;\r
- TextElement* pTextElementHours = null;\r
- TextElement* pTextElementMinutes = null;\r
- int count = 0 ;\r
- int hours = 0;\r
- int minutes = 0;\r
- int day = 0;\r
- int month = 0;\r
- int xMargin = 0;\r
- int itemHeight = 204;\r
- int cityTextSize = 44;\r
- int countryTextSize = 32;\r
- int curDayTextSize = 32 ;\r
- int canvasWidth = 122;\r
- int canvasHeight = 104 ;\r
- int fontSize = 73 ;\r
- int yMarginCity = 49;\r
- int itemCityHeight = 62;\r
- int itemCityWidth = 440 ;\r
- int itemCountryWidth = 440 ;\r
- int itemCountryHeight = 36;\r
- int xHoursElement = 0;\r
- int yHoursElement = 36 ;\r
- int xMinutesElement = 0;\r
- int yMinutesElement = yHoursElement ;\r
- int xCurDay = 0 ;\r
- int yCurDay = 161;\r
- int itemCurDayWidth = 122;\r
- int itemCurDayHeight = 36 ;\r
- int offSet = 10 ;\r
- int dst = 0;\r
-\r
- DateTime dtNow;\r
- DateTime dt;\r
- SystemTime::GetCurrentTime(UTC_TIME,dtNow);\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT || GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT_REVERSE)\r
- {\r
- xMargin = 26;\r
- xHoursElement = 440;\r
- xCurDay = 562;\r
- }\r
- else\r
- {\r
- xMargin = 46;\r
- xHoursElement = GetClientAreaBounds().width - 304;//976;\r
- xCurDay = GetClientAreaBounds().width - 180;//1100;\r
- }\r
-\r
- xMinutesElement = xHoursElement + canvasWidth;\r
- CustomItem* pItem = new (std::nothrow) CustomItem();\r
-\r
- if ( pItem == NULL )\r
- {\r
- return NULL;\r
- }\r
-\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
-\r
- pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);\r
-\r
- pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));\r
-\r
- if ( pWorldClock == NULL )\r
- {\r
- delete pItem;\r
- pItem = null;\r
- return NULL;\r
- }\r
-\r
- city = pWorldClock->GetWorldClockCity();\r
- city.ToUpper();\r
- country = pWorldClock->GetWorldClockCountry();\r
- dst = pWorldClock->GetDstTime();\r
- int timediff= pWorldClock->GetTimeZone() + (60 * dst);\r
- TimeZone tz(timediff,pWorldClock->GetWorldClockId());\r
- dt = tz.UtcTimeToWallTime(dtNow);\r
- hours = dt.GetHour();\r
- minutes = dt.GetMinute();\r
- day = dt.GetDay();\r
- month = dt.GetMonth();\r
-\r
- curDay.Append(day);\r
- curMonth.Clear();\r
-\r
- switch (month)\r
- {\r
- case 1:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_JAN"));\r
- break;\r
- }\r
- case 2:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_FEB"));\r
- break;\r
- }\r
- case 3:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_MAR"));\r
- break;\r
- }\r
- case 4:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_APR"));\r
- break;\r
- }\r
- case 5:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_MAY"));\r
- break;\r
- }\r
- case 6:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_JUNE"));\r
- break;\r
- }\r
- case 7:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_JULY"));\r
- break;\r
- }\r
- case 8:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_AUG"));\r
- break;\r
- }\r
- case 9:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_SEP"));\r
- break;\r
- }\r
- case 10:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_OCT"));\r
- break;\r
- }\r
- case 11:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_NOV"));\r
- break;\r
- }\r
- case 12:\r
- {\r
- curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_DEC"));\r
- break;\r
- }\r
-\r
- default:\r
- break;\r
- }\r
-\r
- curDay.Append(L" ");\r
- curDay.Append(curMonth);\r
-\r
-\r
- if ( hours >= 6 && hours < 18) // for clock between 6 AM to 6 PM ( White )\r
- {\r
- pClockBgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_WHITE_BG);\r
- pClockNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_WHITE_FG);\r
-\r
- }\r
- else\r
- {\r
- pClockBgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_BLACK_BG);\r
- pClockNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_BLACK_FG);\r
- }\r
-\r
- if ( hours < 10 )\r
- {\r
- hrs.Append(L"0");\r
- }\r
- hrs.Append(hours);\r
-\r
- // Creates an EnrichedText instance and sets the attributes\r
- pEnrichedTextHours = new EnrichedText();\r
- pEnrichedTextHours->Construct(Dimension(canvasWidth, canvasHeight));\r
- pEnrichedTextHours->SetHorizontalAlignment(TEXT_ALIGNMENT_CENTER);\r
- pTextElementHours = new TextElement();\r
- pTextElementHours->Construct(hrs);\r
-\r
- if ( hours >= 6 && hours < 18)\r
- {\r
- pTextElementHours->SetTextColor(Color(30,30,30));\r
- }\r
- else\r
- {\r
- pTextElementHours->SetTextColor(Color(245,245,245));\r
- }\r
-\r
- Font fontHours;\r
- fontHours.Construct(FONT_STYLE_BOLD, fontSize);\r
- pTextElementHours->SetFont(fontHours);\r
- pEnrichedTextHours->Add(*pTextElementHours);\r
-\r
- pCanvasHours = new (std::nothrow) Canvas();\r
- pCanvasHours->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvasHours->DrawBitmap(Point(0,0),*pClockBgBitmap);\r
- pCanvasHours->DrawBitmap(Point(0,0),*pClockNormalBitmap);\r
- pCanvasHours->DrawText(Point(0,10),*pEnrichedTextHours);\r
-\r
-\r
- pFinalBitmapHours = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmapHours != NULL)\r
- {\r
- pFinalBitmapHours->Construct(*pCanvasHours,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvasHours;\r
- }\r
-\r
- if ( minutes < 10 )\r
- {\r
- min.Append(L"0");\r
- }\r
-\r
- min.Append(minutes);\r
-\r
-\r
- pEnrichedTextMinutes = new EnrichedText();\r
- pEnrichedTextMinutes->Construct(Dimension(canvasWidth, canvasHeight));\r
- pEnrichedTextMinutes->SetHorizontalAlignment(TEXT_ALIGNMENT_CENTER);\r
- pTextElementMinutes = new TextElement();\r
- pTextElementMinutes->Construct(min);\r
-\r
- if ( hours >= 6 && hours < 18)\r
- {\r
- pTextElementMinutes->SetTextColor(Color(30,30,30));\r
- }\r
- else\r
- {\r
- pTextElementMinutes->SetTextColor(Color(245,245,245));\r
- }\r
-\r
- Font font;\r
- font.Construct(FONT_STYLE_BOLD, fontSize);\r
- pTextElementMinutes->SetFont(font);\r
- pEnrichedTextMinutes->Add(*pTextElementMinutes);\r
- pCanvasMinutes = new (std::nothrow) Canvas();\r
- pCanvasMinutes->Construct(Rectangle(0,0,canvasWidth,canvasHeight));\r
- pCanvasMinutes->DrawBitmap(Point(0,0),*pClockBgBitmap);\r
- pCanvasMinutes->DrawBitmap(Point(0,0),*pClockNormalBitmap);\r
- pCanvasMinutes->DrawText(Point(0,offSet),*pEnrichedTextMinutes);\r
-\r
- pFinalBitmapMinutes = new (std::nothrow) Bitmap();\r
-\r
- if ( pFinalBitmapMinutes != NULL)\r
- {\r
- pFinalBitmapMinutes->Construct(*pCanvasMinutes,Rectangle(0,0,canvasWidth,canvasHeight));\r
- delete pCanvasMinutes;\r
- }\r
-\r
- pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_NORMAL);\r
- pItem->AddElement(Rectangle(xMargin, yMarginCity, itemCityWidth, itemCityHeight), IDA_FORMAT_CITY,city, cityTextSize, CUSTOM_COLOR_TRANSPARENT , CUSTOM_COLOR_TRANSPARENT , CUSTOM_COLOR_TRANSPARENT ,true);\r
- pItem->AddElement(Rectangle(xMargin, yMarginCity + itemCityHeight, itemCountryWidth, itemCountryHeight), IDA_FORMAT_COUNTRY,country,countryTextSize ,CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY,true);\r
- pItem->AddElement(Rectangle(xCurDay, yCurDay, itemCurDayWidth, itemCurDayHeight), IDA_FORMAT_DAY, curDay, curDayTextSize ,CUSTOM_COLOR_DARK_GREY,CUSTOM_COLOR_DARK_GREY,CUSTOM_COLOR_DARK_GREY,true);\r
- pItem->AddElement(Rectangle(xHoursElement,yHoursElement, canvasWidth, canvasHeight), IDA_FORMAT_CLOCK_HOURS, *pFinalBitmapHours, null);\r
- pItem->AddElement(Rectangle(xMinutesElement,yMinutesElement, canvasWidth, canvasHeight), IDA_FORMAT_CLOCK_MINUTES, *pFinalBitmapMinutes, null);\r
- pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED , CUSTOM_COLOR_LIST_VIEW_NORMAL);\r
-\r
- if ( __pItemContext != NULL)\r
- {\r
- pItem->SetContextItem(__pItemContext);\r
- }\r
-\r
- if ( pClockBgBitmap != NULL )\r
- {\r
- delete pClockBgBitmap;\r
- }\r
-\r
- if ( pClockNormalBitmap != NULL )\r
- {\r
- delete pClockNormalBitmap;\r
- }\r
-\r
-\r
- pEnrichedTextMinutes->RemoveAllTextElements(true);\r
- pEnrichedTextHours->RemoveAllTextElements(true);\r
- delete pEnrichedTextMinutes;\r
- delete pEnrichedTextHours;\r
- delete pFinalBitmapMinutes;\r
- delete pFinalBitmapHours;\r
-\r
- return pItem;\r
-}\r
-\r
-bool\r
-WorldClockListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)\r
-{\r
- if( pItem != NULL)\r
- {\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
- }\r
- else\r
- {\r
- return false;\r
- }\r
-}\r
-\r
-int\r
-WorldClockListForm::GetItemCount(void)\r
-{\r
- int count = 0;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel != NULL )\r
- {\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- }\r
-\r
- if( count == 0)\r
- {\r
- GetFooter()->SetItemEnabled(0,false);\r
- }\r
- else\r
- {\r
- GetFooter()->SetItemEnabled(0,true);\r
- }\r
-\r
- return count;\r
-\r
-}\r
-\r
-void\r
-WorldClockListForm::OnTimerExpired(Timer& timer)\r
-{\r
- int time = 60000 ; // to refresh list after 1 minute ( 60000 milliseconds)\r
-\r
- if ( __pListview != NULL)\r
- {\r
- __pListview->UpdateList();\r
- }\r
-\r
- if ( __pTimer != NULL )\r
- {\r
- __pTimer->Start(time);\r
- }\r
-}\r
-\r
-void\r
-WorldClockListForm::OnListViewContextItemStateChanged(ListView& listView, int index, int elementId, ListContextItemStatus status)\r
-{\r
-\r
- ArrayList worldClockList;\r
- String worldClockId;\r
- int id = 0;\r
-\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel == NULL)\r
- {\r
- return;\r
- }\r
-\r
- if (__pListview != NULL)\r
- {\r
- pWorldClockPresentationModel->GetAddedWorldClock(0, __pListview->GetItemCount(), worldClockList);\r
- }\r
-\r
- WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));\r
-\r
- if ( pWorldClock == NULL)\r
- {\r
- return;\r
- }\r
-\r
- switch (elementId)\r
- {\r
- case IDA_CONTEXT_ITEM_DELETE:\r
- {\r
- Point p;\r
- worldClockId = pWorldClock->GetWorldClockId();\r
- Integer::Parse(worldClockId,id);\r
- pWorldClockPresentationModel->DeleteWorldClock(id);\r
-\r
- p = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);\r
- InitContextMenu(p);\r
-\r
- if( __pListview != NULL)\r
- {\r
- __pListview->UpdateList();\r
- }\r
-\r
- if( __pListview != NULL && __pListview->GetItemCount()== 0)\r
- {\r
- GetFooter()->SetItemEnabled(0,false);\r
- GetFooter()->Invalidate(true);\r
- }\r
- }\r
- break;\r
- case IDA_CONTEXT_ITEM_DST_SETTING:\r
- {\r
-\r
- int dstTime = pWorldClock->GetDstTime();\r
-\r
- __index = index;\r
-\r
- if (__pPopUp != null)\r
- {\r
- __pPopUp->SetShowState(true);\r
- __pPopUp->Show();\r
- __pPopUp->SetDstIndex(dstTime);\r
- }\r
-\r
- break;\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-\r
-}\r
-\r
-result\r
-WorldClockListForm::InitContextMenu(Point& p)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- if ( __pMenu != NULL)\r
- {\r
- __pMenu->RemoveAllItems();\r
- delete __pMenu;\r
- __pMenu = null ;\r
- }\r
-\r
- __pMenu = new(std::nothrow) ContextMenu();\r
- r = __pMenu->Construct(p, CONTEXT_MENU_STYLE_LIST,CONTEXT_MENU_ANCHOR_DIRECTION_UPWARD);\r
-\r
- if( __pMenu != NULL && r == E_SUCCESS)\r
- {\r
- int count = 0;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
-\r
- __pMenu->AddItem(CommonUtil::GetString(L"IDS_WCL_SK_EDIT"), IDA_DELETE_BTN_CLICKED);\r
- __pMenu->SetShowState(false);\r
- __pMenu->AddActionEventListener(*this);\r
- SetControlAlwaysOnTop(*__pMenu, true);\r
- }\r
-\r
- return r;\r
-\r
-}\r
-\r
-void\r
-WorldClockListForm::OnDaylightSavingPopUpItemSelected( int dstTime)\r
-{\r
- ArrayList worldClockList;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel == NULL )\r
- {\r
- return;\r
- }\r
-\r
- if ( __pListview != NULL)\r
- {\r
- pWorldClockPresentationModel->GetAddedWorldClock(0, __pListview->GetItemCount(), worldClockList);\r
- }\r
-\r
- WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(__index));\r
-\r
- if ( pWorldClock != NULL)\r
- {\r
- pWorldClock->SetDstTime(dstTime);\r
- pWorldClockPresentationModel->UpdateWorldClockDst(*pWorldClock);\r
- }\r
-\r
- if ( __pPopUp != NULL)\r
- {\r
- __pPopUp->SetShowState(false);\r
- }\r
-\r
- if ( __pListview != NULL)\r
- {\r
- __pListview->UpdateList();\r
- }\r
-\r
-}\r
-\r
-void\r
-WorldClockListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)\r
-{\r
- Point contextMenuPoint = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);\r
- InitContextMenu(contextMenuPoint);\r
-\r
- __pListview->UpdateList();\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file WorldClockListForm.cpp
+ * @brief Used to define WorldClockListForm
+ */
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FLocales.h>
+#include <FUi.h>
+
+#include "ClkCommonLib.h"
+#include "ClkCustomColors.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+#include "ClkWorldClock.h"
+#include "ClkWorldClockListForm.h"
+#include "ClkWorldClockPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Locales;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int IDA_TABBAR_ITEM1_ALARM = 200;
+static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;
+static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;
+static const int IDA_TABBAR_ITEM3_TIMER = 203;
+static const int IDA_FOOTER_EDIT = 100;
+static const int IDA_FOOTER_ADD = 101;
+static const int IDA_FORMAT_COUNTRY = 103;
+static const int IDA_FORMAT_DAY = 106;
+static const int IDA_FORMAT_CLOCK_HOURS = 107 ;
+static const int IDA_FORMAT_CLOCK_MINUTES = 108 ;
+static const int IDA_CONTEXT_ITEM_DST_SETTING = 109;
+static const int IDA_CONTEXT_ITEM_DELETE = 110;
+static const int IDA_FORMAT_CITY = 111;
+static const int IDA_REORDER_BTN_CLICKED = 112;
+static const int IDA_DELETE_BTN_CLICKED = 113 ;
+
+
+WorldClockListForm::WorldClockListForm(void)
+:__dstTime(0)
+,__index(0)
+,__pItemContext(null)
+,__pListview (null)
+,__pMenu(null)
+,__pPopUp(null)
+,__pTimer (null)
+,__timerResetFlag(0)
+,__timerResetKey("timerReset")
+{
+
+}
+
+WorldClockListForm::~WorldClockListForm(void)
+{
+ if ( __pTimer != NULL)
+ {
+ delete __pTimer ;
+ }
+}
+
+bool
+WorldClockListForm::Initialize(void)
+{
+ Construct(L"IDL_WORLD_CLOCK_LIST");
+
+ return true;
+}
+
+result
+WorldClockListForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ HeaderItem alarm;
+ HeaderItem worldClock;
+ HeaderItem stopWatch;
+ HeaderItem timer;
+ Header* pHeader = GetHeader();
+ Bitmap* pIconBitmap = null;
+ Bitmap* pPressedIconBitmap = null;
+ Bitmap* pHighlightedIconBitmap = null;
+ Bitmap *pBitmapNormal = null;
+ Bitmap *pBitmapPressed = null;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ if ( pAppResource == NULL )
+ {
+ return E_FAILURE;
+ }
+
+ GetHeader()->AddActionEventListener(*this);
+ GetFooter()->AddActionEventListener(*this);
+
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_WORLD_CLOCK_LIST, *this);
+ // Setup back event listener
+ SetFormBackEventListener(this);
+ AddOrientationEventListener(*this);
+ __pPopUp = new (std::nothrow) DaylightSavingPopUp();
+
+ if (__pPopUp != null)
+ {
+ __pPopUp->Initialize();
+ __pPopUp->SetEventListner(this);
+ AddControl(*__pPopUp);
+ }
+
+
+ __pListview = static_cast< ListView* >(GetControl("IDC_LISTVIEW1"));
+
+ if (__pListview != null)
+ {
+ __pListview->SetItemProvider(*this);
+ __pListview->AddListViewItemEventListener(*this);
+ __pListview->SetTextOfEmptyList(CommonUtil::GetString("IDS_NO_ITEMS"));
+ }
+
+ if (pHeader != null)
+ {
+ pHeader->SetStyle(HEADER_STYLE_TAB);
+ alarm.Construct(IDA_TABBAR_ITEM1_ALARM);
+ //alarm.SetText(CommonUtil::GetString(L"IDS_COM_BODY_ALARM"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_ALARM_HIGHLIGHTED);
+ alarm.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ alarm.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ alarm.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ pHeader->AddItem(alarm);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ worldClock.Construct(IDA_TABBAR_ITEM1_WORLDCLOCK);
+ //worldClock.SetText(CommonUtil::GetString(L"IDS_COM_BODY_WORLD_CLOCK"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_WORLDCLOCK_HIGHLIGHTED);
+
+ if (pIconBitmap != NULL)
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_NORMAL, pHighlightedIconBitmap);
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_PRESSED, pHighlightedIconBitmap);
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ worldClock.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ }
+
+ pHeader->AddItem(worldClock);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ stopWatch.Construct(IDA_TABBAR_ITEM2_STOPWATCH);
+ //stopWatch.SetText(CommonUtil::GetString(L"IDS_COM_BODY_STOPWATCH"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_STOPWATCH_HIGHLIGHTED);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ stopWatch.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ pHeader->AddItem(stopWatch);
+ pHeader->SetItemSelected(0);
+ pHeader->SetTabEditModeEnabled(false);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ timer.Construct(IDA_TABBAR_ITEM3_TIMER);
+ //timer.SetText(CommonUtil::GetString(L"IDS_COM_BODY_TIMER"));
+ pIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pPressedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_NORMAL);
+ pHighlightedIconBitmap = pAppResource->GetBitmapN(IDB_CONTROLBAR_ICON_TIMER_HIGHLIGHTED);
+ timer.SetIcon(HEADER_ITEM_STATUS_NORMAL, pIconBitmap);
+ timer.SetIcon(HEADER_ITEM_STATUS_PRESSED, pPressedIconBitmap);
+ timer.SetIcon(HEADER_ITEM_STATUS_HIGHLIGHTED, pHighlightedIconBitmap);
+ pHeader->AddItem(timer);
+ pHeader->SetItemSelected(0);
+
+ if (pIconBitmap != NULL)
+ {
+ delete pIconBitmap;
+ }
+
+ if ( pPressedIconBitmap != NULL )
+ {
+ delete pPressedIconBitmap;
+ }
+
+ if ( pHighlightedIconBitmap != NULL )
+ {
+ delete pHighlightedIconBitmap;
+ }
+
+ }
+
+ __pItemContext = new (std::nothrow) ListContextItem();
+ __pItemContext->Construct();
+ __pItemContext->AddElement(IDA_CONTEXT_ITEM_DST_SETTING, CommonUtil::GetString(L"IDS_WCL_OPT_DST_SETTINGS"));
+
+ pBitmapNormal = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE, 336, 102);
+ pBitmapPressed = CommonUtil::GetNinepatchedBitmap(IDB_BUTTON_SWEEP_DELETE_PRESS, 336, 102);
+
+ if (pBitmapNormal != null && pBitmapPressed != null)
+ {
+ __pItemContext->AddElement(IDA_CONTEXT_ITEM_DELETE, CommonUtil::GetString(L"IDS_ALM_SK_REMOVE"), *pBitmapNormal, *pBitmapPressed, pBitmapPressed);
+ }
+
+ if ( pBitmapNormal!= NULL)
+ {
+ delete pBitmapNormal;
+ }
+
+ if ( pBitmapPressed!= NULL)
+ {
+ delete pBitmapPressed;
+ }
+ // Create Timer
+ __pTimer = new (std::nothrow) Timer();
+ __pTimer->Construct(*this);
+
+ UiApp::GetInstance()->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ UiApp::GetInstance()->GetAppRegistry()->Save();
+
+ return r;
+}
+
+void
+WorldClockListForm::OnActionPerformed(const Control& source, int actionId)
+{
+ AppLogDebug("WorldClockListForm::OnActionPerformed actionId = %d",actionId);
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ switch (actionId)
+ {
+ case IDA_TABBAR_ITEM1_ALARM:
+ {
+ if (pSceneManager != NULL)
+ {
+ if (pSceneManager->IsSceneAlive(IDSCN_ALARM_DELETE_LIST))
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_DELETE_LIST));
+ }
+ else
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ }
+ break;
+
+ case IDA_TABBAR_ITEM2_STOPWATCH:
+ {
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ }
+ break;
+
+ case IDA_TABBAR_ITEM3_TIMER:
+ {
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));
+ }
+ }
+ break;
+
+ case IDA_FOOTER_EDIT:
+ {
+ if ( __pMenu != NULL)
+ {
+ __pMenu->SetShowState(true);
+ __pMenu->Show();
+ __pMenu->Invalidate(true);
+ }
+ }
+ break;
+
+ case IDA_FOOTER_ADD:
+ {
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_CITY_LIST));
+ }
+ }
+ break;
+
+ case IDA_DELETE_BTN_CLICKED:
+ {
+ if ( __pMenu != NULL)
+ {
+ __pMenu->SetShowState(false);
+ __pMenu->Invalidate(true);
+ }
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_DELETE_LIST));
+ }
+ }
+ break;
+ case IDA_REORDER_BTN_CLICKED:
+ {
+ if ( __pMenu != NULL)
+ {
+ __pMenu->SetShowState(false);
+ __pMenu->Invalidate(true);
+ }
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_WORLD_CLOCK_REORDER));
+ }
+ }
+ break;
+
+ default:
+ break;
+ }
+}
+
+void
+WorldClockListForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ Point p = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);
+ InitContextMenu(p);
+
+ __pListview->UpdateList();
+ Invalidate(true);
+
+ DateTime dtNow;
+ SystemTime::GetCurrentTime(UTC_TIME, dtNow);
+ __pTimer->Start((60 - dtNow.GetSecond()) * 1000);
+ GetHeader()->SetItemSelected(1);
+ GetHeader()->Invalidate(true);
+ GetFooter()->Invalidate(true);
+
+}
+
+void
+WorldClockListForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneId& nextSceneId)
+{
+ __pTimer->Cancel();
+}
+
+void
+WorldClockListForm::OnFormBackRequested(Form& source)
+{
+ __timerResetFlag = 1;
+ UiApp* pApp = UiApp::GetInstance();
+ pApp->GetAppRegistry()->Set(__timerResetKey, __timerResetFlag);
+ pApp->GetAppRegistry()->Save();
+ AppAssert(pApp);
+ pApp->Terminate();
+}
+
+ListItemBase *
+WorldClockListForm::CreateItem(int index, int itemWidth)
+{
+ ArrayList worldClockList;
+ WorldClock* pWorldClock = null;
+ String curMonth;
+ String curDay;
+ String time;
+ String city ;
+ String country ;
+ String hrs;
+ String min;
+ Bitmap* pClockBgBitmap = null;
+ Bitmap* pClockNormalBitmap = null;
+ Canvas* pCanvasHours = null;
+ Canvas* pCanvasMinutes = null;
+ Bitmap* pFinalBitmapHours = null;
+ Bitmap* pFinalBitmapMinutes = null;
+ EnrichedText* pEnrichedTextMinutes = null;
+ EnrichedText* pEnrichedTextHours = null;
+ TextElement* pTextElementHours = null;
+ TextElement* pTextElementMinutes = null;
+ int count = 0 ;
+ int hours = 0;
+ int minutes = 0;
+ int day = 0;
+ int month = 0;
+ int xMargin = 0;
+ int itemHeight = 204;
+ int cityTextSize = 44;
+ int countryTextSize = 32;
+ int curDayTextSize = 32 ;
+ int canvasWidth = 122;
+ int canvasHeight = 104 ;
+ int fontSize = 73 ;
+ int yMarginCity = 49;
+ int itemCityHeight = 62;
+ int itemCityWidth = 440 ;
+ int itemCountryWidth = 440 ;
+ int itemCountryHeight = 36;
+ int xHoursElement = 0;
+ int yHoursElement = 36 ;
+ int xMinutesElement = 0;
+ int yMinutesElement = yHoursElement ;
+ int xCurDay = 0 ;
+ int yCurDay = 161;
+ int itemCurDayWidth = 122;
+ int itemCurDayHeight = 36 ;
+ int offSet = 10 ;
+ int dst = 0;
+
+ DateTime dtNow;
+ DateTime dt;
+ SystemTime::GetCurrentTime(UTC_TIME,dtNow);
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if (GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT || GetOrientationStatus() == ORIENTATION_STATUS_PORTRAIT_REVERSE)
+ {
+ xMargin = 26;
+ xHoursElement = 440;
+ xCurDay = 562;
+ }
+ else
+ {
+ xMargin = 46;
+ xHoursElement = GetClientAreaBounds().width - 304;//976;
+ xCurDay = GetClientAreaBounds().width - 180;//1100;
+ }
+
+ xMinutesElement = xHoursElement + canvasWidth;
+ CustomItem* pItem = new (std::nothrow) CustomItem();
+
+ if ( pItem == NULL )
+ {
+ return NULL;
+ }
+
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+
+ pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);
+
+ pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));
+
+ if ( pWorldClock == NULL )
+ {
+ delete pItem;
+ pItem = null;
+ return NULL;
+ }
+
+ city = pWorldClock->GetWorldClockCity();
+ city.ToUpper();
+ country = pWorldClock->GetWorldClockCountry();
+ dst = pWorldClock->GetDstTime();
+ int timediff= pWorldClock->GetTimeZone() + (60 * dst);
+ TimeZone tz(timediff,pWorldClock->GetWorldClockId());
+ dt = tz.UtcTimeToWallTime(dtNow);
+ hours = dt.GetHour();
+ minutes = dt.GetMinute();
+ day = dt.GetDay();
+ month = dt.GetMonth();
+
+ curDay.Append(day);
+ curMonth.Clear();
+
+ switch (month)
+ {
+ case 1:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_JAN"));
+ break;
+ }
+ case 2:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_FEB"));
+ break;
+ }
+ case 3:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_MAR"));
+ break;
+ }
+ case 4:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_APR"));
+ break;
+ }
+ case 5:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_MAY"));
+ break;
+ }
+ case 6:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_JUNE"));
+ break;
+ }
+ case 7:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_JULY"));
+ break;
+ }
+ case 8:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_AUG"));
+ break;
+ }
+ case 9:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_SEP"));
+ break;
+ }
+ case 10:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_OCT"));
+ break;
+ }
+ case 11:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_NOV"));
+ break;
+ }
+ case 12:
+ {
+ curMonth.Append(CommonUtil::GetString(L"IDS_COM_BODY_DEC"));
+ break;
+ }
+
+ default:
+ break;
+ }
+
+ curDay.Append(L" ");
+ curDay.Append(curMonth);
+
+
+ if ( hours >= 6 && hours < 18) // for clock between 6 AM to 6 PM ( White )
+ {
+ pClockBgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_WHITE_BG);
+ pClockNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_WHITE_FG);
+
+ }
+ else
+ {
+ pClockBgBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_BLACK_BG);
+ pClockNormalBitmap = AppResource::GetInstance()->GetBitmapN(IDB_WORLD_CLOCK_BLACK_FG);
+ }
+
+ if ( hours < 10 )
+ {
+ hrs.Append(L"0");
+ }
+ hrs.Append(hours);
+
+ // Creates an EnrichedText instance and sets the attributes
+ pEnrichedTextHours = new EnrichedText();
+ pEnrichedTextHours->Construct(Dimension(canvasWidth, canvasHeight));
+ pEnrichedTextHours->SetHorizontalAlignment(TEXT_ALIGNMENT_CENTER);
+ pTextElementHours = new TextElement();
+ pTextElementHours->Construct(hrs);
+
+ if ( hours >= 6 && hours < 18)
+ {
+ pTextElementHours->SetTextColor(Color(30,30,30));
+ }
+ else
+ {
+ pTextElementHours->SetTextColor(Color(245,245,245));
+ }
+
+ Font fontHours;
+ fontHours.Construct(FONT_STYLE_BOLD, fontSize);
+ pTextElementHours->SetFont(fontHours);
+ pEnrichedTextHours->Add(*pTextElementHours);
+
+ pCanvasHours = new (std::nothrow) Canvas();
+ pCanvasHours->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvasHours->DrawBitmap(Point(0,0),*pClockBgBitmap);
+ pCanvasHours->DrawBitmap(Point(0,0),*pClockNormalBitmap);
+ pCanvasHours->DrawText(Point(0,10),*pEnrichedTextHours);
+
+
+ pFinalBitmapHours = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmapHours != NULL)
+ {
+ pFinalBitmapHours->Construct(*pCanvasHours,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvasHours;
+ }
+
+ if ( minutes < 10 )
+ {
+ min.Append(L"0");
+ }
+
+ min.Append(minutes);
+
+
+ pEnrichedTextMinutes = new EnrichedText();
+ pEnrichedTextMinutes->Construct(Dimension(canvasWidth, canvasHeight));
+ pEnrichedTextMinutes->SetHorizontalAlignment(TEXT_ALIGNMENT_CENTER);
+ pTextElementMinutes = new TextElement();
+ pTextElementMinutes->Construct(min);
+
+ if ( hours >= 6 && hours < 18)
+ {
+ pTextElementMinutes->SetTextColor(Color(30,30,30));
+ }
+ else
+ {
+ pTextElementMinutes->SetTextColor(Color(245,245,245));
+ }
+
+ Font font;
+ font.Construct(FONT_STYLE_BOLD, fontSize);
+ pTextElementMinutes->SetFont(font);
+ pEnrichedTextMinutes->Add(*pTextElementMinutes);
+ pCanvasMinutes = new (std::nothrow) Canvas();
+ pCanvasMinutes->Construct(Rectangle(0,0,canvasWidth,canvasHeight));
+ pCanvasMinutes->DrawBitmap(Point(0,0),*pClockBgBitmap);
+ pCanvasMinutes->DrawBitmap(Point(0,0),*pClockNormalBitmap);
+ pCanvasMinutes->DrawText(Point(0,offSet),*pEnrichedTextMinutes);
+
+ pFinalBitmapMinutes = new (std::nothrow) Bitmap();
+
+ if ( pFinalBitmapMinutes != NULL)
+ {
+ pFinalBitmapMinutes->Construct(*pCanvasMinutes,Rectangle(0,0,canvasWidth,canvasHeight));
+ delete pCanvasMinutes;
+ }
+
+ pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_NORMAL);
+ pItem->AddElement(Rectangle(xMargin, yMarginCity, itemCityWidth, itemCityHeight), IDA_FORMAT_CITY,city, cityTextSize, CUSTOM_COLOR_TRANSPARENT , CUSTOM_COLOR_TRANSPARENT , CUSTOM_COLOR_TRANSPARENT ,true);
+ pItem->AddElement(Rectangle(xMargin, yMarginCity + itemCityHeight, itemCountryWidth, itemCountryHeight), IDA_FORMAT_COUNTRY,country,countryTextSize ,CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY,CUSTOM_COLOR_GREY,true);
+ pItem->AddElement(Rectangle(xCurDay, yCurDay, itemCurDayWidth, itemCurDayHeight), IDA_FORMAT_DAY, curDay, curDayTextSize ,CUSTOM_COLOR_DARK_GREY,CUSTOM_COLOR_DARK_GREY,CUSTOM_COLOR_DARK_GREY,true);
+ pItem->AddElement(Rectangle(xHoursElement,yHoursElement, canvasWidth, canvasHeight), IDA_FORMAT_CLOCK_HOURS, *pFinalBitmapHours, null);
+ pItem->AddElement(Rectangle(xMinutesElement,yMinutesElement, canvasWidth, canvasHeight), IDA_FORMAT_CLOCK_MINUTES, *pFinalBitmapMinutes, null);
+ pItem->SetBackgroundColor(LIST_ITEM_DRAWING_STATUS_PRESSED , CUSTOM_COLOR_LIST_VIEW_NORMAL);
+
+ if ( __pItemContext != NULL)
+ {
+ pItem->SetContextItem(__pItemContext);
+ }
+
+ if ( pClockBgBitmap != NULL )
+ {
+ delete pClockBgBitmap;
+ }
+
+ if ( pClockNormalBitmap != NULL )
+ {
+ delete pClockNormalBitmap;
+ }
+
+
+ pEnrichedTextMinutes->RemoveAllTextElements(true);
+ pEnrichedTextHours->RemoveAllTextElements(true);
+ delete pEnrichedTextMinutes;
+ delete pEnrichedTextHours;
+ delete pFinalBitmapMinutes;
+ delete pFinalBitmapHours;
+
+ return pItem;
+}
+
+bool
+WorldClockListForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)
+{
+ if( pItem != NULL)
+ {
+ delete pItem;
+ pItem = null;
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+}
+
+int
+WorldClockListForm::GetItemCount(void)
+{
+ int count = 0;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel != NULL )
+ {
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ }
+
+ if( count == 0)
+ {
+ GetFooter()->SetItemEnabled(0,false);
+ }
+ else
+ {
+ GetFooter()->SetItemEnabled(0,true);
+ }
+
+ return count;
+
+}
+
+void
+WorldClockListForm::OnTimerExpired(Timer& timer)
+{
+ int time = 60000 ; // to refresh list after 1 minute ( 60000 milliseconds)
+
+ if ( __pListview != NULL)
+ {
+ __pListview->UpdateList();
+ }
+
+ if ( __pTimer != NULL )
+ {
+ __pTimer->Start(time);
+ }
+}
+
+void
+WorldClockListForm::OnListViewContextItemStateChanged(ListView& listView, int index, int elementId, ListContextItemStatus status)
+{
+
+ ArrayList worldClockList;
+ String worldClockId;
+ int id = 0;
+
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel == NULL)
+ {
+ return;
+ }
+
+ if (__pListview != NULL)
+ {
+ pWorldClockPresentationModel->GetAddedWorldClock(0, __pListview->GetItemCount(), worldClockList);
+ }
+
+ WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));
+
+ if ( pWorldClock == NULL)
+ {
+ return;
+ }
+
+ switch (elementId)
+ {
+ case IDA_CONTEXT_ITEM_DELETE:
+ {
+ Point p;
+ worldClockId = pWorldClock->GetWorldClockId();
+ Integer::Parse(worldClockId,id);
+ pWorldClockPresentationModel->DeleteWorldClock(id);
+
+ p = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);
+ InitContextMenu(p);
+
+ if( __pListview != NULL)
+ {
+ __pListview->UpdateList();
+ }
+
+ if( __pListview != NULL && __pListview->GetItemCount()== 0)
+ {
+ GetFooter()->SetItemEnabled(0,false);
+ GetFooter()->Invalidate(true);
+ }
+ }
+ break;
+ case IDA_CONTEXT_ITEM_DST_SETTING:
+ {
+
+ int dstTime = pWorldClock->GetDstTime();
+
+ __index = index;
+
+ if (__pPopUp != null)
+ {
+ __pPopUp->SetShowState(true);
+ __pPopUp->Show();
+ __pPopUp->SetDstIndex(dstTime);
+ }
+
+ break;
+ }
+ break;
+ default:
+ break;
+ }
+
+}
+
+result
+WorldClockListForm::InitContextMenu(Point& p)
+{
+ result r = E_SUCCESS;
+
+ if ( __pMenu != NULL)
+ {
+ __pMenu->RemoveAllItems();
+ delete __pMenu;
+ __pMenu = null ;
+ }
+
+ __pMenu = new(std::nothrow) ContextMenu();
+ r = __pMenu->Construct(p, CONTEXT_MENU_STYLE_LIST,CONTEXT_MENU_ANCHOR_DIRECTION_UPWARD);
+
+ if( __pMenu != NULL && r == E_SUCCESS)
+ {
+ int count = 0;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+
+ __pMenu->AddItem(CommonUtil::GetString(L"IDS_WCL_SK_EDIT"), IDA_DELETE_BTN_CLICKED);
+ __pMenu->SetShowState(false);
+ __pMenu->AddActionEventListener(*this);
+ SetControlAlwaysOnTop(*__pMenu, true);
+ }
+
+ return r;
+
+}
+
+void
+WorldClockListForm::OnDaylightSavingPopUpItemSelected( int dstTime)
+{
+ ArrayList worldClockList;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel == NULL )
+ {
+ return;
+ }
+
+ if ( __pListview != NULL)
+ {
+ pWorldClockPresentationModel->GetAddedWorldClock(0, __pListview->GetItemCount(), worldClockList);
+ }
+
+ WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(__index));
+
+ if ( pWorldClock != NULL)
+ {
+ pWorldClock->SetDstTime(dstTime);
+ pWorldClockPresentationModel->UpdateWorldClockDst(*pWorldClock);
+ }
+
+ if ( __pPopUp != NULL)
+ {
+ __pPopUp->SetShowState(false);
+ }
+
+ if ( __pListview != NULL)
+ {
+ __pListview->UpdateList();
+ }
+
+}
+
+void
+WorldClockListForm::OnOrientationChanged(const Control& source, OrientationStatus orientationStatus)
+{
+ Point contextMenuPoint = Point( GetFooter()->GetWidth() / 3, GetFooter()->GetPosition().y + 25);
+ InitContextMenu(contextMenuPoint);
+
+ __pListview->UpdateList();
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file ClkWorldClockPresentationModel.cpp\r
- * @brief Used to define WorldClockPresentationModel\r
- */\r
-\r
-#include <cstdlib>\r
-#include <FAppApp.h>\r
-#include <FBase.h>\r
-#include <FIo.h>\r
-#include <FLocales.h>\r
-\r
-#include "ClkDataServiceProvider.h"\r
-#include "ClkTypes.h"\r
-#include "ClkWorldClockPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Utility;\r
-using namespace Tizen::Io;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::System;\r
-\r
-WorldClockPresentationModel* WorldClockPresentationModel::__pInstance = NULL;\r
-\r
-extern const wchar_t* WORLD_CLOCK_TABLE;\r
-\r
-\r
-WorldClockPresentationModel::WorldClockPresentationModel(void)\r
-{\r
-\r
-}\r
-\r
-WorldClockPresentationModel::~WorldClockPresentationModel(void)\r
-{\r
-\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::Initialize(void)\r
-{\r
- result r = E_SUCCESS;\r
-\r
- return r;\r
-}\r
-\r
-\r
-ArrayList*\r
-WorldClockPresentationModel::GetCityList(const String& searchText)\r
-{\r
- LocaleManager localeManager;\r
- localeManager.Construct();\r
- IList *pTimezoneIds = localeManager.GetAvailableTimeZonesN();\r
- ArrayList *pTimeZones = new ArrayList();\r
- pTimeZones->Construct();\r
- int totalCount = pTimezoneIds->GetCount();\r
- for(int count = 0; count < totalCount; count++)\r
- {\r
- String *pTZId = dynamic_cast<String*>(pTimezoneIds->GetAt(count));\r
- if(pTZId == null || pTZId->Contains("/") == false || pTZId->Contains("System") == true || pTZId->Contains("GMT") == true)\r
- continue;\r
- TimeZone *pTimeZone = new TimeZone();\r
- TimeZone::GetTimeZone(*pTZId, *pTimeZone);\r
- String gmtValue = L"";\r
- gmtValue.Append(pTimeZone->GetRawOffset()/60);\r
- gmtValue.Append('.');\r
- gmtValue.Append(pTimeZone->GetRawOffset()%60);\r
- if(searchText == L"" || pTimeZone->GetId().Contains(searchText) == true || gmtValue.Contains(searchText) == true)\r
- pTimeZones->Add(*pTimeZone);\r
- }\r
- return pTimeZones;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::AddWorldClock(WorldClock& worldClock)\r
-{\r
-\r
- result r = E_FAILURE;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- String query;\r
- String columnNames;\r
- String attachment;\r
- int resultCount = -1;\r
- int rowId = -1;\r
- DateTime dt;\r
- String worldClockId;\r
- String worldClockCity = worldClock.GetWorldClockCity();\r
- String worldClockCountry = worldClock.GetWorldClockCountry();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
- int timeZone = worldClock.GetTimeZone();\r
- int count = 0;\r
- int dstTime = 0;\r
- int order = -1 ;\r
- GetAddedClockCount(count);\r
- order = count;\r
-\r
- columnNames.Append(L"CITY, ");\r
- columnNames.Append(L"COUNTRY, ");\r
- columnNames.Append(L"TIMEZONE, ");\r
- columnNames.Append(L"ORDERNO, ");\r
- columnNames.Append(L"DSTTIME");\r
-\r
- query.Append(L"INSERT INTO ");\r
- query.Append(worldClockTable);\r
- query.Append("(");\r
- query.Append(columnNames);\r
- query.Append(") ");\r
- query.Append("VALUES(");\r
- query.Append("'");\r
- query.Append(worldClockCity);\r
- query.Append("', ");\r
- query.Append("'");\r
- query.Append(worldClockCountry);\r
- query.Append("', ");\r
- query.Append(timeZone);\r
- query.Append(", ");\r
- query.Append(order);\r
- query.Append(", ");\r
- query.Append(dstTime);\r
- query.Append(")");\r
-\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
- AppLog("ExecuteQuery result = %s query = %ls", GetErrorMessage(r), query.GetPointer());\r
-\r
- r = pDataServiceProvider->CommitDb();\r
- AppLog("CommitDb result = %s", GetErrorMessage(r));\r
-\r
- r = pDataServiceProvider->GetLastInsertedId(worldClockTable, rowId);\r
- AppLog("GetLastInsertedId result = %s", GetErrorMessage(r));\r
-\r
- if (rowId < 0)\r
- return E_FAILURE;\r
-\r
- worldClockId.Append(rowId);\r
-\r
- //Set the generated ID to WorldClock\r
- worldClock.SetWorldClockId(worldClockId);\r
-\r
- //CATCH:\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::DeleteWorldClock(int worldClockId)\r
-{\r
- result r = E_SUCCESS;\r
- String query;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- int resultCount = -1;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- if (worldClockId < 1)\r
- {\r
- return E_INVALID_ARG;\r
- }\r
-\r
- query.Append(L"DELETE FROM ");\r
- query.Append(worldClockTable);\r
- query.Append(" WHERE ID = ");\r
- query.Append(worldClockId);\r
-\r
- pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- pDataServiceProvider->CommitDb();\r
-\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::GetAddedClockCount(int& addedWorlClockcount)\r
-{\r
- int count = -1;\r
- int intVal = -1;\r
- String query;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- result r = E_FAILURE;\r
- bool nextRowPresent = false;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- query.Append(L"SELECT COUNT(ID) FROM ");\r
- query.Append(worldClockTable);\r
-\r
- pDataServiceProvider->ExecuteQuery(query, count);\r
-\r
- pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);\r
-\r
- if (nextRowPresent == true)\r
- {\r
- r = pDataServiceProvider->GetColumn(0, intVal);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("Error:WorldClockPresentationModel::GetColumn:%s", GetErrorMessage(r));\r
- return r;\r
- }\r
- }\r
- addedWorlClockcount = intVal;\r
-\r
- return r;\r
-}\r
-\r
-\r
-result\r
-WorldClockPresentationModel::CreateAddedWorldClockList(int worldClockCount, ArrayList& worldClockList)\r
-{\r
- WorldClock* pWorldClock = null;\r
- int intVal = -1;\r
- String value;\r
- result r = E_FAILURE;\r
- String worldClockId;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- bool nextRowPresent = false;\r
-\r
- if (worldClockCount < 1)\r
- {\r
- return E_SUCCESS;\r
- }\r
-\r
- for (int l_worldClockCount = 0; l_worldClockCount < worldClockCount; l_worldClockCount++)\r
- {\r
- r = pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);\r
- if (IsFailed(r))\r
- return r;\r
- if (nextRowPresent == true)\r
- {\r
- pWorldClock = new (std::nothrow) WorldClock();\r
- if (pWorldClock)\r
- {\r
- for (int columnCount = 0; columnCount < MAX_WORLDCLOCK_TABLE_COLUMN; columnCount++)\r
- {\r
-\r
- switch (columnCount)\r
- {\r
- case 0:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
- if (!IsFailed(r))\r
- {\r
- if (intVal > 0)\r
- {\r
- worldClockId.Clear();\r
- worldClockId.Append(intVal);\r
- if (worldClockId.GetLength() > 0)\r
- {\r
- pWorldClock->SetWorldClockId(worldClockId);\r
- }\r
- }\r
-\r
- }\r
- break;\r
-\r
- case 1:\r
- r = pDataServiceProvider->GetColumn(columnCount, value);\r
- if (!IsFailed(r))\r
- {\r
- pWorldClock->SetWorldClockCity(value);\r
- }\r
- break;\r
-\r
- case 2:\r
- r = pDataServiceProvider->GetColumn(columnCount, value);\r
- if (!IsFailed(r))\r
- {\r
- pWorldClock->SetWorldClockCountry(value);\r
- }\r
- break;\r
-\r
- case 3:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
- if (!IsFailed(r))\r
- {\r
- pWorldClock->SetTimeZone(intVal);\r
- }\r
- break;\r
-\r
- case 4:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
- if (!IsFailed(r))\r
- {\r
- pWorldClock->SetOrder(intVal);\r
- }\r
- break;\r
-\r
- case 5:\r
- r = pDataServiceProvider->GetColumn(columnCount, intVal);\r
- if (!IsFailed(r))\r
- {\r
- pWorldClock->SetDstTime(intVal);\r
- }\r
- break;\r
-\r
- default:\r
- break;\r
- }\r
- }\r
-\r
- r = worldClockList.Add(*pWorldClock);\r
- if (IsFailed(r))\r
- {\r
- return r;\r
- }\r
- }\r
- }\r
- }\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::GetAddedWorldClock(int startIndex, int limit, ArrayList& worldClockList)\r
-{\r
- int count = -1;\r
- String query;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- result r = E_FAILURE;\r
- WorldClock worldClock;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- query.Append(L"SELECT * FROM ");\r
- query.Append(worldClockTable);\r
- query.Append(" ORDER BY ORDERNO");\r
-\r
- //Append LIMIT\r
- if (limit > 0)\r
- {\r
- query.Append(" LIMIT ");\r
- query.Append(limit);\r
-\r
- //Append OFFESET\r
- if (startIndex >= 0)\r
- {\r
- query.Append(" OFFSET ");\r
- query.Append(startIndex);\r
- }\r
- }\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, count);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::GetWorldClock query failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = CreateAddedWorldClockList(count, worldClockList);\r
-\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::DeleteWorldClock(ArrayList& worldclocklist)\r
-{\r
- result r = E_SUCCESS;\r
- String query;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- int resultCount = -1;\r
- String worldClockId;\r
- WorldClock* pWorldClock = null;\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- query.Append(L"DELETE FROM ");\r
- query.Append(worldClockTable);\r
- query.Append(" WHERE ID IN ( ");\r
-\r
- for (int count = 0; count < worldclocklist.GetCount(); count++)\r
- {\r
- pWorldClock = dynamic_cast< WorldClock* >(worldclocklist.GetAt(count));\r
-\r
- if ( pWorldClock == NULL )\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- worldClockId = pWorldClock->GetWorldClockId();\r
- int id = 0;\r
- Integer::Parse(worldClockId, id);\r
- query.Append(id);\r
- query.Append(",");\r
- }\r
-\r
- query.Remove(query.GetLength() - 1, 1);\r
- query.Append(")");\r
- AppLogDebug("query = %s",query.GetPointer());\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::DeleteQuery query failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::CommitDb() failed %s",GetErrorMessage(r));\r
- }\r
-\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::UpdateWorldClockOrder(WorldClock& worldclock)\r
-{\r
- result r = E_FAILURE;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- String query;\r
- String columnNames;\r
- String attachment;\r
- int resultCount = -1;\r
- int rowId = -1;\r
- DateTime dt;\r
- String worldClockId = worldclock.GetWorldClockId();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- query.Append(L"UPDATE ");\r
- query.Append(worldClockTable);\r
- query.Append(" SET ORDERNO = ");\r
- query.Append(worldclock.GetOrder());\r
- query.Append(" WHERE ID = ");\r
- query.Append("'");\r
- query.Append(worldClockId);\r
- query.Append("'");\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::UpdateWorldClock query failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::UpdateWorldClock CommitDb failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->GetLastInsertedId(worldClockTable, rowId);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::UpdateWorldClock GetLastInsertedId failed %s", GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- if (rowId < 0)\r
- return E_FAILURE;\r
-\r
- return r;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::UpdateWorldClockDst(WorldClock& worldclock)\r
-{\r
- result r = E_FAILURE;\r
- String worldClockTable(WORLD_CLOCK_TABLE);\r
- String query;\r
- String columnNames;\r
- String attachment;\r
- int resultCount = -1;\r
- int rowId = -1;\r
- DateTime dt;\r
- String worldClockId = worldclock.GetWorldClockId();\r
- DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();\r
-\r
- query.Append(L"UPDATE ");\r
- query.Append(worldClockTable);\r
- query.Append(" SET DSTTIME = ");\r
- query.Append(worldclock.GetDstTime());\r
- query.Append(" WHERE ID = ");\r
- query.Append("'");\r
- query.Append(worldClockId);\r
- query.Append("'");\r
-\r
- r = pDataServiceProvider->ExecuteQuery(query, resultCount);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::UpdateWorldClockDst query failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->CommitDb();\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("PresentationModelBase::CommitDb:failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- r = pDataServiceProvider->GetLastInsertedId(worldClockTable, rowId);\r
-\r
- if (IsFailed(r))\r
- {\r
- AppLogDebug("WorldClockPresentationModel::UpdateWorldClockDst GetLastInsertedId failed %s",GetErrorMessage(r));\r
- return r;\r
- }\r
-\r
- if (rowId < 0)\r
- return E_FAILURE;\r
-\r
- return r;\r
-}\r
-\r
-WorldClockPresentationModel*\r
-WorldClockPresentationModel::GetInstance(void)\r
-{\r
- if (__pInstance == null)\r
- {\r
- CreateInstance();\r
- }\r
-\r
- return __pInstance;\r
-}\r
-\r
-result\r
-WorldClockPresentationModel::Construct(void)\r
-{\r
- return E_SUCCESS;\r
-}\r
-\r
-void\r
-WorldClockPresentationModel::CreateInstance(void)\r
-{\r
- __pInstance = new (std::nothrow) WorldClockPresentationModel();\r
- result r = __pInstance->Construct();\r
- if (IsFailed(r))\r
- {\r
- delete __pInstance;\r
- __pInstance = null;\r
- return;\r
- }\r
-\r
- std::atexit(DestroyInstance);\r
-}\r
-\r
-void\r
-WorldClockPresentationModel::DestroyInstance(void)\r
-{\r
- delete __pInstance;\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file ClkWorldClockPresentationModel.cpp
+ * @brief Used to define WorldClockPresentationModel
+ */
+
+#include <cstdlib>
+#include <FAppApp.h>
+#include <FBase.h>
+#include <FIo.h>
+#include <FLocales.h>
+
+#include "ClkDataServiceProvider.h"
+#include "ClkTypes.h"
+#include "ClkWorldClockPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Utility;
+using namespace Tizen::Io;
+using namespace Tizen::Locales;
+using namespace Tizen::System;
+
+WorldClockPresentationModel* WorldClockPresentationModel::__pInstance = NULL;
+
+extern const wchar_t* WORLD_CLOCK_TABLE;
+
+
+WorldClockPresentationModel::WorldClockPresentationModel(void)
+{
+
+}
+
+WorldClockPresentationModel::~WorldClockPresentationModel(void)
+{
+
+}
+
+result
+WorldClockPresentationModel::Initialize(void)
+{
+ result r = E_SUCCESS;
+
+ return r;
+}
+
+
+ArrayList*
+WorldClockPresentationModel::GetCityList(const String& searchText)
+{
+ LocaleManager localeManager;
+ localeManager.Construct();
+ IList *pTimezoneIds = localeManager.GetAvailableTimeZonesN();
+ ArrayList *pTimeZones = new ArrayList();
+ pTimeZones->Construct();
+ int totalCount = pTimezoneIds->GetCount();
+ for(int count = 0; count < totalCount; count++)
+ {
+ String *pTZId = dynamic_cast<String*>(pTimezoneIds->GetAt(count));
+ if(pTZId == null || pTZId->Contains("/") == false || pTZId->Contains("System") == true || pTZId->Contains("GMT") == true)
+ continue;
+ TimeZone *pTimeZone = new TimeZone();
+ TimeZone::GetTimeZone(*pTZId, *pTimeZone);
+ String gmtValue = L"";
+ gmtValue.Append(pTimeZone->GetRawOffset()/60);
+ gmtValue.Append('.');
+ gmtValue.Append(pTimeZone->GetRawOffset()%60);
+ if(searchText == L"" || pTimeZone->GetId().Contains(searchText) == true || gmtValue.Contains(searchText) == true)
+ pTimeZones->Add(*pTimeZone);
+ }
+ return pTimeZones;
+}
+
+result
+WorldClockPresentationModel::AddWorldClock(WorldClock& worldClock)
+{
+
+ result r = E_FAILURE;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ String query;
+ String columnNames;
+ String attachment;
+ int resultCount = -1;
+ int rowId = -1;
+ DateTime dt;
+ String worldClockId;
+ String worldClockCity = worldClock.GetWorldClockCity();
+ String worldClockCountry = worldClock.GetWorldClockCountry();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+ int timeZone = worldClock.GetTimeZone();
+ int count = 0;
+ int dstTime = 0;
+ int order = -1 ;
+ GetAddedClockCount(count);
+ order = count;
+
+ columnNames.Append(L"CITY, ");
+ columnNames.Append(L"COUNTRY, ");
+ columnNames.Append(L"TIMEZONE, ");
+ columnNames.Append(L"ORDERNO, ");
+ columnNames.Append(L"DSTTIME");
+
+ query.Append(L"INSERT INTO ");
+ query.Append(worldClockTable);
+ query.Append("(");
+ query.Append(columnNames);
+ query.Append(") ");
+ query.Append("VALUES(");
+ query.Append("'");
+ query.Append(worldClockCity);
+ query.Append("', ");
+ query.Append("'");
+ query.Append(worldClockCountry);
+ query.Append("', ");
+ query.Append(timeZone);
+ query.Append(", ");
+ query.Append(order);
+ query.Append(", ");
+ query.Append(dstTime);
+ query.Append(")");
+
+
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+ AppLog("ExecuteQuery result = %s query = %ls", GetErrorMessage(r), query.GetPointer());
+
+ r = pDataServiceProvider->CommitDb();
+ AppLog("CommitDb result = %s", GetErrorMessage(r));
+
+ r = pDataServiceProvider->GetLastInsertedId(worldClockTable, rowId);
+ AppLog("GetLastInsertedId result = %s", GetErrorMessage(r));
+
+ if (rowId < 0)
+ return E_FAILURE;
+
+ worldClockId.Append(rowId);
+
+ //Set the generated ID to WorldClock
+ worldClock.SetWorldClockId(worldClockId);
+
+ //CATCH:
+ return r;
+}
+
+result
+WorldClockPresentationModel::DeleteWorldClock(int worldClockId)
+{
+ result r = E_SUCCESS;
+ String query;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ int resultCount = -1;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ if (worldClockId < 1)
+ {
+ return E_INVALID_ARG;
+ }
+
+ query.Append(L"DELETE FROM ");
+ query.Append(worldClockTable);
+ query.Append(" WHERE ID = ");
+ query.Append(worldClockId);
+
+ pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ pDataServiceProvider->CommitDb();
+
+ return r;
+}
+
+result
+WorldClockPresentationModel::GetAddedClockCount(int& addedWorlClockcount)
+{
+ int count = -1;
+ int intVal = -1;
+ String query;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ result r = E_FAILURE;
+ bool nextRowPresent = false;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ query.Append(L"SELECT COUNT(ID) FROM ");
+ query.Append(worldClockTable);
+
+ pDataServiceProvider->ExecuteQuery(query, count);
+
+ pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);
+
+ if (nextRowPresent == true)
+ {
+ r = pDataServiceProvider->GetColumn(0, intVal);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("Error:WorldClockPresentationModel::GetColumn:%s", GetErrorMessage(r));
+ return r;
+ }
+ }
+ addedWorlClockcount = intVal;
+
+ return r;
+}
+
+
+result
+WorldClockPresentationModel::CreateAddedWorldClockList(int worldClockCount, ArrayList& worldClockList)
+{
+ WorldClock* pWorldClock = null;
+ int intVal = -1;
+ String value;
+ result r = E_FAILURE;
+ String worldClockId;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ bool nextRowPresent = false;
+
+ if (worldClockCount < 1)
+ {
+ return E_SUCCESS;
+ }
+
+ for (int l_worldClockCount = 0; l_worldClockCount < worldClockCount; l_worldClockCount++)
+ {
+ r = pDataServiceProvider->DbIsNextRowPresent(nextRowPresent);
+ if (IsFailed(r))
+ return r;
+ if (nextRowPresent == true)
+ {
+ pWorldClock = new (std::nothrow) WorldClock();
+ if (pWorldClock)
+ {
+ for (int columnCount = 0; columnCount < MAX_WORLDCLOCK_TABLE_COLUMN; columnCount++)
+ {
+
+ switch (columnCount)
+ {
+ case 0:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+ if (!IsFailed(r))
+ {
+ if (intVal > 0)
+ {
+ worldClockId.Clear();
+ worldClockId.Append(intVal);
+ if (worldClockId.GetLength() > 0)
+ {
+ pWorldClock->SetWorldClockId(worldClockId);
+ }
+ }
+
+ }
+ break;
+
+ case 1:
+ r = pDataServiceProvider->GetColumn(columnCount, value);
+ if (!IsFailed(r))
+ {
+ pWorldClock->SetWorldClockCity(value);
+ }
+ break;
+
+ case 2:
+ r = pDataServiceProvider->GetColumn(columnCount, value);
+ if (!IsFailed(r))
+ {
+ pWorldClock->SetWorldClockCountry(value);
+ }
+ break;
+
+ case 3:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+ if (!IsFailed(r))
+ {
+ pWorldClock->SetTimeZone(intVal);
+ }
+ break;
+
+ case 4:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+ if (!IsFailed(r))
+ {
+ pWorldClock->SetOrder(intVal);
+ }
+ break;
+
+ case 5:
+ r = pDataServiceProvider->GetColumn(columnCount, intVal);
+ if (!IsFailed(r))
+ {
+ pWorldClock->SetDstTime(intVal);
+ }
+ break;
+
+ default:
+ break;
+ }
+ }
+
+ r = worldClockList.Add(*pWorldClock);
+ if (IsFailed(r))
+ {
+ return r;
+ }
+ }
+ }
+ }
+ return r;
+}
+
+result
+WorldClockPresentationModel::GetAddedWorldClock(int startIndex, int limit, ArrayList& worldClockList)
+{
+ int count = -1;
+ String query;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ result r = E_FAILURE;
+ WorldClock worldClock;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ query.Append(L"SELECT * FROM ");
+ query.Append(worldClockTable);
+ query.Append(" ORDER BY ORDERNO");
+
+ //Append LIMIT
+ if (limit > 0)
+ {
+ query.Append(" LIMIT ");
+ query.Append(limit);
+
+ //Append OFFESET
+ if (startIndex >= 0)
+ {
+ query.Append(" OFFSET ");
+ query.Append(startIndex);
+ }
+ }
+
+ r = pDataServiceProvider->ExecuteQuery(query, count);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::GetWorldClock query failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ r = CreateAddedWorldClockList(count, worldClockList);
+
+ return r;
+}
+
+result
+WorldClockPresentationModel::DeleteWorldClock(ArrayList& worldclocklist)
+{
+ result r = E_SUCCESS;
+ String query;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ int resultCount = -1;
+ String worldClockId;
+ WorldClock* pWorldClock = null;
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ query.Append(L"DELETE FROM ");
+ query.Append(worldClockTable);
+ query.Append(" WHERE ID IN ( ");
+
+ for (int count = 0; count < worldclocklist.GetCount(); count++)
+ {
+ pWorldClock = dynamic_cast< WorldClock* >(worldclocklist.GetAt(count));
+
+ if ( pWorldClock == NULL )
+ {
+ return E_FAILURE;
+ }
+
+ worldClockId = pWorldClock->GetWorldClockId();
+ int id = 0;
+ Integer::Parse(worldClockId, id);
+ query.Append(id);
+ query.Append(",");
+ }
+
+ query.Remove(query.GetLength() - 1, 1);
+ query.Append(")");
+ AppLogDebug("query = %s",query.GetPointer());
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::DeleteQuery query failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::CommitDb() failed %s",GetErrorMessage(r));
+ }
+
+ return r;
+}
+
+result
+WorldClockPresentationModel::UpdateWorldClockOrder(WorldClock& worldclock)
+{
+ result r = E_FAILURE;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ String query;
+ String columnNames;
+ String attachment;
+ int resultCount = -1;
+ int rowId = -1;
+ DateTime dt;
+ String worldClockId = worldclock.GetWorldClockId();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ query.Append(L"UPDATE ");
+ query.Append(worldClockTable);
+ query.Append(" SET ORDERNO = ");
+ query.Append(worldclock.GetOrder());
+ query.Append(" WHERE ID = ");
+ query.Append("'");
+ query.Append(worldClockId);
+ query.Append("'");
+
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::UpdateWorldClock query failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::UpdateWorldClock CommitDb failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->GetLastInsertedId(worldClockTable, rowId);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::UpdateWorldClock GetLastInsertedId failed %s", GetErrorMessage(r));
+ return r;
+ }
+
+ if (rowId < 0)
+ return E_FAILURE;
+
+ return r;
+}
+
+result
+WorldClockPresentationModel::UpdateWorldClockDst(WorldClock& worldclock)
+{
+ result r = E_FAILURE;
+ String worldClockTable(WORLD_CLOCK_TABLE);
+ String query;
+ String columnNames;
+ String attachment;
+ int resultCount = -1;
+ int rowId = -1;
+ DateTime dt;
+ String worldClockId = worldclock.GetWorldClockId();
+ DataServiceProvider* pDataServiceProvider = DataServiceProvider::GetInstance();
+
+ query.Append(L"UPDATE ");
+ query.Append(worldClockTable);
+ query.Append(" SET DSTTIME = ");
+ query.Append(worldclock.GetDstTime());
+ query.Append(" WHERE ID = ");
+ query.Append("'");
+ query.Append(worldClockId);
+ query.Append("'");
+
+ r = pDataServiceProvider->ExecuteQuery(query, resultCount);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::UpdateWorldClockDst query failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->CommitDb();
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("PresentationModelBase::CommitDb:failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ r = pDataServiceProvider->GetLastInsertedId(worldClockTable, rowId);
+
+ if (IsFailed(r))
+ {
+ AppLogDebug("WorldClockPresentationModel::UpdateWorldClockDst GetLastInsertedId failed %s",GetErrorMessage(r));
+ return r;
+ }
+
+ if (rowId < 0)
+ return E_FAILURE;
+
+ return r;
+}
+
+WorldClockPresentationModel*
+WorldClockPresentationModel::GetInstance(void)
+{
+ if (__pInstance == null)
+ {
+ CreateInstance();
+ }
+
+ return __pInstance;
+}
+
+result
+WorldClockPresentationModel::Construct(void)
+{
+ return E_SUCCESS;
+}
+
+void
+WorldClockPresentationModel::CreateInstance(void)
+{
+ __pInstance = new (std::nothrow) WorldClockPresentationModel();
+ result r = __pInstance->Construct();
+ if (IsFailed(r))
+ {
+ delete __pInstance;
+ __pInstance = null;
+ return;
+ }
+
+ std::atexit(DestroyInstance);
+}
+
+void
+WorldClockPresentationModel::DestroyInstance(void)
+{
+ delete __pInstance;
+}
-//\r
-// Tizen Native SDK\r
-// Copyright (c) 2012 Samsung Electronics Co., Ltd.\r
-//\r
-// Licensed under the Flora License, Version 1.0 (the License);\r
-// you may not use this file except in compliance with the License.\r
-// You may obtain a copy of the License at\r
-//\r
-// http://www.tizenopensource.org/license\r
-//\r
-// Unless required by applicable law or agreed to in writing, software\r
-// distributed under the License is distributed on an AS IS BASIS,\r
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-// See the License for the specific language governing permissions and\r
-// limitations under the License.\r
-//\r
-\r
-/**\r
- * @file WorldClockReorderForm.cpp\r
- * @brief Used to define WorldClockReorderForm\r
- */\r
-\r
-\r
-#include <FApp.h>\r
-#include <FBase.h>\r
-#include <FLocales.h>\r
-#include <FUi.h>\r
-\r
-#include "ClkCommonLib.h"\r
-#include "ClkCustomColors.h"\r
-#include "ClkNotification.h"\r
-#include "ClkSceneRegister.h"\r
-#include "ClkTypes.h"\r
-#include "ClkWorldClock.h"\r
-#include "ClkWorldClockReorderForm.h"\r
-#include "ClkWorldClockPresentationModel.h"\r
-\r
-using namespace Tizen::App;\r
-using namespace Tizen::Base;\r
-using namespace Tizen::Base::Collection;\r
-using namespace Tizen::Base::Runtime;\r
-using namespace Tizen::Graphics;\r
-using namespace Tizen::Locales;\r
-using namespace Tizen::System;\r
-using namespace Tizen::Ui;\r
-using namespace Tizen::Ui::Controls;\r
-using namespace Tizen::Ui::Scenes;\r
-\r
-static const int IDA_TABBAR_ITEM1_ALARM = 200;\r
-static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;\r
-static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;\r
-static const int IDA_TABBAR_ITEM3_TIMER = 203;\r
-static const int IDA_DONE = 204;\r
-static const int IDA_CANCEL = 205;\r
-static const int IDA_FORMAT_COUNTRY = 206;\r
-static const int IDA_FORMAT_TIME = 207;\r
-\r
-\r
-WorldClockReorderForm::WorldClockReorderForm(void)\r
-: __pData(null),\r
- __pListView(null)\r
-{\r
-\r
-}\r
-\r
-WorldClockReorderForm::~WorldClockReorderForm(void)\r
-{\r
-\r
-}\r
-\r
-bool\r
-WorldClockReorderForm::Initialize(void)\r
-{\r
- Construct(L"IDL_REORDER_WORLD_CLOCK_LIST");\r
-\r
- return true;\r
-}\r
-\r
-result\r
-WorldClockReorderForm::OnInitializing(void)\r
-{\r
- result r = E_SUCCESS;\r
- AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();\r
-\r
- if ( pAppResource == NULL)\r
- {\r
- return E_FAILURE;\r
- }\r
-\r
- SetFormBackEventListener(this);\r
- SceneManager::GetInstance()->AddSceneEventListener(IDSCN_WORLD_CLOCK_REORDER, *this);\r
-\r
- SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER);\r
-\r
- GetFooter()->AddActionEventListener(*this);\r
-\r
-\r
- __pListView = static_cast< ListView* >(GetControl(L"IDC_LISTVIEW_WORLD_CLOCK"));\r
-\r
- if( __pListView != NULL)\r
- {\r
- __pListView->SetItemProvider(*this);\r
- __pListView->AddListViewItemEventListener(*this);\r
- __pListView->UpdateList();\r
- __pListView->BeginReorderingMode();\r
- }\r
-\r
- return r;\r
-}\r
-\r
-void\r
-WorldClockReorderForm::OnActionPerformed(const Control& source, int actionId)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pSceneManager == NULL)\r
- {\r
- return;\r
- }\r
-\r
- if ( pWorldClockPresentationModel == NULL)\r
- {\r
- return;\r
- }\r
-\r
- switch (actionId)\r
- {\r
- case IDA_DONE:\r
- {\r
- int count = 0;\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- WorldClock* pWorldClock = null ;\r
-\r
- for(int counter = 0 ; counter < count ; counter++ )\r
- {\r
- pWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(counter));\r
-\r
- if ( pWorldClock != NULL)\r
- {\r
- pWorldClock->SetOrder(counter);\r
- pWorldClockPresentationModel->UpdateWorldClockOrder(*pWorldClock);\r
- }\r
- }\r
-\r
- __pListView->EndReorderingMode();\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
- break;\r
- case IDA_CANCEL:\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition());\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM1_ALARM:\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST));\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM2_STOPWATCH:\r
- {\r
-\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));\r
- }\r
- break;\r
-\r
- case IDA_TABBAR_ITEM3_TIMER:\r
- {\r
- pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));\r
- }\r
- break;\r
- default:\r
- break;\r
- }\r
-}\r
-\r
-void\r
-WorldClockReorderForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)\r
-{\r
- int count = 0;\r
-\r
- if (__pListView != NULL)\r
- {\r
- __pListView->UpdateList();\r
- }\r
-\r
- __worldClockList.RemoveAll(true);\r
-\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel != NULL)\r
- {\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- pWorldClockPresentationModel->GetAddedWorldClock(0,count,__worldClockList);\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0,false);\r
- GetHeader()->SetItemSelected(1);\r
- GetHeader()->Invalidate(true);\r
- GetFooter()->Invalidate(true);\r
-}\r
-\r
-void\r
-WorldClockReorderForm::OnFormBackRequested(Form& source)\r
-{\r
- SceneManager* pSceneManager = SceneManager::GetInstance();\r
-\r
- if (pSceneManager != null)\r
- {\r
- pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_RIGHT));\r
- }\r
-}\r
-\r
-ListItemBase *\r
-WorldClockReorderForm::CreateItem(int index, int itemWidth)\r
-{\r
- int count = 0 ;\r
- int hours = 0;\r
- int minutes = 0;\r
- int timediff = 0;\r
- int itemHeight = 140 ;\r
- int xMargin = 26;\r
- int yMainText = 22;\r
- int rightMargin = 26 ;\r
- int mainTextHeight = 54 ;\r
- int subTextHeight = 42;\r
- int mainTextSize = 44;\r
- int subTextSize = 32;\r
- String city;\r
- String country;\r
- ArrayList worldClockList;\r
- String time;\r
- DateTime dtNow;\r
- DateTime dt;\r
- SystemTime::GetCurrentTime(UTC_TIME,dtNow);\r
-\r
- CustomItem* pItem = new (std::nothrow) CustomItem();\r
-\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel == NULL)\r
- {\r
- if ( pItem != null )\r
- {\r
- delete pItem;\r
- pItem = null ;\r
- }\r
- return NULL;\r
- }\r
-\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);\r
-\r
- WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));\r
-\r
- if( pWorldClock == NULL)\r
- {\r
- if ( pItem != null )\r
- {\r
- delete pItem;\r
- pItem = null ;\r
- }\r
- return NULL;\r
- }\r
-\r
- city = pWorldClock->GetWorldClockCity();\r
- country = pWorldClock->GetWorldClockCountry();\r
- city.Append(L" / ");\r
- city.Append(country);\r
- timediff = pWorldClock->GetTimeZone();\r
-\r
- TimeZone tz(timediff,pWorldClock->GetWorldClockId());\r
-\r
- dt = tz.UtcTimeToWallTime(dtNow);\r
- hours = dt.GetHour();\r
- minutes = dt.GetMinute();\r
-\r
- if (hours < 10)\r
- {\r
- time.Append("0");\r
- }\r
-\r
- time.Append(hours);\r
- time.Append(L":");\r
-\r
- if (minutes < 10)\r
- {\r
- time.Append("0");\r
- }\r
-\r
- time.Append(minutes);\r
- time.Append(" ");\r
-\r
- if (hours >= 12)\r
- {\r
- time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));\r
- }\r
- else\r
- {\r
- time.Append(CommonUtil::GetString(L"IDS_COM_BODY_AM"));\r
- }\r
-\r
- pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_NORMAL);\r
- pItem->AddElement(Rectangle(xMargin, yMainText, GetClientAreaBounds().width - xMargin - rightMargin, mainTextHeight), IDA_FORMAT_COUNTRY,city, mainTextSize, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT ,true);\r
- pItem->AddElement(Rectangle(xMargin, yMainText + mainTextHeight, GetClientAreaBounds().width - xMargin - rightMargin, subTextHeight), IDA_FORMAT_TIME,time, subTextSize, CUSTOM_COLOR_GREY , CUSTOM_COLOR_GREY, CUSTOM_COLOR_GREY ,true);\r
-\r
- return pItem;\r
-}\r
-\r
-bool\r
-WorldClockReorderForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)\r
-{\r
- delete pItem;\r
- pItem = null;\r
- return true;\r
-}\r
-\r
-int\r
-WorldClockReorderForm::GetItemCount(void)\r
-{\r
- int count = 0;\r
- WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();\r
-\r
- if ( pWorldClockPresentationModel != NULL)\r
- {\r
- pWorldClockPresentationModel->GetAddedClockCount(count);\r
- }\r
-\r
- return count;\r
-}\r
-\r
-void\r
-WorldClockReorderForm::OnListViewItemReordered(Tizen::Ui::Controls::ListView & listView, int indexFrom,int indexTo)\r
-{\r
- WorldClock* ptempWorldClock = null ;\r
-\r
- ptempWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(indexFrom));\r
-\r
- if ( ptempWorldClock != NULL )\r
- {\r
- __worldClockList.RemoveAt(indexFrom,false);\r
- __worldClockList.InsertAt(*ptempWorldClock,indexTo);\r
- }\r
-\r
- GetFooter()->SetItemEnabled(0,true);\r
- GetFooter()->Invalidate(true);\r
-\r
-}\r
+//
+// Tizen Native SDK
+// Copyright (c) 2012 Samsung Electronics Co., Ltd.
+//
+// Licensed under the Flora License, Version 1.0 (the License);
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://floralicense.org/license/
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an AS IS BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+/**
+ * @file WorldClockReorderForm.cpp
+ * @brief Used to define WorldClockReorderForm
+ */
+
+
+#include <FApp.h>
+#include <FBase.h>
+#include <FLocales.h>
+#include <FUi.h>
+
+#include "ClkCommonLib.h"
+#include "ClkCustomColors.h"
+#include "ClkNotification.h"
+#include "ClkSceneRegister.h"
+#include "ClkTypes.h"
+#include "ClkWorldClock.h"
+#include "ClkWorldClockReorderForm.h"
+#include "ClkWorldClockPresentationModel.h"
+
+using namespace Tizen::App;
+using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
+using namespace Tizen::Base::Runtime;
+using namespace Tizen::Graphics;
+using namespace Tizen::Locales;
+using namespace Tizen::System;
+using namespace Tizen::Ui;
+using namespace Tizen::Ui::Controls;
+using namespace Tizen::Ui::Scenes;
+
+static const int IDA_TABBAR_ITEM1_ALARM = 200;
+static const int IDA_TABBAR_ITEM1_WORLDCLOCK = 201;
+static const int IDA_TABBAR_ITEM2_STOPWATCH = 202;
+static const int IDA_TABBAR_ITEM3_TIMER = 203;
+static const int IDA_DONE = 204;
+static const int IDA_CANCEL = 205;
+static const int IDA_FORMAT_COUNTRY = 206;
+static const int IDA_FORMAT_TIME = 207;
+
+
+WorldClockReorderForm::WorldClockReorderForm(void)
+: __pData(null),
+ __pListView(null)
+{
+
+}
+
+WorldClockReorderForm::~WorldClockReorderForm(void)
+{
+
+}
+
+bool
+WorldClockReorderForm::Initialize(void)
+{
+ Construct(L"IDL_REORDER_WORLD_CLOCK_LIST");
+
+ return true;
+}
+
+result
+WorldClockReorderForm::OnInitializing(void)
+{
+ result r = E_SUCCESS;
+ AppResource* pAppResource = UiApp::GetInstance()->GetAppResource();
+
+ if ( pAppResource == NULL)
+ {
+ return E_FAILURE;
+ }
+
+ SetFormBackEventListener(this);
+ SceneManager::GetInstance()->AddSceneEventListener(IDSCN_WORLD_CLOCK_REORDER, *this);
+
+ SetFormStyle(FORM_STYLE_NORMAL | FORM_STYLE_INDICATOR | FORM_STYLE_HEADER | FORM_STYLE_FOOTER);
+
+ GetFooter()->AddActionEventListener(*this);
+
+
+ __pListView = static_cast< ListView* >(GetControl(L"IDC_LISTVIEW_WORLD_CLOCK"));
+
+ if( __pListView != NULL)
+ {
+ __pListView->SetItemProvider(*this);
+ __pListView->AddListViewItemEventListener(*this);
+ __pListView->UpdateList();
+ __pListView->BeginReorderingMode();
+ }
+
+ return r;
+}
+
+void
+WorldClockReorderForm::OnActionPerformed(const Control& source, int actionId)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pSceneManager == NULL)
+ {
+ return;
+ }
+
+ if ( pWorldClockPresentationModel == NULL)
+ {
+ return;
+ }
+
+ switch (actionId)
+ {
+ case IDA_DONE:
+ {
+ int count = 0;
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ WorldClock* pWorldClock = null ;
+
+ for(int counter = 0 ; counter < count ; counter++ )
+ {
+ pWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(counter));
+
+ if ( pWorldClock != NULL)
+ {
+ pWorldClock->SetOrder(counter);
+ pWorldClockPresentationModel->UpdateWorldClockOrder(*pWorldClock);
+ }
+ }
+
+ __pListView->EndReorderingMode();
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+ break;
+ case IDA_CANCEL:
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition());
+ }
+ break;
+
+ case IDA_TABBAR_ITEM1_ALARM:
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_ALARM_LIST));
+ }
+ break;
+
+ case IDA_TABBAR_ITEM2_STOPWATCH:
+ {
+
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_STOP_WATCH, SCENE_TRANSITION_ANIMATION_TYPE_NONE));
+ }
+ break;
+
+ case IDA_TABBAR_ITEM3_TIMER:
+ {
+ pSceneManager->GoForward(ForwardSceneTransition(IDSCN_TIMER_VIEW));
+ }
+ break;
+ default:
+ break;
+ }
+}
+
+void
+WorldClockReorderForm::OnSceneActivatedN(const SceneId& previousSceneId, const SceneId& currentSceneId, IList* pArgs)
+{
+ int count = 0;
+
+ if (__pListView != NULL)
+ {
+ __pListView->UpdateList();
+ }
+
+ __worldClockList.RemoveAll(true);
+
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel != NULL)
+ {
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ pWorldClockPresentationModel->GetAddedWorldClock(0,count,__worldClockList);
+ }
+
+ GetFooter()->SetItemEnabled(0,false);
+ GetHeader()->SetItemSelected(1);
+ GetHeader()->Invalidate(true);
+ GetFooter()->Invalidate(true);
+}
+
+void
+WorldClockReorderForm::OnFormBackRequested(Form& source)
+{
+ SceneManager* pSceneManager = SceneManager::GetInstance();
+
+ if (pSceneManager != null)
+ {
+ pSceneManager->GoBackward(BackwardSceneTransition(IDSCN_ALARM_LIST, SCENE_TRANSITION_ANIMATION_TYPE_RIGHT));
+ }
+}
+
+ListItemBase *
+WorldClockReorderForm::CreateItem(int index, int itemWidth)
+{
+ int count = 0 ;
+ int hours = 0;
+ int minutes = 0;
+ int timediff = 0;
+ int itemHeight = 140 ;
+ int xMargin = 26;
+ int yMainText = 22;
+ int rightMargin = 26 ;
+ int mainTextHeight = 54 ;
+ int subTextHeight = 42;
+ int mainTextSize = 44;
+ int subTextSize = 32;
+ String city;
+ String country;
+ ArrayList worldClockList;
+ String time;
+ DateTime dtNow;
+ DateTime dt;
+ SystemTime::GetCurrentTime(UTC_TIME,dtNow);
+
+ CustomItem* pItem = new (std::nothrow) CustomItem();
+
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel == NULL)
+ {
+ if ( pItem != null )
+ {
+ delete pItem;
+ pItem = null ;
+ }
+ return NULL;
+ }
+
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ pWorldClockPresentationModel->GetAddedWorldClock(0,count,worldClockList);
+
+ WorldClock* pWorldClock = dynamic_cast< WorldClock* >(worldClockList.GetAt(index));
+
+ if( pWorldClock == NULL)
+ {
+ if ( pItem != null )
+ {
+ delete pItem;
+ pItem = null ;
+ }
+ return NULL;
+ }
+
+ city = pWorldClock->GetWorldClockCity();
+ country = pWorldClock->GetWorldClockCountry();
+ city.Append(L" / ");
+ city.Append(country);
+ timediff = pWorldClock->GetTimeZone();
+
+ TimeZone tz(timediff,pWorldClock->GetWorldClockId());
+
+ dt = tz.UtcTimeToWallTime(dtNow);
+ hours = dt.GetHour();
+ minutes = dt.GetMinute();
+
+ if (hours < 10)
+ {
+ time.Append("0");
+ }
+
+ time.Append(hours);
+ time.Append(L":");
+
+ if (minutes < 10)
+ {
+ time.Append("0");
+ }
+
+ time.Append(minutes);
+ time.Append(" ");
+
+ if (hours >= 12)
+ {
+ time.Append(CommonUtil::GetString(L"IDS_COM_POP_PM"));
+ }
+ else
+ {
+ time.Append(CommonUtil::GetString(L"IDS_COM_BODY_AM"));
+ }
+
+ pItem->Construct(Dimension(GetClientAreaBounds().width, itemHeight), LIST_ANNEX_STYLE_NORMAL);
+ pItem->AddElement(Rectangle(xMargin, yMainText, GetClientAreaBounds().width - xMargin - rightMargin, mainTextHeight), IDA_FORMAT_COUNTRY,city, mainTextSize, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT, CUSTOM_COLOR_TRANSPARENT ,true);
+ pItem->AddElement(Rectangle(xMargin, yMainText + mainTextHeight, GetClientAreaBounds().width - xMargin - rightMargin, subTextHeight), IDA_FORMAT_TIME,time, subTextSize, CUSTOM_COLOR_GREY , CUSTOM_COLOR_GREY, CUSTOM_COLOR_GREY ,true);
+
+ return pItem;
+}
+
+bool
+WorldClockReorderForm::DeleteItem(int index, ListItemBase *pItem, int itemWidth)
+{
+ delete pItem;
+ pItem = null;
+ return true;
+}
+
+int
+WorldClockReorderForm::GetItemCount(void)
+{
+ int count = 0;
+ WorldClockPresentationModel* pWorldClockPresentationModel = WorldClockPresentationModel::GetInstance();
+
+ if ( pWorldClockPresentationModel != NULL)
+ {
+ pWorldClockPresentationModel->GetAddedClockCount(count);
+ }
+
+ return count;
+}
+
+void
+WorldClockReorderForm::OnListViewItemReordered(Tizen::Ui::Controls::ListView & listView, int indexFrom,int indexTo)
+{
+ WorldClock* ptempWorldClock = null ;
+
+ ptempWorldClock = dynamic_cast< WorldClock* >(__worldClockList.GetAt(indexFrom));
+
+ if ( ptempWorldClock != NULL )
+ {
+ __worldClockList.RemoveAt(indexFrom,false);
+ __worldClockList.InsertAt(*ptempWorldClock,indexTo);
+ }
+
+ GetFooter()->SetItemEnabled(0,true);
+ GetFooter()->Invalidate(true);
+
+}