Commit Graph

217 Commits

Author SHA1 Message Date
Phillip Hsu
74ec0fd883 Animated progress bar 2016-08-08 02:57:21 -07:00
Phillip Hsu
07de78e8e7 Implemented timer actions in ringtone activity 2016-08-06 03:40:29 -07:00
Phillip Hsu
6b7c9cedee New ringtone activity layout 2016-08-06 03:34:53 -07:00
Phillip Hsu
29194f241f Show auto silence view 2016-08-06 02:52:49 -07:00
Phillip Hsu
d845f241e9 New ringtone activity layout 2016-08-06 00:06:15 -07:00
Phillip Hsu
6ae9c3511c Expired timer notification 2016-08-05 01:58:43 -07:00
Phillip Hsu
8dea6301aa Implement notification actions for timers 2016-08-05 01:06:26 -07:00
Phillip Hsu
25c544df43 Pass alarm directly to AlarmActivity and AlarmRingtoneService 2016-08-04 02:51:50 -07:00
Phillip Hsu
9e4369282d Created TimerNotificationService, TimesUpActivity. Schedule alarms with AlarmManager for timers. 2016-08-03 03:26:53 -07:00
Phillip Hsu
6f8d22f15b Timers persisted correctly, chronometer and buttons bind correctly 2016-08-02 17:25:14 -07:00
Phillip Hsu
992e091db7 Replaced all usages of DatabaseManager with AlarmsTableManager 2016-08-01 19:06:46 -07:00
Phillip Hsu
5ac5b34640 New update and delete callbacks for OnListItemInteractionListener 2016-08-01 01:18:44 -07:00
Phillip Hsu
9561388425 Show elevation on ExpandedAlarmViewHolder, changed name of AlarmViewHolder to CollapsedAlarmViewHolder 2016-07-31 20:28:08 -07:00
Phillip Hsu
02db488065 Create expanded and collapsed alarm view holders 2016-07-31 18:28:31 -07:00
Phillip Hsu
7b0a32938e Created AsyncDatabaseChangeHandler 2016-07-30 19:01:29 -07:00
Phillip Hsu
066ac67325 RecyclerViewFragment and other abstract classes in use for alarms and timers 2016-07-30 14:36:33 -07:00
Phillip Hsu
b43ff03662 Abstracted SQL, Cursor, Loader, Adapter, RecyclerView 2016-07-29 23:18:46 -07:00
Phillip Hsu
7c41ac2d29 Basic implementation of edit timer screen 2016-07-29 15:03:26 -07:00
Phillip Hsu
c70b40e213 Implemented time fields 2016-07-28 19:17:00 -07:00
Phillip Hsu
9493c639a8 Merge branch 'reverted_numpad_time_picker' into timers 2016-07-28 01:10:08 -07:00
Phillip Hsu
4c6eea5ffc Layout modifications 2016-07-27 23:34:00 -07:00
Phillip Hsu
297910d306 Created EditAlarmActivity 2016-07-27 19:58:30 -07:00
Phillip Hsu
180a1c0af8 Implemented secondary buttons 2016-07-27 14:59:38 -07:00
Phillip Hsu
ac56357b4b Created TimerController 2016-07-27 13:41:36 -07:00
Phillip Hsu
ec49204755 Tried to move Timer controlling code to Chronometer 2016-07-27 03:56:31 -07:00
Phillip Hsu
342e025f5a Countdown chronometer implemented 2016-07-27 01:52:28 -07:00
Phillip Hsu
65671c3650 Implement save and restore instance state 2016-07-25 17:00:04 -07:00
Phillip Hsu
6585cca738 Time picker style preference implemented 2016-07-25 14:28:26 -07:00
Phillip Hsu
6f2adb6eb1 Applied margins and padding to grid 2016-07-25 03:15:51 -07:00
Phillip Hsu
20db6156ca Override modal bottom sheet peekHeight 2016-07-25 02:35:12 -07:00
Phillip Hsu
069bf39ab8 Changed to bottom sheet 2016-07-25 01:14:22 -07:00
Phillip Hsu
3936c4285d Reverted alt buttons and fab to be part of the NumpadTimePicker 2016-07-24 20:08:38 -07:00
Phillip Hsu
447014338e Callback is working between EditAlarmActivity and NumberGridTimePickerDialog 2016-07-24 18:23:28 -07:00
Phillip Hsu
e3f02d7aa3 Implemented minute tuner click listeners 2016-07-24 03:45:21 -07:00
Phillip Hsu
e2df1aef28 Increased tap target size of buttons 2016-07-24 00:20:12 -07:00
Phillip Hsu
1162e9177c Implemented done button and half day toggles in dialog 2016-07-23 19:56:19 -07:00
Phillip Hsu
454851e2bf Changed minute tuner positions in grid, renamed NumberGrid to NumbersGridView 2016-07-23 01:43:11 -07:00
Phillip Hsu
63cffaf0a2 Merged aosp timepicker code 2016-07-22 19:42:18 -07:00
Phillip Hsu
2ef36ea05f Number buttons clickable 2016-07-22 19:37:36 -07:00
Phillip Hsu
16dc0b94d7 Implemented basic header behavior 2016-07-22 04:26:59 -07:00
Phillip Hsu
a45be65824 Added header to NumberGridTimePickerDialog 2016-07-22 01:39:30 -07:00
Phillip Hsu
1e1a5a0439 Populating of views for number grid done in dialog 2016-07-21 22:10:35 -07:00
Phillip Hsu
cf17ba5014 Created NumberGrid time picker 2016-07-21 18:52:03 -07:00
Phillip Hsu
886f10b06c Deleted files related to ScrollingGridTimePicker 2016-07-20 20:34:58 -07:00
Phillip Hsu
a07cf222b3 Moved alt buttons and fab to dialog layout 2016-07-20 19:42:05 -07:00
Phillip Hsu
62524bc0b5 Moved alt buttons out of NumpadTimePicker and into dialog layout 2016-07-20 03:27:49 -07:00
Phillip Hsu
249a2c76f9 savepoint to revert back to 2016-07-20 01:37:08 -07:00
Phillip Hsu
a8f3fafafa Changed picker header 2016-07-19 23:11:37 -07:00
Phillip Hsu
ae83786b3c Bottom sheet time picker working 2016-07-19 20:45:05 -07:00
Phillip Hsu
ae6f4fc723 Testing anchored fab in dialogs 2016-07-18 04:11:43 -07:00
Phillip Hsu
081dd76545 Use rowSpan and columnSpan attributes for GridLayout contents 2016-07-17 16:40:48 -07:00
Phillip Hsu
bc2446d586 Created ScrollingGridTimePickerDialog 2016-07-17 03:02:57 -07:00
Phillip Hsu
d1c0820de4 Created BaseTimePickerDialog 2016-07-16 20:28:13 -07:00
Phillip Hsu
5405be9b26 Removed old numpad from use and refactored code 2016-07-16 20:04:58 -07:00
Phillip Hsu
abd2d55aa9 Replaced all stray RelativeSizeSpans with usages of TimeTextUtils 2016-07-16 17:40:17 -07:00
Phillip Hsu
ec3a75f8d2 Created TimeTextUtils 2016-07-16 14:37:41 -07:00
Phillip Hsu
140ce5505d Fixed input disabling when using 12-hour clock system 2016-07-16 14:13:00 -07:00
Phillip Hsu
d4de3b507f Focus grabber given focus correctly now 2016-07-16 13:59:54 -07:00
Phillip Hsu
0a7c007da4 Created focus grabber for time input field 2016-07-16 04:27:49 -07:00
Phillip Hsu
a6c8076255 Fixed input field cursor issues 2016-07-16 04:12:30 -07:00
Phillip Hsu
c0b914500d Fixed bug where clearing numpad did not disable the FAB 2016-07-16 00:39:39 -07:00
Phillip Hsu
231aa9a280 New numpad time picker layout 2016-07-15 23:43:55 -07:00
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
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