437da3b08ce9ce1b32f4e544816cb3431ceb8d4e |
|
13-Nov-2015 |
James Lemieux <jplemieux@google.com> |
Simplify HandleDeskClockApiCalls, TimerService and StopwatchService HandleDeskClockApiCalls used to pass through all timer and stopwatch mutations to the corresponding Service to complete. This complicated the logging of the corresponding event unnecessarily. After this change: - StopwatchService is only invoked from stopwatch notifications and may now assume the event label - TimerService is only invoked from timer notifications and AlarmManager and may now assume the event label - HandleDeskClockApiCalls.EXTRA_FROM_NOTIFICATION has been replaced with HandleDeskClockApiCalls.EXTRA_EVENT_LABEL which explicitly identifies the label of the event Change-Id: Ic9796c43e826f82138ee431d3abb02524c0146ba
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
6d603b7c62bb38d763a681a8bf20fadb1442e833 |
|
07-Nov-2015 |
James Lemieux <jplemieux@google.com> |
Refactor Timers to use new unified DataModel Bug: 24816218 Bug: 25494722 This refactoring introduces a Timer domain object. Instances of these domain objects are fetched via a DataModel class that is the single point of reference for all timer data. This allows the data to be shared across the entire application. In particular, the timer notifications, TimerFragment and ExpiredTimersActivity all draw upon the same model to determine what the state of the timers are. IMPORTANT: The public intent com.android.deskclock.action.STOP_TIMER has been renamed to com.android.deskclock.action.PAUSE_TIMER to be more accurate. Change-Id: Ib904e80a25c6de1861de2b395bec27db16ff0e66
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
24a54fc16fdf95ee3f76ab99978c3401473dc516 |
|
19-Sep-2015 |
James Lemieux <jplemieux@google.com> |
Refactor Stopwatch to use new unified DataModel This refactoring introduces Stopwatch and Lap domain objects. Instances of these domain objects are fetched via a DataModel class that is the single point of reference for all stopwatch data. This allows the data to be shared across the entire application. In particular, the stopwatch notification and StopwatchFragment all draw upon the same model to determine what the state of the stopwatch is and what laps have been recorded. Change-Id: I6bda1fda73568cb312b167f1f6b10bd1abc99d62
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
835d732f739b0e96bb0d10b0ff1fd1a61fbdeb1c |
|
11-Sep-2015 |
Annie Chin <afchin@google.com> |
Re-style stopwatch notification to match that of timer. Bug: 23936610 Restyling for L+; KK is unaffected. Fixed font style/caps/color. Fixed left-alignment. Switched order of actions so start/stop is on the left (like timer). Removed vertical divider bar. Added padding to horizontal divider. Tinted action icons to proper gray. Change-Id: I48131fd30738aad692a70a7adb1a3e5c583483e8
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
80ebff21a059606a532ef789ecc0bebcb97a56d9 |
|
17-Jul-2015 |
Annie Chin <afchin@google.com> |
Update stopwatch circle on RESET_AND_LAUNCH intent. Bug: 22551300 Stopwatch circle only updated when app was open (notification not showing). Expand that to include when app is being reset and launched. Change-Id: I4f48d3f9454fd088218076f50aef0b5ab2876291
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
5238e2f897bc7c49129fa32b425ab5c9f929b8bb |
|
09-Jul-2015 |
Daria Evdokimova <dariaevdo@google.com> |
Updating UI on state change of stopwatch b/22357487 Change-Id: Iaec06ff20ccbf0225361b919ed5b55f35416f994
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
972fca903a5272631c2cfbe5f111adc8edeace51 |
|
12-Jun-2015 |
Daria Evdokimova <dariaevdo@google.com> |
Move DISMISS_ALARM & rename HandleVoiceApiCalls Renamed HandleVoiceApiCalls to HandleDeskClockApiCalls. Removed the VOICE_ prefix from all the intents in that class. Moved DISMISS_ALARM to HandleApiCalls instead of HandleDeskClockApiCalls. Change-Id: I17a1271e68a4b275ba8f4d471a61a7b02e6ceac0
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
5f594531901d5f562c0c6a8e1d4ffd2e57709764 |
|
27-May-2015 |
Daria Evdokimova <dariaevdo@google.com> |
Added Voice Action Intents Added Voice Action Intents for Alarms, Clocks, Timers, and Stopwatch. Fixed bugs that prevented the UI from going idle when a timer/stopwatch is running. Added Tests for intents from HandleVoiceApiCalls. Removed static imports in HandleApiCalls. Fixed a bug that didn't cancel a pending intent for an alarm after it was deleted. Integrated Intent Actions based on updates to AlarmClock.java MNC. Bug: 21337563 Bug: 21337557 Bug: 21336697 Change-Id: If82bfad6487989839defc81483dff603c53e7cb8
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
7f5209b10f08a3919245552516e60b4f07982a04 |
|
27-Feb-2015 |
Annie Chin <afchin@google.com> |
Update snooze notification icon (white for pre-L, tint for L+) Also rename all notification pngs to follow the convention ic_NAME_COLOR_DP.png and all notification drawables as ic_NAME_DP.xml Bug: 19458148 Change-Id: I7da333e4715d84f5c59dbc8be2c62ef24b3176d8
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
0375d600d259a2270564221030c44d915b28c358 |
|
25-Feb-2015 |
Annie Chin <afchin@google.com> |
Update icons for pre-L stopwatch/alarm notifications. white notification icons for pre-L; icons tinted for L+. Use NotificationCompat in StopwatchService. Bug: 19458148 Change-Id: I4825462e3192185bca8016179f50e158bb279433
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
615c158b8ddf30bc5e4b4de33d4d6d6a0507c1e9 |
|
19-Feb-2015 |
Annie Chin <afchin@google.com> |
Make stopwatch notification pre-L compatible. Use dark-theme-friendly notification colors Change color on notification click TODO: Get white notification icons Bug: 19387063 Change-Id: I68bb2e249602fd21e7cea0713342d970836a1a65
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
86097d8e86ef480d0aeb7475e22d27d33e1a1e87 |
|
14-Oct-2014 |
Budi Kusmiantoro <budi@google.com> |
Set deskclock notifications to local only Bug: 14683075 Change-Id: Ie3d8843223196e672e5324ef51b9bafdf1727a82
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
5b986600a3b458123555107f7845331fecafc0e7 |
|
11-Sep-2013 |
Isaac Katzenelson <isaackatz@google.com> |
Add category to stopwatch intent Bug: 10711760 Change-Id: I09864e22899c14d071c28fe45278c67615879e1e
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
9d815e84d50207f0846f2ef486e5c2d62ebdb0fd |
|
13-Aug-2013 |
Robyn Coultas <coultasr@android.com> |
Support RTL in clock notifications Bug:9942331 Replaced setTextViewCompoundDrawables with setTextViewCompoundDrawablesRelative Change-Id: If154d26f362e96a0781a192ee1acc74476a4bc88
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
58c329f52d7952597ae7a4e88fc2ec9e15ddd93a |
|
19-Oct-2012 |
Robyn Coultas <coultasr@android.com> |
Renumbered Timer+Stopwatch notification id Bugs: 7367575, 7367541 Change-Id: Ie64fa1ebfb38976a13385c50621bd71d81068dd9
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
faa270335b9a9985a46b594f209973dd1828a944 |
|
12-Oct-2012 |
Isaac Katzenelson <isaack@android.com> |
Merge "Switched stopwatch notifications to use correct icons." into ics-ub-clock-amazon
|
ced28530ba3721cb061d9ebdd41cd84ebc16d45a |
|
12-Oct-2012 |
Sam Blitzstein <sblitz@google.com> |
Switched stopwatch notifications to use correct icons. Set the stopwatch notification to use the better-sized icons. Change-Id: I50a99f0053cbde9f9ba3bb5152e3eeb42b2130a7
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
44f3415c62f7420c21605c9af14bf2dc4ca44573 |
|
12-Oct-2012 |
Robyn Coultas <coultasr@android.com> |
Stop stopwatch service when not running. Bug: 7327863 Change-Id: I01c3ebafcd15238448c618e66b7a5097fc74d1a3
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
20e74e59a1f23d99571a31ca4b105244363849cd |
|
05-Oct-2012 |
Peter Ng <petergng@google.com> |
removing box press states and changing icon color instead Change-Id: I86d7ced51b080d085de3b04ea62ae2daf9303682
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
4eee155f772c68e390716e6409fcb8414851d6cb |
|
03-Oct-2012 |
Sam Blitzstein <sblitz@google.com> |
Updating stopwatch notification icon. Bug: 7255419 Change-Id: I4e782395a3f044f2387c0e9d2099684695879243
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|
287f2d82aaf91d881f5de50a133d21684a8d4821 |
|
26-Sep-2012 |
Sam Blitzstein <sblitz@google.com> |
Add notification for timer. Change-Id: I22bec04942ab46fd7d446c2aaf27d29b07052df3
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchService.java
|