profile/mobile/apps/native/clock.git
7 years agoUtils: perform additional null check 85/132685/1
Lukasz Stanislawski [Wed, 7 Jun 2017 06:41:40 +0000 (08:41 +0200)]
Utils: perform additional null check

Perform additional null check, since app_get_* methods may
return null.
Issue was spotted by using fault sanitizer tool.

Change-Id: I61f4e2ad1544d2d9db3ddd04b581dd001dd5950b

7 years ago[WorldClockMap] Recalculate map shadow 18/128318/3 submit/tizen/20170511.090426 submit/tizen/20170512.063522 submit/tizen/20170607.055817 submit/tizen_4.0/20170811.094300 tizen_4.0.m1_release
Kamil Lipiszko [Mon, 8 May 2017 14:30:49 +0000 (16:30 +0200)]
[WorldClockMap] Recalculate map shadow

Whenever scroller's size changes, the shadow should be recalculated
to the new scroller size. Earlier at the beginning if scroller's
width was smaller than real size of the view, the line and shadow
were blured and couldn't be recalculated until next day.

Change-Id: I668476e8fb837187d078292b75480b0d4334f95e

7 years ago[MainController] Create not visible pages in idle state. 55/128355/3
Kamil Lipiszko [Tue, 9 May 2017 11:06:45 +0000 (13:06 +0200)]
[MainController] Create not visible pages in idle state.

Create pages that are not visible at launch in idle state
or on user's toolbar item click.

Change-Id: I21f4fbcbdb76c7f82bf2a138b790b65b45b1377d

7 years agoMerge "add LICENSE_BSD" into tizen
YoungHun Cho [Thu, 11 May 2017 07:12:54 +0000 (07:12 +0000)]
Merge "add LICENSE_BSD" into tizen

7 years agoadd LICENSE_BSD 27/128727/1
YoungHun Cho [Thu, 11 May 2017 07:10:39 +0000 (16:10 +0900)]
add LICENSE_BSD

Change-Id: Iac0b06abff7313e45427774e914a75c02ccc20f4

7 years ago[ReorderView] Item reorder bug fix 21/128521/1
Kamil Lipiszko [Wed, 10 May 2017 08:56:37 +0000 (10:56 +0200)]
[ReorderView] Item reorder bug fix

[OAPRNA-142] Elementary on item update removes it and creates new
one. Because of that geastures on item's image were setting reorder
status wrong and making item hang over the genlist because of avoided
mouse,down event. This patch fixes this both issues disabling item
updates during reorder.

Change-Id: I4f7d89b38794db0428046b6a244236d510f2f009

7 years ago[Notifier] Initialize notifier in idle state 54/127454/4
Kamil Lipiszko [Thu, 27 Apr 2017 09:16:09 +0000 (11:16 +0200)]
[Notifier] Initialize notifier in idle state

The creation of the app due to moving notifier's
initialization into the idle state makes it up to
400 ms less to finish.

Change-Id: I8773e9f43e6d3b5df27fd2fd99164ddb9bb19978

7 years agoutils: remove deprecated function 70/127670/1
Lukasz Stanislawski [Fri, 28 Apr 2017 08:13:03 +0000 (10:13 +0200)]
utils: remove deprecated function

Change-Id: I62f86cbd0ebf0a06c10cf0d44f3f97018dbeb5d1

7 years agolicense fix 12/127512/1
Lukasz Stanislawski [Thu, 27 Apr 2017 13:35:15 +0000 (15:35 +0200)]
license fix

Change-Id: I4cf5f4450995f58c2f98a1518a326b8e81994154

7 years agoWorldclock: add location exists popup translations. 93/126993/1 submit/tizen/20170427.095058
Lukasz Stanislawski [Tue, 25 Apr 2017 12:38:51 +0000 (14:38 +0200)]
Worldclock: add location exists popup translations.

Change translation according to UI designer comments.
Translations updated.

Change-Id: I185fbbe62be778a91ec80facae93c34ad0de389b

7 years ago[Ring] Repeat vibration on ringing. 79/126679/3
Kamil Lipiszko [Mon, 24 Apr 2017 14:39:11 +0000 (16:39 +0200)]
[Ring] Repeat vibration on ringing.

Make loop that repeats vibration during alarm ring, however in
my opinion this should be supported by feedback library as it is
in player where the loop is set with player_set_loop and the
external app solves the sound length and its repeating period.
Right now the loop repeats every 2.5 sec.

Change-Id: I45c3feb004721e17df9d44afeaf98d9e111f4bd9

7 years ago[edc] Fix edc runtime errors. 70/126670/1
Kamil Lipiszko [Mon, 24 Apr 2017 14:14:58 +0000 (16:14 +0200)]
[edc] Fix edc runtime errors.

Fix misspelling and missing description that caused showing up
errors. Replaced ":" with "." in lap time counter.

Change-Id: I057ad31907c881676a048879a02f23f9ed91ed1f

7 years ago[edc] Fix missing elipsis warnings 68/126668/1
Kamil Lipiszko [Mon, 24 Apr 2017 13:49:13 +0000 (15:49 +0200)]
[edc] Fix missing elipsis warnings

This patch removes warnings related with missing elipsis: -1; value
set in edc files during building process.

Change-Id: I2b5ce911852f6d4ea75e2d6f2ac024f9a69a348f

7 years agoMerge "WorldClock: add menu translation" into tizen
Kamil Lipiszko [Fri, 21 Apr 2017 13:25:35 +0000 (06:25 -0700)]
Merge "WorldClock: add menu translation" into tizen

7 years ago[Utils] Create SystemSettings class 51/126151/4
Kamil Lipiszko [Thu, 20 Apr 2017 08:37:46 +0000 (10:37 +0200)]
[Utils] Create SystemSettings class

SystemSettings class handles incoming changes in system such as
prefered time change or language change and fires events on
above appearance.

Change-Id: I8d0742dfa03fa7e11c9b738fae65487394deba2d

7 years agoWorldClock: add menu translation 64/125964/1
Lukasz Stanislawski [Wed, 19 Apr 2017 07:52:47 +0000 (09:52 +0200)]
WorldClock: add menu translation

Change-Id: Ieb273628e476dbd2b97fb27ae4038cdce3f140b7

7 years agoShow 'repeat' icon in alarm 86/123886/2
Lukasz Stanislawski [Thu, 6 Apr 2017 13:57:20 +0000 (15:57 +0200)]
Show 'repeat' icon in alarm

Now the repeat icon appears if any of week flags are set.

Change-Id: I2cbe1097433501ec5aa02336839d3a8186d2dda6

7 years agoupdate translations 47/122847/4 submit/tizen/20170405.075035 submit/tizen/20170405.142830 submit/tizen/20170406.090254 submit/tizen/20170406.135748
Lukasz Stanislawski [Mon, 3 Apr 2017 07:16:03 +0000 (09:16 +0200)]
update translations

Patch contains essential changes fix up translations in clock.
Some key names has been changed according to STMS system content.

The major changes refers to:
1. Add auto-update of Time locale
2. Translate on-letter acronym on alarm list.
3. Fix some hardcoded string in WorldClock and AlarmEdit
4. Change accessiiblity translations

Change-Id: I3992d7cc281b0dc30d49e0d60e2a4dcb7e8d138f

7 years ago[WorldclockView] Read delete/reorder list item as one object 06/120906/4 submit/tizen/20170330.115133
Kamil Lipiszko [Fri, 24 Mar 2017 14:56:26 +0000 (15:56 +0100)]
[WorldclockView] Read delete/reorder list item as one object

Previously label of time and meridiem were created on their own
and pushed into the swallow part of the items layout. It caused
screen reader frame focus at the beginning on the whole item,
next on the checkbox and again on the time label and am/mp label.
This kind of behaviour was missleading and I've moved those labels
into edc textblocks the same way as did it in worldclock view in
location list.

Change-Id: I235da09066f85895ae0db5f1b69168169883fa81

7 years ago[Timer TTS] Add screen reader support in timer view 93/120393/7
Kamil Lipiszko [Wed, 22 Mar 2017 15:54:47 +0000 (16:54 +0100)]
[Timer TTS] Add screen reader support in timer view

Change-Id: I35099837c7e40912a95be432be428d3de49c5b33
Conflicts:
clock/src/View/TimerView.cpp

7 years ago[TimerView] Refactor selector button longpress implementation 85/121585/3
Kamil Lipiszko [Tue, 28 Mar 2017 09:08:50 +0000 (11:08 +0200)]
[TimerView] Refactor selector button longpress implementation

Change-Id: I5adcbeeb19918db889087911a4917e0c6092d5de

7 years agoMerge "EditAlarmView: fix volume adjustment/alarm type logic" into tizen
Lukasz Stanislawski [Tue, 28 Mar 2017 08:45:24 +0000 (01:45 -0700)]
Merge "EditAlarmView: fix volume adjustment/alarm type logic" into tizen

7 years agoMerge "WeekFlagsView: enhance week flag list." into tizen
Lukasz Stanislawski [Tue, 28 Mar 2017 08:45:15 +0000 (01:45 -0700)]
Merge "WeekFlagsView: enhance week flag list." into tizen

7 years agoMerge "AlarmView: Prepend alarm instead of appending." into tizen
Kamil Lipiszko [Tue, 28 Mar 2017 08:17:04 +0000 (01:17 -0700)]
Merge "AlarmView: Prepend alarm instead of appending." into tizen

7 years agoWeekFlagsView: enhance week flag list. 13/121313/3
Lukasz Stanislawski [Mon, 27 Mar 2017 13:31:04 +0000 (15:31 +0200)]
WeekFlagsView: enhance week flag list.

In accessibility mode treat list item as a single object.

Issue: After selecting/unselecting current item the screen-reader
does not reread new item state. This issue should be resolved on
elementary side.

Change-Id: Ie649bb2941484c50e2a0c7593aef1dbd3822a856

7 years agoEditAlarmView: fix volume adjustment/alarm type logic 48/121548/3
Lukasz Stanislawski [Tue, 28 Mar 2017 07:37:42 +0000 (09:37 +0200)]
EditAlarmView: fix volume adjustment/alarm type logic

When volume is reduced to 0, alarm type should change to 'vibration',
alternatively i volume is >0, then alarm type wil change to 'sound'.

Additionally when alarm type is changed to 'vibration' manually, the slider
will become disabled.

Change-Id: I67cf86daa826198f7d2a9aafa6e612c22b3e0ec9

7 years ago[Worldclock TTS] Add screen reader support in worldclock view 42/120642/6
Kamil Lipiszko [Thu, 23 Mar 2017 11:42:32 +0000 (12:42 +0100)]
[Worldclock TTS] Add screen reader support in worldclock view

Changed arrow buttons from edje elements to elm buttons with custom
style. Moved timezone list item time label into the textblock part
of layout.

Change-Id: Id37096da531ec643085231d20fed4665b1e1ff11

7 years agoAlarmView: Prepend alarm instead of appending. 49/121249/3
Lukasz Stanislawski [Mon, 27 Mar 2017 10:02:06 +0000 (12:02 +0200)]
AlarmView: Prepend alarm instead of appending.

According to guideline new alarm items should be shown on top
instead of bottom of the list.

Change-Id: I6fe22dfdea18ba6164bf6e2722134244b240b627

7 years ago[EditAlarmView TTS] Support screen reader 55/120855/3
Kamil Lipiszko [Fri, 24 Mar 2017 11:35:15 +0000 (12:35 +0100)]
[EditAlarmView TTS] Support screen reader

Change-Id: I1b7cea7d27609ddaac49eda4daf04f68e36bd39f

7 years agoMerge "EditAlarmView: close popup after selecting alarm type." into tizen
Kamil Lipiszko [Mon, 27 Mar 2017 14:19:06 +0000 (07:19 -0700)]
Merge "EditAlarmView: close popup after selecting alarm type." into tizen

7 years ago[AlarmView TTS] Support screen reader 51/120851/3
Kamil Lipiszko [Fri, 24 Mar 2017 11:24:51 +0000 (12:24 +0100)]
[AlarmView TTS] Support screen reader

Change-Id: If28363ffdf9f80a90b2935096000c350cb4a8445

7 years ago[Worldclock] Spelling fix 62/120562/2
Kamil Lipiszko [Thu, 23 Mar 2017 07:48:36 +0000 (08:48 +0100)]
[Worldclock] Spelling fix

Change-Id: Ie106490ca47d265356a4fdcf268af9a247c46b41

7 years ago[Ring] Tie in ring and system volume. 22/120122/2
Kamil Lipiszko [Tue, 21 Mar 2017 13:47:51 +0000 (14:47 +0100)]
[Ring] Tie in ring and system volume.

Sound manager api does not provide any changes on system volume
change for alarm sound volume. This patch solves this issue by
calculating alarm volume basing on currently set system volume.

Change-Id: I19f025d0f1ad21167f1887bc99040258c4a72cbe

7 years agoEditAlarmView: close popup after selecting alarm type. 29/120129/2
Lukasz Stanislawski [Tue, 21 Mar 2017 15:41:11 +0000 (16:41 +0100)]
EditAlarmView: close popup after selecting alarm type.

Change-Id: I92fd18baf4ebdb67100d919f85e3fdfa26c7aa45

7 years ago[Stopwatch] Contract stopwatch time view on reset 93/120093/2 submit/tizen/20170321.112504
Kamil Lipiszko [Tue, 21 Mar 2017 10:02:43 +0000 (11:02 +0100)]
[Stopwatch] Contract stopwatch time view on reset

Change-Id: I79744051d2c94e5959762dc8a5ea3669d6dd55b3

7 years ago[Worldclok] Do not mirror map view 88/120088/2
Kamil Lipiszko [Tue, 21 Mar 2017 09:40:18 +0000 (10:40 +0100)]
[Worldclok] Do not mirror map view

Setting rtl language caused map view being mirrored. This patch
fixes it and now it is displayed correctly and the same way in
both cases (rtl and not rtl languages).

Change-Id: I4e0673a55c626c7d79cd0203db1dcdf5ce9c9e64

7 years ago[Stopwatch] Fix list item alignment in RTL language 33/119933/2 submit/tizen/20170320.161623
Kamil Lipiszko [Mon, 20 Mar 2017 15:21:20 +0000 (16:21 +0100)]
[Stopwatch] Fix list item alignment in RTL language

Change-Id: Ic7ecdb6f6aebd05526df46bb489545355d815f73

7 years agoTime: fix string conversion routine 35/119935/1
Lukasz Stanislawski [Mon, 20 Mar 2017 15:43:55 +0000 (16:43 +0100)]
Time: fix string conversion routine

The previous routine may caused buffer overflows if unicode codepoints
couldn't be encoded on single byte.

The return value of i18n_ustring_get_length was incorrectly understood
as number of character in utf-8 encoding. The proper function is now
used instead.

Change-Id: Ie5ad77a31914298460d38a410b6b01906dcde32d

7 years agoAlarmView: null pointer before using 08/119908/1
Lukasz Stanislawski [Mon, 20 Mar 2017 12:24:42 +0000 (13:24 +0100)]
AlarmView: null pointer before using

Change-Id: I22f6ee7c4936c4490236991eb6c3245aab7037f0

7 years agoFix tizen studio import issue 31/112531/1
Kamil Lipiszko [Wed, 1 Feb 2017 09:05:11 +0000 (10:05 +0100)]
Fix tizen studio import issue

This commit adds .tproject required to import project in
tizen studio and removes it from .gitignore file.

Change-Id: Ic70ba4cab2c8cb5c0f534d35079ef24b0d9b046a

7 years agofix compilation and warnings on gcc compiler 93/111493/2 submit/tizen/20170120.151853 submit/tizen/20170125.105506 submit/tizen/20170130.165532
Lukasz Stanislawski [Fri, 20 Jan 2017 13:35:18 +0000 (14:35 +0100)]
fix compilation and warnings on gcc compiler

Change-Id: I2a2ea0fc05578d8e9d460ddfa314031db45bd9a1

7 years ago[Doxygen] Fix documentation errors 18/110918/2 submit/tizen/20170120.120822
Kamil Lipiszko [Wed, 18 Jan 2017 14:36:39 +0000 (15:36 +0100)]
[Doxygen] Fix documentation errors

Change-Id: I6c5704ef7a475fced8b0a6d64d38b6d18ecc6d86

7 years agoMerge "[Ring] Fix swipe icon bg scale." into tizen
Lukasz Stanislawski [Fri, 20 Jan 2017 09:55:12 +0000 (01:55 -0800)]
Merge "[Ring] Fix swipe icon bg scale." into tizen

7 years agoAlarmProvider: add lazy sync of database 59/110059/2
Lukasz Stanislawski [Thu, 12 Jan 2017 16:09:41 +0000 (17:09 +0100)]
AlarmProvider: add lazy sync of database

use ecore_idler_enterer to trigger sync of database.

Change-Id: I8a7a0abfbc39fe8f69718588bdafb608c111d476

7 years agosignals: allow to copy connections 28/111128/3
Lukasz Stanislawski [Thu, 19 Jan 2017 11:35:04 +0000 (12:35 +0100)]
signals: allow to copy connections

Make signal connection shared_ptr to connection data. When there is no more
references to connection data, the connection will be automatically
disconnected from signal.

Additionally make signal to keep weak_ref to connection data.
In case when signal is destructed, all connection will be auto
disconnected.

Change-Id: Ic1788057df7100d9746f4781a8b95370d9f7f3e0

7 years agorefactor model/presenters for ObservableList 50/110050/6
Lukasz Stanislawski [Thu, 12 Jan 2017 10:01:55 +0000 (11:01 +0100)]
refactor model/presenters for ObservableList

Make presenters use ObservableList instead of AlarmProvider
Now AlarmProvider is only reponsible to featching and sync alarm
list with database.

Change-Id: I4448dfb0e9ded5311252ad10de0197db165a944c

7 years ago[Ring] Fix swipe icon bg scale. 83/111083/2
Kamil Lipiszko [Thu, 19 Jan 2017 10:30:15 +0000 (11:30 +0100)]
[Ring] Fix swipe icon bg scale.

Change-Id: I753e0c7907438d1358f48aae5e0a3e496b188c82

7 years agoimplement observable collections. 55/110055/3
Lukasz Stanislawski [Thu, 12 Jan 2017 15:05:13 +0000 (16:05 +0100)]
implement observable collections.

Add utility classes that will be used for further code refactoring.
The purpose of observable collection is to create generic model that
can read and observed by presenters.

Change-Id: Ie84585d1ed911038948db62a9fd8dc5a3fa24db3

7 years agoalarm: remove AlarmProvidedEvent.h 49/110049/4
Lukasz Stanislawski [Tue, 10 Jan 2017 15:03:12 +0000 (16:03 +0100)]
alarm: remove AlarmProvidedEvent.h

Move alarm provided from global scope (EventBus) into AlarmProvider
class.

Change-Id: I1c2264926a39123522be40f76034651b39a5baca

7 years ago[WorldClock] Fix edje errors. 02/110302/4
Kamil Lipiszko [Fri, 13 Jan 2017 15:15:03 +0000 (16:15 +0100)]
[WorldClock] Fix edje errors.

[OAPRNA-122] This patch expands edje file of fixed
attribute to prohibit incoming efl errors.

Change-Id: I2764f86f9a3eebb6f0771e0dd324928afda14836

7 years agoMerge "manifest: add label translations" into tizen
Lukasz Stanislawski [Wed, 18 Jan 2017 07:54:07 +0000 (23:54 -0800)]
Merge "manifest: add label translations" into tizen

7 years agoMerge "edit alarm: change default time to 6.00 am" into tizen
Lukasz Stanislawski [Wed, 18 Jan 2017 07:53:50 +0000 (23:53 -0800)]
Merge "edit alarm: change default time to 6.00 am" into tizen

7 years agoMerge "alarms: fix invalid melody path" into tizen
Lukasz Stanislawski [Tue, 17 Jan 2017 14:26:24 +0000 (06:26 -0800)]
Merge "alarms: fix invalid melody path" into tizen

7 years agosignal/slot implementation 74/107374/17
Lukasz Stanislawski [Tue, 27 Dec 2016 17:12:46 +0000 (18:12 +0100)]
signal/slot implementation

Change-Id: Iec1f3a6f90688c320c7e60a76b44b071df382aaf

7 years ago[Ring] Fix ring's swipe button issue. 88/110688/4
Kamil Lipiszko [Tue, 17 Jan 2017 11:40:26 +0000 (12:40 +0100)]
[Ring] Fix ring's swipe button issue.

This patch fixes all issues related with swipe buttons and undefined
behaviour during swipe area mouse down and drag.

Change-Id: Icb789c0d83aa7e3a8c5bff4be44fc7a9ab258f3a

7 years agoalarms: fix invalid melody path 05/110705/2
Lukasz Stanislawski [Tue, 17 Jan 2017 13:17:58 +0000 (14:17 +0100)]
alarms: fix invalid melody path

Change-Id: I8b77da21124aa25094db849c56a27b80a20ba1ed

7 years ago[Ring] Add auto-dismiss feature. 47/110447/3
Kamil Lipiszko [Mon, 16 Jan 2017 12:04:57 +0000 (13:04 +0100)]
[Ring] Add auto-dismiss feature.

[OAPRNA-124] Dismiss alarm after 30 minutes if user does not respond on ring call

Change-Id: I26818a2e31cfa2d9957c1b866cd64fe408eadcc5

7 years agoedit alarm: change default time to 6.00 am 02/110702/1
Lukasz Stanislawski [Tue, 17 Jan 2017 12:05:41 +0000 (13:05 +0100)]
edit alarm: change default time to 6.00 am

Change-Id: I7589537eb5eeb5b1981ede5a54de89ac534c5f89

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