Commit Graph

456 Commits

Author SHA1 Message Date
Phillip Hsu
69d8812c4a Bind method directly 2016-07-15 19:20:34 -07:00
Phillip Hsu
c3b018f59e Create new time picker dialog each time as needed 2016-07-15 17:12:25 -07:00
Phillip Hsu
0f32215145 Use support fragments consistently 2016-07-14 00:02:16 -07:00
Phillip Hsu
b395722386 Numpad time picker saves instance state, used in edit alarm screen 2016-07-13 22:03:04 -07:00
Phillip Hsu
c768559acc Created dialog for numpad time picker 2016-07-13 03:18:40 -07:00
Phillip Hsu
6339667dea Changed sort order for alarms query 2016-07-12 14:21:00 -07:00
Phillip Hsu
799271fbec Created instance variable for snackbar anchor in edit alarm screen 2016-07-12 01:28:34 -07:00
Phillip Hsu
c5558c211a Changed layout of edit alarm screen 2016-07-12 01:16:58 -07:00
Phillip Hsu
058d6c86b7 Created AlarmController class and moved relevant AlarmUtils code 2016-07-11 02:28:20 -07:00
Phillip Hsu
08e12cd14f Scheduling alarm via AlarmUtils no longer shows Toast confirmation for you 2016-07-09 23:46:05 -07:00
Phillip Hsu
4436d5852a Add, update, and delete operations moved to background 2016-07-09 03:36:49 -07:00
Phillip Hsu
1843c7222a Fixed AlarmViewHolder dismiss button action 2016-07-09 02:46:22 -07:00
Phillip Hsu
d17f514bd3 Added item divider to alarm item layout 2016-07-08 19:52:12 -07:00
Phillip Hsu
20b5ff2d8a AlarmViewHolder hides dismiss button if recurring and upcoming alarm dismissed via notification 2016-07-08 19:31:03 -07:00
Phillip Hsu
9380f8f579 UpcomingAlarmReceiver and PendingAlarmScheduler load alarm in background 2016-07-07 03:18:03 -07:00
Phillip Hsu
4eb27df911 AsyncItemChangeHandler now checks if alarm is enabled before scheduling it 2016-07-07 01:18:52 -07:00
Phillip Hsu
3a86aaf3ba Update and delete alarms now async 2016-07-07 00:30:45 -07:00
Phillip Hsu
4d2ef227b6 Alarm adding moved back to onActivityResult 2016-07-06 03:42:45 -07:00
Phillip Hsu
3292da18f8 Refactored registration and unregistration of local broadcast receivers with utility methods 2016-07-06 00:55:22 -07:00
Phillip Hsu
cf46160b1e Local broadcast receiver used as observer in loader 2016-07-06 00:40:52 -07:00
Phillip Hsu
9fb4727051 Item animations working 2016-07-05 17:00:57 -07:00
Phillip Hsu
4eec10f86a Wrote Loader for List of Alarms 2016-07-03 03:49:48 -07:00
Phillip Hsu
b1657c221e Background loading of single Alarm in relevant components, added queryEnabledAlarms() in database helper 2016-07-01 03:40:27 -07:00
Phillip Hsu
5f138f2756 Implement Parcelable for Alarm, snackbar undo working when deleted 2016-06-30 16:21:21 -07:00
Phillip Hsu
31385ad9b4 Snackbar shows when alarm is deleted 2016-06-30 03:22:25 -07:00
Phillip Hsu
43e9c20468 Use loader to load single alarm 2016-06-30 02:58:34 -07:00
Phillip Hsu
d042891e51 Result from EditAlarmActivity returns to AlarmsFragment and the list is updated correctly 2016-06-29 21:26:26 -07:00
Phillip Hsu
7d0718387f Use loader to query for a cursor for the list adapter 2016-06-29 04:01:46 -07:00
Phillip Hsu
11c4be68b9 Removed usages of AlarmRepository 2016-06-28 02:44:27 -07:00
Phillip Hsu
7747e4ee39 CRUD operations implemented 2016-06-27 02:52:38 -07:00
Phillip Hsu
92b306afaa Deprecated MVP in EditAlarm 2016-06-26 16:01:31 -07:00
Phillip Hsu
a1c72f8ef9 Tables set up, JSON implementations deprecated 2016-06-26 15:31:54 -07:00
Phillip Hsu
918b935be0 Removed outdated datetimepicker module 2016-06-24 16:22:25 -07:00
Phillip Hsu
9794cff5c0 Imported datetimepicker project from googlesource 2016-06-16 23:59:55 -07:00
Phillip Hsu
d19d32fa86 Reschedule alarms after booting up 2016-06-14 21:41:14 -07:00
Phillip Hsu
1edd0ce026 Use LocalBroadcast to finish RingtoneActivity from other components 2016-06-14 19:36:14 -07:00
Phillip Hsu
548ca6197e Implemented vibration for alarms 2016-06-14 01:29:12 -07:00
Phillip Hsu
22973eb262 Fixed bug where a recurring alarm dismissed in its upcoming state is rescheduled immediately for its normal ring time 2016-06-13 18:50:43 -07:00
Phillip Hsu
c37e9438cf Recurring alarms working 2016-06-13 03:11:06 -07:00
Phillip Hsu
d67bf4e63d More alarm ringsAt() recurrence test situations 2016-06-13 02:15:13 -07:00
Phillip Hsu
d0207ed7b9 Added ringsAt test that queues recurring days 2016-06-12 03:36:55 -07:00
Phillip Hsu
b6260c3fb7 Before trying new id related stuff 2016-06-11 13:33:30 -07:00
Phillip Hsu
0bcbd6b421 Refactored DurationUtils to include DAYS field, and created string resources with days 2016-06-10 20:37:45 -07:00
Phillip Hsu
8d23d8f0b2 Made combined recurrence ringsAt tests cleaner 2016-06-10 15:46:17 -07:00
Phillip Hsu
468641a49b Done combining individual recurrence ringsAt tests 2016-06-10 15:11:26 -07:00
Phillip Hsu
e3c7e8ffce Split recurring alarm rings at test into three stable tests 2016-06-10 14:09:04 -07:00
Phillip Hsu
d9e7d617e1 stable test for recurring days 2016-06-10 00:08:47 -07:00
Phillip Hsu
55836799da Changed where and when we save alarms 2016-06-09 12:36:06 -07:00
Phillip Hsu
b0cc8e3557 Current alarm cancelled and service unbinds when deleting it or saving changes to it 2016-06-08 15:02:40 -07:00
Phillip Hsu
514bf41475 Calling AlarmUtils.cancelAlarm() in RingtoneActivity and RingtoneService was actually necessary 2016-06-08 14:01:54 -07:00