profile/mobile/apps/native/clock.git
8 years agoEnable alarm edition
Lukasz Stanislawski [Mon, 12 Sep 2016 07:41:03 +0000 (09:41 +0200)]
Enable alarm edition

Open alarm edition view after clicking on item in AlarmView.
When click is done new AlarmEditRequestEvent is being sent to EventBus.

When alarm has been edited new AlarmEditedEvent is begin sent in order
to synchronize data on other views.

Change-Id: I122f3c5564f70448dae4841575658ce543ccfeb0

8 years agoCallback function call hotfix.
Radoslaw Czerski [Tue, 13 Sep 2016 14:17:51 +0000 (16:17 +0200)]
Callback function call hotfix.

Change-Id: I0b98d9ceed262fc259ca823a12ea3fc9fdc26956
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoAlarm: enable platform alarms
Lukasz Stanislawski [Sun, 11 Sep 2016 11:51:25 +0000 (13:51 +0200)]
Alarm: enable platform alarms

Add required privilage and fix minor issues to enable
registering platform alarms.

Change-Id: Ibf61c072fd56352dc9b6520ab25102b1edeefee7

8 years agoAdd Delete Alarm view and presenter.
Lukasz Stanislawski [Tue, 6 Sep 2016 12:30:06 +0000 (14:30 +0200)]
Add Delete Alarm view and presenter.

Add possibility to delete exitsing alarms by using "menu"
hardware button and pressing "delete" item.
The new view with selectable alarms is being pushed.

When alarms are begin deleted the AlarmRemovedEvent is being
triggered, which allows to synchronize other views (eg. AlarmView)

Change-Id: Ifa41318fdb5c9930bb6b7e3dfb6931ee3e21db13

8 years agoAdd empty list screen.
Radoslaw Czerski [Tue, 13 Sep 2016 13:53:00 +0000 (15:53 +0200)]
Add empty list screen.

Change-Id: I3dc57420e381cdfcdc93f85e2649064b0b87111d
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoWorldclock Map View and timezone details added.
Radoslaw Czerski [Tue, 13 Sep 2016 13:48:32 +0000 (15:48 +0200)]
Worldclock Map View and timezone details added.

MVP model is not implemented yet and will be added in separate commit.

Change-Id: Iad0aa1d8950856f9cfe6810811c4d941c3ddb8cb
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoAlarmView: implement adding alarms by clicking "+"
Lukasz Stanislawski [Mon, 5 Sep 2016 13:09:27 +0000 (15:09 +0200)]
AlarmView: implement adding alarms by clicking "+"

Add floating button on main view. Handle request to add alarm
via EventBus events. MainController is now responsible for handling
EditAlarmView and EditAlarmPresenter lifecycle.

Change-Id: I69fbc407dfe3fde2108a32d44ed9b6c4c149e56d

8 years agoAlarmPresenter: add update on alarm add
Lukasz Stanislawski [Wed, 31 Aug 2016 13:05:48 +0000 (15:05 +0200)]
AlarmPresenter: add update on alarm add

Add new Added/Removed events to broadcast creation/removal
of alarms.

Change-Id: Ia9cb122a66d7b31b420a3416db48553c668d212f

8 years agoevent bus implementation
Lukasz Stanislawski [Wed, 31 Aug 2016 06:37:01 +0000 (08:37 +0200)]
event bus implementation

Create global bus for application events. Allows
multiple observers to register on one particular event.

Change-Id: I4da624c7cf492224ba53431fd6e03781eb3c81a5

8 years agoimprove Time.h dummy implementation.
Lukasz Stanislawski [Sun, 11 Sep 2016 09:38:58 +0000 (11:38 +0200)]
improve Time.h dummy implementation.

Instead of returning hardcoded values now return real values.
This code will be changed when proper icu support will be added.

Change-Id: Id056526136a01f302510284dfe0d69349a8fffdf

8 years agoAdd proper clock icon. Capitalize label.
Lukasz Stanislawski [Sun, 11 Sep 2016 06:48:49 +0000 (08:48 +0200)]
Add proper clock icon. Capitalize label.

Change-Id: Ib5f332996e5c5a67b99830b8d4a5cf1f4e32fb75

8 years agoApply Tizen Studio project files. Fix warnings.
Lukasz Stanislawski [Fri, 9 Sep 2016 12:22:44 +0000 (14:22 +0200)]
Apply Tizen Studio project files. Fix warnings.

Change-Id: I709975a8a8fd112d7bc9e11da9dc41adce1b674d

8 years agoAlarmView: add gradient list background
Lukasz Stanislawski [Tue, 30 Aug 2016 13:54:49 +0000 (15:54 +0200)]
AlarmView: add gradient list background

Change-Id: I327af43d46be5bc155d70d17cb95b6869e09a475

8 years agocommon: remove CLOCK_EXPORT_API define
Lukasz Stanislawski [Mon, 5 Sep 2016 13:28:45 +0000 (15:28 +0200)]
common: remove CLOCK_EXPORT_API define

After merging bin and libs export attribute is no longer needed.

Change-Id: I6bbf5510550e1d4e8c90a72e5ec8c7cb33cadb9d

8 years agoEditAlarmPresenter: implement basic functionality
Lukasz Stanislawski [Tue, 30 Aug 2016 13:49:09 +0000 (15:49 +0200)]
EditAlarmPresenter: implement basic functionality

Allow to create new Alarm on basic edit alarm view (shown at startup).
The synchronization with different view is not supported yet, so
app restart is required to sync other views.

Change-Id: I1715f730197e4bde6a3b9af30c5c7b0cb64241c4

8 years agoEdit/Add View added.
Lukasz Stanislawski [Fri, 19 Aug 2016 13:09:28 +0000 (15:09 +0200)]
Edit/Add View added.

Provide simple edit/view class that will handle editing alarms.
Currently presenter is not implemented so view is just a stub.

Change-Id: I770fe709643d008fe5e2b8d022f7519bfd0ff4c8

8 years agoStopwatch implementation
Kamil Lipiszko [Fri, 5 Aug 2016 14:36:45 +0000 (16:36 +0200)]
Stopwatch implementation

Change-Id: I673b3be087bf59076add6a1af7500bb03a463c0c

8 years agomerge common & worldclock namespaces
Lukasz Stanislawski [Thu, 18 Aug 2016 14:25:22 +0000 (16:25 +0200)]
merge common & worldclock namespaces

Change-Id: Ieaadb5f6693331de1f0e998c31a060f44757ae15

8 years agomerge common and clock
Lukasz Stanislawski [Thu, 18 Aug 2016 13:46:33 +0000 (15:46 +0200)]
merge common and clock

Change-Id: I5a7845192d6f2c5e8e75883c93d08bdf82698da6

8 years agoAlarmView implementation
Lukasz Stanislawski [Wed, 17 Aug 2016 06:38:54 +0000 (08:38 +0200)]
AlarmView implementation

Change-Id: Ib8c84aa7664c53f0aaf67f6b8b881944f8c1180e

8 years agoAlarmProviderFile backend implementation
Lukasz Stanislawski [Fri, 5 Aug 2016 14:32:31 +0000 (16:32 +0200)]
AlarmProviderFile backend implementation

AlarmProviderFile uses binary files to store Alarm objects.

Change-Id: Id14ee2c5b2b01b1f0f104fb354ea719f94af6d7d

8 years ago[Clock] base GUI.
Radoslaw Czerski [Fri, 19 Aug 2016 13:34:03 +0000 (15:34 +0200)]
[Clock] base GUI.

Change-Id: I1efb84c293b2a43423d66de93fed1c012e370b00
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years ago[clock]Utils added.
Radoslaw Czerski [Fri, 5 Aug 2016 09:42:23 +0000 (11:42 +0200)]
[clock]Utils added.

Change-Id: Ib55d4081b92b72e1fd88bdacc98403ef59ec1075
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
8 years agoring: alarm ring layout
Kamil Lipiszko [Thu, 4 Aug 2016 13:17:56 +0000 (15:17 +0200)]
ring: alarm ring layout

8 years agocommon: add AlarmProviderStub class
Lukasz Stanislawski [Wed, 27 Jul 2016 11:45:01 +0000 (13:45 +0200)]
common: add AlarmProviderStub class

The purpose of this class is to return dummy values
from model in order to procees with other modules
implementation

8 years agoclock: build break fix after header removal
Lukasz Stanislawski [Wed, 27 Jul 2016 09:59:47 +0000 (11:59 +0200)]
clock: build break fix after header removal

8 years agocommon: remove unused headers
Lukasz Stanislawski [Wed, 27 Jul 2016 09:57:12 +0000 (11:57 +0200)]
common: remove unused headers

8 years agocommon: add AlarmProviderEet class draft
Lukasz Stanislawski [Wed, 27 Jul 2016 09:55:46 +0000 (11:55 +0200)]
common: add AlarmProviderEet class draft

8 years agocommon: implement WeekFlags
Lukasz Stanislawski [Tue, 26 Jul 2016 10:38:32 +0000 (12:38 +0200)]
common: implement WeekFlags

8 years agocommon: interface draft
Lukasz Stanislawski [Tue, 26 Jul 2016 09:10:10 +0000 (11:10 +0200)]
common: interface draft

8 years agoAdd gitignore file
Lukasz Stanislawski [Mon, 25 Jul 2016 12:23:53 +0000 (14:23 +0200)]
Add gitignore file

8 years agoproject build config prepared for 'abs' tool
Lukasz Stanislawski [Mon, 25 Jul 2016 12:19:17 +0000 (14:19 +0200)]
project build config prepared for 'abs' tool

8 years agotemplate of multipackage project added.
Lukasz Stanislawski [Mon, 25 Jul 2016 10:32:34 +0000 (12:32 +0200)]
template of multipackage project added.