History log of /packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
206582b0111d3ef8f6f478dc7dd39fab2e56e7a2 02-Feb-2017 James Lemieux <jplemieux@google.com> Fab no longer double-animates when creating new timers

Bug: 34863910
Test: Manually create a new timer and observe the fab
Change-Id: Ib0a1e3ffa84f459c590a3ef82a18b848404741f5
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
7218c81fe44d25efccf85c6c9e753bc0524de410 13-Dec-2016 Justin Klaassen <justinklaassen@google.com> Refactor TimerSetupView

- Cleanup layouts and styles.
- Ensure proper theming support.

Bug: 25693255
Bug: 33416420
Test: manually verified timer setup screen in different configurations
Change-Id: Ib0715633c003d4ad672bc413dfd0be5e269b3b09
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
51917c54f72faa32d2cb3c287de3d0816b4f9017 06-Dec-2016 Justin Klaassen <justinklaassen@google.com> Add ThemeUtils to resolve theme attributes

Bug: 25693255
Test: manual - basic sanity check on API 25 device
Change-Id: I2a7e9ccfc695017a91b66a88e71b769f8da667ef
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
e41aa8639ea4f4b3b1077d9987ad0e4441634ac4 30-Nov-2016 James Lemieux <jplemieux@google.com> Animate fab and timer view change in parallel

Bug: 32703589

These animations used to occur serially. To parallelize them,
new UpdateTypes were added to only shrink and only expand
the fab and buttons. This allows these animations to be
synchronized with other animations that alter the view.

Also, creating the new timer had to be delayed until after
hiding the fab and buttons so that their state was consistent
as they shrunk. This mirrors the delayed removal of timers
that already existed.

Change-Id: I381b86fd55d5d51c522138c2b51996594da7f85e
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
74b84f6c4d1d12e6dd944fbd4456f4ab1eb05426 26-Aug-2016 Sean Stout <sstout@google.com> Adding play/pause animated icon for Timer and Stopwatch

Bug: 30810789
Test: Manually verified play/pause icon animates in timer/stopwatch.
Change-Id: Ib81fba107c7299b4aaf7f9313ee68429b31e82ff
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
dc73391a6ccf72db016e531daf33122e89786f0b 01-Jul-2016 Sean Stout <sstout@google.com> Merge "Talkback for new timer now sounds good" into ub-deskclock-gatling
1131e0a2e6d0d0e4cfacdf7fe56e20db04313e4f 01-Jul-2016 Sean Stout <sstout@google.com> Talkback for new timer now sounds good

Bug: 29939321

When reading back the time being set, Talkback will
now sound like a veritable human being.

Change-Id: I5eb17d305a80295d5a3051ee25b252ae912baaf1
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
8dd12689c62b6644c2586bb664999aec6e13e456 01-Jul-2016 Sean Stout <sstout@google.com> Talkback now says correct digit for delete button

Bug: 29804269

When using talkback and using the delete button on the
create new timer screen, talkback will now say "delete #
button" with the correct #.

Change-Id: I11782a98981f21cb70a0745a92b5e7f2a8be96bc
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
b3bbb6752894bd84f1697396e4a07e9821bab995 18-Jun-2016 James Lemieux <jplemieux@google.com> Use tinted vector drawables for backspace icon

Bug: 25793040
Change-Id: I2c33e23d2cd1d521c4deb13b0aaed381522ef189
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
ec6ad48cb8ac1875c8e3d5aa4cc6585f9d138771 25-May-2016 Sean Stout <sstout@google.com> Keyboard can now be used to create a timer.

Bug: 26055290

External keyboard number keys and backspace
can now be used to create a timer.

Change-Id: Idff9fac44d25f3e9e4cd6e84d64bce778e15ab7d
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
be4762e234a52b9959fd6f6469f076f17c2acbb2 14-May-2016 James Lemieux <jplemieux@google.com> Adjust timer setup layout for multiwindow

Bug: 26840878
Change-Id: I641090f90f2063964992a714b7f22f5ed3e19f92
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
cdd3253d7395b4e405765ddd892cf1f7d1cb2f82 28-Apr-2016 James Lemieux <jplemieux@google.com> Reduce memory churn for running stopwatches and timers

Bug: 28065873

String.format(...) was being called in a tight loop to format various
times (e.g. lap times, accumulated times, etc) when laps exist. This produces
more garbage for the VM to collect than is necessary. Formatting the
times directly into a reusable StringBuilder significantly reduces the
memory churn and removes intermittent GC pauses on older platforms
and low-memory devices.

Change-Id: Iad574cea7f827623bb4854458d43df76967d8c62
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
47c27cce92ef2f67fee787d7503354291d3c0df2 06-Apr-2016 Fan Zhang <zhfan@google.com> Use avd for stopwatch lap to reset button transition.

Bug: 28026276
Change-Id: I9d2f12d96bf1d32e66a6f6023f6bfb5d90b3eccc
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
c624a3fb698c13312a5e14114c37f45e3b3438bc 22-Dec-2015 Justin Klaassen <justinklaassen@google.com> Fix build warnings

Bug: 26292420
Change-Id: Ib5d8b09fa9d70f408c3097654bae5b6906fac048
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
e75ee0f1dae990bcba5f7b2811d2c5541297fd3d 11-Dec-2015 James Lemieux <jplemieux@google.com> TimerSetupView now repurposes fab and buttons

TimerSetupView used to have its own fab and a custom button for
the X icon that cancels timer creation. It now utilizes the application's
fab and buttons. This ensures that fab/button locations and
animations are uniform.

Child fragments and views no longer have direct access to the fab
and buttons outside of specific callbacks. This design attempts
to remove past bugs where irrelevant views altered the state of the
fab at inappropriate times.

Change-Id: If8c69246e915f6357df80a6d8107f7b2b5a6172e
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
bdcbdd7e5af5adb40948af3d1926b23dc06973bd 23-Nov-2015 James Lemieux <jplemieux@google.com> Fix creation of first timer via voice

Bug: 25843144

Attempting to view a specific timer trumps the timer setup screen
in all cases. onResume() now enforces that policy. The timer setup
screen is still displayed in all other cases, including:

- no timers exist
- the intent indicates a new timer should be created
- the last visible timer screen was the timer setup screen

Change-Id: I28d147cadeb29055fa0c68a44da6648f6ad33238
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
739e1ed7f36f113cd8e98b1fcf17416e4065ece8 19-Nov-2015 James Lemieux <jplemieux@google.com> Fix fab disappearing on rotation when no timers exist

Bug: 25779786

The issue here is that TimerSetupView actually customizes the fab.
These customizations include setting it invisible. It was a poor design
to share the fab with this view. So, the fix is that the view now holds
its own fab-like button that it is free to manipulate without fear of
altering the app-wide fab state unintentionally.

Change-Id: Ie83b03c98db4f77e0be912b122b6f74c2c7e6c8a
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
e100e102b001ea0a61b079b1aa1b766d10504501 12-Nov-2015 James Lemieux <jplemieux@google.com> Fix mandatory timer creation screen

Change-Id: Ibe429ba988a8842715c8732b4524eefb2655f7e4
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.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/timer/TimerSetupView.java
683b5100b411fe9a747b9a194bf75caa714073c4 25-Sep-2012 Isaac Katzenelson <isaack@android.com> New time picker

Change-Id: I805316cc11f6a8b3e4dd40f1368f386df536d612
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java
b29cd6c4f734e236a500f41d046105020b73513a 13-Sep-2012 Isaac Katzenelson <isaack@android.com> save timers state

Change-Id: I0aa60c2fdb47d59378cd485f4508515d8830104d
/packages/apps/DeskClock/src/com/android/deskclock/timer/TimerSetupView.java