profile/mobile/apps/native/clock.git
7 years ago[RingView] Add missing hints. 09/108009/3
Kamil Lipiszko [Mon, 2 Jan 2017 09:53:09 +0000 (10:53 +0100)]
[RingView] Add missing hints.

Change-Id: I11b9b703f29651715bdcb77f3a118a112cf12888

7 years ago[StopWatch][Timer] Replace table with simple textblock. 75/106175/12
Kamil Lipiszko [Tue, 20 Dec 2016 16:45:28 +0000 (17:45 +0100)]
[StopWatch][Timer] Replace table with simple textblock.

When those two modules were created, there was no monospace font
and all digits were placed in edje table to keep them properly
aligned. Now at least digits are monospaced so there is no need
to align them manually.

Change-Id: Id47df1025d7201974e8784fbc123779941cdb299

7 years ago[SoundManager] Fix due to api change. 24/108024/1
Kamil Lipiszko [Mon, 2 Jan 2017 10:54:20 +0000 (11:54 +0100)]
[SoundManager] Fix due to api change.

Renames used api function.

Change-Id: I77c7a04d2d427b46877483026e2e592906158ee4

7 years agoRefactor Controller & AlarmProvider classes 73/103873/10
Lukasz Stanislawski [Fri, 9 Dec 2016 13:21:37 +0000 (14:21 +0100)]
Refactor Controller & AlarmProvider classes

Remove singleton Controller and AlarmProvider classes.
Add new TizenApp class to wrap basic main loop functionality.

Change-Id: If86e46dd7e3b6ccf80dd257c823b9b021ded5780

7 years agoWorldClock: Missing timezones and locations added. 10/104910/4
Radoslaw Czerski [Tue, 20 Dec 2016 13:08:12 +0000 (14:08 +0100)]
WorldClock: Missing timezones and locations added.

Change-Id: I8ea12add325245efba9e69b1d08c224ee098150f
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
7 years agoMerge "WorldClock: Set initial timezone on map." into tizen
Lukasz Stanislawski [Tue, 20 Dec 2016 10:56:18 +0000 (02:56 -0800)]
Merge "WorldClock: Set initial timezone on map." into tizen

7 years ago[StopWatch] Do not reset time on resume. 36/105836/1
Kamil Lipiszko [Mon, 19 Dec 2016 16:35:15 +0000 (17:35 +0100)]
[StopWatch] Do not reset time on resume.

Change-Id: I78bd23f4593a3c66af10f64d551cc99392198779

7 years agoWorldClock: Set initial timezone on map. 54/104854/2
Radoslaw Czerski [Fri, 16 Dec 2016 14:05:16 +0000 (15:05 +0100)]
WorldClock: Set initial timezone on map.

Change-Id: Ia1148960f846a35a17603e6b420c1b7921cd7abb
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
7 years agoTime: add dynamic time format changes. 44/103544/3
Lukasz Stanislawski [Thu, 8 Dec 2016 14:35:21 +0000 (15:35 +0100)]
Time: add dynamic time format changes.

Allow to dynamically adjust UI when system-wide time format changes.
User EventBus to broadcast event globally.

Additionally some unused fields from WorldClock related views were
removed.

Change-Id: I854f87f196d4fe5c2ed9326fc17652c45baabcb5

7 years agoMerge "EditAlarmView: ask user before quit edition view." into tizen
Lukasz Stanislawski [Wed, 14 Dec 2016 10:05:54 +0000 (02:05 -0800)]
Merge "EditAlarmView: ask user before quit edition view." into tizen

7 years agoEditAlarmView: Deprecated api removed. 65/104565/2
Radoslaw Czerski [Tue, 13 Dec 2016 13:44:58 +0000 (14:44 +0100)]
EditAlarmView: Deprecated api removed.

elm_image_file_get used instead.

Change-Id: Ia844aeb0789abe39c4ea041f3db8af3588f3103e
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
7 years agoSound manager API changes 53/103753/5
Kamil Lipiszko [Fri, 9 Dec 2016 09:49:51 +0000 (10:49 +0100)]
Sound manager API changes

Clock app can not build due to changes made in sound manager api.
This patch fixes functions definitions that were changed.

Change-Id: I2a3e4af01c6e925c8a685552c10812f256fc6587

7 years agoEditAlarmView: ask user before quit edition view. 88/101888/5
Lukasz Stanislawski [Fri, 2 Dec 2016 07:24:48 +0000 (08:24 +0100)]
EditAlarmView: ask user before quit edition view.

If user clicked back button in edit view, show popup to user
to confirm discarding changes.

Change-Id: Iedea0bb0cc7e93d5a836b0cf959725414a1dc9ce

7 years agoadd doxyfile 11/104511/1
Lukasz Stanislawski [Tue, 13 Dec 2016 11:37:19 +0000 (12:37 +0100)]
add doxyfile

Change-Id: I697b1acb9763a5c6bd1ddb73729fdb8f3478680a

7 years agoMerge "Post notification icon on active alarm." into tizen
Lukasz Stanislawski [Fri, 9 Dec 2016 10:42:55 +0000 (02:42 -0800)]
Merge "Post notification icon on active alarm." into tizen

7 years agoMerge "AlarmView: restrict showing of delete menu." into tizen
Lukasz Stanislawski [Fri, 9 Dec 2016 10:35:53 +0000 (02:35 -0800)]
Merge "AlarmView: restrict showing of delete menu." into tizen

7 years agoPost notification icon on active alarm. 75/101475/8
Kamil Lipiszko [Thu, 1 Dec 2016 08:35:01 +0000 (09:35 +0100)]
Post notification icon on active alarm.

This patch provides feature that posts alarm icon in indicator
whenever any alarm is active. On all alarms deactivation icon
notification is deleted.

Change-Id: I32b3e8a791ff0ad1656d5e1dbb5a74a316779b5e

7 years agoAlarmView: restrict showing of delete menu. 46/103746/1
Lukasz Stanislawski [Fri, 9 Dec 2016 09:23:46 +0000 (10:23 +0100)]
AlarmView: restrict showing of delete menu.

When there is no alarms available to not show popup
after clicking on "menu" hardware button.

Change-Id: I17643f2f213fc10f9d8d445573a95e0f6420b664

7 years agoDeleteAlarmView: reset all_selected flag 13/103713/1
Lukasz Stanislawski [Fri, 9 Dec 2016 07:57:21 +0000 (08:57 +0100)]
DeleteAlarmView: reset all_selected flag

The all_selected flag was not reset (set to false),
between subsequent pushes of page, so on second launch
the select all check box may still be selected.

Change-Id: I6766f560aac140ae62a75d1a513f31f119c50665

7 years agoUtils: fix missing invalid sizeof 78/102378/1
Lukasz Stanislawski [Mon, 5 Dec 2016 12:27:35 +0000 (13:27 +0100)]
Utils: fix missing invalid sizeof

Change-Id: Iec93e2c5c9e6019c1cc87ecfcd1fb12259554729

7 years agoMerge "clock: modify alarms creation/edit logic." into tizen
Lukasz Stanislawski [Mon, 5 Dec 2016 09:06:20 +0000 (01:06 -0800)]
Merge "clock: modify alarms creation/edit logic." into tizen

7 years agoclock: modify alarms creation/edit logic. 12/101312/6
Lukasz Stanislawski [Wed, 30 Nov 2016 16:35:22 +0000 (17:35 +0100)]
clock: modify alarms creation/edit logic.

Implement logic included in UX guideline page 13.

Now when alarm is added app first checks if alarm with
same time and name exists, if yes it updates it accordingly,
if no - creates new alarm.

When alarm is modified, app first checks if alarm with
same name and time exists, if yes it updates it and deletes
edited alarm, if no - updates existing alarm.

Change-Id: Ie179d35de895ac702898202ee72fc745165c2d53

7 years agoremove unused function 45/101945/1
Lukasz Stanislawski [Fri, 2 Dec 2016 11:59:22 +0000 (12:59 +0100)]
remove unused function

Change-Id: I5d028dcced87ee81133ab289f1b9eb58c75aec73

7 years agoremove build warnings 33/101933/1
Lukasz Stanislawski [Fri, 2 Dec 2016 11:08:37 +0000 (12:08 +0100)]
remove build warnings

Change-Id: Ie04af372305c1e73df2269014d456b20d70b7c5b

7 years agoMerge "fix SVACE issues" into tizen
Lukasz Stanislawski [Thu, 1 Dec 2016 11:56:21 +0000 (03:56 -0800)]
Merge "fix SVACE issues" into tizen

7 years agoWorldClock: Create day/night shadow 12/96612/12
Kamil Lipiszko [Fri, 4 Nov 2016 12:42:19 +0000 (13:42 +0100)]
WorldClock: Create day/night shadow

Creates day and night shadow with line in WorldClock view.

Change-Id: I28a84f072051bb265034edacc7909538f89616c4

7 years agofix SVACE issues 59/100559/1
Lukasz Stanislawski [Mon, 28 Nov 2016 11:14:04 +0000 (12:14 +0100)]
fix SVACE issues

Change-Id: I2a1f748c319fa2659505514adc661efc2abfe6df

7 years agoHandle multiple incoming alarms. 73/90573/8
Kamil Lipiszko [Fri, 16 Sep 2016 09:50:05 +0000 (11:50 +0200)]
Handle multiple incoming alarms.

This patch enables to handle multiple alarms that
came at the same time. Every alarm before last is
dismissed or snoozed depending on whether this
option is allowed.

Change-Id: If80f4ea39b7be5bcaebe3acda79b81b5577815cd

7 years agomove resources not embedded in edj files into res/images director 53/99653/4
Kamil Lipiszko [Wed, 23 Nov 2016 12:45:23 +0000 (13:45 +0100)]
move resources not embedded in edj files into res/images director

Change-Id: Ib04a5756b3f9664599b2c23b828876043f6f6aa5

7 years ago[AlarmView] Mark "Select all" checkbox when all items get marked 86/98786/3
Kamil Lipiszko [Sun, 20 Nov 2016 13:03:03 +0000 (14:03 +0100)]
[AlarmView] Mark "Select all" checkbox when all items get marked

Change-Id: I4ee5ae71e01fc688a87b8724338fed095ed996d5

7 years agoSelect first toolbar item on application startup. 84/98784/1
Kamil Lipiszko [Sun, 20 Nov 2016 11:42:09 +0000 (12:42 +0100)]
Select first toolbar item on application startup.

Change-Id: Id3eb5aed183705ac75c2289dca0b1248531423b0

7 years agoEditAlarmView: change title on alarm create 97/97297/2
Lukasz Stanislawski [Sun, 13 Nov 2016 18:10:27 +0000 (19:10 +0100)]
EditAlarmView: change title on alarm create

When creating new alarm show "Create" set title, when
editing "Edit"

Change-Id: If1f0bb5bf077e45639f68c40fdc712e987482321

8 years agoWeekFlagsView: add translations. 67/96067/1
Lukasz Stanislawski [Mon, 7 Nov 2016 13:55:11 +0000 (14:55 +0100)]
WeekFlagsView: add translations.

Change-Id: Ie6f183773ac54527c3935477defa1104b2b785e6

8 years agoEditAlarmView: translations added. 61/96061/2
Lukasz Stanislawski [Fri, 4 Nov 2016 14:25:07 +0000 (15:25 +0100)]
EditAlarmView: translations added.

Change-Id: Iacd83eb4e395567ceb088e4dbb61448b7353dcd0

8 years agoMerge "EditAlarmView: enable choosing alarm's melodies." into tizen submit/tizen/20161113.192141
Lukasz Stanislawski [Fri, 4 Nov 2016 13:59:42 +0000 (06:59 -0700)]
Merge "EditAlarmView: enable choosing alarm's melodies." into tizen

8 years agoMerge "MainView: add translations." into tizen
Lukasz Stanislawski [Fri, 4 Nov 2016 13:31:16 +0000 (06:31 -0700)]
Merge "MainView: add translations." into tizen

8 years agoMerge "AlarmView: add translations" into tizen
Lukasz Stanislawski [Fri, 4 Nov 2016 13:31:03 +0000 (06:31 -0700)]
Merge "AlarmView: add translations" into tizen

8 years agoEditAlarmView: enable choosing alarm's melodies. 50/90350/8
Lukasz Stanislawski [Thu, 15 Sep 2016 14:55:27 +0000 (16:55 +0200)]
EditAlarmView: enable choosing alarm's melodies.

Add RingtonePicker utility class that will handle external
application commounication in order to provide rigtone path.

By default RingtonePicker is using app_control request to
launch external application and settings ringtone dir:
/opt/share/settings/Ringtones

Move resource to shared/res directory to enable external
apps to access application files in read-only mode.

Change-Id: Ia8690180eb366f98635a57018b7c21ca2dea4e45

8 years agoThemeExtension implementaion 92/94392/7
Kamil Lipiszko [Fri, 28 Oct 2016 13:27:48 +0000 (15:27 +0200)]
ThemeExtension implementaion

Implements ThemeExtension static class to disable
adding themes to the search paths list that are
already added.

Change-Id: Ie92d0d52655e7c2455a0ef6d1834c4f1014ed76b

8 years agoMainView: add translations. 41/95541/1
Lukasz Stanislawski [Thu, 3 Nov 2016 13:07:34 +0000 (14:07 +0100)]
MainView: add translations.

Change-Id: Id87a4ba04aead91d65de099945eccb9601c6de79

8 years agoAlarmView: add translations 27/95527/1
Lukasz Stanislawski [Thu, 3 Nov 2016 11:39:55 +0000 (12:39 +0100)]
AlarmView: add translations

Change-Id: If3c09e8ed27274b2991902c66d38f82b82e07167

8 years agoTimer, Stopwatch, Ring: Translations. 16/92916/8
Kamil Lipiszko [Wed, 19 Oct 2016 09:00:34 +0000 (11:00 +0200)]
Timer, Stopwatch, Ring: Translations.

Change-Id: I598c65bcb6aa2f829cfd20ab712f8012651880ec

8 years agoLICENSE: Changes license from apache to flora. 57/95157/3
Kamil Lipiszko [Wed, 2 Nov 2016 10:25:25 +0000 (11:25 +0100)]
LICENSE: Changes license from apache to flora.

Change-Id: I9b3f026ac9e096c490cc05d3bcaae1417ecb7808

8 years agoWorld Clock: Time updating implemented 52/93952/4
Radoslaw Czerski [Thu, 27 Oct 2016 10:48:08 +0000 (12:48 +0200)]
World Clock: Time updating implemented

Change-Id: I0b34ba3d1b9106ab7da69e405eadddab22d8f9b2
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoWorldClock: Delete View fixes. 89/94189/3
Radoslaw Czerski [Thu, 27 Oct 2016 10:43:56 +0000 (12:43 +0200)]
WorldClock: Delete View fixes.

"Select all" checkbox is reset on Delete page create.
DeleteContent is invoked in constructor.

Change-Id: I07144aabeede365c1d3e6f0e24d10f94dfa27c51
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoWorld Clock: Reorder view implemented 86/92186/5
Radoslaw Czerski [Thu, 27 Oct 2016 10:36:31 +0000 (12:36 +0200)]
World Clock: Reorder view implemented

Change-Id: I3ba390759f255bbecc72c4f714824cdee4c7854a
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoMerge "world clock: Enabling "More" menu options." into tizen
Lukasz Stanislawski [Fri, 28 Oct 2016 12:37:53 +0000 (05:37 -0700)]
Merge "world clock: Enabling "More" menu options." into tizen

8 years agoMerge "EditAlarmView: do not overwrite alarm time in view." into tizen
Lukasz Stanislawski [Fri, 28 Oct 2016 12:35:20 +0000 (05:35 -0700)]
Merge "EditAlarmView: do not overwrite alarm time in view." into tizen

8 years agoMerge "EditAlarmView: do not user deprecated function" into tizen
Lukasz Stanislawski [Fri, 28 Oct 2016 08:26:38 +0000 (01:26 -0700)]
Merge "EditAlarmView: do not user deprecated function" into tizen

8 years agoMerge "utils: translation static class" into tizen
Lukasz Stanislawski [Fri, 28 Oct 2016 08:26:07 +0000 (01:26 -0700)]
Merge "utils: translation static class" into tizen

8 years agoutils: translation static class 76/93976/3
Kamil Lipiszko [Wed, 26 Oct 2016 11:04:18 +0000 (13:04 +0200)]
utils: translation static class

Adds Translate class to enable translating with its static methods.

Change-Id: I2e6a85e58f121939d82688ec0a7c3f4f7c07aed6

8 years agoworld clock: Enabling "More" menu options. 67/93467/6
Radoslaw Czerski [Thu, 27 Oct 2016 11:11:43 +0000 (13:11 +0200)]
world clock: Enabling "More" menu options.

Change-Id: Ib740bab926b694c19bcad5aa1a0c488bfe6a05af
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoEditAlarmView: do not user deprecated function 88/94188/1
Lukasz Stanislawski [Thu, 27 Oct 2016 10:42:56 +0000 (12:42 +0200)]
EditAlarmView: do not user deprecated function

Change-Id: Iea9a905a9538e38dba09f1fc619a12d8f1e630fc

8 years agoEditAlarmView: do not overwrite alarm time in view. 87/94187/1
Lukasz Stanislawski [Thu, 27 Oct 2016 10:41:12 +0000 (12:41 +0200)]
EditAlarmView: do not overwrite alarm time in view.

Change-Id: Icdc776b0073adf38f7ea03ebe1414ea1bb9f71a8

8 years agoMerge "alarms: change new alarm default values." into tizen
Lukasz Stanislawski [Thu, 27 Oct 2016 10:00:02 +0000 (03:00 -0700)]
Merge "alarms: change new alarm default values." into tizen

8 years agoMerge "alarms: show "vibration" icon on zero volume" into tizen
Lukasz Stanislawski [Thu, 27 Oct 2016 09:22:43 +0000 (02:22 -0700)]
Merge "alarms: show "vibration" icon on zero volume" into tizen

8 years agoMerge "alarms: show "maximum alarms reached" popup" into tizen
Lukasz Stanislawski [Thu, 27 Oct 2016 09:22:28 +0000 (02:22 -0700)]
Merge "alarms: show "maximum alarms reached" popup" into tizen

8 years agoalarms: show "vibration" icon on zero volume 14/93914/2
Lukasz Stanislawski [Mon, 24 Oct 2016 15:42:37 +0000 (17:42 +0200)]
alarms: show "vibration" icon on zero volume

Change icon to vibration when user selects minimal
value with volume slider.
When more the minimal, show regular icon.

Change-Id: Id17a8f6730ea11abd43752c4385f136dfcd51b26

8 years agoWorld Clock: Delete Items view implemented. 79/92979/6
Radoslaw Czerski [Wed, 26 Oct 2016 15:56:47 +0000 (17:56 +0200)]
World Clock: Delete Items view implemented.

Change-Id: I5104ca3d1e5e400f708ecda2e18a038c3849bf8f
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoalarms: show "maximum alarms reached" popup 21/93521/3
Lukasz Stanislawski [Mon, 24 Oct 2016 14:33:26 +0000 (16:33 +0200)]
alarms: show "maximum alarms reached" popup

After clicking on "+" button in alarms view, inform user
if maximum number of alarms has been reached.

Change-Id: I32e628eab6a2cc7835b11938f83a82a9c36272db

8 years agoTimer: Change entry time on button longpress. 24/92324/6
Kamil Lipiszko [Fri, 14 Oct 2016 12:34:43 +0000 (14:34 +0200)]
Timer: Change entry time on button longpress.

Change-Id: I3f77b62d14b2c34e5b196e9adf43e651b3fde162

8 years agoalarms: change new alarm default values. 22/93522/1
Lukasz Stanislawski [Mon, 24 Oct 2016 14:56:05 +0000 (16:56 +0200)]
alarms: change new alarm default values.

Set alarms initial values according to guideline.

Change-Id: I07c67a1731a5c89b43153328b4381de2089e4b8e

8 years agoWorld Clock: User location limit popup added. 39/92639/3
Radoslaw Czerski [Thu, 20 Oct 2016 08:52:05 +0000 (10:52 +0200)]
World Clock: User location limit popup added.

Change-Id: Iaf39f05a30fa1af53e71cf3964292df036e751a9
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoMainController: add initialization check 25/92625/2
Lukasz Stanislawski [Mon, 17 Oct 2016 15:32:42 +0000 (17:32 +0200)]
MainController: add initialization check

Add initialization flag to avoid multiple initialization problem.

Change-Id: I80e796301999e06cd18d50dcee46deb6dd620e49

8 years agoMerge "view: fix Page class" into tizen
Radoslaw Czerski [Thu, 20 Oct 2016 08:18:35 +0000 (01:18 -0700)]
Merge "view: fix Page class" into tizen

8 years agoMerge "timer: Time selector alignment fix." into tizen
Radoslaw Czerski [Wed, 19 Oct 2016 17:12:40 +0000 (10:12 -0700)]
Merge "timer: Time selector alignment fix." into tizen

8 years agoRevert "World Clock: Delete Items view implemented." 78/92978/1
Radoslaw Czerski [Wed, 19 Oct 2016 16:22:45 +0000 (09:22 -0700)]
Revert "World Clock: Delete Items view implemented."

This reverts commit 697cb03187efd569449a46c8a77ca4e605a618de.

Merged by accident.

Change-Id: If8d751f40ab474bbff68c97e5cefd6ea53583aaf

8 years agoWorld Clock: Delete Items view implemented. 79/90379/8
Radoslaw Czerski [Wed, 19 Oct 2016 16:16:32 +0000 (18:16 +0200)]
World Clock: Delete Items view implemented.

Change-Id: I1d35c5ab3e5988d6f9c4cfef7a54b306475c464d
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agotimer: Time selector alignment fix. 61/91261/9
Kamil Lipiszko [Thu, 6 Oct 2016 11:46:02 +0000 (13:46 +0200)]
timer: Time selector alignment fix.

This commit fixes time selector's alignment when
keypad is visible. It sets different top padding
value so not only entry space is aligned but
the whole item with buttons and their headers.

Change-Id: Id0b8b512d2c90f15ac8a768d7f373132d94698f5

8 years agoview: fix Page class 02/91602/3
Lukasz Stanislawski [Thu, 6 Oct 2016 15:44:37 +0000 (17:44 +0200)]
view: fix Page class

Remove calling virtual function in class destructor.
The derived class resources should clean-up in their
destructors.
Fix minor issues reffering to PageView usage.

Change-Id: I6b41a187d8b233cca3429ed189c023b5023fe6f8

8 years agoMainView: Replace MainView singleton with simple object. 82/92182/4
Kamil Lipiszko [Thu, 13 Oct 2016 14:33:52 +0000 (16:33 +0200)]
MainView: Replace MainView singleton with simple object.

This commit changes MainView pattern from singleton to
simple object. Now it is created during application startup
and is passed to other pages and page views as constructor's
argument.

Change-Id: I8f8dcf982f0da55d99be169ee5106ff6575a5356

8 years agoTime: reimplementation 34/90334/9
Lukasz Stanislawski [Thu, 22 Sep 2016 07:23:15 +0000 (09:23 +0200)]
Time: reimplementation

Reimplementation of Time class to better handle timezones
and local preferences. Time class keeps absolute time and timezone
information in order to provide localized formatting.

Change-Id: Ifc644317d633e44fffe9d275f39c835ee9b6479e

8 years agoRing: Add ring's sound and vibration 72/90572/11
Kamil Lipiszko [Thu, 22 Sep 2016 12:54:19 +0000 (14:54 +0200)]
Ring: Add ring's sound and vibration

This commit includes sound manager and feedback haptic
implementation to enable playing sound and vibration
during the ringing.

Change-Id: I0784bf244e2a274839eee17802ed031c9f3f4e4f
Signed-off-by: Kamil Lipiszko <k.lipiszko@samsung.com>
8 years agoWorld clock: Passing invalid pointer fixed. 49/91449/3
Radoslaw Czerski [Fri, 7 Oct 2016 13:24:13 +0000 (15:24 +0200)]
World clock: Passing invalid pointer fixed.

Change-Id: Idd33e42312d570b9a02790f2326819842da06727
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoWorld Clock: Bug fix. Possible try to access memory beyond the array. 25/90325/7
Radoslaw Czerski [Thu, 6 Oct 2016 10:53:57 +0000 (12:53 +0200)]
World Clock: Bug fix. Possible try to access memory beyond the array.

Fix: Iteration begins with 0.

Change-Id: Idec88eb9d793f113135151866cfc293a980f8df5
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoutils: EventBus reimplementation 35/90335/7
Lukasz Stanislawski [Thu, 29 Sep 2016 09:06:41 +0000 (11:06 +0200)]
utils: EventBus reimplementation

Reimplement EventBus. Instead of Registration/Unregistration
methods a listener based implementation has been added.
Listeners now make automatic unregistration in the destructor.

The boilerplate code needed in defining of new event has
been significantly reduced.

Change-Id: Ifce4bd45bd60b3e8c9a9c99fe443794d8a47b380

8 years agotimer: Reset button fix. 03/90603/5
Kamil Lipiszko [Sat, 1 Oct 2016 11:48:17 +0000 (13:48 +0200)]
timer: Reset button fix.

Hide Reset button on 00:00:00 value set.

Change-Id: I20221160c9f51cfc20c25db42589674f66336460

8 years agotimer: add hour position description 02/90602/5
Kamil Lipiszko [Sat, 1 Oct 2016 09:42:23 +0000 (11:42 +0200)]
timer: add hour position description

This commit adds description (hours, minutes, seconds) to the
running time counter.

Change-Id: Id70c46619527a9babf2d9d88b3b0a48484a010ed

8 years agoMerge "timer: create entry focus chain" into tizen
Radoslaw Czerski [Fri, 7 Oct 2016 11:39:46 +0000 (04:39 -0700)]
Merge "timer: create entry focus chain" into tizen

8 years agotimer: create entry focus chain 01/90601/6
Kamil Lipiszko [Sat, 1 Oct 2016 07:50:32 +0000 (09:50 +0200)]
timer: create entry focus chain

Creates entry focus chain to provide focus changing when
current entry has already two valid digits set.

Change-Id: I973891abc7a5070906ee9e308a92c92f13567955

8 years agomanifest: remove invalid privilege 87/91187/2
Lukasz Stanislawski [Thu, 6 Oct 2016 07:20:00 +0000 (09:20 +0200)]
manifest: remove invalid privilege

Change-Id: I86d15bbc1bdd76ec45a4604d33e5d09527ef5e7f

8 years agoutils: rename log.h => Log.h, remove redundant file 78/90378/2
Lukasz Stanislawski [Thu, 29 Sep 2016 14:37:03 +0000 (16:37 +0200)]
utils: rename log.h => Log.h, remove redundant file

Change-Id: I0c0e5461b1ad6d2a28831fc748f5eb71ce2bfa7d

8 years agoAdd clock-test project (attempt 2) 31/90331/4
Lukasz Stanislawski [Fri, 9 Sep 2016 14:00:41 +0000 (16:00 +0200)]
Add clock-test project (attempt 2)

Tizen Studio SDK do not contain gmock library. Moreover it contains
only outdated version of google's testing framework (gtest).

This patch adds compiled gtest and gmock dependencies to avoid
problems with SDK configuration. Libraries are compiled for
arm and x86 architectures.

Due to problems with CLI configuration, currently test projects
can be only be compiled with Tizen Studio.

Change-Id: Id403b0798d2e2731494f29947ddc10d15815fda9

8 years agoworldclock: saving and loading locations list with preferences API. 56/90356/5
Radoslaw Czerski [Tue, 4 Oct 2016 13:26:02 +0000 (15:26 +0200)]
worldclock: saving and loading locations list with preferences API.

Change-Id: Ic51139bba2e1b2e8b236bb36ed0b7e4cdfa85951
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoworldclock: "Empty List" label enabled. 21/90321/4
Radoslaw Czerski [Fri, 30 Sep 2016 13:29:37 +0000 (15:29 +0200)]
worldclock: "Empty List" label enabled.

Change-Id: Ia6265dcdba755992b86f7f4beef7358660fcba96
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoworldclock: "More" button handled. 20/90320/5
Radoslaw Czerski [Mon, 3 Oct 2016 11:16:15 +0000 (13:16 +0200)]
worldclock: "More" button handled.

Popup with "Delete" and "Reorder" items
shown after click "More" button.

Change-Id: I1f9d6b89efcf755cdaedcce90bf7458ae9820b88
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoutils: toast popup implementation 33/90533/3
Kamil Lipiszko [Wed, 21 Sep 2016 09:32:35 +0000 (11:32 +0200)]
utils: toast popup implementation

Change-Id: I686649735e9beb850d4c6001ed2a2aea877b4a2b

8 years agoMerge "lap time round fix" into tizen
Lukasz Stanislawski [Mon, 3 Oct 2016 10:37:38 +0000 (03:37 -0700)]
Merge "lap time round fix" into tizen

8 years agoworldclock: adding new Location to custom list implemented. 75/90275/5
Radoslaw Czerski [Fri, 30 Sep 2016 13:25:25 +0000 (15:25 +0200)]
worldclock: adding new Location to custom list implemented.

Change-Id: Icf1997a5770c846b94da0bcb17121c96cf4dc797
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agomaincontroller: move all views, models and presenters to controller. 73/90173/4
Radoslaw Czerski [Mon, 26 Sep 2016 13:14:03 +0000 (15:14 +0200)]
maincontroller: move all views, models and presenters to controller.

Objects deletion added.

Change-Id: Icd00dcdd41e8da6a2deeea2de4a9c933277dabba
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoworldclock: implement MVP pattern. 72/90172/4
Radoslaw Czerski [Fri, 30 Sep 2016 13:07:19 +0000 (15:07 +0200)]
worldclock: implement MVP pattern.

Change-Id: I318885286cc10ca55e293f8f8690ae664de6a070
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoworldclock: custom locations list layout created. 71/90171/3
Radoslaw Czerski [Fri, 30 Sep 2016 12:40:02 +0000 (14:40 +0200)]
worldclock: custom locations list layout created.

The list is connected to Map
which shows timezone related to clicked list item.

MVP patter is not implemented yet(will be added in next commit)

Change-Id: Ia8be8f6ab05371a3bc0218eacd489c9622679e61
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agolap time round fix 27/90527/1
Kamil Lipiszko [Tue, 20 Sep 2016 14:54:42 +0000 (16:54 +0200)]
lap time round fix

Change-Id: I70f9f4704ffb98c0153cfdc5499f78bfb00d88f6

8 years agoremove 'ring' project
Lukasz Stanislawski [Thu, 15 Sep 2016 09:01:26 +0000 (11:01 +0200)]
remove 'ring' project

Change-Id: I80ccb55e2b31e355fc181ec68bd496180fde660f

8 years agoAlarm: fix snooze by adding new API
Lukasz Stanislawski [Fri, 16 Sep 2016 15:44:52 +0000 (17:44 +0200)]
Alarm: fix snooze by adding new API

Add new Dismiss and CanSnooze functions.
CanSnooze informs if snooze can be applied on Alarm. It is
possible when Snooze is enabled for alarm and maximum numer
of snooze attempts hasn't been reached.

Dismiss is a function that resets snooze context for given alarm.
It resets current snooze attempt counter. Is alarm do not support
snooze it does nothing.

Change-Id: I554800d5b004dec3f046cd7d5bf08d65b886b222

8 years agoEditAlarmPresenter: change default alarm values
Lukasz Stanislawski [Fri, 16 Sep 2016 15:13:41 +0000 (17:13 +0200)]
EditAlarmPresenter: change default alarm values

Remove mem leak on alarm creation

Change-Id: Ie63d42cbc6ad514f07051737a24effd766065978

8 years agoremove AlarmProviderStub
Lukasz Stanislawski [Thu, 15 Sep 2016 08:43:39 +0000 (10:43 +0200)]
remove AlarmProviderStub

Stub is not needed anymore so remove it from code base.

Change-Id: Id8861375a39f1de8889d26feb5a1b7d73e0470c7

8 years agoLicense file added.
Lukasz Stanislawski [Mon, 19 Sep 2016 07:31:34 +0000 (09:31 +0200)]
License file added.

Change-Id: I329ee650559636df1a8dbd18f4f715607ce6b216

8 years agoAlarmProviderFile: fix bug with wrong object edition.
Lukasz Stanislawski [Fri, 16 Sep 2016 14:43:13 +0000 (16:43 +0200)]
AlarmProviderFile: fix bug with wrong object edition.

Instead of object from AlarmProviderFile container the temporary
object has been used by the presenters.

Change-Id: I26d61ec52a6ef30e0667450f89adc5bc0432f5fc

8 years agoring implementation
Kamil Lipiszko [Mon, 5 Sep 2016 12:33:19 +0000 (14:33 +0200)]
ring implementation

Ring is the view that shows up on alarm or timer's timeout.
The style of the view depends on the type of the ring. If
ring view was called by alarm it shows the alarm info,
otherwise is called by timer and shows time counter. Ring
is created on app_control request with proper operation set
from the following:

http://tizen.org/appcontrol/operation/alarm
http://tizen.org/appcontrol/operation/timeout

Commit implements:
- ring view with alarm data content or counter,
- ring presenter due to MVP pattern,
- ring model which is created and used only if ring shows up
on timer's call.
- ring controller to create ring presenter, view and model
adjusted to the type of the requested call.

Change-Id: Ice190b3b47c3aa8deb69bf37dd6a7506e1f37bc1