History log of /packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d11a33629ced143c87d047ba6097d259cb4d31b 09-Sep-2013 Robyn Coultas <coultasr@android.com> Start/Stop button in stopwatch is animating poorly

Bug: 10656637

To get the poor animation to stop, also had to put spacers in the portrait layout.
In the end it is better that portrait and landscape transitions are effected identically.

Change-Id: Ic79b6bdef6dfe5fae02cde3eb8f88893978ef1aa
(cherry picked from commit 491d478228091d46be86fff362b67ac966f56893)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
7bede55f78581a5f34348331f2825043039fc6b5 31-Aug-2013 Robyn Coultas <coultasr@android.com> stopwatch animation redlines

adding list view item motions
Change-Id: I14a095ed27041a4bb5c956fa4968efbb0b8f9038
(cherry picked from commit 319265e3e8564f3e71dca8bc752632c9a1708938)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
aef481fbc9a7d7a4a52fae82714e3d14152d38e6 30-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Remove Log.wtf in stopwatch state

Bug: 9524946
Illegal state is stopwatch button may happen in monkey tests but it is harmless.

Change-Id: I5fb1bf4af4b61ee981d13329d0a3d31685582b59
(cherry picked from commit 63515135fa5f2f83580a95ac70000b91872f2f93)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
3d9a0df6060aaa3d621eb7315eb9b085da5099fb 27-Aug-2013 Robyn Coultas <coultasr@android.com> Basic animation for stopwatch -

Stopwatch moves from center to start for landscape or top for portrait
Change-Id: If6e059bdfba2f747349c53230daaa7a9e26dcc5c
(cherry picked from commit cffb4dbf6e1fed0e0c18c2ea5073227c85ca3f9a)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
de58829c88927b4eb9c7b483da7f0394c538a071 23-Aug-2013 Robyn Coultas <coultasr@android.com> Preparation for animations if Timer and Stopwatch

Converted CircleButtonsLinearLayout to FrameLayout and renamed
CircleTimerView: always draw circle in view center
CountingTimerView: remeasure text size if view's size changed
StopwatchFragment: some lint cleanup
in the layouts:
remove unneeded layout id and attributes
remove unneeded layout layer in timer_list_item
remove unneeded landscape timer_list_item

Change-Id: Id67e1120c86679c03b55f5b6d714cac233d37842
(cherry picked from commit c9524f8b8216c7854de4c69c44c9bb63e4097a18)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
6c0c56926fd210a45ab745ba122f2022f6eff7da 17-Aug-2013 Robyn Coultas <coultasr@android.com> Incorrect top lap time format once any lap >=10m

The time update function called the wrong formatting functions
when the active lap's time was updated. Did not notice bug
when testing c/338529.
To test, one lap has to have >=10 minutes, then record another lap.

Change-Id: I268d08813cbd0f4a44bcff536d40788f6b657806
(cherry picked from commit ab7b489e853a376d4e06d74c5ee42747bb8ffed7)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
74b364db3f02f6f55a25dc4ed2ae2d3bc54b995d 04-Aug-2013 Robyn Coultas <coultasr@android.com> Do not invalidate listview just to update one time

Suspected mLapsAdapter.notifyDataSetChanged() was a key contributor to bug
7289174, but that proved not the case. This change does eliminate unneeded
view repaints in the listview.
Included some clean-ups.

Change-Id: I76e4698e17e3b8c6b1f988f09f96c7f7ec783d53
(cherry picked from commit 9c483781c2a4bbc2b7ca228ea959f99cc0be149b)
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
e20035484e5a0425c5fd2ee2ad57a0eab64d96cb 10-May-2013 Isaac Katzenelson <isaackatz@google.com> Hide fragements onPause

Bug: 8838745
Hide fragment's view in onPause to prevent showing stale time in onResume

Change-Id: I7f15fcc38a54ca0a8f48657ceeb2a54217157cc9
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
45a2e4b95dafe286ab0fac957d50431124c3427e 13-Nov-2012 Robyn Coultas <coultasr@android.com> Aligning columns in stopwatch lap times

Bug: 7282042
Bug: 7539981

margin between total and lap times
string-array format for lap# and lap,total times
lap display centered in portrait
optimized landscape layout to give more room for list
using '#' instead of 'LAP'
removed unneeded margins on world clock; new dimen for timer margins
char limit on "Lap" and the hour, minute, second abbreviations
sw list handles times up to 1k hours
circle handles times up to 1k hours

Change-Id: If4e884ffd7b87986024c6d5a5990e529b1d6d736
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
0548712a944f298d0d785373056c83ad460fe5d0 28-Nov-2012 Isaac Katzenelson <isaack@android.com> Keep screen on when running stopwatch

Bug: 7538100

Added a wakelock to keep the screen on when stopwatch is running, the clock
app in running and it is in the stopwatch view.
Added a callback and a listener to track the current view in the clock app.

Change-Id: Ib2af1dcd510321afc805c54d4155346eeca7fffa
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
fccd1dcdf6d83edc800e64d0494872a1c688acae 23-Oct-2012 Isaac Katzenelson <isaack@android.com> Add LAP label to lap info

Bug: 7350699
Change-Id: I3661245aa84480656d8718412d8bf80dc1aab296
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
7bcc2d8ce2951a8f5451e93a5192b7ae04564de0 18-Oct-2012 Sam Blitzstein <sblitz@google.com> Replace lights out mode with screensaver.

Removed the lights out code.
Added in explicit screensaver mode.
Also fixed bug related to timer labels on device rotation.

Bug: 7328141
Bug: 7339168
Change-Id: I7df3567888ee04ad9a335c34d51384bfaf24e6b3
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
f67abfd4e9d546732d67d0b3afe57921e34b7dcd 12-Oct-2012 Isaac Katzenelson <isaack@android.com> Clear data on boot

Bug: 7329086
Change-Id: I8c60351ff23ea70c34b50b1fb5522bd431190100
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
0f6e3350fed144e3909ba4e45f3006f042c0187c 11-Oct-2012 Sam Blitzstein <sblitz@google.com> Adding ability to label timers.

Bug: 7203259
Bug: 7324818
Change-Id: I482f4500bfab29ec0ace9b661d72e79473c40f25
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
932e0129e244e2874dfa3c6be58b2fe9a20cc89d 10-Oct-2012 Sara Ting <sarating@google.com> Improve accessibility for visually impaired.

Bug:7303805
Change-Id: Ie215ace8c14c0399448bd297157c0a48ef24e0d5
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
357497c341662c56945e22e458852f52a977efdf 09-Oct-2012 Sam Blitzstein <sblitz@google.com> Implemented lights out and dimming.

Bug: 7234512
Change-Id: I808d992bc58febc0d13d32e95531b6211d598792
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
386d8b05069c95899149c4b18542fc18c3761314 05-Oct-2012 Sam Blitzstein <sblitz@google.com> Moving buttons for timer and stopwatch to the circle.

Also:
Ifa31068794c1bd94dfe2cf0d9234a80082375617
Fixed merge and usability problem in red-line.

Bug: 7257616
Bug: 7238147
Bug: 7238185
Bug: 7271163
Change-Id: I0ec99a83ba5bdefbd175361829fd96e48c1d5a32
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
646258f02bdeb2f9436b8d844514fa8feca383dd 05-Oct-2012 Peter Ng <petergng@google.com> removing box press states and changing icon color instead

Bug: 7238185
Change-Id: I86d7ced51b080d085de3b04ea62ae2daf9303682
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
e40b31200dee36341e5697b2774799555ca79c9b 05-Oct-2012 Sara Ting <sarating@google.com> Make timer text into a virtual button that starts/stop timer.

Bug: 7238147
Change-Id: I2d68975c6e1d5001b662897787856e241646f010
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
6b9508b70d9bb11590f96ef4ff6d5dfc703ac868 04-Oct-2012 Isaac Katzenelson <isaack@android.com> Move buttons to icons.

Bug: 7257710, 7238147

Converted all buttons to image buttons.
New layouts for timer to tie together the time display with the buttons

Change-Id: I0fbddd1050f98a1a2f1f542bef8cdfb80f005c23
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
a1e56f0e0cd571a4a39019eb0c18c6cfdf9e71e0 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/StopwatchFragment.java
644a5d887d7033e669ac362a8ed6e79197d13c72 02-Oct-2012 Itzhak Katzenelson <isaack@android.com> Fixed bugs to maintain timer state after quitting.

Bug: 7216816
Bug: 7233619
Change-Id: Ie2e4e06c60a8836e1a315f20c866595311b68a67
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
370bdb2a82a67be083e7589930c0d2462b82c3ed 30-Sep-2012 Itzhak Katzenelson <isaack@android.com> Various bug fixes

Bug: 7186324, 7256939
- Crash on dream, obsolete text clock was selected.
- Remove stopwatch lap headers

Change-Id: I18338b1525185150a25a48567a4e6debad05d9e6
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java
113e1daddd8cb0e890084aa4b6ea3194d8ad4826 26-Sep-2012 Sam Blitzstein <sblitz@google.com> Add notification for timer.

Change-Id: I22bec04942ab46fd7d446c2aaf27d29b07052df3
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/StopwatchFragment.java