profile/mobile/apps/native/clock.git
7 years agomanifest: add label translations 87/110687/1
Lukasz Stanislawski [Tue, 17 Jan 2017 11:33:51 +0000 (12:33 +0100)]
manifest: add label translations

Change-Id: I68d50df1bad0671429fb5a74d231b68cc46f3902

7 years ago[WorldClockMap] Fix map movement issue. 00/110300/1
Kamil Lipiszko [Fri, 13 Jan 2017 14:36:20 +0000 (15:36 +0100)]
[WorldClockMap] Fix map movement issue.

[OAPRNA-123] This issue was appearing due to wrongly x axis map
movement calculation related with scroller's width fewer than
it really was.

Change-Id: Iff9ae744254225cf4c11a65d5c4facde152c430f

7 years agoutils: remove dependency between modules 98/108798/2
Lukasz Stanislawski [Thu, 5 Jan 2017 18:16:12 +0000 (19:16 +0100)]
utils: remove dependency between modules

BinaryFile reader and writer should not depend on TizenAppUtils

Change-Id: Iccb1c070c967f18ee589c06ee85438cbfe17fa58

7 years agoutils: rename Utils.h => TizenAppUtils.h 97/108797/2
Lukasz Stanislawski [Thu, 5 Jan 2017 18:11:48 +0000 (19:11 +0100)]
utils: rename Utils.h => TizenAppUtils.h

Give more meaningfull name to resource loading module.

Change-Id: I49b52901bd59d95c5be82fedcc83ba37e951992f

7 years agodoc: clear all doxygen warnings 96/108796/2
Lukasz Stanislawski [Thu, 5 Jan 2017 17:17:37 +0000 (18:17 +0100)]
doc: clear all doxygen warnings

Change-Id: I76ebffbe64d1ab9af2ddb38e8c0158ccb675313d

7 years ago[StopWatch] Fix rounding issue 54/106454/6
Kamil Lipiszko [Wed, 21 Dec 2016 14:48:46 +0000 (15:48 +0100)]
[StopWatch] Fix rounding issue

Change-Id: I984674bc96f94d7beb05a217984b8b4a32d4bc8d

7 years agoWorld Clock: Doxygen update. 53/105453/4
Radoslaw Czerski [Thu, 29 Dec 2016 09:42:43 +0000 (10:42 +0100)]
World Clock: Doxygen update.

Change-Id: I97b2d3d24bd51eff84404dabff6936ee1df348e0
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
7 years agoenhance documentation 98/105398/9
Lukasz Stanislawski [Fri, 16 Dec 2016 09:05:09 +0000 (10:05 +0100)]
enhance documentation

apply minor refactor:
* change type of parent for PageView
Change-Id: I006dccff30d667b3562633a8f75ff832768be206

7 years agotests: fix build 55/108255/3
Lukasz Stanislawski [Tue, 3 Jan 2017 14:10:25 +0000 (15:10 +0100)]
tests: fix build

Change-Id: Id071dc2ebe63e03b0cd551da3a2aa979d428ac1b

7 years ago[Ring] Use alarm's ringtone and volume. 89/108489/3
Kamil Lipiszko [Wed, 4 Jan 2017 13:00:35 +0000 (14:00 +0100)]
[Ring] Use alarm's ringtone and volume.

Change-Id: I9ae0308f74809267ba6c13bf7501dc1769ef490a

7 years ago[Timer] Do not deactivate alarm if is already deactivated 50/106450/3
Kamil Lipiszko [Wed, 21 Dec 2016 14:13:49 +0000 (15:13 +0100)]
[Timer] Do not deactivate alarm if is already deactivated

Change-Id: If4434428f8333c13cff78d174c6f393469a9ee05

7 years agoChange timezone format from GMT to timezone path. 66/104566/4
Radoslaw Czerski [Thu, 29 Dec 2016 09:10:59 +0000 (10:10 +0100)]
Change timezone format from GMT to timezone path.

Timezones are used to get local time.
This change makes time functions to take into account DST.
Timezone path is retrieved from libug-worldclock-efl app.

Change-Id: If9cf9d5e9f2b13229175b3ec034d36ea8f8eabae
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
7 years ago[doxygen] Add documentation 94/104894/7
Kamil Lipiszko [Wed, 14 Dec 2016 11:14:13 +0000 (12:14 +0100)]
[doxygen] Add documentation

Change-Id: I49a157fea8b4e381e2dbe26975064554890b3336

7 years ago[EditAlarmPresenter] Remove duplicated method call. 88/108488/2
Kamil Lipiszko [Wed, 4 Jan 2017 12:51:51 +0000 (13:51 +0100)]
[EditAlarmPresenter] Remove duplicated method call.

Change-Id: I44715d8460aba6518b1cfd657985b3b69065fa08

7 years ago[WorldClock] Fit cities label in layout 64/108264/2
Kamil Lipiszko [Tue, 3 Jan 2017 15:15:58 +0000 (16:15 +0100)]
[WorldClock] Fit cities label in layout

Change-Id: I9c9083125b39b95bbc4bc88238490153c4532471

7 years ago[RingView] Set core theme bg. 56/108256/2
Kamil Lipiszko [Tue, 3 Jan 2017 14:30:43 +0000 (15:30 +0100)]
[RingView] Set core theme bg.

Change-Id: Ib617ce32525e9a176d335f5f3a16ec92c98119a7

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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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>
7 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>
7 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>
7 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

7 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

7 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

7 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

7 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

7 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>
7 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

7 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

7 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

7 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

7 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

7 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

7 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>
7 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

7 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

7 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

7 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>
7 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

7 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

7 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

7 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

7 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>
7 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

7 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

7 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

7 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

7 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>
7 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>
7 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>
7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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>