• Home
  • History
  • Annotate
  • only in /packages/apps/DeskClock/src/com/android/deskclock/
History log of /packages/apps/DeskClock/src/com/android/deskclock/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
00c596f20b40c6e2c2f12ec5d6ee8d330794cda5 12-Nov-2013 Paul Sliwowski <psliwowski@google.com> Add buffer check to fix TIME_SET marking an alarm missed.

BUG: 11630502
Change-Id: I27212246777e0ca5b27688f7f17e883d944fccee
(cherry picked from commit 974ea92ab9d0b4757fb9cdbb34f7c2fe329e1c24)
larms/AlarmStateManager.java
5f601e445290552e9d63ef3a6797ddd99dab61a2 04-Nov-2013 Isaac Katzenelson <isaackatz@google.com> Remove log.wtf lines

Bug: 11497149
Change-Id: If491d3728e09b6fc19163b383c1e7a45bb0c9c28
tils.java
fd951391d173cabf53bcdb80c1a47d1ac504bfcc 30-Oct-2013 Paul Sliwowski <psliwowski@google.com> Merge "Fix issue where old alarm manager triggers are being listen to." into klp-dev
dfd196054474c7f3adf45b9b5253f0120a64c4cf 29-Oct-2013 Paul Sliwowski <psliwowski@google.com> Add more logging to AlarmActivity to detect bad dismisses.

Bug: 11420905
Change-Id: Id4a66d2749929105a6a6d75711a720222bc84cf3
(cherry picked from commit 656501b527f8d6c601ca2c4c1fb4fdfab4648ba4)
larms/AlarmActivity.java
c8831fa8a58a1f56ffdee8b880dcbf3a57fb74ca 26-Oct-2013 Paul Sliwowski <psliwowski@google.com> Fix issue where old alarm manager triggers are being listen to.

Bug: 11272466
Change-Id: I2d70dde96c28405f3f28c09f8e719119b1b117b0
(cherry picked from commit 25b9df53e993ee775c4733e61b8fef2aa358ef70)
larmInitReceiver.java
larms/AlarmStateManager.java
c9189ee8fe0ea5e538d8550034a4b246353a0db7 28-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Fix quarter hour calculation

Bug: 11410710
Change-Id: I0aa6b60352febcd48d4a850778d48ddd7d0edded
(cherry picked from commit 851c662d9f02e76c9fd23426c9e6713521e01aac)
tils.java
ef5ac86911ce094af96c1f655500a09cf1b2aaeb 16-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Fix snooze message.

Bug: 11255815
Change-Id: I8cdbe04fa65f7bb97057bf72a2d87ef466cae0bf
(cherry picked from commit 0d784080acf4d655ef3b7435d1711937f8bbdd7c)
larms/AlarmStateManager.java
8a54613295c61c113d813cd4b26e53a4093977e4 15-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Merge "Fix content description of time in alarms list" into klp-dev
3de6101352a49cb7f70a42d0a00cfe68cd78a23a 14-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Fix content description of time in alarms list

Bug: 11169940
Change-Id: I90ae1606097e9e1ba218ae72e56a97d63da9e48e
(cherry picked from commit 8d96e0448699b7b9d36fd8d82c7738ed526673cd)
idget/TextTime.java
dd97056fa889b35ce850fd0107e2f59b925bae49 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Clear logs in Clock

10732543

Change-Id: I71a9b183a2f9f6bd9f17b88c36e58188eef198ec
(cherry picked from commit 4ae58071f0a48099021e5d141ed98606cfe999cc)
ettingsActivity.java
tils.java
imer/TimerReceiver.java
51c9dc7ec998825916d0d5466897c4b00ede4f5a 12-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Really remove am/pm on widget.

Bug: 11119295

am/pm was not removed but was reduced to 0 size. This CL removes
the am/pm completely.

Change-Id: I0bef3dec7f4ec8cdc3ecb136cb657c53f6989b65
(cherry picked from commit 36ac292d66cf5b5a5776460cc9800be792e10adf)
tils.java
f9c17a244f7ac320808b45cf4d9d4bbe8c5343c0 11-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Use best time formatting for widget

Bug: 11119295
Change-Id: I7d463eb5d4ab7268fdfdfc38613042a45dd901e6
(cherry picked from commit 8b8542c44a744b7afc5c9af34bbfec924e13a963)
tils.java
idget/TextTime.java
6963d4e54776a1b848fbd7e2c7535e7aef2e3740 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Use best time formatting for clock - part 2

Bug: 11119295
Change-Id: I72fed7082b13b12863af1b79ce4b0a15ef554216
(cherry picked from commit 3a4ba0db218b830af3dd17fde2952125a2e50fdc)
larmClockFragment.java
creensaver.java
creensaverActivity.java
tils.java
larms/AlarmActivity.java
idget/TextTime.java
orldclock/WorldClockAdapter.java
c85619c7d0565cb4f0e2844ac314f4bc9fde7093 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Merge "Make sure TimerReceiver gets intents on time" into klp-dev
b30ec39dcb5d4fb392d4090c346e0f8c57c995de 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Make sure TimerReceiver gets intents on time

Bug: 11122055
Change-Id: I6c061646a8f111c0e67ee9b296b4149965a9634d
(cherry picked from commit 7ec0bb65037767fc39c9d737380a900c8fca7173)
imer/TimerFragment.java
41bfc41aec6b735f64d75ba79b85029dd5b0f6ed 10-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Use best time formatting for clock

Bug: 11119295

Change-Id: I3a37abddf55d4c1f2c7dfedb5854ebc4b0722062
(cherry picked from commit 690f451a6aea35d944cb2eaddf488d3acf377184)
lockFragment.java
tils.java
6ff2962d9a2726bacffa20ed09e3c3346fe7491d 09-Oct-2013 Isaac Katzenelson <isaackatz@google.com> Update SDK version check

Bug: 10732543
Change-Id: I5141cee374778888f6b27ea9726ccdee0daca7cd
(cherry picked from commit f1ce98a6e2972854968488d2a28adbc29364b0f9)
tils.java
larms/AlarmStateManager.java
imer/TimerReceiver.java
c677dfde1d276531c10efd8008b342318b04782e 08-Oct-2013 Paul Sliwowski <psliwowski@google.com> Fix NPE when deleted alarm is null.

Bug: 11121223
Change-Id: I798749516072375c37635bd5cb884e0ffd79f40f
(cherry picked from commit 28c78f7d65524c99e47ffac6715af427aa81297e)
larmClockFragment.java
3a7dbb543be43efdf88491b39aa82ef8b7cfc87b 08-Oct-2013 Isaac Katzenelson <isaack@android.com> Merge "Stop service when it is not needed." into klp-dev
a65b19b6ab0586a4bdbd8867efc0b0c80f09eaa5 08-Oct-2013 Paul Sliwowski <psliwowski@google.com> Fixed bug where deleting an alarm doesn't stop it from ringing.

Bug: 11118579
Change-Id: I00b1b44222164d6f9f51f6b820b58a0aac5ca080
(cherry picked from commit 5425e6f87d16c945c5320f20f8b61f5add235da1)
larms/AlarmStateManager.java
91441304feead2d27a2dbdf108526e9c49bb91f9 04-Oct-2013 Paul Sliwowski <psliwowski@google.com> Stop service when it is not needed.

Bug: 11068604
Change-Id: Ic077d607b329fe34373c347de3234c30e7856306
(cherry picked from commit 1ded8d5b5236faf0c012f3006009c2829dc56482)
larms/AlarmService.java
248ade5f5f270878f3d035ca77c9208629fa6523 03-Oct-2013 Alon Albert <aalbert@google.com> Days Extra Should be an ArrayList<String>

But accept int[] too.

Bug: 10492773
Change-Id: I5338388f756087d6fb37d47a1c7b3bdc2e043abb
(cherry picked from commit 742cdd52a41758b6f4cca9a635e1f398260ce4f0)
andleApiCalls.java
7f110327c3e26018c3d0e05fe5994f148279ee09 01-Oct-2013 Paul Sliwowski <psliwowski@google.com> Fix expanding and scrolling in AlarmClockFragment.

Bug: 11007039
Change-Id: I195c98190c8264a4e226b9ea32b8d0cec11c6c8d
(cherry picked from commit 7870ba87d20ea47e3fc909c1431b057241410b90)
larmClockFragment.java
8ecc6f2c6e1697940bf611d5e3e830dd9c590643 30-Sep-2013 Alon Albert <aalbert@google.com> Replace DigitialClock with TextTime

Bug: 10823373
Change-Id: I67a5baf46fb7273130eb2ad3fdcac497f96a1ea5
(cherry picked from commit 1f33a02b053c1de549f2d3bf23df93d83defac98)
larmClockFragment.java
igitalClock.java
idget/TextTime.java
31923813fa307b38c2f6017064537f1749c5479b 28-Sep-2013 Isaac Katzenelson <isaack@android.com> Merge "Add Jakarta to timezone list." into klp-dev
f617020b023ac986cf0a40af1c021f54936d02a3 28-Sep-2013 Paul Sliwowski <psliwowski@google.com> Add Jakarta to timezone list.

Bug: 10198358
Change-Id: I89e2971a6806a2b89b877b9edf2f3adcea4729c8
(cherry picked from commit bea96c7e3cc3295f4466569776ec660471e601da)
ettingsActivity.java
a7b63b5c30def91c1478198f88fa71d4b3bec3ae 28-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Add colons to main clock

Bug: 10823373
Change-Id: I3cc04f9e02510d0eb1e1c95b88601beba867a9f1
(cherry picked from commit 3d1b3cdc37bfb3188ae7450270c2db42108fa4c7)
orldclock/WorldClockAdapter.java
9db602092a4c7dc532c83ca0ebcfe9faaeefbc88 27-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix scheduling bug when changing between months.

Bug: 10817487,10967071,10967052
Change-Id: Ia97dc769d8345748d76ae0963faf4f4888450936
(cherry picked from commit 87c0d2def7b0f693495c5034bf9fae12a05c1f69)
larms/AlarmStateManager.java
rovider/AlarmInstance.java
d968d6707f61078c3afacffa08c499ee9ed472a5 26-Sep-2013 Alan Viverette <alanv@google.com> Use drag-to-open overflow menu in Alarm and Clock fragments

BUG: 10903795
Change-Id: I6288b5d4d579cc7a0aa8c0142d3249c3da232b3e
larmClockFragment.java
lockFragment.java
eskClock.java
eskClockFragment.java
4ab551a799a5a3ece94a5deb84a0644cfe5fa188 25-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Reduce dim factor of clock dream

Bug:10845151
Change-Id: Iae2aebfbbc19956df95c087007b6c84febcf4bfe
(cherry picked from commit e8709b46a14defe610515a1a4c4fefa32ec9b044)
tils.java
137e706b930f7687d71d1128f9bfb812aef6aa69 18-Sep-2013 Sam Blitzstein <sblitz@google.com> Fix alarm expanding issues (correctly).

Use expandAlarm() directly instead of getView().
If alarm is not in view, no need to expand it explicitly, it'll
happen on its own when getView is called.

Bug: 10695073
Bug: 10840150
Change-Id: Ica8816b9770791b83c94f2c5dc349569f46d8e14
(cherry picked from commit d3859fa83e49d8df90dfeca38bfbab8f73a8d92c)
larmClockFragment.java
ebc6a3875a893f12596499961686474231df5fac 21-Sep-2013 Elliott Hughes <enh@google.com> Correctly localize the "next alarm" formatting.

Also fix the time formatting in the world clock list of cities.

Bug: https://code.google.com/p/android/issues/detail?id=59297

(cherry picked from commit cad0b1d4fdb4d0572464986e3f5ab6661445a1aa)

Change-Id: I124feec2273f9cc88c0cd2ab8d87d772178ff2e1
larmUtils.java
orldclock/CitiesActivity.java
4ec07f802f5278fd9830456c32ac49742c1a0eac 20-Sep-2013 Isaac Katzenelson <isaack@android.com> Merge "Re-activate missed instances, if system goes back in time." into klp-dev
7c24dcae33d195c1611101c7f72462ee9b096bb2 19-Sep-2013 Paul Sliwowski <psliwowski@google.com> Re-activate missed instances, if system goes back in time.

Bug: 10710605
Change-Id: I30ede3b9822cbbeb3679d7b3f28f5a360cf1c618
(cherry picked from commit ef222b9053a8982d31fe32d78cdca3e02dd4c3e3)
larms/AlarmStateManager.java
rovider/AlarmInstance.java
18df9f6652ea20c2505e1db383b731b6848119b3 19-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix NPE in DB upgrade.

Bug: 10840863
Change-Id: I6ea349e2e0f7af1b44247c7698ed881550319636
(cherry picked from commit fd8ddaaa59e8b5e150ac450baad16dfaee1b1881)
rovider/ClockDatabaseHelper.java
9a1057d6cd6eab416762ea0957c8c0e91bba28d4 14-Sep-2013 Robyn Coultas <coultasr@android.com> DigitalAppWidgetProvider is receiver for actions

Bug: 8239532
Bug: 10695465

DigitalWidgetViewsFactory lifespan was not unlimited, so using
it to receive actions was inappropriate. Moved all handling into
DigitalAppWidgetProvider. This change lost some of the optimizations
that DigitalWidgetViewsFactory had.

Replaced previous Utils.ACTION_ON_QUARTER_HOUR users with code that uses postDelayed

Change-Id: I27a7b96f8ab85f8f72c7e1b75d55a9616c3db859
(cherry picked from commit 3bb9d29c12584480f3651ccbef86f2777c0b7818)
lockFragment.java
creensaver.java
creensaverActivity.java
tils.java
c49f0e205b81ac24e1a66a238e769317b1b3acc4 19-Sep-2013 Paul Sliwowski <psliwowski@google.com> Revert "Fix alarm expanding issues." This is causing a null pointer crash.

Bug: 10840150

This reverts commit d1e550a15cadc6d43212b75e8d9d26107879ce39.

Change-Id: Icc0c2305dcb403a151c82f517ea3b9e9836c2556
(cherry picked from commit a7678e4f6f64d63d4b13a380820535b126b7652e)
larmClockFragment.java
2f22529eb09bb6f26e8d3395493d37d1d177adeb 19-Sep-2013 James Kung <kingkung@google.com> Sort by offset (with DST) instead of raw offset

Bug: 10690023
Change-Id: Ic91389220066f58c3b4ecc39634e83e491c7b832
(cherry picked from commit 75508868c1c02ae1b23969f12106f409a7ea5504)
orldclock/CitiesActivity.java
orldclock/CityGmtOffsetComparator.java
36fa93b47ba440347dd45d28340789945e62be2d 18-Sep-2013 Sam Blitzstein <sblitz@google.com> Fix alarm expanding issues.

Use expandAlarm() directly instead of getView().

Change-Id: I69dc118cd305a59e7f536db1d7e347184e261be8
(cherry picked from commit d1e550a15cadc6d43212b75e8d9d26107879ce39)
larmClockFragment.java
144d2a0809347eb9a7f8c6e5ac5b7b72114ada32 17-Sep-2013 Robyn Coultas <coultasr@android.com> Update text size whenever view's size changes

Bug: 10749553

Also removed unused code (missed this in 'Remove units in CountingTimerView')

Change-Id: I2bcd44912baa9b375c402d30ea500ebc15493818
(cherry picked from commit b9accf1c0da8bfb4b7daffb237c581f27f7a0823)
imer/CountingTimerView.java
2c1f84a6fc46b7bae503f3844a6921df38ca592d 18-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fixed +1 issue on timers.

Bug: 10805692
Change-Id: Ic039d5db6f4ace10e1f855ef95e8614aeef0ad0f
(cherry picked from commit 5a90946cb69e50a9cbf907dda69bfc55087f63a9)
imer/TimerReceiver.java
248a0a511e5264d37ffc6f622bc185b785bfebb1 12-Sep-2013 James Kung <kingkung@google.com> Update selected city names on locale change

Bug: 10569308
Change-Id: I620bce5fa896b22ec48a193b9a15b771d2ffa2fa
(cherry picked from commit c026745245d7d61f04c30d1b095afb69cf535a02)
orldclock/CitiesActivity.java
5a20d3df4f265058adc639cfbc2db701f1c4d711 14-Sep-2013 Robyn Coultas <coultasr@android.com> Fixed incorrect child measurement

Bug: 9367918

The measurement specification EllipsizeLayout gave the child views
did not cause the child to return the width it could use, but instead
it just returned the value it had in the original layout measurement
cycle.

Change-Id: I46d5a8e6582eb21725251376eccf57fac57d4817
(cherry picked from commit 600418628ff5c3c98847d825ae370d7803377a05)
idget/EllipsizeLayout.java
73ee47ca9ad037d177e40c5eb20a9d36a732e14e 12-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fixed scroll to view.

Bug: 10681753

Change-Id: Idcf79eb4297cf7cdf05c299e8c0aad9d7bb858a0
(cherry picked from commit 6806f6761dd6c10df03ad0c564a4c741a70244e0)
larmClockFragment.java
andleApiCalls.java
larms/AlarmNotifications.java
larms/AlarmStateManager.java
b84ef1ec543ad0f2c08f2010be4872a9f493b8cb 17-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix alarm clock silence time when set to none.

Bug: 10786154
Change-Id: Ie8abaf7a695f1af4db1b3aa0bbc4f596baa2c9fd
(cherry picked from commit 6a9e04e0443ee22d4e1745a1f118e7b23c37e138)
larms/AlarmStateManager.java
rovider/AlarmInstance.java
5d2a5d41b53ef31567ea242e6f5464eac88d6a2f 12-Sep-2013 Sam Blitzstein <sblitz@google.com> Fix jank issues with expanding alarms.

Bug: 10744911
Change-Id: Ibddcaf91d5a496116ff3610c65f8e0beb7c83f7e
(cherry picked from commit 832a810994491272f06c5ced3b6c5c83279bd668)
larmClockFragment.java
8afb7d57b2cc8645c9e2ea513173fa9eaae7af7e 17-Sep-2013 Paul Sliwowski <psliwowski@google.com> Add more logging to help debug scheduling issues.

Bug: b10746233
Change-Id: I551e4700b45a601723159ad50a9f1ca0d2d25eda
(cherry picked from commit 1207c57971204ab12897d3c7d477737215f6e2e3)
larms/AlarmStateManager.java
ae9050917ff4fa669b849dbcbbff4f1d78d940e5 17-Sep-2013 Isaac Katzenelson <isaack@android.com> Merge "Ensure two-digit hours to work around RTL issue" into klp-dev
a9b9de5c920edc244744273f1415e95a403f913c 17-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix NPE in AlarmActivity.

Bug: 10751822
Change-Id: Ie84b6e2e70b11785b747f1b0695e4b56c6db012a
(cherry picked from commit 6ed20fb8294902d64541d1063b58a9905a0b4312)
larms/AlarmActivity.java
e639cf61adbb3f3f8408c16ac2d9e64590ac4f99 17-Sep-2013 James Kung <kingkung@google.com> Ensure two-digit hours to work around RTL issue

Bug: 10750903
Change-Id: I0b268f814b27737c257c217bc447ee0124ffee4d
(cherry picked from commit db9bd0d88b8e320a331bfca5973e8afe9984b1a7)
orldclock/CitiesActivity.java
3ddcc8e50f44cc37c6e481acd0d11416c61b2519 17-Sep-2013 Isaac Katzenelson <isaack@android.com> Merge "Fix issue with db upgrade from 5 to 7." into klp-dev
962a3d425c80e8c64ef24e34d6955fbbe83d429c 16-Sep-2013 Paul Sliwowski <psliwowski@google.com> Add snooze toast message.

Bug: 10745013
Change-Id: I4b1445360a0a4de0c2fdb5cc9938ecaf9a56f8a1
(cherry picked from commit c20fc5dbe878221f713191396764d5824643b14b)
larms/AlarmStateManager.java
3422fd730b135598f5d677e540c41c324e5f9858 16-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix issue with db upgrade from 5 to 7.

Bug: 10781994
Change-Id: I1c91951977428dfc534eaddf4440ed428a635bc8
(cherry picked from commit 285aa982a20eb686512c4c72ca54524c4b55aefd)
rovider/ClockDatabaseHelper.java
ddfdd96273cb99bbaceaaceb417b7761ee539245 16-Sep-2013 Sam Blitzstein <sblitz@google.com> Check if ViewTreeObserver is alive before acting on it.

Bug: 10777347
Change-Id: Idc7c5bd1aa8fcc0a9851000fca448d6557e87715
(cherry picked from commit bc1870e95546a69cfb3d3ad4be1a9af4774be028)
larmClockFragment.java
d97815d8e6798f29ac2d80824eaca0402e675621 16-Sep-2013 James Kung <kingkung@google.com> Removing sort in WorldClockAdapter loadCitiesDb

Bug: 10750201
Change-Id: I3f5de5304151adcaae687833a68b57866da798c4
(cherry picked from commit 0330e5c1afae705d81d956f0bf6d87193c525084)
orldclock/WorldClockAdapter.java
d9f3456cf8a1e44704e2a4e2cf921e4b0600802f 16-Sep-2013 James Kung <kingkung@google.com> Storing collator in memory for CityNameComparator

Bug: 10750201
Change-Id: I8dd82c47225a711c97274ae8508c0f061b02f784
(cherry picked from commit d24d9e3c7cd03cd03dc87002ee5af5fee2bfa0fb)
orldclock/CityNameComparator.java
87a61c0b2c05be541b19c10cae0ae6d5f59808a6 16-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Check for null context when adding an alarm

Bug: 10760079
Change-Id: Ib2d861db22773c07ea6b6f9f64b5d35069976376
(cherry picked from commit 34b04eb4348a0ce656d4a52fd69a855c26005065)
larmClockFragment.java
b844d38532de2e2abcb68d37fdba94c7819071ed 14-Sep-2013 James Kung <kingkung@google.com> Fix for cities regression (not dependent on other CLs)

Bug: 10750903
Change-Id: Ib2d5e8d6bdd98d8a90ab5447056fd275d6f9f741
(cherry picked from commit b2be9640d79d92d8b9e714bfae3cd444b76104e0)
orldclock/CitiesActivity.java
f8d45553007a3447953eb3bc40715d7e80a8ba89 13-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Adjusting logs for timers

Bug: 10686452
Change-Id: Ia7227985d3fb851fea3975a29a9b7a953656b0f3
(cherry picked from commit d73459eee307459d478983e00b2a4084c6e8273b)
imer/Timers.java
idget/sgv/ReorderHelper.java
idget/sgv/StaggeredGridView.java
f5abb011dde166e41e85d529bceea3e40202ec63 12-Sep-2013 Robyn Coultas <coultasr@android.com> Replaced AlarmManager with postDelayed runnable

Bug: 8239532

AlarmManager.setRepeating(AlarmManager.RTC, ...) was ceasing to fire.
This replacement has proven more reliable and exact.

Change-Id: I38d9f61026c5825cde21b9d27ea5002e8861b1a1
(cherry picked from commit 9096dcec19f88883933e74b2d446eb94e6196089)
tils.java
690cfb6e29ea4111e3b2eb451272024c0fedbf80 12-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix alarm db upgrade.

Bug: 10724387
Change-Id: I38be806f35e874a6e5916296cf15abcb12cb9061
(cherry picked from commit a5a4521002afe0e2c9fd354cf9cf978145354f91)
rovider/ClockDatabaseHelper.java
8ea47506e43a167925df5c3202c36c667cb6ab44 12-Sep-2013 Robyn Coultas <coultasr@android.com> Update clock daydream date display at midnight

Bug: 10670611

Upon Time or Timezone changes restart midnight detector.

Change-Id: I889f90509fcff2fa7aba543385a5ea990de85e04
(cherry picked from commit eb3a1f0714e209a8335d84142778465aa6b44c5c)
creensaver.java
tils.java
2e9baaafc515b89a40aca0b99b4907aa727fea50 11-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Add category to stopwatch intent

Bug: 10711760
Change-Id: I09864e22899c14d071c28fe45278c67615879e1e
(cherry picked from commit 5b986600a3b458123555107f7845331fecafc0e7)
topwatch/StopwatchService.java
0ab167de98f42460c5c5cff7f8c2d0759f9f684b 11-Sep-2013 Isaac Katzenelson <isaackatz@google.com> set correct alpha on disalbled alarm

Bug: 10699318
Change-Id: I4420e24cfcea7c8cd11f6f463d10e891031bef6b
(cherry picked from commit 8b84f953852c9c41118767e907a93a410ee9e58b)
larmClockFragment.java
be13177b0b9ad533a63f57fee671e9ee6d19286c 11-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Fix crash in async deletion task and remove some dead code

Bug: 10704924
Change-Id: I30a05f391acef88564107fccd35b79d431111ee6
(cherry picked from commit 7e81db28d1475e7c5804eb85ed7e4d53dd55d931)
larmClockFragment.java
c0a1cea7e6164500cc8362cae963c320e16dfc4f 11-Sep-2013 Sam Blitzstein <sblitz@google.com> Hide bottom bar in landscape.

This way we can make sure analog clock has enough space.

Bug: 10691481
Change-Id: I2075238965fcff2574ffbf3405299378b8cf3c51
(cherry picked from commit 13b1605e4372cc715a09d7fff1d1a8aee4522782)
lockFragment.java
595e83dc346131c90b71ce959ec71908b826849c 11-Sep-2013 Isaac Katzenelson <isaack@android.com> Merge "Log to report changes in quarter-hour alarm intent" into klp-dev
6ac48365fa00c4a499204f893ec25193b0d7162f 11-Sep-2013 James Kung <kingkung@google.com> Fix NPE on selected cities

Bug: 10691557
Change-Id: I86b7eaa36bd5db6aba723663623ccc39034717e4
(cherry picked from commit b10333515a9b3992238c66b1495abd6749f309b2)
orldclock/CitiesActivity.java
eddf7797cab8ca51a45dd66908654267fcf6fe18 11-Sep-2013 Paul Sliwowski <psliwowski@google.com> Fix a few alarm state manager issues.

- Prevent missed notification from starting app.
- Fix alarmId issues on notifications.
- Fix issue with missed alarms being re-enabled after timezone change.
- Fix issue with missed alarm notification not dismissing properly.
- Remove alarm noise on missed notification
- Added safe guard to prevent duplicate alarm instances.

Change-Id: Id9dd65e6ec59df1e6952c8a892022d20a09eb5a5
(cherry picked from commit 20dccf1991285ab46670521cea5adbc795b5be5e)
larmClockFragment.java
eskClock.java
larms/AlarmNotifications.java
larms/AlarmStateManager.java
rovider/Alarm.java
rovider/AlarmInstance.java
c56d3677db8c11c61578c4ac30828db355c86334 11-Sep-2013 Robyn Coultas <coultasr@android.com> Log to report changes in quarter-hour alarm intent

Bug: 8239532
Change-Id: I08261e8280719ba2229fcc67bab7fe8029d90e88
(cherry picked from commit 7651c373a1301761bea4090738df9d03884684dd)
tils.java
6da4068d34ede187e9237c54ab70681755995e48 10-Sep-2013 Sam Blitzstein <sblitz@google.com> Show menu when moving in landscape from timer to clock tab.

Bug: 10534546
Change-Id: I216300ebcdd59e80e5da49fcb1fb4509a43a94e0
(cherry picked from commit 7244a01bc5b24dbe9f0ade8e8d7116b8284ac8c3)
eskClock.java
3e8ebd961d99125d6b1704b5fa8d425d101e32f5 27-Aug-2013 James Kung <kingkung@google.com> New layout for selected city with remove button

Bug: 10449456
Change-Id: Iacaa75ec9c283cb4b1cc5ab73eff0b1ced22587a
(cherry picked from commit 263c74772f786b43a346d5649df70e15fc12067d)
orldclock/CitiesActivity.java
d42988e6e855a9775b9ebbbfa949ef90c5abf2cf 10-Sep-2013 Sam Blitzstein <sblitz@google.com> Update clock fragment alarm text on alarm change.

Bug: 10516129
Change-Id: Ibd1b3db80e9f7b2e2eb8db59cf88438f58571528
(cherry picked from commit 5b0de6c83ff2401b61ed8f191d018a99d6d6c7e1)
lockFragment.java
1c7788b33dd4516dae81e6bcab043addc45fc1a1 27-Aug-2013 Paul Sliwowski <psliwowski@google.com> Refactor alarm manager code to use new Instance table.

Change-Id: If0ef94f68383ebfcb4a0af697671c7854f33383d
(cherry picked from commit ab0d28c68a77bea2a4a2ee50378da3670a1dd939)
larmAlert.java
larmAlertFullScreen.java
larmAlertWakeLock.java
larmClockFragment.java
larmInitReceiver.java
larmKlaxon.java
larmReceiver.java
larmTimelineView.java
larmUtils.java
larms.java
syncHandler.java
lockFragment.java
igitalClock.java
andleApiCalls.java
ettingsActivity.java
imerRingService.java
larms/AlarmActivity.java
larms/AlarmKlaxon.java
larms/AlarmNotifications.java
larms/AlarmService.java
larms/AlarmStateManager.java
rovider/Alarm.java
rovider/AlarmInstance.java
rovider/City.java
rovider/ClockContract.java
rovider/ClockDatabaseHelper.java
rovider/ClockProvider.java
rovider/DaysOfWeek.java
orldclock/CitiesActivity.java
d5202b46aaf96b1d217cedba645f28aa1fee04c6 27-Nov-2012 Robyn Coultas <coultasr@android.com> Adding Timer times-up notification

Bug: 7498098
Bug: 7564768

Complies with Section K of wireframes with the agreed exceptions:
(1) Show "Done" instead of "Stop" when timer is delete after use
(2) Clicking on stop does not launch DeskClock
Features to QA:
- Updating label, updates notification
- Selecting +1m when desk clock not running updates the in-use notification
- Times-up notifications appear if and only if the Timer Buzzing Activity is not shown
- Selecting +1m or Stop(or Done) updates the desk clock timer tab

Change-Id: Ia27f86ad6ba1a3bdba50403a6fdb86208f911637
(cherry picked from commit e332c5744e5741a6149afd226e1f193111dcb7de)
tils.java
imer/TimerAlertFullScreen.java
imer/TimerFragment.java
imer/TimerObj.java
imer/TimerReceiver.java
imer/Timers.java
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)
topwatch/StopwatchFragment.java
f7de8003e56d6d6f3dd35f494162c75acc993cd9 28-Aug-2013 James Kung <kingkung@google.com> Timeline view empty states

Change-Id: I2e25c0a64db7cefb9b5e8ae0e4945811bca921d7
(cherry picked from commit 5aa304e127beeab9a7a54e82cab03735eab1cf2a)
larmClockFragment.java
larmTimelineView.java
og.java
148c8e33b6ad80f51163d06786628a0e303b3a40 07-Sep-2013 Sam Blitzstein <sblitz@google.com> Fix timer gridview animations.

Bug: 10516184
Change-Id: I75fe04af25281179a11c7118ab844b23d5bec3bb
(cherry picked from commit 1aa24a276dd7aa4f92f6e443bcd8279cf70d14a8)
imer/TimerFragment.java
idget/sgv/SgvAnimationHelper.java
idget/sgv/StaggeredGridView.java
b93772c506ca7e144446f619996eedbdc4285b23 10-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Workaround for missing cities translations.

Change-Id: Ic259e5894f08848b26a409e12272e1932757da83
(cherry picked from commit 25ca0e1b5e70386b30171d8aba8810593baffecb)
tils.java
d01970e2116388aea075eaa9296dd7f90cccb067 07-Sep-2013 Sam Blitzstein <sblitz@google.com> Finishing touches on redlines.

* make sure the alarm items' hairlines are correctly translated
on rotation
* use new timer icon for timer notifications
* remove colon from alarm summary

Change-Id: Ia747f645483fb4f2770afb5da6821351b85bdb65
(cherry picked from commit f41e32c702b2b6d241cbf095b1f69612655515d2)
larmClockFragment.java
47b10c08f7aaf2b2a28a5c66071b58c2707dad20 07-Sep-2013 Sam Blitzstein <sblitz@google.com> Use two-pane layout for tablet landscape world clocks.

Bug: 10654098
Change-Id: I3825ed5a503b6d48d935d439bdb7afd3391ed0da
(cherry picked from commit 6ae9f520831c7547654176ffc1e2f02c0675a894)
larmClockFragment.java
lockFragment.java
orldclock/WorldClockAdapter.java
0c8bd483f3e04ee59adde27ad1617b53c6fd7f2d 06-Sep-2013 Alon Albert <aalbert@google.com> Support PreferenceActivity.isValidFragmen

Bug: 10114369
Change-Id: If5c030362c65f585695510299f283949e17ca5f2
(cherry picked from commit 339b3be0e0c293393ab7d71cb65aecdb21897f55)
creensaverSettingsActivity.java
ettingsActivity.java
63f5b0d55907d2b42ba9374a35eabe006c2fb7c6 07-Sep-2013 Alon Albert <aalbert@google.com> Start Alarm Explicitly with a Class

Bug: 10220104
Change-Id: Id60b16394472b62c72be3cf7d6029374c53650f4
(cherry picked from commit db0f8bed081929805dc706de6c198ca8418e5266)
larmReceiver.java
12c79e065d4b0172bb900e3599142041a968f5eb 30-Aug-2013 Robyn Coultas <coultasr@android.com> timer setup redlines

Red line deviations:
Gutter between dial pad digits removed
In landscape time view is centered with dial pad

Change-Id: Ic34c77a6bf38c3ff80b9b2a6a9e30213facb9e90
(cherry picked from commit 749b3b31aa96a520784ce92262c99644de9d01fc)
imerSetupView.java
imer/TimerView.java
557accce95475df53c667778dbcc43076cb86e17 06-Sep-2013 Isaac Katzenelson <isaack@android.com> Merge "stopwatch animation redlines" into klp-dev
a19314fd8af534821bb7c7edacb44087c1a8b6cd 06-Sep-2013 Sam Blitzstein <sblitz@google.com> Use dark theme for clock's timepicker.

NOTE: This CL should be submitted only after
I0574de6f79f0d2973a80ea91bcc885e207f2fcf8 has merged.

Bug: 10516092
Change-Id: Iaec89ea7516d5f4000709a0fc74e6e4732fed700
(cherry picked from commit f54f71cbfe2695998c01e4719eaa5b7c3a5b7467)
larmClockFragment.java
larmUtils.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)
topwatch/StopwatchFragment.java
f772f7438f4a98ddde6eaf49d73d551e46425d93 30-Aug-2013 Sam Blitzstein <sblitz@google.com> Use Keep's StaggeredGridView for timers.

Also update header and background layouts.

Bug: 10516184
Change-Id: Ibe73ce965acb11796c21e9df4b35e6bb830aabb3
(cherry picked from commit 4c68a4b737d7776fd23e857eb612f89c6dba3ec0)
lockFragment.java
imer/TimerFragment.java
idget/sgv/GridAdapter.java
idget/sgv/OverScrollerSGV.java
idget/sgv/ReorderHelper.java
idget/sgv/ReorderUtils.java
idget/sgv/SgvAnimationHelper.java
idget/sgv/StaggeredGridView.java
7e52e4a333f6a148532e5d3395412676c0673764 04-Sep-2013 Sam Blitzstein <sblitz@google.com> Click on alarm empty state should create new alarm.

Change-Id: I40da89f853b628f494d8f68d27be902e18d1cddc
(cherry picked from commit f5535e238ad9cbd0fe7e3ec259fb58fa9a2ed6ed)
larmClockFragment.java
f9540358dacec5e6f8e2004e9fe3791107ee3f3c 04-Sep-2013 Isaac Katzenelson <isaackatz@google.com> Reset timer setup after adding a timer

Bug: 10610622
Change-Id: Ia13947d3ddb034106fa87e5e4be625755f93190c
(cherry picked from commit 4473c43d00cede0fb7a0d6b9836c84a7d39e23f3)
imer/TimerFragment.java
6c3176cc7dd7495ceee42b38c10265bbd9656ebe 03-Sep-2013 Alon Albert <aalbert@google.com> Have Screensavers Listen to Alarm Changes

So they can update the "Next alarm..." display

Instead of listening to our own Alarms.NEXT_ALARM_TIME_SET, we observe
the system setting Settings.System.NEXT_ALARM_FORMATTED. This way we
respect 3rd party apps that use this API as well as ourselves.

Change-Id: Iaa90ba8335c38bd6b0ed4571e0784f4f8cb2d154
(cherry picked from commit ed2084787cec0f02e6cead215d409d6f2f60f737)
creensaver.java
creensaverActivity.java
45995e9331aaca94ec7fc0748475c98f4f7de1e2 30-Aug-2013 Sam Blitzstein <sblitz@google.com> Use Build.VERSION.CODENAME instead of SDK_INT until its set to 19.

SDK_INT is still set to 18 until K SDK is finalized. Until then we
can use CODENAME to see when we're on KLP.

Change-Id: I4129e99e604dad5769e790401879879a9909701e
(cherry picked from commit 67cdfec102ccd50cbf19585200840051b9b36668)
tils.java
d71f62927cef282134b02af49645a178e6ed983f 30-Aug-2013 Alon Albert <aalbert@google.com> Use Audio Focus

Use AudioManager.requestFocus() and abandonFocus() when playing alarm timer alerts.

Bug: 10130126
Change-Id: Iab21151b5bfde1f2ebc1c8d373334ebc4c755688
(cherry picked from commit 205f02bc332c272cd43a2466578ac741bc700d10)
larmKlaxon.java
imerRingService.java
3f4b0e308a1ed2b1a193cc7d01130a1bee939665 30-Aug-2013 Alon Albert <aalbert@google.com> Handle SHOW_ALARMS Intent

Change-Id: I9435b66cbf5d37fac89a206bad14b5a11735d543
(cherry picked from commit 101ed3de571396c3cfc66f66f86e9b0d8afbc600)
andleApiCalls.java
9f43d4c1125d6a607a74d39fb4784ccaebf77214 30-Aug-2013 Alon Albert <aalbert@google.com> No DAYS EXTRA Implies Non-Repeating

So don't try to reuse a recurring alarm in that case.

Change-Id: I0c6cb6b4ee68306f3dc1798b40c3a2901f1b5db7
(cherry picked from commit 3534dc25837e27090ce5cfdcf6190f879d3aa4e2)
andleApiCalls.java
289c3643ac419d146db44846db5057dff787f81a 29-Aug-2013 Sam Blitzstein <sblitz@google.com> Change text of auto-silenced alarm notification.

Show "Missed Alarm" as the title.

Bug: 10516179
Change-Id: I860cbab622df0be7c4c8e0763c3e6be231f8a09f
(cherry picked from commit 7fb70dc1d258ba1f36454f7871cafbc6aa49ec4f)
larmReceiver.java
rovider/Alarm.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)
topwatch/StopwatchFragment.java
b2e25c2811320be6f719d3dfe9931cdc06212759 29-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Disable +1m button when cannot add a minute

Bug: 10152084
Added a disabled asset.
Disable +1m button is the timer is less than 60 seconds below the max

Change-Id: Ib6dc57ffddf267b5bd8bac7d45e3b1b2af2695ea
(cherry picked from commit 74be96baee671f1f62b4ed543ba793336012ef24)
imer/TimerFragment.java
imer/TimerObj.java
imer/TimerReceiver.java
4b84ed9102652486bc731c8c7b9e79cb847b3f83 29-Aug-2013 Alon Albert <aalbert@google.com> Enhance SetAlarm API

Add DAYS, VIBRATE, ALERT
Implement implicit deleteAfterUse

Change-Id: Ibe58394020987469aca4a7895ac591407e64ce5e
(cherry picked from commit 1c604c48ef4dd01e789e1fffb0dec8f815e0cd30)
larmAlertFullScreen.java
andleApiCalls.java
rovider/Alarm.java
c31fa5bcc7acaa0f4d2442d99058522ec57074f7 29-Aug-2013 Robyn Coultas <coultasr@android.com> Remove ZeroTopPaddingTextView

Change-Id: Idf8ee52846e90c9fb7f88a7b12a84c8808912ff8
(cherry picked from commit b00e18e46da2ed0fa1805efaea2d6da84cf01ae7)
eroTopPaddingTextView.java
29359e5406fbc2c024853f3e3ccd2b64656c2c12 29-Aug-2013 Sam Blitzstein <sblitz@google.com> Use child fragment manager to prevent FragmentManager crash

Could crash with "Recursive entry to executePendingTransactions"
because it was executing the timepicker transaction while executing
the main fragment transaction.

Bug: 10544171
Change-Id: Ie65172f18141468e71fb4a056af103d270e0a929
(cherry picked from commit 28fa47a322b126dbeff20cda1bca074ca999388a)
larmClockFragment.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)
topwatch/StopwatchFragment.java
bee91a36b8cb7195b3d92f52c68654d947f3e17f 28-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Fix delete after use implementation for timers

Bug: 10517026
Change-Id: I35f450dcfa379df92dbdfd997a351056e9233f41
(cherry picked from commit e7c4dc56335d2c0f56b7c3373f8b648b8c1afcba)
andleApiCalls.java
imer/TimerFragment.java
d4998f76bc5a67b51cb926b7a425ce62f3beaefc 28-Aug-2013 Robyn Coultas <coultasr@android.com> Replace timer/stopwatch diamond with dot

Change-Id: I8e845a4ffa9a25969fbfa1ef0fd1d22718130050
(cherry picked from commit 8322b2fa9d474fee9e7950fec68bd35e03fc9861)
ircleButtonsLayout.java
ircleTimerView.java
tils.java
c75020dfabbe57ab6b1af725a87e15e82cae4deb 28-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Upgrading icons." into klp-dev
f233ae3254a1d83aa67042f4333797e534bbb27c 27-Aug-2013 Sam Blitzstein <sblitz@google.com> Create the alarm after setting the time.

Bug: 10507071
Bug: 7402599
Change-Id: I01d2ae44127beea3a54778df1a1d4a10b048b218
(cherry picked from commit b9dff52be236a4c3a2088ecbbdf9811b0533d21f)
larmClockFragment.java
larmUtils.java
rovider/ClockDatabaseHelper.java
29b68ab8b8d6ed4e5150735bdc9fa861eca2df8a 27-Aug-2013 Sam Blitzstein <sblitz@google.com> Upgrading icons.

Upgraded stopwatch lap, add cities, timer tab, and no_alarms icons.

Change-Id: I19f2c600893b94592701a8ca6b33ee5f280c549e
(cherry picked from commit 12fdbf28c6ac29d4edec4079cf7e9df17aa39610)
larmTimelineView.java
504ed1aa7d11c7667d089af4bccbf18b255b36d5 28-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Stop ringtone after timer deletion

Bug: 10451666
Change-Id: I4a53958aafa46e87ba0471d5d9090f7afe16f6fe
(cherry picked from commit d62917cb297b0d6d918bf997da96b002a8c21f1b)
imer/TimerFragment.java
imer/TimerObj.java
ebfe81b30c57972557d262bcd12622e0513a0d11 27-Aug-2013 Robyn Coultas <coultasr@android.com> Pre-redline changes for adding a timer

Removed unused time picker code for alarms.

Change-Id: Id61ab416a51db044de7ac29a3263f0db51d73083
(cherry picked from commit 56be6dac87bd9735cef70da1b39ce8c9d89148f0)
imePicker.java
imerSetupView.java
imer/TimerFragment.java
imer/TimerView.java
95db8fb4954e768cc58eb71bc3c05dfeef375cd7 22-Aug-2013 James Kung <kingkung@google.com> Alarm timeline view

Change-Id: Id0c31d5dbe1a1cd02c0af6f02050efc36986dfee
(cherry picked from commit abd84229d5be9a710635bc406ecbef14fbd20bcb)
larmTimelineView.java
04d0eaaf489d08c56104d9b71d0d2edecb4e27a5 27-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Add support for SET_TIMER api

Bug: 7497400, 8131590
Fixes alarm not created when using the API with SKIP_UI is false

Change-Id: If401c88d2d4945a1d5b85b421f7c52a329b63c49
(cherry picked from commit 91ffb2a0726a56213c0649c864a56bf120896e80)
andleApiCalls.java
imer/TimerFragment.java
imer/TimerObj.java
9a5470f5b8578f417c3f2ebf17d77b2683dd4046 27-Aug-2013 Sam Blitzstein <sblitz@google.com> Fix crash and excessive alarm creation from quick settings access.

Crash was from the convertView not having an ItemHolder tag
The intent to create a new alarm wasn't getting removed after use.

Bug: 10506871
Change-Id: I27ba36661a84092fbc99681d3190e2f2cedd37cb
(cherry picked from commit 80fc6e3fc807896e7decbbf8ea3b394c78fb39ba)
larmClockFragment.java
5f69b490d4bf9bd52fac8f1e0eef589c5cbf4a27 27-Aug-2013 Sam Blitzstein <sblitz@google.com> Enable new time picker for setting alarms.

Change-Id: Ie6c8299b56c04daedeec7e16e506b722e751f818
larmClockFragment.java
larmTimePickerDialogFragment.java
larmUtils.java
9cf18979ae192027a6db0b3fba18cad0d826da97 24-Aug-2013 Robyn Coultas <coultasr@android.com> Change alarm/timer setup font from bold to light

Moved units to bottom
Moved common setup layout into timer_h_mm_ss_view.xml
Removed references to ZeroTopPaddingTextView from alarm/timer setup.

Change-Id: Iefa9fa06be6098c9e7bd55ad943b84ac8cd760a7
(cherry picked from commit 22e4b34c7e2fe360e577f94774192ccf1f86ec12)
imer/TimerView.java
05afb603eac57cb4b87850c9796a199b0c0cbed6 23-Aug-2013 Sam Blitzstein <sblitz@google.com> Fix up layout changes as per redlines.

Change-Id: I3f48a9e919312a99b455cd8634b749dc6cbffcc5
(cherry picked from commit b839a546401f93ae2922f37677c176bf127060c7)
orldclock/WorldClockAdapter.java
f12a6863d913452706a3291aa34738aa1f1643a3 27-Aug-2013 Paul Sliwowski <psliwowski@google.com> Fix onCreate insert issue.

Change-Id: Iaf87c44931e0ee0fd78e6468039c1a36c338f9b9
(cherry picked from commit 7ef0150a7ba2aa09c7138563cd7ef6984ed7fc56)
rovider/ClockDatabaseHelper.java
2eb3e5467cb76617fd6da3ea4a3f222d537a6bd9 20-Aug-2013 Paul Sliwowski <psliwowski@google.com> Refactor and add new tables/daos to Content Provider.

Changes includes:
- Add new Instances table to hold alarm state
- Add new Cities table to hold user selectable cities.
- Add delete_after_use column to Alarms table.
- Fix issue where alarmId was a int and not a long.
- Move Alarm related code to Alarm dao.
- Moved DaysOfWeek out of Alarm dao.

Change-Id: Idd578bb3668099ec8f4b30fbe9b62b06158ab406
larmAlertFullScreen.java
larmClockFragment.java
larmInitReceiver.java
larmReceiver.java
larms.java
andleApiCalls.java
rovider/Alarm.java
rovider/AlarmInstance.java
rovider/City.java
rovider/ClockContract.java
rovider/ClockDatabaseHelper.java
rovider/ClockProvider.java
rovider/DaysOfWeek.java
8c1fcf3490a0d92448c460193c8824dbcd6790fd 22-Aug-2013 Paul Sliwowski <psliwowski@google.com> Move content provider classes to new package.

Change-Id: Ida7d2d238f7ce25a3b0ddb23bdb2fbd84e7b2e2a
larm.java
larmAlertFullScreen.java
larmClockFragment.java
larmDatabaseHelper.java
larmKlaxon.java
larmProvider.java
larmReceiver.java
larmTimePickerDialogFragment.java
larmUtils.java
larms.java
eskClock.java
andleApiCalls.java
abelDialogFragment.java
og.java
rovider/Alarm.java
rovider/ClockDatabaseHelper.java
rovider/ClockProvider.java
c499978dba984d9be39f195196ccae8ddce1079c 23-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Boiler plate code for SET_TIMER intent support

Bug: 7497400
Change-Id: Id0aa03a3604ce5e48b5e99a9dc07eaf7f917adb8
andleApiCalls.java
andleSetAlarm.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)
ircleButtonsLayout.java
ircleButtonsLinearLayout.java
ircleTimerView.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
a0a0a7c86704eb47934a1b8c77a8af7c15ed4a79 23-Aug-2013 James Kung <kingkung@google.com> Fix ArrayIndexOutOfBoundsException on zero-length array

Bug: 10448838
Change-Id: Ia56bdf4cda2a14d778a14f3a0c6e6de199ffc07a
(cherry picked from commit 31d063400a4975f2a6eedc70cf679782af762f80)
orldclock/CitiesActivity.java
3bc02950da8c14ec04199043f41a9ffc13290c8d 12-Aug-2013 Sam Blitzstein <sblitz@google.com> Move alarm to its own tab.

Also animate alarm expansion.

Change-Id: Icdebc6a18f34cfe55af70491d07dde4b1dc675c5
larmAlertFullScreen.java
larmClock.java
larmClockFragment.java
larmReceiver.java
larmTimePickerDialogFragment.java
larmUtils.java
larms.java
lockFragment.java
eskClock.java
igitalClock.java
andleSetAlarm.java
abelDialogFragment.java
imer/TimerFragment.java
idget/swipeablelistview/LogTag.java
idget/swipeablelistview/LogUtils.java
idget/swipeablelistview/SwipeHelper.java
idget/swipeablelistview/SwipeLayout.java
idget/swipeablelistview/SwipeableListView.java
idget/swipeablelistview/Utils.java
63421edeba18751e88532c2891f3a8e51a471496 22-Aug-2013 Robyn Coultas <coultasr@android.com> Improve Timer and Stopwatch text size

Account for the text height when auto-sizing the timer and stopwatch text.
Tweaked intra-unit spacing.

Change-Id: I976385f236f98303a35ce4178c923401eaf6bdd3
(cherry picked from commit efc4ad3bce5f68e6a64c4aeac4f2359ab9bae5a8)
tils.java
imer/CountingTimerView.java
13f2fef1a5f6877ffc1f6a593d0e8f10f535805b 20-Aug-2013 Paul Sliwowski <psliwowski@google.com> Clean up some of the DaysOfTheWeek and Alarm code.

Change-Id: I3f6cd64845fe34cf8fb5299348f7779cdcddd5a9
(cherry picked from commit 95b88d9453d7d47026b4a2e3bcc4e7bbb4dd7ccf)
(cherry picked from commit 910f93b6b0fbc9b921ca3ef0bd648c73fa2c76ac)
larm.java
larmClock.java
larmReceiver.java
larmUtils.java
larms.java
andleSetAlarm.java
epeatPreference.java
e43161db8942cab73adb74d66a07bedd1fafa433 20-Aug-2013 Robyn Coultas <coultasr@android.com> Remove units in CountingTimerView

Replaced the units strings with a scaled intra-segment spacing.

Change-Id: Idf1f95cb1aef1af0a0c76dcfaa2944f808d47fb2
(cherry picked from commit d27c983901df08a8ef3b839fe6d262073e50fc32)
imer/CountingTimerView.java
fb6af9dde8a1df563383f91c311746aba85c70a5 22-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Stopwatches cleanup" into klp-dev
138bc4143bcedc99d0ba1e471feb2d7544a3de27 22-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Appending selected cities to top of list" into klp-dev
7ef1a2ade7bfcd9e50788e230c68a55a4d37a475 22-Aug-2013 Robyn Coultas <coultasr@android.com> Stopwatches cleanup

Change-Id: I1c5da295fce7ab74e82dec30800431175de1cf3d
(cherry picked from commit 61f828610a165feaa0d06ccbfb83219622bf7f86)
topwatch/Stopwatches.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)
topwatch/StopwatchFragment.java
7d4c1254e95102802ff0386aa5f7288f6caa70f3 21-Aug-2013 James Kung <kingkung@google.com> Appending selected cities to top of list

Change-Id: Idacf1acbe72fb9e9ce14f2dd102369641c3013b1
(cherry picked from commit 96ae9779cf470b6502d46b75f606d6445d854bbb)
orldclock/CitiesActivity.java
cef13cc730831be5c48365db2cb502364c1df032 15-Aug-2013 James Kung <kingkung@google.com> Cities sort options

Change-Id: I3bb7337f8ca0315882a8a5747c012da25f0c451f
tils.java
orldclock/CitiesActivity.java
orldclock/CityGmtOffsetComparator.java
orldclock/CityNameComparator.java
orldclock/WorldClockAdapter.java
827b9c4d983fab1ca871ebf0b04e2e42d3fe540d 16-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Change Counting Digits to Thin Font" into klp-dev
6c23c3f25980ea61a27a26ff22f481a0333f5643 16-Aug-2013 Paul Sliwowski <psliwowski@google.com> Remove dead activity.

Change-Id: If94d399470d69f51fad4e968e4473f305343faa9
(cherry picked from commit 4c51096686fb188fddbe85386fdbabf3ebe4dbd0)
larmPreference.java
larmUtils.java
etAlarm.java
bad6946a9d5b6474fda3d659f460d87e5c7439ba 16-Aug-2013 Robyn Coultas <coultasr@android.com> Change Counting Digits to Thin Font

Change-Id: I0dfea1e81c8810115212f599426e3141095c7b87
(cherry picked from commit 6a2ab617a8815be26c7af9ec6bcb9fadb17d5f7b)
imer/CountingTimerView.java
93c7ee32771be90c27922f0341bc23f609a6a3ba 15-Aug-2013 Isaac Katzenelson <isaackatz@google.com> Make clock dream dimmer

Bug: 7314808

Change-Id: I4a0895cfc82af761dbc3abe2dbbd13019f58fa68
(cherry picked from commit 4b4c36c4ecec25286afa24e17ec3fecbe527c3da)
tils.java
63b8c522dde9d8f17a1c8d0e2ee0be29bc4206db 10-Aug-2013 James Kung <kingkung@google.com> City Search functionality

Change-Id: I8ec790fe7adf59f81caf74af8be50d2fcfbd6b99
orldclock/CitiesActivity.java
orldclock/CityObj.java
fd055942584d7109ad10e77424dcd2600d1fb690 14-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Fix issues with multiple PendingIntents and caching." into klp-dev
6b0b55a28e3eb252d9b3664124eca8f3ae246d52 13-Aug-2013 Robyn Coultas <coultasr@android.com> Support RTL in clock notifications

Bug:9942331
Replaced setTextViewCompoundDrawables with setTextViewCompoundDrawablesRelative

Change-Id: If154d26f362e96a0781a192ee1acc74476a4bc88
(cherry picked from commit 9d815e84d50207f0846f2ef486e5c2d62ebdb0fd)
topwatch/StopwatchService.java
368778de7a03a799df03919cae959a6ac7c9733c 10-Aug-2013 Paul Sliwowski <psliwowski@google.com> Fix issues with multiple PendingIntents and caching.

Bug: 10256216
Change-Id: Ib4f882b73d65fa1022afde98370315418c742b94
(cherry picked from commit f818e204dfe5bfa6a8a83612fe6eef51f40752fc)
larmReceiver.java
a5df15e47c50fe7759bb768a9b2e39af266725a1 09-Aug-2013 Sam Blitzstein <sblitz@google.com> Fix bug where we weren't firing the correct alarm

Had a bug where we were choosing the wrong alarm to fire.

Bug: 10248289
Bug: 10243530
Change-Id: I56d7efa5c3072db1598835bdf194f2c734af19cd
(cherry picked from commit ffdcaef971a18466f2f44c00e32430f7a19d449b)
larms.java
203bf487b2648df2edc74787d6bf2ab34d24191f 07-Aug-2013 Robyn Coultas <coultasr@android.com> Guarding new SDK19 code

Change-Id: I802e56d859c935d6492bae54eccb15d17fc3f840
(cherry picked from commit 4fd80b58da8ad66e0e4a23cbf7c900174727fb4e)
larms.java
tils.java
imer/TimerReceiver.java
5a13015bc43d63d9031516b357451f5fc7a4b550 07-Aug-2013 Isaac Katzenelson <isaack@android.com> Merge "Do not invalidate listview just to update one time"
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)
topwatch/StopwatchFragment.java
c959830fe51f2a914a22111de0dedde3e2b05c0f 06-Aug-2013 Robyn Coultas <coultasr@android.com> Start Delete Confirmation in Create

BUG: 9901716

Re-starting the delete confirmation in Resume failed
because Resume can be called even when the Dialog is
still up, for example due to a phone call.

Change-Id: I215b6bfe137c1c7433d83b2c1c52039ead1ff303
(cherry picked from commit e55a9263ff746b0448441260495488b2b636742c)
larmClock.java
a0bd6355c8f9f7f3009315661d219c231622044d 04-Aug-2013 Robyn Coultas <coultasr@android.com> timer cleanup

This change ensures the buttons are visible at the right times and
overloads return values from BaseAdapter to simplify the code.
(This cleanup was once part of c/255295 which was abandonded.)

Change-Id: Ic35e70d4045e28c74f30e156975151fde5c57a9f
(cherry picked from commit e55413e93d36454df7dd1de3380083244d7a8675)
imer/TimerFragment.java
imer/TimerListItem.java
80d4f7ff64509b8153f991faf52665bc61e0fe76 07-Aug-2013 Sam Blitzstein <sblitz@google.com> Allow tablets to freely rotate the alarm alert activity.

Tablets were switching to their defualt orientation due to the
nosensor orientation set in the manifest, and were then being changed
to unspecified once the activity was created. Doing it the opposite,
so phones and tablets start as unspecified and only phones are
then designated as "nosensor" during onCreate() allows us to get
the desired behavior.

Bug: 8728671
Change-Id: I29ac593ccbb65953fa35dad38110accc9c531594
(cherry picked from commit 025bca166d9cbbe5476c76e0ba6163bdb788b4b0)
larmAlertFullScreen.java
b1cb5141f896726c16e2ca7c2a0c9f564f9b07ba 07-Aug-2013 Sam Blitzstein <sblitz@google.com> Send the delete timer broadcast immediately after deleting

Instead of delaying until after the animation, because if the activity
is null when the animation is done we can't as easily have a context
available to send the broadcast.

Bug: 9313826
Change-Id: I659dd7dd89779c7ee15e291e9537187dc2dbe411
(cherry picked from commit cd8877e6bf6a1381ff7eb7c96b300cd686dd5a6c)
imer/TimerFragment.java
dbc033f930ddb50160c0739192fac99d5592549e 07-Aug-2013 Paul Sliwowski <psliwowski@google.com> Fix issue with restart alarm after auto-silence.

Bug: 7599655
Change-Id: I8bafcaa35b237ad5c7381a6fbfeca7b525a4d541
(cherry picked from commit fc803949d5a02d957139db1caf920090773a37f8)
larmReceiver.java
e36a3c69fc75cbaa27f90cac6d52fea87e25baa9 07-Aug-2013 Paul Sliwowski <psliwowski@google.com> Fix snooze bug introduce by removing the timezone issue.

Change-Id: I21b9051287ceadce597e7ea8679db4a4d67cf900
(cherry picked from commit cb80cd29b46a2807426ca18833a86369e6b46dd2)
larms.java
9a931a67fc4097ef934a02a1a767042f57589362 07-Aug-2013 Sam Blitzstein <sblitz@google.com> Fix bug for non-repeating alarms earlier in the day.

Needs a more complete fix to better manage when calculateAlarm()
gets called but in the meantime this will at least let alarms
be set.

Change-Id: Ib50b874edd94bfe88ca2fa48d84ad2e0231e2878
(cherry picked from commit af4c8e48d5fd7057c3c8d2153ce799a157d2d0b3)
larms.java
3096172f0579e0c9673915d747f66f15ddb9cac8 07-Aug-2013 Paul Sliwowski <psliwowski@google.com> Fix bug where old labels being used in full screen alerts.

Bug: 3374958
Change-Id: Ie4ab642a5bead884658c7a1b0b0d89ad1b578f06
(cherry picked from commit 217d1019bfdf0321824d70a3db2b38793f8d78ad)
larmReceiver.java
636f0cac27059a99d3556cbd4187192fe2032790 06-Aug-2013 Paul Sliwowski <psliwowski@google.com> Make alarm times be in local time, regardless of time zone.

Bug: 5974730
Change-Id: I454dda60f40352d202c270d518b1830ee081ad39
(cherry picked from commit 9fc42f9af42b408e85655c55e6c7825bc1ce8665)
larm.java
larmReceiver.java
larms.java
c917c8aab554b21f9fc9fb701a0bcfe27f99573e 30-Jul-2013 Isaac Katzenelson <isaackatz@google.com> Hide nextAlarm label until the app updates it

Bug: 7637741
Make the nextAlarm label which hold the alarm icon "gone" as a default.
The app will update the visibility once it updates the text.

Change-Id: If3907d18627004865b74b8cdecd0df3b027bedbb
(cherry picked from commit ce9b106734452a66bc9fe9b75d791b64d3b90f1a)
creensaver.java
f228a7aeeb6b9c8a1f3176ed6b265a311c3e846a 30-Jul-2013 Isaac Katzenelson <isaackatz@google.com> Add date and next alarm to clock dream.

Bug: 7942543
Change-Id: Ie58ffef920bc5329f893b32a6c8d1e82e3978e4c
(cherry picked from commit c5b45b80a280794ca131b9857c5885c337d4d6e1)
creensaver.java
4781bf735b4c1363f7f29cce4fe9af8f9bed793a 25-Jul-2013 Isaac Katzenelson <isaackatz@google.com> Temporary fix to clock digits clipping

Bug: 9278057
Change-Id: Ibc6ccfaf5707dc7335d4a3609340de3e611cc81f
(cherry picked from commit 6548b0a019548091c29abe905a4ef3f9a9ab61ae)
eroTopPaddingTextView.java
44239e1dd2c7577b923a29bfc75dbcaf83590088 17-Jul-2013 Christopher Tate <ctate@google.com> Use the new AlarmManager.setExact() for our alarms

Alarm clocks tend to need guaranteed timely delivery of their alarms,
so they are well justified in needing the new API.

Bug 9532215

Change-Id: I383f49c19bc8e8f9bceb8c246d972fb838da092d
larms.java
imer/TimerReceiver.java
3c7a3b4634bb51fd39ef0f6dccdd8d1efec0b936 15-Jul-2013 Isaac Katzenelson <isaackatz@google.com> am 4ecef9ca: am a144d266: Disable GlowPad animation when alert activity is done

* commit '4ecef9cadc085916ec9babb79452c99bdac1a940':
Disable GlowPad animation when alert activity is done
4ecef9cadc085916ec9babb79452c99bdac1a940 15-Jul-2013 Isaac Katzenelson <isaackatz@google.com> am a144d266: Disable GlowPad animation when alert activity is done

* commit 'a144d26627bb789943d1ca9acd30932bf7b4132e':
Disable GlowPad animation when alert activity is done
a144d26627bb789943d1ca9acd30932bf7b4132e 14-Jul-2013 Isaac Katzenelson <isaackatz@google.com> Disable GlowPad animation when alert activity is done

Bug: 9825266
The mPingEnabled was not set to flase when the alarm was dismissed, so the
handler was restarting the ping animation of the GlowPad.

Change-Id: I8e0de4ecd86a2a4df7237cd4cbe71aa97272a089
(cherry picked from commit b18aea794b2d81b15b78a338b6708231657518be)
larmAlertFullScreen.java
bffdd8030ca03b79bbac705e8d8e5b15f9b367c2 04-Jun-2013 Sam Blitzstein <sblitz@google.com> am 3b9aeb23: am 157b8743: Merge "Prevent silent ringtone to be the default one." into jb-mr2-dev

* commit '3b9aeb23b62a034a24a92a6a71d0e1513781d023':
Prevent silent ringtone to be the default one.
5f496031b759f6953523c598e61eae08ee91317b 04-Jun-2013 Sam Blitzstein <sblitz@google.com> am 4b161173: am f6017873: Don\'t update timer notification unnecessarily.

* commit '4b161173784b386df73181e6b859d6cf2963061e':
Don't update timer notification unnecessarily.
3b9aeb23b62a034a24a92a6a71d0e1513781d023 04-Jun-2013 Sam Blitzstein <sblitz@google.com> am 157b8743: Merge "Prevent silent ringtone to be the default one." into jb-mr2-dev

* commit '157b87432760b2f988990e7f68e39c51628193f3':
Prevent silent ringtone to be the default one.
4b161173784b386df73181e6b859d6cf2963061e 04-Jun-2013 Sam Blitzstein <sblitz@google.com> am f6017873: Don\'t update timer notification unnecessarily.

* commit 'f6017873e1056b0d9ec0932eb49af77f8ce8814c':
Don't update timer notification unnecessarily.
157b87432760b2f988990e7f68e39c51628193f3 04-Jun-2013 Sam Blitzstein <sblitz@google.com> Merge "Prevent silent ringtone to be the default one." into jb-mr2-dev
f6017873e1056b0d9ec0932eb49af77f8ce8814c 03-Jun-2013 Sam Blitzstein <sblitz@google.com> Don't update timer notification unnecessarily.

Timer notification was updating itself while the timer was stopped.

Bug: 9248101
Change-Id: I585266e50dd8c54242b06e541d9b06cead6ab848
imer/TimerReceiver.java
b2d117c908066290ea8174bed39c9f101af20999 03-Jun-2013 Isaac Katzenelson <isaackatz@google.com> Prevent silent ringtone to be the default one.

Bug: 7588955
Change-Id: I3df59a7010f0a92d48796b770ff2e4fcbef5f811
larmClock.java
c1a7b148689e20e6a6165ec19106072c3f7717ce 13-May-2013 Isaac Katzenelson <isaackatz@google.com> am c5087ee6: am a77d4702: Merge "Hide fragements onPause" into jb-mr2-dev

* commit 'c5087ee63b3b97a81f2da21b70906816a5466a2a':
Hide fragements onPause
c5087ee63b3b97a81f2da21b70906816a5466a2a 13-May-2013 Isaac Katzenelson <isaackatz@google.com> am a77d4702: Merge "Hide fragements onPause" into jb-mr2-dev

* commit 'a77d4702e88df72833de2f8913566305edaa10c4':
Hide fragements onPause
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
topwatch/StopwatchFragment.java
imer/TimerFragment.java
35dba31f8cdfd2b8e4d9a3f2125baa6f1bf6bbb5 09-May-2013 Isaac Katzenelson <isaackatz@google.com> am a17c88fd: am 325d754b: Fix formatting of shared laps info

* commit 'a17c88fddf9e9406161211bbf8f579435d49b517':
Fix formatting of shared laps info
a17c88fddf9e9406161211bbf8f579435d49b517 08-May-2013 Isaac Katzenelson <isaackatz@google.com> am 325d754b: Fix formatting of shared laps info

* commit '325d754bbdc3aae34e35b2e9982cf6c29cdbc7b2':
Fix formatting of shared laps info
325d754bbdc3aae34e35b2e9982cf6c29cdbc7b2 07-May-2013 Isaac Katzenelson <isaackatz@google.com> Fix formatting of shared laps info

Bug: 8555992
Change-Id: I1d211ace1db81f32e42dfe1e25637dc27251a9fa
topwatch/Stopwatches.java
af5fff2dae418a85d7f92af02fece3846c33ed52 07-May-2013 Fabrice Di Meglio <fdimeglio@google.com> am 2c8e5b20: am fd8fbad2: More fix for bug #8555992 [BiDi][ar] Lap time units are displayed in the wrong order

* commit '2c8e5b20501eeb8fece2407a898658d72fde3b57':
More fix for bug #8555992 [BiDi][ar] Lap time units are displayed in the wrong order
2c8e5b20501eeb8fece2407a898658d72fde3b57 06-May-2013 Fabrice Di Meglio <fdimeglio@google.com> am fd8fbad2: More fix for bug #8555992 [BiDi][ar] Lap time units are displayed in the wrong order

* commit 'fd8fbad2c10d1904a72a0bdaab708b44436b746e':
More fix for bug #8555992 [BiDi][ar] Lap time units are displayed in the wrong order
fd8fbad2c10d1904a72a0bdaab708b44436b746e 04-May-2013 Fabrice Di Meglio <fdimeglio@google.com> More fix for bug #8555992 [BiDi][ar] Lap time units are displayed in the wrong order

- use correct decimal separator depending on Locale

Change-Id: I92a964215610b29f5333319ad18bae6213bb0233
topwatch/Stopwatches.java
73aaa4cef07837ef070c09ae94a5dbad66bc50cf 29-Apr-2013 Isaac Katzenelson <isaack@android.com> am 3ede2aa9: am b1733043: Merge "Fix the problem that a crash occured when repeat to show alarmclock settings dialog quickly in deskclock app"

* commit '3ede2aa95a72f7f7f1aaf06777c7090f1b14991b':
Fix the problem that a crash occured when repeat to show alarmclock settings dialog quickly in deskclock app
3ede2aa95a72f7f7f1aaf06777c7090f1b14991b 29-Apr-2013 Isaac Katzenelson <isaack@android.com> am b1733043: Merge "Fix the problem that a crash occured when repeat to show alarmclock settings dialog quickly in deskclock app"

* commit 'b1733043468616d84164302cd302122e28c1d318':
Fix the problem that a crash occured when repeat to show alarmclock settings dialog quickly in deskclock app
b1733043468616d84164302cd302122e28c1d318 29-Apr-2013 Isaac Katzenelson <isaack@android.com> Merge "Fix the problem that a crash occured when repeat to show alarmclock settings dialog quickly in deskclock app"
2685c5dbf70ba65b0cb8fba9020ccb269761202b 23-Apr-2013 Isaac Katzenelson <isaackatz@google.com> am 11a00439: am f91fcac9: Merge "Fix direction of page switching in RTL" into jb-mr2-dev

* commit '11a004394fa41b6414105a8ef78f0096c789203e':
Fix direction of page switching in RTL
11a004394fa41b6414105a8ef78f0096c789203e 23-Apr-2013 Isaac Katzenelson <isaackatz@google.com> am f91fcac9: Merge "Fix direction of page switching in RTL" into jb-mr2-dev

* commit 'f91fcac965a179a1c066674c174a90cb46d7401b':
Fix direction of page switching in RTL
9a39d368cab0c21a3a721d2df86a44eba4e3121c 07-Apr-2013 annieyu <annieyu@huaqin.com> Fix the problem that a crash occured when repeat to show alarmclock settings dialog quickly in deskclock app

The original use of method addToBackStack is incorrect, the two steps in a fragment transaction should be executed as the order they defined.

Change-Id: I6dd5d947c6a589303b2c62dafd0ff78ff5072812
larmUtils.java
50e878a1797af7df3091e91152d7a6d6ffcd0f21 22-Apr-2013 Isaac Katzenelson <isaack@android.com> am af32e165: am 6005045e: Fix date formatting.

* commit 'af32e165dd567029b8937ba3a6e046effe8872c4':
Fix date formatting.
a662a90ae0659d8ddadde019b8bb3e2ffe2becc1 21-Apr-2013 Isaac Katzenelson <isaackatz@google.com> Fix direction of page switching in RTL

Bug: 8647062
Change-Id: I3b4f864853da4584a6e791863cf01cf2dcf4e754
eskClock.java
af32e165dd567029b8937ba3a6e046effe8872c4 22-Apr-2013 Isaac Katzenelson <isaack@android.com> am 6005045e: Fix date formatting.

* commit '6005045e0150ae4082685d62c9631b24b8460fa0':
Fix date formatting.
6005045e0150ae4082685d62c9631b24b8460fa0 19-Apr-2013 Isaac Katzenelson <isaack@android.com> Fix date formatting.

Bug: 8549076
Change-Id: I786edec748467a325b7dbb34a4d33e02b8346033
tils.java
2d240914d6df946910455278123a393117e53efd 19-Apr-2013 Isaac Katzenelson <isaack@android.com> am f9bf27d6: am d5553499: Adding log entries to track next alarm string modifications

* commit 'f9bf27d680d5a67e19a6fce598ced2ab1aad8e7f':
Adding log entries to track next alarm string modifications
f9bf27d680d5a67e19a6fce598ced2ab1aad8e7f 19-Apr-2013 Isaac Katzenelson <isaack@android.com> am d5553499: Adding log entries to track next alarm string modifications

* commit 'd5553499a82d8768a8d0a8becf42f33a038844ac':
Adding log entries to track next alarm string modifications
d5553499a82d8768a8d0a8becf42f33a038844ac 19-Apr-2013 Isaac Katzenelson <isaack@android.com> Adding log entries to track next alarm string modifications

Bug: 8597049
Change-Id: I71d3eca2832b467ae373fcd4a4ffabba512bdeae
larms.java
07c50260a7226964d18ba98aae14924583ac1151 17-Apr-2013 Isaac Katzenelson <isaackatz@google.com> am 1db3c057: am d8abcbcd: Merge "Remove hardcoded strings from AlarmDatabaseHelper"

* commit '1db3c0574a52ed5e8fb575d84e9d4536a3f55636':
Remove hardcoded strings from AlarmDatabaseHelper
1db3c0574a52ed5e8fb575d84e9d4536a3f55636 17-Apr-2013 Isaac Katzenelson <isaackatz@google.com> am d8abcbcd: Merge "Remove hardcoded strings from AlarmDatabaseHelper"

* commit 'd8abcbcd262259ca06735e5a8fa07e3148d1f8c4':
Remove hardcoded strings from AlarmDatabaseHelper
813ad39e58515e8298a98602b3347ad9f722ca27 11-Apr-2013 Isaac Katzenelson <isaack@android.com> am 9f876b19: Fix Zero padding for condensed bold font

* commit '9f876b1978a22dd5176110b36d97175130097037':
Fix Zero padding for condensed bold font
9f876b1978a22dd5176110b36d97175130097037 11-Apr-2013 Isaac Katzenelson <isaack@android.com> Fix Zero padding for condensed bold font

Bug: 8578927

Added a check to condensed bold font to apply special paddings in ZeroTopPaddingTextView

Change-Id: I1eefdec68e614a3fc8befc184360e5ed11a51327
eroTopPaddingTextView.java
d44c94138dc0c119c4cb579ce0ae98d9ad9e362d 22-Mar-2013 Isaac Katzenelson <isaack@android.com> am 44fb4bf8: Update "home" label in widget on locale change

* commit '44fb4bf838deadb532ea475ff99a80bf90f980b0':
Update "home" label in widget on locale change
44fb4bf838deadb532ea475ff99a80bf90f980b0 22-Mar-2013 Isaac Katzenelson <isaack@android.com> Update "home" label in widget on locale change

Bug: 8445703
Change-Id: Ibfb3516006e6446c5e2994af111e47b95578ebe4
orldclock/WorldClockAdapter.java
6cd7afbca6d446de2c289818b852c8baf18a6546 17-Mar-2013 Anton Cherkashyn <mail@antonc.com> Remove hardcoded strings from AlarmDatabaseHelper

Replace hardcoded column ids with constants from Alarm.Columns class.
This also moves table name into a separate String constant "alarms".

Change-Id: Ie359fb0ffdf3d63a3a44c0c47fdfd37a2b914dee
larmDatabaseHelper.java
0ef61b9b14ec00c58c952deffe5f700838b65a9c 09-Mar-2013 Chet Haase <chet@google.com> Removing unused inner class DrawableWithAlpha

Change-Id: Ia4b97f5a2ea834b60dd754cd9d58f42efed062a1
idget/multiwaveview/TargetDrawable.java
1e685e5c5b60069e08b685954d0d8de5bfbb7734 14-Feb-2013 Isaac Katzenelson <isaack@android.com> Add header to TimersList for expired timers

Bug: 7564639

Transparent header in TimersList is now always added.

Change-Id: Ia18afd737aca83ea18320eb2c474335c728c7135
imer/TimerFragment.java
239452b0b8ecc14a2d10b23033e1e038f10b4c7d 12-Feb-2013 Isaac Katzenelson <isaack@android.com> Clear delete dialog flag when dialog dismissed

Bug: 8167504
Added an onCancel listener to catch cases when closing the dialog
when pressing outside the dialog and resetting the "in delete confirmation"
flag.

Change-Id: I5577924c44affbebdfce32d2153652fb13ba7c0f
larmClock.java
7a361eeb75d2b0760d19cbf20e5978ca0bbdede5 12-Feb-2013 Isaac Katzenelson <isaack@android.com> Prevent race condition when clearing timers

Bug: 8181803
Change-Id: Iab8b471b70f5fa91fd857ea7a83d4249ff015c0f
imer/TimerFragment.java
ae0cdcb45f8bb679c5c7a9a832f40d3eaa8f07e1 12-Dec-2012 Isaac Katzenelson <isaack@android.com> Start blinking thread with post instead of postDelayed

Bug: 7275365

When pressing the stop button on the timer of stopwatch, start the blinking of the
time without a delay.

Change-Id: I2cbd6ebd65fc9dd6699fbc53c867627ca95dab01
imer/CountingTimerView.java
69ba4ed9235ad2a77177629bac241ab0e6915087 13-Dec-2012 Isaac Katzenelson <isaack@android.com> Do not launch clock when touching the clock on the lockscreen

Bug: 7640566

On the lock screen:
Do not launch clock at all, launch CitiesActivity when clicking on the world clock.
On the home screen:
Launch the clock app when touching the clock, launch CitiesActivity when
clicking on the world clock.

Change-Id: I09302f35c7c585bfd1db010eb3f14feea84e34af
imer/CountingTimerView.java
83a7149ba95546bc0acfbc7b74e250114f53148d 08-Feb-2013 Isaac Katzenelson <isaack@android.com> am 5e36df02: am 39291f60: am 81a0690f: Resseting volume button to "do nothing" on upgrade

# Via Android Git Automerger (2) and Isaac Katzenelson (1)
* commit '5e36df02424cf9657296d8de05a26981e95398e8':
Resseting volume button to "do nothing" on upgrade
81a0690f93c021e189976a476c20fc5aab4841a5 08-Feb-2013 Isaac Katzenelson <isaack@android.com> Resseting volume button to "do nothing" on upgrade

Bug:8151863

Change-Id: Ic99172767f90d78837f783336309f9a99bfd3ea2
larmInitReceiver.java
ettingsActivity.java
342d2730008e9d4700a40b04bb8c857d48aa4c1c 07-Feb-2013 Isaac Katzenelson <isaack@android.com> am c680a456: am c272aa58: am a3458d94: Switch volume button default behavior

# Via Android Git Automerger (2) and Isaac Katzenelson (1)
* commit 'c680a456cc7d9fcb3999dc567557c1db6f6d2813':
Switch volume button default behavior
a3458d9448c4131b530361fb87edb28baebb647e 07-Feb-2013 Isaac Katzenelson <isaack@android.com> Switch volume button default behavior

Bug: 8151863
Changed the default to do nothing and added a check to make sure that on
the first boot after an upgrade, it will switch "Snooze" to "Do nothing"

Change-Id: I778e3eb58f465f2c3fc5be55859874cca8ab8b62
larmAlertFullScreen.java
larmInitReceiver.java
ettingsActivity.java
1419bd32bbcccd8918df6d217572ed74bab3aac0 07-Dec-2012 Robyn Coultas <coultasr@android.com> am ba60b3eb: am 0ed9f5a3: am 1e34a1be: Always log the alarm time

* commit 'ba60b3eb1550603716c7b910da6a818fc67b8e43':
Always log the alarm time
1e34a1bead76f4c3fa6e2baec327e5846f4c23fd 06-Dec-2012 Robyn Coultas <coultasr@android.com> Always log the alarm time

Bug: 7579100
Bug: 7634943

Intentionally verbose to provide useful information in bug reports.
Tuned format of alarm time to include day of week

Change-Id: I54fb5ee75c28868adf98c0d9d1f3fb25f55a6af6
larms.java
og.java
a5b99b928c27e9c816107fa07b9dfb97f3fadd24 03-Dec-2012 Robyn Coultas <coultasr@android.com> am 12c78f88: am 0e99b2e9: am be452965: Distinguish replacing alarm from dismiss

* commit '12c78f88244d35bee06665baa911846543edcc47':
Distinguish replacing alarm from dismiss
ee7e6ae9eb0c2e70c4a2c596d1b20293fec3f8d9 03-Dec-2012 Isaac Katzenelson <isaack@android.com> am 59aa8cff: am e00440bb: am f40eb1de: Reset timers data instead of deleting it

* commit '59aa8cffdb66eef9aa65004e331ac767b3550cd4':
Reset timers data instead of deleting it
be452965e9b8467d2f640ccee1002119bb7d2761 30-Nov-2012 Robyn Coultas <coultasr@android.com> Distinguish replacing alarm from dismiss

Bug: 7565654

AlarmAlertFullScreen was doing a finish on the signal from AlarmKlaxon,
so the simultaneous new intent from AlarmReceiver was not processed.

Change-Id: Ia681dfa2986a98e522ca6f0590a731a03497f9f4
larmAlertFullScreen.java
larmKlaxon.java
larmReceiver.java
larms.java
870ebc8bc0de635b5df43c4636e42ca42d063bc4 30-Nov-2012 Robyn Coultas <coultasr@android.com> am aca13072: am 91ec5ab5: am 45a2e4b9: Aligning columns in stopwatch lap times

* commit 'aca13072a2d3b57e5dfda2f400009538fc194c2b':
Aligning columns in stopwatch lap times
f40eb1debfba95dcf4a916e7e9e604cc5021de41 20-Nov-2012 Isaac Katzenelson <isaack@android.com> Reset timers data instead of deleting it

Bug: 7561736
Change-Id: I5039f53fb946e884dcedb772a367b1e1c509f647
larmInitReceiver.java
imer/TimerObj.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
topwatch/StopwatchFragment.java
topwatch/Stopwatches.java
imer/CountingTimerView.java
cd9df51ef845e7a5d0445fe128672fd4b32c3782 30-Nov-2012 Robyn Coultas <coultasr@android.com> am 2c472370: am 6a47c31f: am 761d9917: Fixed scaling on timer/stopwatch time

* commit '2c47237030906fbf189b6aef7e62618c7237034a':
Fixed scaling on timer/stopwatch time
761d99173a2a9d4221845b58b0b7412740807972 29-Oct-2012 Robyn Coultas <coultasr@android.com> Fixed scaling on timer/stopwatch time

Bug: 7377962
Bug: 7371551
Bug: 7427599

Fixes arabic problem
Cleanup - spelling and wide text

Change-Id: I470fa71b64b560c239b02f7e7d3d3a221fa5dd71
imer/CountingTimerView.java
60bdb352a3a774900877351660ac9739203320da 29-Nov-2012 Robyn Coultas <coultasr@android.com> am 4e41b366: am f59a6adc: am e41a1a5c: Timers: Sort order and auto-scrolling behavior

* commit '4e41b366ae27cb790030e78cf4997578298082fc':
Timers: Sort order and auto-scrolling behavior
23e712d12f4475814adb08336b9d6981849f949c 29-Nov-2012 Isaac Katzenelson <isaack@android.com> am 86e0e17d: am 5f388bf6: am 0548712a: Keep screen on when running stopwatch

* commit '86e0e17d39a2e32815be8ea9c782bf393d82e81c':
Keep screen on when running stopwatch
6732b003938d44d03c63e4322c9ed67e383d2d4b 29-Nov-2012 Robyn Coultas <coultasr@android.com> am 69a29e09: am aa644764: am b69f4084: ACTION_ON_QUARTER_HOUR replaces ACTION_TIME_TICK

* commit '69a29e0985cc7b5c6d16be0050936f2599e68aa1':
ACTION_ON_QUARTER_HOUR replaces ACTION_TIME_TICK
e41a1a5c11e75f36c5f1d1ec7e7cc332e2ec7836 04-Oct-2012 Robyn Coultas <coultasr@android.com> Timers: Sort order and auto-scrolling behavior

Bug: 7248981
Change-Id: Ie706df490d146c284213962cfde55388726ebf37
imer/TimerFragment.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
eskClock.java
eskClockFragment.java
topwatch/StopwatchFragment.java
b69f408433c5b8ee184d6527b63616b29efba429 20-Nov-2012 Robyn Coultas <coultasr@android.com> ACTION_ON_QUARTER_HOUR replaces ACTION_TIME_TICK

BUG: 7522888

Consolidated common code for this alarm into Utils
refresh quarter-hour-alarm when time changes

Change-Id: I96645d07db942a9030485cd71bd2a27a04475672
lockFragment.java
creensaverActivity.java
tils.java
22bd28b1370d6dd880de953cbb24c7a2484f74e8 28-Nov-2012 Attila Bodis <attila@google.com> am a4b32297: am c38dc0d6: am 94830db6: Extract boilerplate code into drawHand() utility method, for make benefit glorious readability.

* commit 'a4b32297433d74bfff621da7126776b729bf3ab7':
Extract boilerplate code into drawHand() utility method, for make benefit glorious readability.
82d78f0e7dcca557314b5fc95fa362f49b7bd6f6 28-Nov-2012 Isaac Katzenelson <isaack@android.com> am f937d3bb: am c4218418: am e06d8673: Sort timezones in timezone picker

* commit 'f937d3bbc78fed3aec3cd88cc7b09a16b266992c':
Sort timezones in timezone picker
6fa4da7478a3503e6298775710e2551a4c3a8bf4 27-Nov-2012 Romain Guy <romainguy@google.com> Merge "Use trilinear filtering to draw the analog clock"
cfbae11848c41619bbf19d0d24018d744e973030 27-Nov-2012 Romain Guy <romainguy@google.com> Use trilinear filtering to draw the analog clock

The clock is often drawn scaled down from its original size. This
change turns on trilinear filtering which makes the resampled
result look a little nicer. The difference is visible even on
xhdpi devices.

This change relies on a new XML attribute introduced in API level
18 so the makefile was updated to use the current SDK. The attribute
will be safely ignored on previous versions of the platform.

Change-Id: I506e13398496b66b5dd8f2d789ea338d99371635
nalogClock.java
94830db6555083e48f68d727921952a116ff7b18 27-Nov-2012 Attila Bodis <attila@google.com> Extract boilerplate code into drawHand() utility method, for make benefit glorious readability.

Change-Id: I67c92f3f0518fe98e703c5dc5afdf2f33603ff4d
nalogClock.java
e06d867375f0d64f35c229b04f07d4cd374fa6f0 26-Nov-2012 Isaac Katzenelson <isaack@android.com> Sort timezones in timezone picker

Bug: 7596888
Change-Id: Ia122cf85c36f402008b5cbf6249481cb9605126b
ettingsActivity.java
6add973eb288c3321b7a4609bf8472fafe11cca0 20-Nov-2012 Isaac Katzenelson <isaack@android.com> Put the seconds hand on top in the analog clock

Bug: 7555265
Change-Id: I4be90e5960492b0c8d38d7d2c52bd0dd18f0c6e0
nalogClock.java
872c29e9aeb5ff1aa71f28b533573b7a53210a67 20-Oct-2012 Isaac Katzenelson <isaack@android.com> Alarm delete confirmation

Change-Id: I591c959efb051d800f6279701d84186aab9ecaae
larmClock.java
38d343af414de746f9831e09390d892f9a28aca3 17-Nov-2012 Isaac Katzenelson <isaack@android.com> Revert "Fix flickers in numeric pad of time picker"

Bug: 7407383
Cannot reporoduce the problem described in the bug after reverting the workaround
in builds JOP40C and JDP45 on any device.
Reverting the workaround.
This reverts commit 3060c5130336909deebf61d6c025be6d62bb3f55

Change-Id: Ie3b7285dc712a105cda8d32088ed0cd42098be36
imer/TimerView.java
9722dd0b2b040337ec22f4fa9dfa72a1ea83e42c 16-Nov-2012 Isaac Katzenelson <isaack@android.com> Make on/off switch more visible

Bug:7555181, 7536599

Changed the dimming effect of an alarm item in alarm settings. When the alarm is off
the alpha if the view is reduced except for the on/off switch.
Disable on/off switch when in CAB mode

Change-Id: I89173ca5124b12fe04a92783d2cc870cfda481c8
larmClock.java
3f6589776cf7463fd1eb0a4c151ffa28455590d9 16-Nov-2012 Isaac Katzenelson <isaack@android.com> Code formatting fixes.

Bug: 7413861
Change-Id: Ia5207e830c8bddf47469ed6b9769cdc98c82b1a2
tils.java
orldclock/CitiesActivity.java
orldclock/WorldClockAdapter.java
60f175e2a226653bb240104c3cac6fc7d5043659 25-Oct-2012 Isaac Katzenelson <isaack@android.com> Read cities names for DB and not from list

Bug: 7413861

The list of user selected cities in world clock was using the name from the usr's list and
not from the DB. When a change of locale is done on the device, the cities name were not changed.
Changed the WorldClock adapter to use the DB name and timezone if available.
Added suport in both app and widget.

Change-Id: I029581f9fd6cf245ac980c1d1352e0d777924ccd
lockFragment.java
tils.java
orldclock/Cities.java
orldclock/CitiesActivity.java
orldclock/WorldClockAdapter.java
c1d293908f835285f87d6c5dd07df76fe3127519 08-Nov-2012 Isaac Katzenelson <isaack@android.com> Update widget with home time changes

Bug: 7498378
Added an update broadcast when Home TZ is turn on/off or the time zone is changed.

Change-Id: Id447a5b12df49fbc494850af3f8a879e64c3458f
ettingsActivity.java
eafb30c1b58818885bc01408effde84563bc5981 08-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Slide unlock cannot get accessibility focus (deskclock).

1. There are two overlaid views, one is the GlowPadView and the
other is the SlidingChallengeLayout. Since the GlowPadView is
on top of the other view it has to consume the hover events or
they will be dispatched to the view behind it which results
the the GlowPadView not getting accessibility focus.

bug:7496770

Change-Id: Ibfb8ec1494600cb9bf3ab57867daa896735b2308
idget/multiwaveview/GlowPadView.java
5c464d35f230912053d7a5873dd6b59ca6e11852 24-Oct-2012 Isaac Katzenelson <isaack@android.com> New digital clock widget for Clock

Bug: 7390795

Added a new widget with its own provider and service and factory.
Factory extends a broadcast receiver and listens to all time
changes, locale changes, changes in world clock and alarms.
Added broadcasts for changing the world clock's user cities list
and for setting the next alarm.

Change-Id: Ida4bbd619da941fb46505cb2ac653fde0a41a97f
larms.java
lockFragment.java
ettingsActivity.java
tils.java
orldclock/Cities.java
orldclock/CitiesActivity.java
orldclock/WorldClockAdapter.java
e85aa29405a8b809f3b83a4fca93d21f2b36f4ea 28-Oct-2012 Itzhak Katzenelson <isaack@android.com> Fixed response to taps in alarm "card"

Bug: 7427173
Added 2 listener to the label view and the daysOfWeek view.

Change-Id: I2f8676bdd65d6047304a493a50022c6f6fdbbe4f
larmClock.java
4955078b577e35a325f88f286502cd3edde4e102 26-Oct-2012 Isaac Katzenelson <isaack@android.com> Fix flickers in numeric pad of time picker

Bug: 7407383
Switched all digits to Roboto Thin so there is no need to adjust
paddings.

Change-Id: Ide6cf79754645eb8f8b07719bea7105ab0ae7885
imer/TimerView.java
687d3b672f3a86c108ecb121985d018d8c2481ae 25-Oct-2012 Chiao Cheng <chiaocheng@google.com> Saving selected alarm.

Fixed bug where orientation change during alarm picker causes error because
the currently selected alarm is lost.

Bug: 7402699
Change-Id: I86f4cbca34a024dc7f3ba7e2fe1a76f570c4e680
larmClock.java
bb82c8cc2e111563a462a6eff9e6f22a110c6cf9 25-Oct-2012 Itzhak Katzenelson <isaack@android.com> Fix jerkiness in alarm list

Bug: 7411618
Moved scrolling runnable to be activated only in "onClick"
calls and not on all calls to expandAlarm.

Change-Id: Iace92a79e39ebfc038a258c5b4155daa77227031
larmClock.java
3df1d0eeadfc6a4e95514e10203a3b776c934c8d 25-Oct-2012 Itzhak Katzenelson <isaack@android.com> Fix NPE crash on timer deletion

Bug: 7406765
Change-Id: I4c03238942b3c3b3ed00d42621ae54d6bc8046ef
imer/TimerFragment.java
61cdc8425fc9a3ee818b71a77dac8ffde83f9617 24-Oct-2012 Isaac Katzenelson <isaack@android.com> remove content description from empty buttons

Bug: 7385952
Change-Id: I31b9df4ad99fbb7ee398f7e5a0ae337ec54a4482
imerSetupView.java
8d5301a902a8d2b8166151481752653af3d0af17 24-Oct-2012 Isaac Katzenelson <isaack@android.com> Make fast scroll on cities activies always visible

Bug: 7337062

Somehow, this fix was not merged from the unbundled branch to JB-MR1

Change-Id: I1a30005597102ca30ee5b54e2213080a3a0f5e9b
orldclock/CitiesActivity.java
c0d954df1479a0a1cc175db8238f74bd396abd28 23-Oct-2012 Isaac Katzenelson <isaack@android.com> Change clock layouts

Bug: 7275340, 7390795

Change layout of clocks so that all info (date, next alarm, city name, etc..)
will be under the clock and centered.
Fixed issue with redundant leading zero in am/pm time.

Change-Id: I8af219b1d62a2a092f4b46a22b9a262acc25ceef
lockFragment.java
igitalClock.java
creensaver.java
creensaverActivity.java
tils.java
2bf39f770633f87dd5cd669b0a373298956fd6d6 23-Oct-2012 Isaac Katzenelson <isaack@android.com> Timers animations

Bug: 7336925, 7309608
Change-Id: If2891d59287e24cf8c643deaacfd1270a2df4e63
eskClockFragmentOld.java
imer/TimerFragment.java
imer/TimerListItem.java
fccd1dcdf6d83edc800e64d0494872a1c688acae 23-Oct-2012 Isaac Katzenelson <isaack@android.com> Add LAP label to lap info

Bug: 7350699
Change-Id: I3661245aa84480656d8718412d8bf80dc1aab296
topwatch/StopwatchFragment.java
0000f13dbdeda5e7c716bd5a8cf7e9ba08b1da52 23-Oct-2012 Isaac Katzenelson <isaack@android.com> Fix background for alarm list items

Bug: 7391088
Change-Id: Ie929285e47b0e62edbe99a39a39fed8d3f151148
larmClock.java
9dad8db45bb8b5b971a5b34aec96617563d243bc 22-Oct-2012 Isaac Katzenelson <isaack@android.com> Fix crash in GetViewById

Bug: 7392687
Change-Id: I71be8f541004bff307c02652ea554ebea651447f
larmClock.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
lockFragment.java
eskClock.java
creensaver.java
creensaverActivity.java
tils.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
c1c37b50058c827518fa972651738847044f9871 22-Oct-2012 Isaac Katzenelson <isaack@android.com> Do not show time picker after alarm undo

Bug: 7388948

When undo was selected, add alarm was called which automatically opens the time picker.
Added a flag to control this feature depending if it is a new alarm or an alarm restored from undo.

Change-Id: I1dde1f8dc893226869cbfd05596a6c7bd2eddb85
larmClock.java
99a1be6f63230f5a4d6ac38a8d1ccf58a05ed20a 22-Oct-2012 Isaac Katzenelson <isaack@android.com> Do not kill timer alert in onStop

Bug: 7386784

When the lock screen is on, onStop is called once and then the activity is started.
This causes the activity to dismiss the timer alerts.
Removed the call to dismiss the timer alerts.

Change-Id: I38af5b019c99aaf754d85d2e1904fb34ef3c5d2f
imer/TimerAlertFullScreen.java
35f68aa92e49331272104a7a5c72046b2c82496d 20-Oct-2012 Isaac Katzenelson <isaack@android.com> Lock alert orientation for un-docked phones.

Bug: 7368087

Lock the rotation to the default for phones.
LEt device rotate if it was docked or it is sw600

Change-Id: Ie3379e2e13a8e0321019f845ff149bbc5b599b6d
larmAlertFullScreen.java
96509e15991b34a54a3321c787b3c5d8edb16431 20-Oct-2012 Isaac Katzenelson <isaack@android.com> Open time picker when creating a new alarm

Bug: 7365352, 7339518

Also, scroll item to make sure it is fully visible when expanded

Change-Id: I5707b3a26cbe3506343a9e69a92b8b63c42d03bd
larmClock.java
9e33fe399ce41766dc0a2d6e8f3e2fef0d30f6c1 19-Oct-2012 Robyn Coultas <coultasr@android.com> Renumbered Timer+Stopwatch notification id

Bugs: 7367575, 7367541

Change-Id: Ie64fa1ebfb38976a13385c50621bd71d81068dd9
larmAlertFullScreen.java
larmKlaxon.java
larmReceiver.java
larms.java
lockFragment.java
ettingsActivity.java
imerRingService.java
topwatch/StopwatchService.java
imer/TimerReceiver.java
8dac45cc62008a66d21107b00aa39faabdc1b6f2 18-Oct-2012 Robyn Coultas <coultasr@android.com> Revert Alarm behavior for Back and Home keys

Bug: 7367668
Change-Id: I8fd7f0b762ecbaad3b5f9730f864eb982650230a
larmAlertFullScreen.java
fa850403039aa9869159978bd83877652606e95b 17-Oct-2012 Isaac Katzenelson <isaack@android.com> Add support of long press to delete alarms

Bug: 7308745

Added support for "long press to delete" to alarm list.

Change-Id: I67ac27de106c87ab8b7cd139db08197c5d7e9538
larmClock.java
feabb7a335fb8c7644783d2dca53b864009054d8 12-Oct-2012 Robyn Coultas <coultasr@android.com> Show TimerAlertFullScreen upon any timer expiry

Bug: 7333666
Change-Id: If4f3583e4963d75a88ba8a4967475dbde76a7868
larmAlertFullScreen.java
larmKlaxon.java
eskClock.java
imerRingService.java
tils.java
imer/TimerAlertFullScreen.java
imer/TimerFragment.java
imer/TimerReceiver.java
imer/Timers.java
ea6e9a11bdbb64ca4bde0ee9889ea20b115af737 12-Oct-2012 Robyn Coultas <coultasr@android.com> Optimize world clock layout

Bug: 7326209
Change-Id: Ie28836d3ba2b15d5156dc0f0021bf183fd300a18
idget/EllipsizeLayout.java
3012eefc84559507168982a7fc53dff667582b00 16-Oct-2012 Chiao Cheng <chiaocheng@google.com> Adding unlock-like slider control for alarm dismiss/snooze.

This is a re-addition of something that was previously added and then removed:
I65be41b889446ae7232488bfc2809bd2add93f6f

- Ported GlowPadView and helper classes over to clock app. Framework version
relies on a couple hidden api's so there are minor changes to the code.
- Added necessary drawables to support slider.
- Added special paddings for 7" and 10" tablet.

Bug: 7353387
Change-Id: I6101bebdb4be6f0208d171fbfadc4317f9fac675
larmAlertFullScreen.java
idget/multiwaveview/Ease.java
idget/multiwaveview/GlowPadView.java
idget/multiwaveview/PointCloud.java
idget/multiwaveview/TargetDrawable.java
idget/multiwaveview/Tweener.java
3fd300659aeebffa2ed96f089eeee188cd53efb5 17-Oct-2012 Isaac Katzenelson <isaack@android.com> Fix crash in alarm adapter

Bug: 7360684
Change-Id: Ia328b79bcadb8eedf57e9e15d7f933b7747dce8e
larmClock.java
4d312a2e3348e8defafc5482d7fc6dbb65f62598 16-Oct-2012 Isaac Katzenelson <isaack@android.com> Adding a dedicated ring for timer alerts

Bug: 7349294
Change-Id: I674ae774ccdc4d1f2cf57a1569b15aa51847dcfb
imerRingService.java
ae45ac13dc2d3c9c1fa53ebda3b0e6890fe24f78 16-Oct-2012 Isaac Katzenelson <isaack@android.com> Debug info for AlarmAlert

Bug: 7348602
Change-Id: I6c32ad9eb4d9ebea9a47b53a99cad3ca840761e2
larmAlertFullScreen.java
eb4781af67d44098d12d64ae474e431572702d37 16-Oct-2012 Sam Blitzstein <sblitz@google.com> Fixed bugs for time pickers.

Start button is disabled when no time is entered.
Delete button is disabled when no time is entered.
Long press delete button clears input.

Bug: 7251629
Bug: 7224907
Change-Id: I4f2be2f7b93e6c582dd997e12fe1ee63e69021a2
imePicker.java
imerSetupView.java
imer/TimerFragment.java
74aeadcbea52d36dab5c6be214dba67200393853 16-Oct-2012 Robyn Coultas <coultasr@android.com> Fix NPE when stopping off-screen times-up timers

Bug: 7352792
Change-Id: I802681b268cef027e183587482d5366c5c212ddc
imer/TimerFragment.java
1048518dc717ffb4571dc4224725b9b524577471 16-Oct-2012 Robyn Coultas <coultasr@android.com> Match dream style default to settings value

Bug: 7341002
Change-Id: I1fbcccf5b221490919bcf1fb752240c576e1ef05
creensaver.java
f67abfd4e9d546732d67d0b3afe57921e34b7dcd 12-Oct-2012 Isaac Katzenelson <isaack@android.com> Clear data on boot

Bug: 7329086
Change-Id: I8c60351ff23ea70c34b50b1fb5522bd431190100
larmInitReceiver.java
tils.java
topwatch/StopwatchFragment.java
imer/TimerObj.java
ef9888eabb6d299d8fe44cc66a7991ba7603a008 15-Oct-2012 Robyn Coultas <coultasr@android.com> Only show home time when different from main time

Bug: 7325111
Change-Id: Iccddb42f83eb4c0350e9f20de1195cb95bba5757
lockFragment.java
a65d3eb00d543735305221f86ce630c8650e65e2 15-Oct-2012 Isaac Katzenelson <isaack@android.com> Change timers to use system clock

Bug: 7344200
Change-Id: I10e09828b720a0101afc76391faf3357987684f8
imer/TimerFragment.java
imer/TimerObj.java
imer/TimerReceiver.java
2a6b929796cdcac7553c732d94e60d9b47dff859 12-Oct-2012 Chiao Cheng <chiaocheng@google.com> Add swipe protection around alarm on/off switch.

Prevent swipe to delete around the area of the on/off switch.

Bug: 7339299
Change-Id: Ia19ebffe1970cb58ac4c7c2fe5135a85cfbd73c9
idget/swipeablelistview/SwipeHelper.java
c81760e098c7ef6370fd9e038c6264b06f17f232 12-Oct-2012 Isaac Katzenelson <isaack@android.com> Make the last ringtone selection the default

Bug: 7236309
Change-Id: Ib1c7f8fd3880ebb8101815423f6f93e43c3c5736
larmClock.java
ettingsActivity.java
797e22b7224d20f4ce7303f59dc02989bdf83a24 12-Oct-2012 Chiao Cheng <chiaocheng@google.com> Add underline graphics to day of week buttons in alarm.

Wrapping toggle button in framelayout so underline will only exist under
text while clickable area extends beyond.

Bug: 7335408
Change-Id: I06b9ef334eff77dcec6493c4dd930972e0e16b5a
larmClock.java
0f6e3350fed144e3909ba4e45f3006f042c0187c 11-Oct-2012 Sam Blitzstein <sblitz@google.com> Adding ability to label timers.

Bug: 7203259
Bug: 7324818
Change-Id: I482f4500bfab29ec0ace9b661d72e79473c40f25
larmClock.java
larmLabelDialogFragment.java
ircleButtonsLinearLayout.java
eskClock.java
abelDialogFragment.java
tils.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
imer/TimerReceiver.java
7d308c68d6426048fd851b33b963abe49128c717 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
topwatch/StopwatchService.java
2c24f71c5331b42ac58c69637c04db57d48ec918 11-Oct-2012 Chiao Cheng <chiaocheng@google.com> Sort alarms by time again.

Change default alarm to 12am instead of 6am. Added smooth scrolling to correct
position when order is changed from time modification. Also adding scroll back
to top when adding new alarm.

Bug: 7316415
Change-Id: I61bf4626a7c40694150ee95088eef137afbdd5d9
larm.java
larmClock.java
45df16665f6a945e08455ff8ed6be5dac598d6e1 12-Oct-2012 Robyn Coultas <coultasr@android.com> Stop stopwatch service when not running.

Bug: 7327863
Change-Id: I01c3ebafcd15238448c618e66b7a5097fc74d1a3
topwatch/StopwatchService.java
15fe965a481e7be1d8cb5f73dd67fd936568a994 11-Oct-2012 Sam Blitzstein <sblitz@google.com> Fixed start/stop button bugs.

Prevented start/stop from turning grey if you exited the tab.
Changed start to hidden after stopping an expired timer.

Bug: 7324542
Bug: 7319174
Change-Id: I850fc57d5ec0e6f20be7c31f7146129ca819e382
imer/TimerFragment.java
932e0129e244e2874dfa3c6be58b2fe9a20cc89d 10-Oct-2012 Sara Ting <sarating@google.com> Improve accessibility for visually impaired.

Bug:7303805
Change-Id: Ie215ace8c14c0399448bd297157c0a48ef24e0d5
larm.java
larmClock.java
lockFragment.java
igitalClock.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
aba3c451dccd54617947628045367c65febdee6b 11-Oct-2012 Chiao Cheng <chiaocheng@google.com> Major layout change for alarm list.

- Dim off alarms.
- Adjusted swipe helper to remember the starting alpha of the animated view.
This is required because an alarm may already be dimmed and thus not at
1f alpha.
- Change on/off buttons to switch.
- Change expand/collapse target to span width.

Bug: 7323086, 7317880
Change-Id: I9d9f0561c55dc8739372f93a695286123d29db80
larmClock.java
idget/swipeablelistview/SwipeHelper.java
e10e1df9d70879d9a44e86da390f5a8f26a36bae 11-Oct-2012 Isaac Katzenelson <isaack@android.com> Removed default selection from alarm ringtone picker

Bug: 7326063
Change-Id: Ib0dbcfe34b3fcc651dd9fca61e42c05d44dd476d
larmClock.java
243e97b48679beee97c04890605e0b2722a855f8 11-Oct-2012 Robyn Coultas <coultasr@android.com> No light's out for full-screen Timer activity

Bug: 7324818
Change-Id: I759b06486f3b51ce45653accc13f60a7b182cb7e
imer/TimerFragment.java
b6af69f6776b6dd8f2f122c995cbaf96470b5976 10-Oct-2012 Isaac Katzenelson <isaack@android.com> Merge "release wakelock at night, for super-dim mode. tone down bright white in daylight mode, now that screen is bright." into jb-mr1-dev
6e47702790d5273012cb1c844c0bcf5462ea6194 10-Oct-2012 Itzhak Katzenelson <isaack@android.com> Fix clock date format

Bug: 7317056
Change-Id: Idf02c5e8a8b47b131d71e4346aadf8b2f33a627f
lockFragment.java
014575aefd55845714d0a614213d432ee5d9474b 10-Oct-2012 Itzhak Katzenelson <isaack@android.com> Add new fonts to prevent "stuttering"

Bug: 7198855
Added fixed size font for digits in stopwatch and timer to prevent
the time from moving when the time change.

Change-Id: I8c5fa916c5c64c855f2806911ee8565c48ca6ede
imer/CountingTimerView.java
imer/TimerView.java
ffe12a38c31058d9c4b32343ff35122b1b8678fc 10-Oct-2012 Chiao Cheng <chiaocheng@google.com> Setting all days when repeat checkbox is turned on.

Also remembering the selected days when repeat is turned off. When repeat is
turned on, any previously selected days will be set. If previous does not exist
all days will be selected. The previous is only in effect for the lifetime of
the activity.

Bug: 7318257, 7315850
Change-Id: Idf89d29a2ee47a37b51ac5c7a916f62074339ead
larmClock.java
9814bd45c6c024c3646e7885f4004dfe1aa361e7 08-Oct-2012 Robyn Coultas <coultasr@android.com> Sort world clocks by timezone, name

Bug: 7302953, 7224695
Change-Id: Iced89dad5ba034337f39a4c1e348a06e9bb9c1a7
lockFragment.java
igitalClock.java
orldclock/CityObj.java
2c5682800878b88687fbf351662286a57969dcd5 10-Oct-2012 Chris Wren <cwren@android.com> release wakelock at night, for super-dim mode.
tone down bright white in daylight mode, now that screen is bright.

Bug: 7295909
Change-Id: I6bc2792e1a4dd41ce11a65f2aee8b171eaa80a84
creensaver.java
2e5e0ec8781d6cc9bf713f34ee703405c618faaa 10-Oct-2012 Isaac Katzenelson <isaack@android.com> Merge "Hide alarm vibrate option when device does not support it." into jb-mr1-dev
242e9dec1a73e95e30700e421ddb95c891290723 10-Oct-2012 Isaac Katzenelson <isaack@android.com> Merge "Properly alphabetizing cities with accent marks" into jb-mr1-dev
dbd989a7aebc7914b2cdec3e0cb69e38fae670fb 09-Oct-2012 Chiao Cheng <chiaocheng@google.com> Hide alarm vibrate option when device does not support it.

Bug: 7315409
Change-Id: Ie0e44a0f1c842a3cf0e1415a0707d624ca864dca
larmClock.java
aa9f4d7c5af268ed24666c49112ca55de7323f43 09-Oct-2012 Robyn Coultas <coultasr@android.com> Properly alphabetizing cities with accent marks

Bug: 7312519
Change-Id: I4ac81cb7d91028f0dcbbc7458b5f209829664466
orldclock/CitiesActivity.java
357497c341662c56945e22e458852f52a977efdf 09-Oct-2012 Sam Blitzstein <sblitz@google.com> Implemented lights out and dimming.

Bug: 7234512
Change-Id: I808d992bc58febc0d13d32e95531b6211d598792
lockFragment.java
eskClock.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
a3b4c996cbd237c8306e5ea81ff760581c62e1b8 09-Oct-2012 Chiao Cheng <chiaocheng@google.com> Bolding days of week in alarm when selected.

Bug: 7311577
Change-Id: I7c12abe094ac54a3a51355f56503c43a5df9fc7b
larmClock.java
51193c62415add1a5fcf7e4ac92e6ba543c2fb88 09-Oct-2012 Chiao Cheng <chiaocheng@google.com> Scroll to alarm when set alarm intent is passed in.

Scroll to and expand the specified alarm.

Bug: 7302654
Change-Id: Idf2936ae6f48424f3cafe61f7836a8b4bc737449
larm.java
larmClock.java
da56b596b065fdfc4e74ff2c34ec26263a2ea76d 05-Oct-2012 Robyn Coultas <coultasr@android.com> Preserve TimerFragment state

Bug: 7248640
Change-Id: Ia0ec910f87910c351cbf1accd0a14fbd81f81033
eskClockFragment.java
imerSetupView.java
imer/TimerFragment.java
af70181fffc83d61d949714b4893a37863e63c2e 09-Oct-2012 Isaac Katzenelson <isaack@android.com> Make accidental alarm deletion harder

Bug: 7308745

Change the thresholds for swipe speed and location so it is harder to
delete the alarm when swiping accidentally.
This is a temporary fix so we can postpone doing the deletion using CAB.

Change-Id: If06d08e838fa641b891594fddf061e8f6d889565
idget/swipeablelistview/SwipeHelper.java
dcc0d52bd1ca7529af407b767187d0126f96af65 08-Oct-2012 Isaac Katzenelson <isaack@android.com> Direct alarm set intent to new UI

Bug:7302654
Change-Id: I85c1a10e97e15c29824a52c6a3f88675da1d42fb
larmReceiver.java
andleSetAlarm.java
f4b61599551a250606ed9f5874856cf230ae5972 08-Oct-2012 Chiao Cheng <chiaocheng@google.com> Show keyboard in label dialog.

Bug: 7303005
Change-Id: Id87c6cdffae51cf6b40a66bdfc59a54481c39fb0
larmLabelDialogFragment.java
4c2de2b55dca67adf0d23a7b7c48f397f05409e1 08-Oct-2012 Isaac Katzenelson <isaack@android.com> Layout changes for analog clock and world clock

Bug: 7265721
Change-Id: Ib5b3b20f34a3c7d3779fd21400283053975f2397
lockFragment.java
2f40785d0b53d023d9cc4ee420d9feefe9734886 08-Oct-2012 Itzhak Katzenelson <isaack@android.com> Updated cities list for world clock

Bug: 7265721
Change-Id: Iac20e17c207df486bde2d6682ed62abc65917061
lockFragment.java
orldclock/CityObj.java
1884e57d072c4b59635721f60c32b6d84bafc36d 07-Oct-2012 Robyn Coultas <coultasr@android.com> Wake screen when timer klaxon starts

Bug:7300009
Change-Id: Id84cf53c373bca19a3086f9c522ee3ea8d729760
larmAlertWakeLock.java
imerRingService.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
ircleButtonsLinearLayout.java
ircleTimerView.java
tils.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
imer/TimerListItem.java
c042c7818064b644cf1e63dc784241ae6ed365a4 08-Oct-2012 Chiao Cheng <chiaocheng@google.com> Clear undo bar display state after action click.

When action is click, display state of undo bar is not cleared which causes
undo bar to show again when orientation changes. Fix clears the display state
after action click.

Bug: 7301536
Change-Id: I9c764f6ddf37633274b8b3d58d0f6a74d04a58bd
larmClock.java
06077d25a16684bc4d26c1ee0c48db556983c86c 07-Oct-2012 Sam Blitzstein <sblitz@google.com> Adding a ticker to buzzing timer notification.

Bug: 7293899
Change-Id: I8a5ff90f74eff9bfc803e8bdcd39c05e8b003047
imer/TimerReceiver.java
a9547df82ab6c49bdea429acd3fe5ebf383ffe42 07-Oct-2012 Robyn Coultas <coultasr@android.com> Removed CircleTimerView thread

Bug: 7267337 7290158

Change-Id: Ie4272460f584419bea9e6fd06156b894cdfd1739
ircleTimerView.java
d58f6c413eeb5bc138a4a97b56b25a6b22e20f22 06-Oct-2012 Itzhak Katzenelson <isaack@android.com> World Clock list fixes.

Bug: 7265721, 7224692

Fixed clocks alignments and margins.
Added next alarm and date to the clock

Change-Id: Idff548ac726e6379a029be99527635411d926f91
lockFragment.java
orldclock/CitiesActivity.java
fa2e368e5f00fc8f78b9a47f55d86ccfc99750d2 07-Oct-2012 Chiao Cheng <chiaocheng@google.com> Changed "Off On" button to single text toggle.

Removing dual text on/off button as per UX discussin.

Bug: 7301302
Change-Id: Ide72b4d006090bc7064b09d480c2f16c66411641
larmClock.java
idget/TextToggleButton.java
00c0d8672ea4741a23ff875ca1a992b8ad080e78 06-Oct-2012 Chiao Cheng <chiaocheng@google.com> Fixing unique primary key error.

The undo feature is re-using primary keys. The existing check for existing keys
is not 100% correct. Fixed by actually checking the database right before an
insert. Also wrap in transaction to guarentee atomicity.

Remove undo bar when action bar is used.

Updated alarm toast to be consistent with in-place editing. Anytime alarm is
enabled, toast will be displayed.

Bug: 7299177
Change-Id: Iedce94b2ddf06002c2da239af9299151d3e267ab
larmClock.java
larmDatabaseHelper.java
idget/ActionableToastBar.java
2831a54565a0c2b08d35a8c2b0e21778eeee3df5 06-Oct-2012 Isaac Katzenelson <isaack@android.com> More world clock fixes

Bug: 7265721

Updated cities list
Inserted main clock into the ListView

Change-Id: Ie6c5e44f4ae06aa2b94a1a10003d4bd124f6642b
lockFragment.java
orldclock/CitiesActivity.java
ca667955d68458729481d50881ca2925838c86ef 06-Oct-2012 Isaac Katzenelson <isaack@android.com> Layout fixes

Bug: 7265721
Change-Id: I3891bae699c25e65f7217a071d07309056c4dafb
imer/TimerFragment.java
aa3c30991070ed78289964bba6af72a25341cb39 06-Oct-2012 Daniel Sandler <dsandler@android.com> Pick sounds of TYPE_ALARM, not TYPE_RINGTONE.

Bug: 7298975
Change-Id: I5b965ab626cb04b562532aef7f1272acf3f408b8
larmClock.java
360468b9110ceba95099404265b8ee6e582391d9 06-Oct-2012 Chiao Cheng <chiaocheng@google.com> Allow power button to dismiss/snooze.

- Adding period to undo bar.

Bug: 7266880, 7298811
Change-Id: I6dde551ec7bc87fd5fcc01ca9632276ee6d07670
larmAlertFullScreen.java
22ad7c9ea127b06ee0dc0cb809b59bab33afbf42 04-Oct-2012 Robyn Coultas <coultasr@android.com> Visual distinction for the five timer states

Bug: 7271163
Change-Id: I2c878efec0cb550b9e1c15a7949ff0eae0de7802
ircleTimerView.java
imer/CountingTimerView.java
imer/TimerFragment.java
imer/TimerListItem.java
646258f02bdeb2f9436b8d844514fa8feca383dd 05-Oct-2012 Peter Ng <petergng@google.com> removing box press states and changing icon color instead

Bug: 7238185
Change-Id: I86d7ced51b080d085de3b04ea62ae2daf9303682
topwatch/StopwatchFragment.java
topwatch/StopwatchService.java
imer/TimerFragment.java
99047338c3ad1fe9cc564388c86a8ffb6d4eeb32 05-Oct-2012 Isaac Katzenelson <isaack@android.com> List headers for list of cities

Bug: 7265721
Change-Id: Iaf12ba57c54c1678b5faef4b6eae5ffea0283cf6
orldclock/CitiesActivity.java
0cb70993e26f300f92423bfced0d8cb3efc3f304 05-Oct-2012 Chiao Cheng <chiaocheng@google.com> Adding undo feature for alarm swipe delete.

Bug: 7288024
Change-Id: I5fdbeff6dd63a2ce56371d531f120aaf7da3a71a
larmClock.java
larms.java
idget/ActionableToastBar.java
d091ee89ab2aa5c47d4b7b05e1f5d7e204b99494 05-Oct-2012 Chiao Cheng <chiaocheng@google.com> Minor alarm in-place editing tweaks.

- Toggle off repeat removes all repeat state from underlying alarm in addition
to hiding the visual display.
- Changing time turns alarm on automatically.

Bug: 7289559
Change-Id: Ifbc4d1c7d994ec93717e2fd5b9267c9740ca1e82
larmClock.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
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
fc5cce3453c5b6c08814b1c1ba85612399466c0b 05-Oct-2012 Isaac Katzenelson <isaack@android.com> Add analog clock to world clock

Bug: 7265721
Change-Id: Ia3807341deb1cb17e481fab4d0a3bf936e3a87f6
nalogClock.java
lockFragment.java
imer/TimerFragment.java
f935180a042bdce3dfb2326d045e79bbe1008e38 28-Sep-2012 Daniel Sandler <dsandler@android.com> Add a dot at 12 o'clock.

Bug: 7217515
Change-Id: I039b0cbdf539b96f41c03501187c106ffe7f4d6b
nalogClock.java
9fcb7dd2e5c3da049c7ac6d36c9b1c16041c0117 04-Oct-2012 Daniel Sandler <dsandler@android.com> Keep up with API changes.

Requires change Ib7802c33.

Bug: 7281802
Change-Id: I5542f73ebb5b14eab1199b2e351d3ec26e2f86af
creensaver.java
79328e8f7567a7ac5a15f8cdce0030a8667b4a0a 05-Oct-2012 Isaac Katzenelson <isaack@android.com> Add list headers to cities list

Bug: 7265721
Change-Id: I41b76dae323c001c23caeb4796c6d9069ee73b28
orldclock/CitiesActivity.java
b9dfac14029100a36b9ed40d8c4e69ee7b56ce52 05-Oct-2012 Isaac Katzenelson <isaack@android.com> Fix merge bug that caused the 1.60 minutes to come back.

Change-Id: I74f2c84660e8b945a6ac22e47149e6da4e11b9a5
imer/CountingTimerView.java
2e553c28069f8b2f53821cb9ede7bd395060006b 05-Oct-2012 Robyn Coultas <coultasr@android.com> Maintain timer creation order in list.

Bug: 7287301
Change-Id: Ic203d36c84d64a0dd2008f25f0522cf630bb9ba6
imer/TimerObj.java
4642e848a91180f6ff87acbfa54de1d0b945f19a 04-Oct-2012 Chiao Cheng <chiaocheng@google.com> Properly handle orientation change for alarm display/edit.

Normally activities are destroyed and re-created during an orientation change.
But many of the existing alarm activities have configChanges set in the
AndroidManifest file. This causes the framework to re-size instead of
re-creating the activity on orientation change. In turn, this prevents the
properly layouts and styles from being applied even though there are size
specific resources.

This caused a problem where the dialogs were too big after rotating from
portrait to landscape. Fixed the problem by removing configChanges and properly
handling orientation changes.

Bug: 7201797
Change-Id: I03ab20ce416db0bb8aeb0500dad2a08e7d015b52
larmClock.java
larmLabelDialogFragment.java
larmTimePickerDialog.java
larmTimePickerDialogFragment.java
larmUtils.java
etAlarm.java
imePicker.java
73e5acf1648f83ecc9d9b80496029e7f8c58c970 04-Oct-2012 Isaac Katzenelson <isaack@android.com> WorldClock part 2

Bug: 7265721
Add list of cities and create an indexer.
Make data strings not translateable
Fix fast scroll issue
make cities list point to the right styles

Change-Id: I6e668f913bc951907838d18e9ab0902c87dcce41
lockFragment.java
orldclock/Cities.java
orldclock/CitiesActivity.java
orldclock/CityObj.java
3286630083faa144af00617718411bf66eb3242b 04-Oct-2012 Chiao Cheng <chiaocheng@google.com> Jank improvements.

Fetching a Ringtone object causes a media player to be instantiated for each
ringtone pulled. And as it sounds, it is pretty slow which causes scrolling
in the alarm list to stutter. Fix by caching ringtone when alarm is expanded
so subsequent renders are quick.

Changed alarm updates to be asynchronous.

Bug: 7262805
Change-Id: Ie7277f2b53f3bc4a49796a41a18572f26e124dba
larmClock.java
ce943dc24ab05b5b0742ec17e0510e58d2a66508 04-Oct-2012 Chiao Cheng <chiaocheng@google.com> Removing blue background for on/off button.

Bug: 7288361
Change-Id: I45da8d35b469b98ef6868d70247e3c8e5ed83d80
idget/TextToggleButton.java
f69905c6d3d1a59f99c0f3b902c8402b8aceda84 04-Oct-2012 Chiao Cheng <chiaocheng@google.com> Removing dialog again.

Bug: 7289277
Change-Id: I23eb5346607b0e028e4e55396c9ce57045514eb4
larmClock.java
2b99424fe59984b9efabae3920fb42e77e653786 03-Oct-2012 Sam Blitzstein <sblitz@google.com> Changed alarm alert back to buttons.

Bug: 7274296
Bug: 7266885
Bug: 7260959
Change-Id: I6188b9c99f5f7706ec79e522b97e8b273dc92727
larmAlertFullScreen.java
idget/multiwaveview/Ease.java
idget/multiwaveview/GlowPadView.java
idget/multiwaveview/PointCloud.java
idget/multiwaveview/TargetDrawable.java
idget/multiwaveview/Tweener.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
topwatch/StopwatchFragment.java
imer/TimerFragment.java
imer/TimerListItem.java
5c3795c271bc6160f0ae2056627e9e96ffdc335c 02-Oct-2012 Chiao Cheng <chiaocheng@google.com> Completely new alarm list with in-place editing.

- No longer using separate dialog for setting alarms in the normal workflow.
Set alarm dialog is still needed to handle external extends. Fate of old
set alarm activity is still to be decided.
- Removed dialog theme for sw600dp screens.
- Added label edit dialog.
- Added custom on/off button to improve smoothness of clicks by increasing
hit box of clickable area.

Bug: 6164920
Change-Id: I19567658535f3ec78755328a147376a81d5363a8
larm.java
larmClock.java
larmLabelDialogFragment.java
larmListeners.java
larmTimePickerDialog.java
larmTimePickerDialogFragment.java
larmUtils.java
larms.java
igitalClock.java
andleSetAlarm.java
og.java
ldDigitalClock.java
etAlarm.java
eroTopPaddingTextView.java
imer/TimerView.java
idget/TextToggleButton.java
idget/swipeablelistview/LogTag.java
idget/swipeablelistview/LogUtils.java
idget/swipeablelistview/SwipeHelper.java
idget/swipeablelistview/SwipeLayout.java
idget/swipeablelistview/SwipeableListView.java
idget/swipeablelistview/Utils.java
64575cfee07cf0ec38f65a12055692f542e78e70 04-Oct-2012 Sam Blitzstein <sblitz@google.com> Several bug fixes for timer notification.

A buzzing timer notification wasn't getting removed when the timer was deleted, or when +1minute was hit.
Timer notification was overlapping with stopwatch notification.
Ongoing timer notification didn't disappear immediately when a timer went off.
Small typo in timer notification.

Bug: 7282162
Bug: 7274564
Change-Id: I3e9f992f23c0739ed356f738b182ea3d09590524
imer/TimerFragment.java
imer/TimerReceiver.java
a1e56f0e0cd571a4a39019eb0c18c6cfdf9e71e0 03-Oct-2012 Sam Blitzstein <sblitz@google.com> Updating stopwatch notification icon.

Bug: 7255419
Change-Id: I4e782395a3f044f2387c0e9d2099684695879243
topwatch/StopwatchFragment.java
topwatch/StopwatchService.java
topwatch/Stopwatches.java
84f26ac1eba4f3913190e4a48f1d5967cffccb55 03-Oct-2012 Robyn Coultas <coultasr@android.com> speed-up and fix leak to draw the circle timer's diamond

Bug: 7278898

Change-Id: Icc2e986fc1a5091e51ac1e19a9c08e7527ef71f8
ircleTimerView.java
647353dd437f8c075aa96f3b98efb84442e8b7bf 30-Sep-2012 Robyn Coultas <coultasr@android.com> Adding full-screen timer alert activity.

Bug: 7230202
Change-Id: I3e9a0fcf21837a54703af386f8e69b93a789edfc
imer/TimerAlertFullScreen.java
imer/TimerFragment.java
imer/TimerObj.java
imer/TimerReceiver.java
imer/Timers.java
421751e187dfa61bc1e48b52cdaf366628b06dd4 27-Sep-2012 Isaac Katzenelson <isaack@android.com> New world clock

Change-Id: I772726bc26db55e93c22b1add6fa4081f84b01a5
larmClock.java
larms.java
lockFragment.java
eskClock.java
igitalClock.java
orldclock/Cities.java
orldclock/CitiesActivity.java
orldclock/CityObj.java
c4861cb16c93248e03bfe30b06d728318a990227 03-Oct-2012 Isaac Katzenelson <isaack@android.com> Handle configuration changes in AlarmAlert

Bug : 7261187

Change-Id: Ibcaf2ca1b0eba9de8092971b6a492207aee10720
larmAlertFullScreen.java
c78b68bfacfb9542e80ae2d37ed66ff27917578f 02-Oct-2012 Yorke Lee <yorkelee@google.com> Alignment and size fixes for CountingTimerView

-Vertically center text in the middle of the circle
-Do not resize H/M/S labels even when the rest of the text changes in size
-Fix text overlap with circle
-Vertically align H/M/S labels at the top of text

Bug: 7254767 UI: Text overlapping the timer circle when the countdown goes -ve
Change-Id: I453d50a00d2ac589c7f9568635c6e41aa6263e34
imer/CountingTimerView.java
bb8a0e27ede464e46d549e288a9d289a925f0a4e 29-Sep-2012 Daniel Sandler <dsandler@android.com> Night (dim) mode and style settings for the clock screensaver.

Bug: 7187711
Change-Id: Ib7b52fa6fbde216f8b6b2e7e39fe8072cec07434
creensaver.java
creensaverSettingsActivity.java
7d44b054055c9491570a58f14f2ae5b5e077c05a 01-Oct-2012 Sam Blitzstein <sblitz@google.com> Fix bugs pertaining to timer +1 button.

Bug: 7233619
Change-Id: Ib4181a5ef9724a9d86aff74f1b6ba3ba226cee79
imer/TimerFragment.java
imer/TimerObj.java
f72e6889ec05b5f6e72d061f87d003281c445feb 01-Oct-2012 Yorke Lee <yorkelee@google.com> Add timezone information to home city selection list

Bug: 7188984 Setting Clock home timezone requires Geography degree
Change-Id: I333f05577033f9a67c621b3c3f75bdbf75a825de
ettingsActivity.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
ircleTimerView.java
imerSetupView.java
topwatch/StopwatchFragment.java
imer/CountingTimerView.java
imer/TimerFragment.java
imer/TimerListItem.java
imer/TimerObj.java
955e893407c034dd0e589c1c6392a9cdfa4c6350 02-Oct-2012 Isaac Katzenelson <isaack@android.com> Merge "Fixed bug where timer showed 60 in place of 0." into jb-mr1-dev
1ce69abc1f8bea2d7903f24ee32fec42cee83634 02-Oct-2012 Itzhak Katzenelson <isaack@android.com> Adding timer notifications.

Bug: 7255233
Change-Id: Id4d91a0e857d4553bd42a878a21c8a3e1bb9bf06
eskClock.java
imer/TimerFragment.java
imer/TimerObj.java
imer/TimerReceiver.java
imer/Timers.java
20ea36e23e699484aefc8706d4357266ec136da8 01-Oct-2012 Sam Blitzstein <sblitz@google.com> Fixed bug where timer showed 60 in place of 0.

Bug: 7252517
Change-Id: Ia13277ad91d2fe9425747a7f0c4a262857a17604
imer/CountingTimerView.java
b140c44e5590c7a03c130773e331df111f2de12e 28-Sep-2012 Yorke Lee <yorkelee@google.com> Move am/pm labels to align with the top of text

Create ZeroTopPaddingTextView which sets negative padding to the TextView
in order to completely eliminate the in-built padding at the top of the font.

Replace TextViews used in the DeskClock view, AlarmClockView and TimerSetupView
to align all text including AM/PM labels to the top.

Change-Id: I580006a8ea10c50067def5fbde97e8ca83cff5a9
eroTopPaddingTextView.java
imer/TimerView.java
551a5c3b016d5f9273fb940c3849bc3560c2694a 30-Sep-2012 Itzhak Katzenelson <isaack@android.com> Set home time zone when app starts if it is not set.

Bug: 7258124
Change-Id: I23fafcd40e2e6992c05d6cf3a88f451e845d20dd
eskClock.java
8569154a27280b03f7058deb94524861a277563d 30-Sep-2012 Itzhak Katzenelson <isaack@android.com> Time picker fixes.

Bug: 7249017, 7242076
Change-Id: Ica489f90c47ca4d86483bd6e272d6c526b5fb6d2
imePicker.java
imer/TimerView.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
lockFragment.java
creensaver.java
topwatch/StopwatchFragment.java
b5c985c9cf2cea930fc5f74e39305bfd39b3775e 29-Sep-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #7255954: API Review: rename Dream to DreamService" into jb-mr1-dev
35b9e3be87fc1ecaaab42e42b6c2d5e886feb0f8 29-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7255954: API Review: rename Dream to DreamService

Change-Id: Id878f13662e7e4b624d3755baaa3189137d3d810
creensaver.java
dfb79cf24484f328b479598e7e5659dcaee2ebc7 28-Sep-2012 Yorke Lee <yorkelee@google.com> Draw red diamond on top of white ticker

Bug: 7242146 Stopwatch ticker should be 1dp wide and 16 dp high
Change-Id: I48d5a25f557f687617b77b00021a41b840cddd44

Conflicts:

src/com/android/deskclock/CircleTimerView.java
ircleTimerView.java
94622b4b354c09b80e809fef868fdd17c43d3ace 28-Sep-2012 Yorke Lee <yorkelee@google.com> Resize stopwatch ticker

Bug: 7242146 Stopwatch ticker should be 1dp wide and 16 dp high
Change-Id: I9f5de41acd781eea2fb21bd6589099f74ec7fb66

Conflicts:

src/com/android/deskclock/CircleTimerView.java
ircleTimerView.java
e18687cf7a821976a284850915ba68cbbd4d741d 27-Sep-2012 Yorke Lee <yorkelee@google.com> Replace circle timer indicator with diamond

Bug: 7199023 Stopwatch and timer lead head should be a diamond
Change-Id: I298a3ab25cb91901bdec5c136c6032947e38466c
ircleTimerView.java
b8f330f90756451102f347d8ffd6f3c9b18f00db 28-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix localization of numbers in setup views

Bug: 7220767
Change-Id: I644dbddf0413b9803d6447c69c1f3ca9ebe537d6
imePicker.java
imerSetupView.java
imer/TimerView.java
8978640131006269f4668d0abfb3d8e7bd20a9e1 26-Sep-2012 Sam Blitzstein <sblitz@google.com> Updated notification for alarms.

Change-Id: Ib957a287b4a422195c479a6a714a9571282a9805
larmAlertFullScreen.java
larmReceiver.java
f3d6fa186ddf8a7bb8000b8b9a8700a42121e522 27-Sep-2012 Chiao Cheng <chiaocheng@google.com> Swapping dismiss/snooze sides and using lights out view.

Bug: 7240214
Change-Id: I8991afae0a17b2f7154361c5b601e3272dc93bfe
larmAlertFullScreen.java
30f1f6a8177e5742f4e8b67eb54b87d4f8bd2938 26-Sep-2012 Chiao Cheng <chiaocheng@google.com> Adding unlock-like slider control for alarm dismiss/snooze.

- Ported GlowPadView and helper classes over to clock app. Framework version
relies on a couple hidden api's so there are minor changes to the code.
- Added necessary drawables to support slider.
- Updated proguard flags so that introspected animation methods are not
stripped from slider widget.
- Changed lock screen view to be consistent with normal activity since existing
landscape width is not wide enough to hold new layout. Removed the need for
AlarmAlert. Using only AlarmAlertFullScreen now.

Change-Id: I65be41b889446ae7232488bfc2809bd2add93f6f
larmAlertFullScreen.java
larmReceiver.java
idget/multiwaveview/Ease.java
idget/multiwaveview/GlowPadView.java
idget/multiwaveview/PointCloud.java
idget/multiwaveview/TargetDrawable.java
idget/multiwaveview/Tweener.java
113e1daddd8cb0e890084aa4b6ea3194d8ad4826 26-Sep-2012 Sam Blitzstein <sblitz@google.com> Add notification for timer.

Change-Id: I22bec04942ab46fd7d446c2aaf27d29b07052df3
ircleTimerView.java
eskClock.java
og.java
topwatchFragment.java
tils.java
topwatch/StopwatchFragment.java
topwatch/StopwatchService.java
topwatch/Stopwatches.java
imer/CountingTimerView.java
imer/TimerFragment.java
85d5bb1d168a496f02d92320319628a452360fb5 25-Sep-2012 Yorke Lee <yorkelee@google.com> Don't overlay red arc on white circle

Instead, if red paint is needed, draw the red and white arcs separately so that
they are not overlaid on each other. Otherwise, simply draw a white circle.

Bug: 7198590 Stopwatch and timer drawing red on top of white causing antialiasing problems
Change-Id: I1c156da9c0c8cf542ff9ad4fc2642eed399bc628
ircleTimerView.java
bed1a89f743ec8b343803a44b938aad97ba0f16e 25-Sep-2012 Isaac Katzenelson <isaack@android.com> New time picker

Change-Id: I805316cc11f6a8b3e4dd40f1368f386df536d612
larmTimePickerDialog.java
etAlarm.java
imePicker.java
imerSetupView.java
imer/TimerFragment.java
imer/TimerSetupView.java
imer/TimerView.java
31943258b338ee3a36d07ff57a6fb0f94bb3650f 25-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix timer animation at zero time.

bug: 7216956
Change-Id: I44888a0aca03be54a587020b228d605500ddcb38
imer/CountingTimerView.java
3f99104b4dc4df9a774ff7433084b8e483d88744 25-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix timer ring stuttering

Bug: 7225700
Change-Id: Iced938e996442a41ac1b2be365cc1c8c9a01e472
imerRingService.java
imer/TimerReceiver.java
0e043cd85048f70b484f84114a47b59e9540e44f 25-Sep-2012 Yorke Lee <yorkelee@google.com> Set default clock style to digital

Bug: 7210759 Default clock style should be digital
Change-Id: I2d5786e7290703e83987ca5444617f3e8d54d400
lockFragment.java
48a8e478723413bbc343a6429da821aa32f72844 25-Sep-2012 Yorke Lee <yorkelee@google.com> Add contentDescriptions for ActionBar Tabs

Bug: 7221285 Clock Application requires contentDescriptions on navigation bar
Change-Id: Ic8dd9b087ffa5456885bd6e0fcce641b9b4703b7
eskClock.java
2527ef1b1ad7c48ffb2f5ed6aaa6271cc971c214 24-Sep-2012 Yorke Lee <yorkelee@google.com> Make up button in AlarmClock return to DeskClock

Bug: 7221205
Change-Id: I7e9cfe2a882fd4bf090f7c789333e6e0f6c245b3
larmClock.java
9aa3876adbfe2bbe8f21b3db4222892b73fe8d27 24-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix crash in .TimerFragment.setTimerButtons

Bug: 7193713
Change-Id: Ic444e2914cddf0108b4e5e6ea7d31eba68db3cc1
imer/TimerFragment.java
74bc742f0338414528875fa4a98eeca57f643706 24-Sep-2012 John Spurlock <jspurlock@google.com> Merge "Migrate away from lightsOut() in desk clock dream." into jb-mr1-dev
4243fb005ecf4810eb2a1adc28df73abf431f178 23-Sep-2012 Isaac Katzenelson <isaack@android.com> Timer/stopwatch text size

Change-Id: I9da81540c21e9fde18c2939b8936efee7c2c615b
topwatchFragment.java
imerListItem.java
imer/CountingTimerView.java
imer/TimerListItem.java
89f855e3463ee7505302c8ab0f929067b934742b 23-Sep-2012 Isaac Katzenelson <isaack@android.com> Stop timer circle animation when time's up

Bug: 7205756
Change-Id: Id0dfb079be6af7131ee778a198f7c6f20d9bb4ed
ircleTimerView.java
860de0e94f5588369985063127512dc2270cd7de 23-Sep-2012 Itzhak Katzenelson <isaack@android.com> Timer fixes

Bug: 7216059, 7203753, 7202843, 7195186, 7184324
Change-Id: I4e5532d13ec062a7c3ad55da929fbce6d9994327
ircleTimerView.java
imer/TimerFragment.java
imer/TimerListItem.java
imer/TimerObj.java
imer/TimerView.java
d932d220d4e8b45ed215f928cab2ada71e008e73 23-Sep-2012 Itzhak Katzenelson <isaack@android.com> Fix stopwatch red circle after clear app data

Bug: 7214702
Change-Id: Iba3e74b0fb1878b013c40ffbab322de34ff712c8
ircleTimerView.java
fc177987092f72f84f0833f80600d4bbf20d0b87 22-Sep-2012 Isaac Katzenelson <isaack@android.com> Fixes to help menu button

Bug: 7198428
Change-Id: If19d83b9919dc7a4070a0b15f6f497513c1eecfe
eskClock.java
elpActivity.java
ettingsActivity.java
imer/TimerFragment.java
a80f15ded8c0be8bf2268bc4cf7b0ce125b07d1b 20-Sep-2012 Isaac Katzenelson <isaack@android.com> landscape layouts

Change-Id: I672b70fb9aef1862e45e44dd8ed89778c687af98
lockFragment.java
eskClock.java
eskClockFragment.java
topwatchFragment.java
imer/TimerFragment.java
4c1728017d4ee52293213786a50b25e0d2f2f252 21-Sep-2012 John Spurlock <jspurlock@google.com> Migrate away from lightsOut() in desk clock dream.

Bug:7211867
Change-Id: Ibd4e6a6fbae7b62d2ad79201f8634789ee5a8271
creensaver.java
be8244565cd5e987eaf1bf8754a1750c95477b43 21-Sep-2012 Itzhak Katzenelson <isaack@android.com> Setting style and label fixes

Bug: 7205942, 7206851, 7206262
Change-Id: I5226f078ef58e04b2a8312c736ffcae064eda8ad
ettingsActivity.java
a2fa90632f01c208f7aa5d4cc5bd4538003ef10e 21-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix START/STOP button disappears when timer expire

Bug: 7203751
Change-Id: Iff41df2be53a9f3372593317eb2ac9c76a003096
imer/TimerFragment.java
51eb2d54650a3600ce68e942f8a7fe37aa731f9e 20-Sep-2012 Isaac Katzenelson <isaack@android.com> Move to timer view when timer expires

Bug: 7203760
Change-Id: I85fadb7fc6b3ef7274676daf5c55ece7a913496e
eskClock.java
imer/TimerReceiver.java
526cf41d8a473a005d7649ec5becf00f57ae8feb 20-Sep-2012 Sam Blitzstein <sblitz@google.com> Changed stopwatch share menu to inline modal.

Change-Id: I4a0191734dfb831dd02748adc89e35b8b9f5c588
topwatchFragment.java
a71a82dabd099d2ee16ce7cda6821ebf08db8b80 20-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix crash in Timer fragment

Bug: 7193713
Change-Id: If7a5665d86126136207ed3904a08229a0e1960b7
imer/TimerFragment.java
69d0b27d5a3f7f80d5fadd687ce8bb69ea426999 20-Sep-2012 Isaac Katzenelson <isaack@android.com> Add cancel button to timer setup view

Change-Id: If681df09f3ba3e25b573f70a866bcd4a24c1f419
imer/TimerFragment.java
6fc34de781d8fece646b16dc289bbf4c0b01fde4 20-Sep-2012 Isaac Katzenelson <isaack@android.com> Support for help menu item with smartlink

Bug: 7198428
Change-Id: I47a0078056dd6068749ca2539bf53db9ddaf4af8
larmClock.java
eskClock.java
ettingsActivity.java
tils.java
f65a38ce1e18c3ace530c8d600899f65c53a3a12 20-Sep-2012 Isaac Katzenelson <isaack@android.com> Change second hand location

Change-Id: I29cd94fe8c7646ab493af73155efbee19089f5f2
nalogClock.java
732ce5e811bb73a0bfabb6b54a64e2dd8e179eb4 19-Sep-2012 Isaac Katzenelson <isaack@android.com> New stopwatch share strings

Change-Id: I10059972219e1e89c77fa0c06f41964fe0e611f2
topwatchFragment.java
imer/TimerView.java
e35b85f33550504005cd57000bee94c9c477aa4b 18-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix crash in stopwatch on resume

Bug: 7187042
Change-Id: I11666517c35d9f65d3b2600a9a4ee280f8acfbb3
topwatchFragment.java
a4faa0547d888cb8bc94a903c36c5a1370ca23b2 18-Sep-2012 Isaac Katzenelson <isaack@android.com> Timer and stopwatch fixes

Change-Id: Ida3ac4ccfdad7972fb4b4555e8a3059f7999863d
ircleTimerView.java
imer/TimerFragment.java
7c71fbab5ecd558e60edff636a149ff3bf73ec57 18-Sep-2012 Isaac Katzenelson <isaack@android.com> Make stopwatch state persistant

Change-Id: Ic16d3589f83d198c35b97e8719bfdfcadba3109f
ircleTimerView.java
topwatchFragment.java
imerListItem.java
imerSetupView.java
imerView.java
imer/TimerView.java
be8b49fdd5cff8324a58827dcfd99fe116e5fcc8 18-Sep-2012 Isaac Katzenelson <isaack@android.com> Fix crash in Stopwatch fragment

Bug: 7177316
Change-Id: I30ae3eaefbe0c11ee84f63d5891e7e7ac472b344
topwatchFragment.java
871d7d00b561dc0e100c5ac7f79542d20ae9578d 17-Sep-2012 Isaac Katzenelson <isaack@android.com> Add alert ring when a timer expires.

Change-Id: Id98275d27640d0de7a06bfada63986c2d34afff7
imerFragment.java
imer/TimerFragment.java
imer/TimerObj.java
imer/TimerReceiver.java
imer/Timers.java
1299bda861f3a0699c27219d6ecd50abdcf90b7b 15-Sep-2012 Itzhak Katzenelson <isaack@android.com> Fix dream's screen saver and remove text clock style
Bug: 7173717

Change-Id: I4bb9ad1f8e313e43bfc9db622b40a8b200692ae3
creensaver.java
63211efa1565b5dc171938740ba183302d0e46f3 14-Sep-2012 Isaac Katzenelson <isaack@android.com> Merge clock to JB-MR1

Change-Id: Ic2b550adb16f593a037939b2d1a2d4f60f4c5a5d
larmAlert.java
larmAlertFullScreen.java
larmClock.java
nalogClock.java
ircleTimerView.java
lockFragment.java
eskClock.java
eskClockFragment.java
eskClockFragmentOld.java
igitalClock.java
elpActivity.java
ldDigitalClock.java
creensaver.java
ettingsActivity.java
noozeLengthDialog.java
topwatchFragment.java
imerFragment.java
imerListItem.java
imerSetupView.java
imerView.java
imer/TimerFragment.java
imer/TimerListItem.java
imer/TimerObj.java
imer/TimerReceiver.java
imer/TimerSetupView.java
imer/TimerView.java
1a7820902f3a6428f0bb586f8f1b5a2824838cb0 10-Aug-2012 Daniel Sandler <dsandler@android.com> Enter lights out / fullscreen mode in screensaver.

Change-Id: I4b9a3444b1221845cae6fa634ff754d4edcd92d3
creensaver.java
9a1fd04f15b653a6600629aee41c7d3fd7d843b3 03-Aug-2012 Daniel Sandler <dsandler@android.com> Improvements to the DeskClock dream.

- simplify layouts (removing a number of obsolete sw600
ones)
- add a clickable alarm button way down in the corner, to
let you see your alarm info

TODO: Add another little button for dim mode.

Change-Id: Ibc8e44a33c2a934e485277868c77356eb4250194
eskClock.java
creensaver.java
90dc136d444ba29fe8db6b20872022b18f18dc94 31-Jul-2012 John Spurlock <jspurlock@google.com> Re-enable dreams: Clock

Convert old Screensaver activity to a dream service. Handle new lifecycle
events and configuration changes.

Change-Id: I02c1eabb9a26d21a61c3b2eac33f834d1e2fb5e3
Bug: 6921930
creensaver.java
988154b1fda3d53c0d791d30be677c0a77edb170 23-May-2012 Steve Levis <stevenl@google.com> Handle ACTION_SET_ALARM properly when skipUi=true

Bug: 6538708
Change-Id: If0976a61b3c8dad8eb41c6b7c50e027c7ffa6b5e
andleSetAlarm.java
278ea920432b10912cd32c06f3fc4ad4dc6af7aa 18-May-2012 Michael Chan <chanm@google.com> Now you can get to settings in AlarmClock on a tablet

Bug: 6492391
Change-Id: Ifdf5f461f884fc3bcd5f1f570abf19248f58bf52
larmClock.java
1779cd082853eb3d8c666c6cc24826398d918fba 17-May-2012 Steve Levis <stevenl@google.com> Merge "Fix SetAlarm preferences for Tablets" into jb-dev
7b13ff0a3e1e71b27f7ef5ef749b602ff17a40d3 17-May-2012 Steve Levis <stevenl@google.com> Fix SetAlarm preferences for Tablets

- Reinstated Cancel/Delete/Ok buttons and onClickListeners

Bug: 6508419
Change-Id: If042197c0b1892efc654f477c8822c753ea1e3f0
etAlarm.java
cf8041059a617485e2dbcaae92df01552e5a56f7 16-May-2012 Vikram Aggarwal <viki@google.com> Do not dim screen when adding alarms. Remove some dead code.

Fix b/6482646

Change-Id: Ieec599b9303ad0ad09dd9180b351bf73f6fc1f0b
eskClock.java
5ddc974fa7c706815e1f31540a73abfe79f90682 15-May-2012 Steve Levis <stevenl@google.com> Merge "Update DeskClock's ActionBar for Alarm List" into jb-dev
c8824e5633c5f54b9eb42b2336c5f15d7847f1c4 14-May-2012 Steve Levis <stevenl@google.com> Update DeskClock's ActionBar for Alarm List

- add "up affordance" to go back to desk clock
- remove "desk clock" menu item from overflow menu
- remove "Add alarm" list item. Only have '+' in actionbar

Bug: 5954770
Change-Id: I458d8b3e9fa212c9807b6f3e928a3f2b19e47b7c
larmClock.java
748e9ada696912c262a097d4211fde528f1cc0b8 14-May-2012 Steve Levis <stevenl@google.com> Update DeskClock ActionBar to Contacts Edit style

- onBackPressed() identical behavior to pressing "Done"

Bug: 5954622
Change-Id: I94dd67ddcbaa11a082a14a04cee0807ad4deec6b
etAlarm.java
e4b6e5b6a8147146f16a4bebc40ac61a0de03a29 10-May-2012 Steve Levis <stevenl@google.com> Only disable expired alarms on boot time

- If a TIME_SET, TIMEZONE_CHANGED, or LOCALE_CHANGED event is received,
pending alarms should not be disabled, in the event that multiple or
erroneous intents are received

Bug: 6154786

Change-Id: Ia46a8bdc3d2d3677f115df40836b7fc414d9187f
larmInitReceiver.java
2db6ebed67b2a97d76131077ceee954c1791aca0 08-May-2012 Steve Levis <stevenl@google.com> Fix SET_ALARM Intent Handling

- An matching alarm pulled from the ContentProvider needs to have
alarm.enabled=true when sending the object to the SetAlarm activity

Change-Id: Ifb588f732d30fce4952bc80edf5491c8c49c5000
andleSetAlarm.java
ba26bd379fa2840e699f8826465322fa6286160f 06-May-2012 John Spurlock <jspurlock@google.com> Clock: Add dialog title to full-screen alarm alert.

Add dialog title layout to full-screen alarm alert. It must remain
non-floating to wake device, yet appear like a standard dialog.
Remove unused AlarmAlertTheme.

Bug: 6003408
Change-Id: I033e6eb9edc97c14020d5e1f30fb0b2cfff4fa62
larmAlert.java
larmAlertFullScreen.java
536249cff9bd8f02cf465d2258052e147fb15c7d 27-Apr-2012 Daniel Sandler <dsandler@android.com> Merge "Fix dimming when tapping 'Set alarm'" into jb-dev
dbf6de4e1955f5dec19acc9f8048485204ee094f 27-Apr-2012 Daniel Sandler <dsandler@android.com> Fix dimming when tapping 'Set alarm'

Bug: 6026411
Change-Id: Ieba1861c54f04a9604cbdf5278b5e574f16df3ea
eskClock.java
99d5e7fe75ca2b1d831fa902c50be35b4065ebfa 27-Apr-2012 Daniel Sandler <dsandler@android.com> Fix NPE.

Bug: 6292834
Change-Id: I06b05a02e4b0c45bcf8eed61dbb7a4bdd320d918
etAlarm.java
7dd2d1f5fb1de58c8aef5bc102d21627924295cf 05-Mar-2012 Daniel Sandler <dsandler@android.com> Restore DeskClock's dock behavior.

(partial revert of change Ie9494136, functionality roughly
on-par with ics-mr1 now, plus bugfixes)

Change-Id: I65a5911e54266dff9b52c734e6dc782edcdec364
eskClock.java
dfc7092060dcf2cb5e5f38e55d5c878027b93060 18-Jan-2012 Daniel Sandler <dsandler@android.com> Fix NPE when resuming.

Bug: 5868975
Change-Id: Ib5b312338af8591a6ae506080fe23a82213ef538
eskClock.java
4241acd1ead4aa4466d8b5d0aba94e32120e76ae 29-Nov-2011 Daniel Sandler <dsandler@android.com> am 84c3cd09: Merge "Fix bugs in the DeskClock screensaver:" into ics-mr1

* commit '84c3cd09afe0585d7b7db5428b5c0b4455fabe37':
Fix bugs in the DeskClock screensaver:
84c3cd09afe0585d7b7db5428b5c0b4455fabe37 29-Nov-2011 Daniel Sandler <dsandler@android.com> Merge "Fix bugs in the DeskClock screensaver:" into ics-mr1
369c60f998c1802b778a76f7ded34ccd27df738c 24-Nov-2011 Michael Chan <mchan@android.com> am 191b91f4: Fixed the blank screen problem when hitting "Set alarm" in dim mode

* commit '191b91f419a0ed35104b3436615364b302cfbd67':
Fixed the blank screen problem when hitting "Set alarm" in dim mode
191b91f419a0ed35104b3436615364b302cfbd67 23-Nov-2011 Michael Chan <mchan@android.com> Fixed the blank screen problem when hitting "Set alarm" in dim mode

Bug: 5638835
Change-Id: I2b39abf713d3ad906d66058000aaa6c50fea51a4
eskClock.java
e269bd8658721a71fd9d42084b280042c5258945 21-Nov-2011 Daniel Sandler <dsandler@android.com> Fix bugs in the DeskClock screensaver:

- release wakelock when power removed
- wait to add window flags until attached to window

These tweaks will be factored into the updated BasicDream
(will be BasicCandy) support lib class.

Change-Id: I80d9162524d3b0e69d053c60585b49d9cce1b3ff
creensaver.java
7e77977037b89c775faa0a480c8ce70eb820dc20 18-Nov-2011 RoboErik <epastern@google.com> b/5308922 Keep dimmed/screen saver state on rotation

Change-Id: I68f640fffef65f6553a40cba030a5404315649dd
eskClock.java
0d4404c04475a66c9bcbda6960bd94597985b785 11-Nov-2011 Daniel Sandler <dsandler@android.com> Fix DeskClock dream on phones.

Side effect: improve random positioning of screensaver mode
inside the Clock app as well as in the dream.

Bug: 5603598
Change-Id: I1f7cb060ef2d6e1aad6d8f8d8e864c6614f4ff8d
creensaver.java
48df859acaa503c9449eab10df74664092420a6e 03-Nov-2011 Daniel Sandler <dsandler@android.com> Disable DeskClock's dock behavior.

This is now handled by Android Dreams (screensavers) via
SystemUI, which now responds to DESK_DOCK intents.

Bug: 3155234
Change-Id: Ie94941367ae7f473363e1c84be44248b7efc4044
eskClock.java
75e2c4bf5f2de6c16306e4e1d95fe17616807ec9 26-Oct-2011 RoboErik <epastern@google.com> b/5453320 Clear new repeat settings if user cancels change

Change-Id: I84f25c69d13f7fe5a21ba8143edefb20e65e4eb4
epeatPreference.java
927b49cc5b771a64b7159a80b490e4c8bc1bdcae 07-Oct-2011 Erik <epastern@google.com> b/5397609 Remove uneeded menu items from DeskClock screen

Remove 'Alarms' and 'Add alarm' menu items from the main clock
screen and also finish the alarms screen when launching the clock
screen.

Change-Id: I878477b755b84bc9d221a4582e1eccee8be01406
larmClock.java
eskClock.java
f5659df64bef484a028f449eef5f751e34f91ee5 13-Sep-2011 Andy McFadden <fadden@android.com> Merge "Make sure cursors close"
99ae7660f1e5e4645c889e78e26d44de20a7caf3 13-Sep-2011 Andy McFadden <fadden@android.com> Make sure cursors close

Rearrange try/finally.

Bug 5279462

Change-Id: I44d8570b94e9780c78d93c131d88227a04659ddc
larms.java
ec04d6516961bac094fbb2dade7925adecac6c80 12-Sep-2011 Erik <epastern@google.com> b/5245457 Make background toggle day/night/screensaver modes

Change-Id: I95a5589c302bdb9d0da0fa181ac378aa3e4adbb5
eskClock.java
d8319840eebc23cf8ee30a53ee66f974c32f4987 31-Aug-2011 Andy Huang <ath@google.com> Fix ringtone pref summary stuck on "Loading ringtone..."

When the default alarm ringtone has been deleted, the alarm
pref can't resolve the ringtone URI and never finishes loading
a reasonable default string. In these cases, the Clock app
actually does play a default tone, so it's not necessary to
have the UI select a new tone, but it does need to show
something reasonable in the summary. Fix this in 3 ways:
* Do not resolve actual URI for a default URI when looking
up the title. This brings back the "Default ringtone (xxx)"
string that used to appear in GB on individual alarms with
no specific ringtone selected.
* In the default alarm pref, we do still want to resolve an
actual URI since the "Default ringtone" string would be
redundant. But when the default has been deleted, show a
reasonable default string by asking for the default alarm's
title without resolving to an actual URI. This does mean
the summary will show "Default ringtone (xxx)" when a default
has been deleted, but it's better than nothing, and it's
consistent with individual alarms with unresolvable ringtones.
* If even the default URI fails to resolve to a string, at least
clear the "Loading ringtone..." string. This generally will
not happen.

Bug: 5091775
Change-Id: I9a6f7117e1b4c3c36aed59a4e4e527d955f02361
larmPreference.java
d5b02dee04b7011a2b6cb1086752c583dcc604e1 08-Sep-2011 Erik <epastern@google.com> b/5245408 Hide battery level indicator

Change-Id: I5524d1e6197d3f2ab5f97e48f1f39ed986c976f0
eskClock.java
9c8f420c5d715d1b3923e7c15a38df0df23f7a39 06-Sep-2011 Erik <epastern@google.com> b/5262767 Make label an inline text field

Also don't display toast about when the alarm is set for if the
alarm is not enabled.

Change-Id: I02e7b9171cec7cad847d0e41d7a7327c53d1b21c
etAlarm.java
c4c4a127ab49e01cd520808c74f43940f61f467f 02-Sep-2011 Michael Chan <mchan@android.com> Change the time picker back to a dialog.
The time picker was take up too much space on phone landscape.
The time picker can't be scrolled since it takes drag and flick input... same as the list view.

BUG:5239061

Change-Id: If139301e33d4ef99e24edfc678a17fc6b492d352
etAlarm.java
322abb8230ff8a3ac2b58cf95863b1f8e78a99af 01-Sep-2011 Erik <epastern@google.com> b/5243877 Update to screen saver colors and layout

Change color in screensaver mode and fix to layouts so
non-time views will be disappear when you change.

Change-Id: Id3e56e98a5b8e288e06b01e339316c470df3c94b
eskClock.java
creensaver.java
a27e4e814c5bfd88759298ad2123c6373a800d08 31-Aug-2011 Erik <epastern@google.com> b/5169523 Adjust am/pm layout for roboto fonts

Change-Id: Ibcfb67e1b49612b932dc7c15cefb0314f6225c05
ndroidClockTextView.java
31e21c3131212079a5735bfce949560b03a09a82 25-Aug-2011 Michael Chan <mchan@android.com> Fixed a bunch of issues in the add/edit alarm.
Some of the issues are triggered after a rotation

5239061 Remove time item (there's already a time picker on screen)
5239214 Show correct time in time picker when editing
5102407 Do not save a new alarm on rotate
Do not show toast when enable alarm is checked or time changed
Show toast only when the user clicks OK
Revert properly after rotate
Revert on back

Change-Id: I4ed66abafbe13f172eb1c6a4fc34782ab309dea8
larm.java
etAlarm.java
41a754faf657c2ac7e414051d0c711c0ee994457 31-Aug-2011 Erik <epastern@google.com> b/3368728 update icons/layout for add alarm

Change-Id: I67a8d495832b4086b2c533091e02ca3193fad796
larmClock.java
91d3f291efe9d090dd7fe003955d9da2dec18a74 30-Aug-2011 Erik <epastern@google.com> b/3155234 Launch/exit clock when docked/undocked

Also rips out all the unused weather code.

Change-Id: I16417ddc832a7a68d2859dbd357d39a48dbf65df
eskClock.java
d2ee3ef01076138f0ac7b3e0acc580238ffea160 30-Aug-2011 Mindy Pereira <mindyp@google.com> Reconfigure how alarms are setup.

Fixes bug:3368780 Canceling in the Middle of Adding an Alarm Flow is Confusing on Tablet

now:
On existing alarm: can delete, cancel, save(ok)
on new alarm: can cancel or save(ok)
time picker is in the first dialog

Change-Id: I3fa86fc8de4b73ee422e78790a796bad14e404e7
etAlarm.java
d9fedbe901ea4431d38e3b5c36c19fe62a000e99 26-Aug-2011 Paul Westbrook <pwestbro@google.com> Merge "Fix dropped alarm when snoozing second"
73327b39cf35c8f2f4e5ba1ac30c6fd41a99d10f 24-Aug-2011 Erik <epastern@google.com> b/5076132 Work on matching clock redlines

Also rips out a lot of now unused code.

Change-Id: Idd3f9dd0d3a1395897ea7c8b0926d09da5cb1794
larmClock.java
ndroidClockTextView.java
eskClock.java
igitalClock.java
creensaver.java
etAlarm.java
8304c6e63ee1ff86208bac6f79285905027e95e8 25-Aug-2011 Paul Westbrook <pwestbro@google.com> Fix dropped alarm when snoozing second

When calculating the next alarm event, make sure to take into
account the snoozed previous alarms with the upcoming alarms.

But, now that we allow for another alarm to happen while a previous
one was snoozed, we need to allow for multiple snoozed alarms.

Once we allow for multiple snoozed alarms, we need to be able to allow
for each to be canceled individually.

Bug: 4769415
Change-Id: Icc825a8d892e7b9f53e21499a7af2322b8acbe77
larm.java
larmInitReceiver.java
larmReceiver.java
larms.java
b8cf8a10f534ef74d67c5911d14e3e54fbc14df6 25-Aug-2011 Michael Chan <mchan@android.com> Revert "Added logging for broadcast receiver."

This reverts commit 23521b7088146d735252d99d0efaed5052def764
igitalClock.java
23521b7088146d735252d99d0efaed5052def764 25-Aug-2011 Michael Chan <mchan@android.com> Added logging for broadcast receiver.

Change-Id: I0007842d8f15e9ae2b26e95dd931b4a3e9e5d403
igitalClock.java
706506639cb0da2c0db06ef88f2d2c9d75b084cc 24-Aug-2011 Daniel Sandler <dsandler@android.com> Fix the design of the alarm popup that wakes the device.

The only way to turn on the screen is to have a fullscreen
theme; doing so disallows us access to the platform styles
for the alert/dialog themes, so this change pulls in a copy
of the correct background bitmap. (We are able, at least,
to use the Holo version of the fullscreen transparent theme,
which causes the buttons to have the correct appearance.)

There's now also a separate layout file for the fullscreen
case so we don't apply this new decoration when a proper
dialog is available to us (read: the screen was already
unlocked).

Finally, tweak AndroidClockTextView so Eclipse doesn't choke
on the layout files.

Bug: 5108144
Change-Id: Ifc153bd9d7a3b9e3d0e18e94ec1b9545976f3759
larmAlert.java
larmAlertFullScreen.java
ndroidClockTextView.java
e050c90109ba4a62b64240f93610a44f366ed8e7 08-Aug-2011 Attila Bodis <attila@google.com> b/4500544 Fix FC when accessing dock settings on devices that don't support it.

Change-Id: I7664ae22c6ecb327af744bdda6e7b0233bc2f829
eskClock.java
1250ced34d1d7f644c907c820bd95495e598cd61 26-May-2011 Daniel Sandler <dsandler@google.com> Merge "Fix crash when N&W sends 0 for the weather icon resid."
e8073fd12b419ee98aa00f657a7a001c14768c8d 26-May-2011 Daniel Sandler <dsandler@google.com> Fix crash when N&W sends 0 for the weather icon resid.

Change-Id: I0167a8e6d72461b7ac3643b61bfcc5733ac92f33
eskClock.java
c57490dff5bfbf601d4b708fdae029df99f807b2 05-May-2011 Daniel Sandler <dsandler@google.com> DeskClock dream (screensaver module).

Essentially a duplicate of the moving-clock screensaver
introduced with Nexus One, but in a convenient Dream
activity.

(depends on I4559a95 for android.dreams in support lib)

Change-Id: I01b3d431b6b80665b8a9a477e7d6ac6cd579d0f2
eskClock.java
creensaver.java
70b6ab8cb5c9115511aa4e62f860645b20dafc9c 08-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These havent been working since before 1.0.

Change-Id: I68e2852eb3757c7175dd14f9b3446efca3ffcb53
og.java
b12ebdc2f51c835a397f6e735c948f9ddbfda990 21-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am bcf94804: am 2c5f0979: Allowing screen saver to be disabled on a per-build basis

* commit 'bcf948042ab18477c02c04c9df0e45de31da63dd':
Allowing screen saver to be disabled on a per-build basis
2c5f0979c70f8e16916766540ed4c96cdd127aac 21-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Allowing screen saver to be disabled on a per-build basis

Also, removing alarm info from the screen saver UI
in general.

Bug: 3369069
Change-Id: Ie1a7caa0c6a9b14bebf1f2b6b38dceeeeffef238
eskClock.java
9621a1cf1b3db0b158b0404bcd2daeaa778cbcca 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am bc9f7e5a: am 1d5208e8: Holo style for alert dialog

* commit 'bc9f7e5aedf111c350258ee8c0cdea4c6f70edab':
Holo style for alert dialog
1d5208e88385c9fc2ef7f7fa34a236832a192a5d 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Holo style for alert dialog

Change-Id: Icfc0a9d2adb9e0411306da23756d0753f89f1d74
larmAlert.java
larmAlertFullScreen.java
b3fc97fa48ea46236bff973f82782953459fded2 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am 238dcedf: am 6a423fd8: Adjusting colors and font sizes in the alarm list dialog

* commit '238dcedf6f23842b1d4ffcb909d792012a59d1a9':
Adjusting colors and font sizes in the alarm list dialog
6a423fd89b8d8c7b9aa98a92a89676d0fb424d72 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Adjusting colors and font sizes in the alarm list dialog

Change-Id: I135dba0b9abc6552b62961eab5e4feb975774aa8
ndroidClockTextView.java
9943c81b1a16b0bb382e2f8200bb6c68387f9190 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am 67b4c4f2: am e4b231dd: Changed design of the alarm dialog

* commit '67b4c4f295bf7adc2c95022999a02988e7705e6a':
Changed design of the alarm dialog
4bf08f7cec63aa0757e5df297dd768093a3eace6 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am 71a1f85e: am ee00759c: New assets and labels

* commit '71a1f85ea62d6eb1db874c586df0d932bdd7adba':
New assets and labels
01540ccdde773960b0b787ce37409f43ff1f8867 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am d8733291: am dc7209e8: Invalidating clock view on time change

* commit 'd873329125f71f54dd5b6e898f2297a05592ba92':
Invalidating clock view on time change
e4b231dda1a6e0181737f6a56361e4e97188b90a 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Changed design of the alarm dialog

Change-Id: I8971c58b963fbab8078bae087c44a5257d5c3d91
larmClock.java
ndroidClockTextView.java
ee00759c00d94c50fed2eea0af7975b9d7fcbad4 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> New assets and labels

Change-Id: I8db8f0e37832fea4fb280b482dd88e86b0d7721d
eskClock.java
dc7209e8cbc17e672bd7b4b006a4759d4853d264 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Invalidating clock view on time change

Bug: 3365665
Change-Id: I07bf50f841b53e168d0d8055e09c8d0746ad6039
ndroidClockTextView.java
0339046cd755be41c75547605452596b2d6b0142 16-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am eb80c877: am fb6883da: Turning alarm config into dialog activities

* commit 'eb80c877be91dc87c43a5028f9fbb2e42aaa692b':
Turning alarm config into dialog activities
dda800fef076ed93cc20b6edec4c0ac0865edb15 16-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am 0a2130d0: am 7fc98302: Holo layout for desk clock

* commit '0a2130d040c426601a5851fdf39aab95cbd9716f':
Holo layout for desk clock
bfd9683cb0d7900a6e28dc37ccaaf3930320805f 16-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> am a3fe06a3: am 602efeb2: Using the AndroidClock font in DesktopClock

* commit 'a3fe06a30442f427285591e2f38f11d6ef7d9505':
Using the AndroidClock font in DesktopClock
fb6883da15b57a3d5006b8978c650cbb2bbda52d 16-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Turning alarm config into dialog activities

Change-Id: Iaad2b39d1a9722934aa9128e5fbe255946521edb
larmClock.java
ndroidClockTextView.java
7fc983026decebf7940b9512116bdbff015fadf0 16-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Holo layout for desk clock

Change-Id: Ib6b23097ae782dba0007ca91bfe8571f3245ef99
ndroidClockTextView.java
eskClock.java
igitalClock.java
602efeb229befe82f943d36792b1702f7ee54d88 15-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Using the AndroidClock font in DesktopClock

Change-Id: I74ada0ea8838fe671525920b160a69e60a2a9021
larmClock.java
ndroidClockTextView.java
igitalClock.java
acd81dc83a61114e185ae81bad4551c49f48b02c 06-Jan-2011 Patrick Scott <phanna@android.com> Use the actual uri in case the default is silent.

Bug: 3327165
Change-Id: Iea8914a80b59d741717d210cca972f7a48303996
larmPreference.java
77f14bd0ce48db935911da5d0a92b6348e6197fb 15-Dec-2010 Patrick Scott <phanna@android.com> Implement EXTRA_SKIP_UI.

Change SetAlarm to take an alarm object instead of just the id. Have
HandleSetAlarm pass the new Alarm object to the activity if EXTRA_SKIP_UI is
false.

Update TestAddAlarm to toggle the UI.

Bumped version number.

Bug: 3284120
Change-Id: Ie84ac8e3d7a63bfd64e40c626e577ce8b1f371b9
larmAlertFullScreen.java
larmClock.java
larmReceiver.java
larms.java
andleSetAlarm.java
etAlarm.java
bed2fe9bfd0e952c29b5ff90f70350ef8d0a65e4 07-Dec-2010 Patrick Scott <phanna@android.com> Remove the vibrate pref if there is no vibrator.

Bug: 3203033
Change-Id: I1baf0c0289cfc59b89f519e95df06bc56ec1a582
etAlarm.java
d42b20c1f1b341399a59fc6de8f31af1ac552f47 15-Nov-2010 Patrick Scott <phanna@android.com> Look up the ringtone title in the AsyncTask.

Found using strict mode.

Change-Id: I23a3398929be48f238b1389173e70d6be0833c7e
larmPreference.java
df77f79bbf931894d91cd0d8334f204ff67e903a 04-Nov-2010 Patrick Scott <phanna@android.com> Fix a few strict mode violations.

This fixes AlarmInitReceiver and AlarmReceiver. More strict mode fixes to come.

Change-Id: Ia16b809a500548bc3be340462961806980cb1a09
larmAlertWakeLock.java
larmInitReceiver.java
larmReceiver.java
syncHandler.java
501a153616bd44880b587447788990d83f433a8f 04-Nov-2010 Patrick Scott <phanna@android.com> Use time instead of alarm.time for non-repeating alarms.

Bug: 3155418
Change-Id: I66730a801b7d74da0c0f1af8d1855539146487a9
larms.java
ab34252e7a7f8c39b402425a4e0941aeb039d12f 02-Nov-2010 Jeff Brown <jeffbrown@google.com> Add plumbing for new volume mute key.

Pressing mute will dismiss the alarm in the same way as pressing
other volume keys.

Bug: 2912307
Change-Id: I90ebc5cc6da1d23323cdf674fbca409453097cf4
larmAlertFullScreen.java
9b75823838a7a8cfcc0de8570124ff1ee19c4e33 02-Nov-2010 Patrick Scott <phanna@android.com> Use AsyncTask to load the ringtone name.

Loading the ringtone issues an ipc to the media service and can cause ANRs.

Bug: 3149112
Change-Id: Icd896f6a02f060a4b868cebe3cbc753b95e974ab
larmPreference.java
d07f1e970f3f59ca8a9d73a974c40df8b7480793 26-Oct-2010 Daniel Sandler <dsandler@android.com> am 3b2b8e18: Keep screen on when on AC even if the battery stops charging.
3b2b8e183116d4a66acf0ed1c7db917950dc36bc 26-Oct-2010 Daniel Sandler <dsandler@android.com> Keep screen on when on AC even if the battery stops charging.

Bug: 3126403
Change-Id: Ie2316202ffe8c86306c84fcea97d93d56f1aeda2
eskClock.java
bababb66c17c665d374313da47e2f3734adec83a 21-Oct-2010 Patrick Scott <phanna@android.com> Fix 24 hour display on the lock screen.

Bug: 3120148
Change-Id: I072b64499df3d8f55fadad1746df95dffc73ecdc
larms.java
875f1504b938bbe9450b2021f18cf8d17568df56 12-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> am e4720df2: Close AlarmClock cursor, don\'t just deactivate it.

Merge commit 'e4720df2c1fd952e44771ea30063a4e8dc39c47a'

* commit 'e4720df2c1fd952e44771ea30063a4e8dc39c47a':
Close AlarmClock cursor, don't just deactivate it.
e4720df2c1fd952e44771ea30063a4e8dc39c47a 11-Oct-2010 Brad Fitzpatrick <bradfitz@android.com> Close AlarmClock cursor, don't just deactivate it.

Bug: 3082936
Change-Id: I1e7ba769cc920bd2da2823afb2932dd352c5a15e
larmClock.java
2f156e29c0e051179802082f2ba76e12908c3f0e 30-Sep-2010 Patrick Scott <phanna@android.com> am 5ad9026a: Pop a toast when handling the set alarm intent.

Merge commit '5ad9026a54e8d025154ac644c6d938b1ff118ef1'

* commit '5ad9026a54e8d025154ac644c6d938b1ff118ef1':
Pop a toast when handling the set alarm intent.
5ad9026a54e8d025154ac644c6d938b1ff118ef1 28-Sep-2010 Patrick Scott <phanna@android.com> Pop a toast when handling the set alarm intent.

If the intent does not contain extras, start the AlarmClock activity to show the
list of alarms.

When checking for an alarm that already exists, make sure the repeat setting is
0.

Change-Id: If257b0d3bd591cddf7ff92b56bb240af8cb621a3
andleSetAlarm.java
etAlarm.java
78c7f6414689dff30fbe70bbeb17d0a1b4842924 28-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> am 60661f1e: Merge "SharedPreferences commit -> apply." into gingerbread

Merge commit '60661f1ef2420402bf864d1ae2e81d7d884ff558'

* commit '60661f1ef2420402bf864d1ae2e81d7d884ff558':
SharedPreferences commit -> apply.
c6098ef1fc69fe117343cc2e3db0d2b97b2daa6f 28-Sep-2010 Brad Fitzpatrick <bradfitz@android.com> SharedPreferences commit -> apply.

Change-Id: I3c54bcd78ed74107840254a9861dc68f9bec3cc8
larms.java
4d42d3ded6e3d46f5c9d0511ec0f0c26c9fef705 22-Sep-2010 Patrick Scott <phanna@android.com> Manually merge the following commit:

Handle the new set alarm intent.

Enable a few options by default and check for duplicates.

Also remove the previous public provider for setting alarms since we went with a
different approach.

Change-Id: I6c99e9729caad0c6f99f1a18d4a7599ad9bb2c9b
xternalAlarmProvider.java
andleSetAlarm.java
9e32fed582019546b0d380c28a40961c77fc303e 27-Sep-2010 Patrick Scott <phanna@android.com> am 13af16f6: Fix multiple allocations of the typeface.

Merge commit '13af16f66ff1c9cd7f12098e95124f0c88953ee8'

* commit '13af16f66ff1c9cd7f12098e95124f0c88953ee8':
Fix multiple allocations of the typeface.
13af16f66ff1c9cd7f12098e95124f0c88953ee8 27-Sep-2010 Patrick Scott <phanna@android.com> Fix multiple allocations of the typeface.

Bug: 2999402
Change-Id: I682803e4386fc2f6a75cce1a57f950246e2bcd3a
igitalClock.java
7f4b15b6a6c9d35baab4c4e5e1fa0302dc7d605f 27-Sep-2010 Patrick Scott <phanna@android.com> am aaeb8a22: Add logs to track missed alarms.

Merge commit 'aaeb8a227c7ea4ae124403b46cb4f673834f5536'

* commit 'aaeb8a227c7ea4ae124403b46cb4f673834f5536':
Add logs to track missed alarms.
aaeb8a227c7ea4ae124403b46cb4f673834f5536 27-Sep-2010 Patrick Scott <phanna@android.com> Add logs to track missed alarms.

Turn on a few verbose logs to track a couple of cases where an alarm might be
skipped or cancelled. Add a Log.wtf when an alert cannot be parsed as this is
never supposed to happen.

If we are returning from the AlarmReceiver due to some error, make sure to set
the next alert.

Bug: 3004064
Change-Id: I6879317b233ccb0497a5ed7b8259925cd00cf8e8
larmAlertWakeLock.java
larmInitReceiver.java
larmReceiver.java
larms.java
og.java
6c528aa07db1642c8aa9720c2d509a78e832adc4 22-Sep-2010 Patrick Scott <phanna@android.com> Handle the new set alarm intent.

Enable a few options by default and check for duplicates.

Change-Id: Ib7d1537b1fce398f2d52114da245658f40a59954
andleSetAlarm.java
94c7d160735eabb0df44068d97875d86f2b76e07 28-Aug-2010 Daniel Sandler <dsandler@android.com> am e79c911b: Update to reflect current Notifications API.

Merge commit 'e79c911bbd1687f5df9171dc54f41a427a926925'

* commit 'e79c911bbd1687f5df9171dc54f41a427a926925':
Update to reflect current Notifications API.
e79c911bbd1687f5df9171dc54f41a427a926925 26-Aug-2010 Daniel Sandler <dsandler@android.com> Update to reflect current Notifications API.

Change-Id: I4a3d1dbad8fe30ecd1d7dbcd21cdcb73782e41e1
larmReceiver.java
480688285c22d11013f32ff7c4f3839b6f7e652e 10-Aug-2010 Patrick Scott <phanna@android.com> am bb13b216: Check for -1 id before modifying alarms.

Merge commit 'bb13b216f986fc75dbd82d38f2bd6b2fbeb08abd'

* commit 'bb13b216f986fc75dbd82d38f2bd6b2fbeb08abd':
Check for -1 id before modifying alarms.
bb13b216f986fc75dbd82d38f2bd6b2fbeb08abd 10-Aug-2010 Patrick Scott <phanna@android.com> Check for -1 id before modifying alarms.

Bug: 2898729
Change-Id: I9f70ee40fbcebeae2028c19a3b355e5d1cc433d4
larmClock.java
larms.java
2824581ca5cb3c3be6bd8052e6ddaed4b2e55057 07-Jul-2010 Daniel Sandler <dsandler@android.com> am b60cd1a6: Pop up alarms using Notification.fullScreenIntent.

Merge commit 'b60cd1a61a38d2dd607c5047be70c6861b6c2ee7'

* commit 'b60cd1a61a38d2dd607c5047be70c6861b6c2ee7':
Pop up alarms using Notification.fullScreenIntent.
b60cd1a61a38d2dd607c5047be70c6861b6c2ee7 07-Jul-2010 Daniel Sandler <dsandler@android.com> Pop up alarms using Notification.fullScreenIntent.

Bug: 2785727
Change-Id: I2d37510572b0bc46c5c804b9c46ad00626523b05
larmReceiver.java
28dbcd13adec986d5d2c08b71edab35d84b40958 17-Jun-2010 Patrick Scott <phanna@android.com> Add a preference to change the alarm timeout.

Bug: 2654073

Change-Id: I574a148f7fa6e472b57401bf21c9762404c72ce8
larmKlaxon.java
ettingsActivity.java
1a7925761a5db1b424d976ba03fb335e821b7db3 28-May-2010 Patrick Scott <phanna@android.com> Path to add alarms from other apps.

Add a new permission for adding alarms remotely. Also add a test to verify this
path works.

Change-Id: I8533e927b8fd7e8c955df6448348593c28d1241c
larmDatabaseHelper.java
larmProvider.java
xternalAlarmProvider.java
1e8d9c36bcfc5b37e2ddab1e2ecf6fa381042d64 20-May-2010 Daniel Sandler <dsandler@android.com> am 3a4bd4c6: Fix midnight date rollover in DeskClock screensaver.
3a4bd4c68531b98db58626f60d0e9a7f5db54dc2 19-May-2010 Daniel Sandler <dsandler@android.com> Fix midnight date rollover in DeskClock screensaver.

Bug: 2692736
Change-Id: I36854393b273c383e63fbf771946da711d027d65
eskClock.java
e7bf7ed4c4d3680d838a1581832d22be89e37e46 03-May-2010 Patrick Scott <phanna@android.com> Add a default ringtone setting.

This was part of AlarmClock but was added after the split and never got
cherry-picked over.

Bug: 2626385
Change-Id: I2a8819f2116d3e39327aa397b14dfb7887919975
larmPreference.java
ettingsActivity.java
5d1b236620eec1456ca1e9a30085ce2ae27e984d 27-Apr-2010 Daniel Sandler <dsandler@android.com> Switch to explicitly managed cursors for weather query.

Previously, DeskClock used Activity.managedQuery, which
didn't exactly leak cursors, but it allowed them to
accumulate as long as the DeskClock Activity was running.
When used overnight as a bedside clock, the Activity can run
for a very long time without being paused.

Bug: 2627720
Change-Id: If4d53d3d6cba9dd96b41a3e25f4c8fad75339c42
eskClock.java
9654c843a0b41beb94a5dc8151ab5aef8d262b3d 03-Dec-2009 Daniel Sandler <dsandler@android.com> Show a long dash instead of 0° if no temperature is available.

Bug: 2574118
Bug: 2301604 (original)
Change-Id: I36fba9248848325f48f6ab82dbd09dcc881cfcbf
eskClock.java
d54e110f8794b48a03db85f74b5757c17eeed24a 07-Apr-2010 Patrick Scott <phanna@android.com> Do not dismiss the activity if it is being stopped.

This allows the activity to stick around if another activity
(like calendar alerts) pops up on top.

Bug: 2577091
Change-Id: I46ca5596f96e05184b64cc9a73b4e1e9a33f1561
larmAlertFullScreen.java
3f5052618fc262c22b9e00137014329bcc660524 15-Mar-2010 Daniel Sandler <dsandler@android.com> Keep listening for dock event broadcasts when paused.

When the screen is off, the dock app is paused; if the
device is undocked in this state, there's a race to resume
the dock app & broadcast the UI mode change event. Fixed.

Bug: 2507444
Change-Id: I7416aed4f9def0b9458273f40fe27131412d23f0
eskClock.java
585d4e43e87b3cc95763bd4342a3997acb55de8b 08-Mar-2010 Patrick Scott <phanna@android.com> Enable the alarm when preferences change and not when hitting done.

The original intent was to enable the alarm when hitting done after making edits
but this caused the alarm to always turn on even if the user turned the alarm
off and hit done.

Bug: 2441762
Change-Id: I9f37ec2477ddced26df1c1fb4444cd5e5121e7d5
etAlarm.java
2f2ce735ef658f4e2b72fe9b0352fad9279e636d 05-Mar-2010 Dianne Hackborn <hackbod@google.com> Update to use new dock broadcasts.
eskClock.java
6b4ab26bedae5f34d6df12bf5100822de86e4e49 04-Mar-2010 Patrick Scott <phanna@android.com> Move the widget into com.android.alarmclock to allow upgrades.
nalogAppWidgetProvider.java
6064d3f7aabcb073dc3f917e049bc04c67fb6b29 03-Mar-2010 Patrick Scott <phanna@android.com> Have "Revert" go back to the original state of the alarm.

Keep the original alarm state so that revert will reload the preferences from
the original state. Have all preferences immediately take effect. When adding a
new alarm, add the alarm if preferences change and then delete the alarm when
reverting.

Pop the set alarm toast only when changing the time or the enabled setting and
the result is that the alarm is enabled. Otherwise there can be a lot of toasts
showing while editing an alarm.
larm.java
larms.java
epeatPreference.java
etAlarm.java
43adf9b9cbfede7236918de3f1e89bfbaafedbb1 02-Mar-2010 Bjorn Bringert <bringert@android.com> Merge "Adds hooks to DeskClock so that other programs may kill or snooze a ringing alarm, and also a broadcast intent to inform interested parties when the alarm has been dismissed."
a3aba0c93c31e89045cca669418e85acfb4e22fb 01-Mar-2010 David Ingram <davidi@google.com> Adds hooks to DeskClock so that other programs may kill or
snooze a ringing alarm, and also a broadcast intent to
inform interested parties when the alarm has been dismissed.

Change-Id: I491c3a24a6bac33025665c799c76a743010e9761
larmAlertFullScreen.java
larmKlaxon.java
larms.java
og.java
69b223ae3de87f19b1f4762bd5980a82766c5dc4 26-Feb-2010 Patrick Scott <phanna@android.com> Do not add a new alarm if the user cancels the time picker.

TimePickerDialog calls onTimeSet only if the user hits the "Set" button. In the
case of a new alarm, keep track of the call to onTimeSet and check it when the
user presses back.

Bug: 2338234
etAlarm.java
5a53e103af5f139608a9b607601a8cc6818bf324 22-Feb-2010 Jack Palevich <jackpal@google.com> Add missing close-paren to fix build break.
eskClock.java
aa0d261b50d103dd718077b261dd0671d388266f 18-Feb-2010 Daniel Sandler <dsandler@google.com> Launch music player via new INTENT_ACTION_MUSIC_PLAYER.
eskClock.java
08a201d49ff1e16fb2a1b52694cf9fb2fbe69e06 17-Feb-2010 Daniel Sandler <dsandler@google.com> Null check when launching Music.

Bug: 2449914
eskClock.java
c9c1acdc0d4a2e7ec3335b9efa4499c92304091d 17-Feb-2010 Patrick Scott <phanna@android.com> Disable "Delete" button when adding a new alarm.

Bug: 2440197
etAlarm.java
232725e8c1b1b85a44857cedcc842dcd2c956dc2 17-Feb-2010 Patrick Scott <phanna@android.com> Disable the snooze if it matches the alarm that has been changed.

The user most likely wants the alarm to fire at the time they just set so
disable the snooze alert.

Bug: 2421068
larms.java
abc34112bd18bc0fc068ffa30ca07ae161bc9f0a 28-Jan-2010 Mike Lockwood <lockwood@android.com> Use ALLOW_LOCK_WHILE_SCREEN_ON window manager flag to allow lockscreen to activate while screen is on.

Change-Id: I302d65c51cd5b6bd495b24479a9c377e4bedf66d
Signed-off-by: Mike Lockwood <lockwood@android.com>
larmAlertFullScreen.java
eskClock.java
e46be904bd76dff5a13aeef12e9bfeddac7bbe81 27-Jan-2010 Patrick Scott <phanna@android.com> Moving alarm creation into SetAlarm.

This change allows the user to create a new alarm and then press "Revert"
without having already created the alarm.

Refactor a few methods to take an Alarm object rather than all the alarm fields.
The static method in AlarmClock to create a new alarm is no longer needed. Do
some cleanup in AlarmProvider around intial values.

Bug: 2338234
larm.java
larmClock.java
larmPreference.java
larmProvider.java
larms.java
eskClock.java
etAlarm.java
291a4130541885f34ddb2398ba6218596c3851c9 23-Jan-2010 Daniel Sandler <dsandler@google.com> resolved conflicts for merge of f22cedb7 to master
beb134dbcc0d7476b66cd80fd85c7a53175dfb06 21-Jan-2010 Mike Lockwood <lockwood@google.com> Merge "Use default values rather than hard coding green for LED notification color."
fe8dd39ee5e173f15337d09c36aa453a55364e98 20-Jan-2010 Patrick Scott <phanna@android.com> Unbundle the DeskClock.

- Copy some framework resources into the app.
- Add a new layout to SetAlarm to avoid using an internal id to obtain the
content view.
- Use a string literal to identify the ALARM_CHANGED intent. This is not ideal
but is better than exposing the actual intent string for now.
larmKlaxon.java
larms.java
eskClock.java
igitalClock.java
etAlarm.java
c16ba67407f3ce28d0a984d66a20ec2600911993 20-Jan-2010 Mike Lockwood <lockwood@android.com> Use default values rather than hard coding green for LED notification color.

BUG: 2329568

Signed-off-by: Mike Lockwood <lockwood@android.com>
larmReceiver.java
9fa4cc96ece43fdc6873fdafb8c8f6b3ea0cc1fd 20-Jan-2010 Daniel Sandler <dsandler@google.com> Add Dock Settings menu item to DeskClock.

Bug: 2367275
eskClock.java
6e37178770f41ffcf8013e9460170140bcc6c130 10-Dec-2009 Daniel Sandler <dsandler@android.com> Re-schedule screen saver mode when returning to normal.

Fixes http://b/2317620
eskClock.java
8457946f5f77a9a6af079c44c8d0792c17d0ef27 15-Jan-2010 Daniel Sandler <dsandler@google.com> Restore softkey illumination control.

Introduced in change I35b0967
but accidentally reverted in change Ic98ba511.
eskClock.java
f7bd3f7d1f14090b9ddf4a3d7b33ef98ad73c8ae 14-Jan-2010 Daniel Sandler <dsandler@google.com> Several tweaks to DeskClock's dimming feature:

- Attentuate the background slightly more when in dim mode
- Implement http://b/2332431 (tapping anywhere will cause
the screen to un-dim)
- Fix http://b/2349550 (keep the screen dim underneath an
alarm dialog)
- When the trackball is operated, focus the alarms button
first (instead of the dim button)
eskClock.java
889ca057eb9aa2a6cce0fff87e1e118926815c88 09-Jan-2010 Daniel Sandler <dsandler@google.com> am 60d04edf: am e7c9540b: Refresh date display at midnight.

Merge commit '60d04edf7496f3370cb848f696b268825b47295a'

* commit '60d04edf7496f3370cb848f696b268825b47295a':
Refresh date display at midnight.
bf25a2cc3b00c085b8207443e9a0419108536aef 09-Jan-2010 Romain Guy <romainguy@android.com> Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
etAlarm.java
e7c9540b179fdafb69cdc5e05a2d769f4be9463a 08-Jan-2010 Daniel Sandler <dsandler@google.com> Refresh date display at midnight.

Fixes http://b/2341789
eskClock.java
22924b6afee333e16fb62a19f1ac044c87c528b5 16-Dec-2009 Patrick Scott <phanna@android.com> Check for null alarms and dismiss the snooze if the alarm is disabled.

If the alarm that is currently active is deleted, disable snoozing the alarm.

Bug: 2322130
larmAlertFullScreen.java
larms.java
f6e3c42ec2bfd7e3440393bd5a0d498a513574c5 10-Dec-2009 Daniel Sandler <dsandler@android.com> Listen for weather update notifications instead of polling.

DeskClock still periodically requests updated information
from the weather content provider (as recommended by the
Genie team) but does so on an hourly schedule rather than
every 5 minutes.

Also addresses http://b/2314820.
eskClock.java
80ff42c1abf87a4e81cb422446412973b46a75bd 10-Dec-2009 Daniel Sandler <dsandler@android.com> Re-schedule screen saver mode when returning to normal.

Fixes http://b/2317620
eskClock.java
e5b7da9308d17c4d6720c012950c7922779435f7 11-Dec-2009 Daniel Sandler <dsandler@google.com> am 3d4de660: Dismiss the desk clock if it was launched by docking.

Merge commit '3d4de660d654fee760cf96f609198489e4d6525d' into eclair-mr2

* commit '3d4de660d654fee760cf96f609198489e4d6525d':
Dismiss the desk clock if it was launched by docking.
3d4de660d654fee760cf96f609198489e4d6525d 11-Dec-2009 Daniel Sandler <dsandler@google.com> Dismiss the desk clock if it was launched by docking.

In other words: if the clock is behaving like a dock app
(launched by a dock event), it should finish() when the
device is removed from the dock. If, on the other hand,
it's behaving like a regular app (launched from the
Launcher), it should ignore an un-dock event.

This change also removes support for entering the desk dock
via a dialer code (an unnecessary feature since the app can
always be invoked from the Launcher).

Fixes http://b/2302215, approved by hiroshi.
eskClock.java
ockEventReceiver.java
7e827acae69298441b970262a309a957c92da155 03-Dec-2009 Daniel Sandler <dsandler@android.com> Show a long dash instead of 0° if no temperature is available. (DO NOT MERGE)

Fixes http://b/2301604
eskClock.java
c1d449d071703d3c2b8c4d9961e812b4632b5c90 04-Dec-2009 Daniel Sandler <dsandler@google.com> Fix http://b/2305223 (DO NOT MERGE)

When placed into night mode (dim mode), the DeskClock must
restore full brightness any time the user returns to it from
another activity. There are two reasons for this:

1. The other activity won't be dim, so it's sort of jarring
to return to an almost-black screen.

2. As indicated in bug 2305223, visiting another activity is
a useful way to restore the display if it's so dark that
you can't see it to find the nightmode toggle button
(e.g., ambient lighting is very bright).
eskClock.java
c98ba511cbc433951f787ca9e9bd4472c18e4ab8 04-Dec-2009 Daniel Sandler <dsandler@android.com> Fix http://b/2305223

When placed into night mode (dim mode), the DeskClock must
restore full brightness any time the user returns to it from
another activity. There are two reasons for this:

1. The other activity won't be dim, so it's sort of jarring
to return to an almost-black screen.

2. As indicated in bug 2305223, visiting another activity is
a useful way to restore the display if it's so dark that
you can't see it to find the nightmode toggle button
(e.g., ambient lighting is very bright).
eskClock.java
1f385956ce5ae6dbe9ede0b0a4869eeff007041d 03-Dec-2009 Daniel Sandler <dsandler@android.com> Show a long dash instead of 0° if no temperature is available.

Fixes http://b/2301604
eskClock.java
44c3bfe294da8063f817c80b1f311e101a220b09 02-Dec-2009 Daniel Sandler <dsandler@google.com> am a405d7d1: Merge change I0a8adab9 into eclair

Merge commit 'a405d7d18cbc7a572a9fbde729bb4182a07c830f' into eclair-mr2

* commit 'a405d7d18cbc7a572a9fbde729bb4182a07c830f':
Reduce screen saver delay to 5 min.
c3f77cc16633551c4daf1c160f4655762dda9a3b 02-Dec-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of 90c4833f to eclair-mr2
0d5deb5795c51cf112489c48e01ebb220ad0b6d1 02-Dec-2009 Eric Laurent <elaurent@google.com> am 98379599: Fix issue 2192673: Music Pausing Even when notifications are set to silent.

Merge commit '98379599e76b778ae7e281d69c3f8923fa50cb27' into eclair-mr2

* commit '98379599e76b778ae7e281d69c3f8923fa50cb27':
Fix issue 2192673: Music Pausing Even when notifications are set to silent.
0a8adab905b45d7d7c6a4c467a4530440276bacd 01-Dec-2009 Daniel Sandler <dsandler@google.com> Reduce screen saver delay to 5 min.

Discussion in http://b/2282444 and http://b/2227579
eskClock.java
90c4833f94f4775f747333f8bd67107364a1d9c1 23-Nov-2009 Patrick Scott <phanna@android.com> UI changes based on feedback from Jeff and Amar.

Bug: 2278206
larmClock.java
ontPressWithParentLayout.java
etAlarm.java
98379599e76b778ae7e281d69c3f8923fa50cb27 27-Nov-2009 Eric Laurent <elaurent@google.com> Fix issue 2192673: Music Pausing Even when notifications are set to silent.

Do not play alarms if alarm stream volume is 0.
larmKlaxon.java
15b30537faa4bdcefafbd1a6744911ad33684492 20-Nov-2009 Mike Lockwood <lockwood@android.com> Turn off button and keyboard backlights when dimming the screen.

Change-Id: I35b0967cc611bcca2694d9bc8dbfd887d5c6061b
Signed-off-by: Mike Lockwood <lockwood@android.com>
eskClock.java
4d52065d336a3e672bc192e66cc1ba5ece7a0035 23-Nov-2009 Daniel Sandler <dsandler@google.com> am ddacabc2: Add "add alarm" menu to the DeskClock activity.

Merge commit 'ddacabc24b515db4fa6c7a289ef81d8050c8062c' into eclair-mr2

* commit 'ddacabc24b515db4fa6c7a289ef81d8050c8062c':
Add "add alarm" menu to the DeskClock activity.
ddacabc24b515db4fa6c7a289ef81d8050c8062c 23-Nov-2009 Daniel Sandler <dsandler@google.com> Add "add alarm" menu to the DeskClock activity.

Rather than copying code from AlarmClock, there is now a
version of addNewAlarm() that can be invoked from any
activity. (AlarmClock now uses it, along with DeskClock.)

Part of bug http://b/2278197 .
larmClock.java
eskClock.java
e4694b7b9a862728e2dc57116fb4e1aa1e2ab9ef 20-Nov-2009 Patrick Scott <phanna@android.com> am aa378715: Asynchronously handle TIME_TICK to not block the broadcast.

Merge commit 'aa378715cf7b99264517250ac196c0fec7999d44' into eclair-mr2

* commit 'aa378715cf7b99264517250ac196c0fec7999d44':
Asynchronously handle TIME_TICK to not block the broadcast.
aa378715cf7b99264517250ac196c0fec7999d44 19-Nov-2009 Patrick Scott <phanna@android.com> Asynchronously handle TIME_TICK to not block the broadcast.

BUG: 2268458
igitalClock.java
43313e0ddc772c0eb3818f5efbdc5bcddedde56a 18-Nov-2009 Daniel Sandler <dsandler@google.com> am b95b7a63: Myriad fixes & cleanups in DeskClock.

Merge commit 'b95b7a63c403a17c3725e1ccfbd65b4283fd6a0f' into eclair-mr2

* commit 'b95b7a63c403a17c3725e1ccfbd65b4283fd6a0f':
Myriad fixes & cleanups in DeskClock.
62598e4eb795e56e06e0b20891be707b9fd11c15 18-Nov-2009 Patrick Scott <phanna@android.com> am f1e8069b: UI tweaks to meet Jeff\'s spec.

Merge commit 'f1e8069bcd1755d9ef2322b705d8d9d6b83728f0' into eclair-mr2

* commit 'f1e8069bcd1755d9ef2322b705d8d9d6b83728f0':
UI tweaks to meet Jeff's spec.
b95b7a63c403a17c3725e1ccfbd65b4283fd6a0f 18-Nov-2009 Daniel Sandler <dsandler@google.com> Myriad fixes & cleanups in DeskClock.

- Force the weather widget to actually fetch new data at
the moment the device is docked, or when the screensaver
disappears (if the device is plugged in).
- Use Intent.FLAG_ACTIVITY_CLEAR_TOP to launch weather,
music, and gallery to avoid jumping into the middle of
their task stacks (http://b/2267831)
- Fix layout issues with weather, particularly when the
Genie widget is unavailable. (relates to
http://b/2254472)
- Internationalize the error message shown when Genie
malfunctions.
- Clean up weather & time displays to match UX specs more
closely (fonts, shadow crop issues).
- Remove some tabs in XML.
- Internal cleanup: use "query" in the name of functions &
variables related to getting updated weather from Genie;
use "fetch" to refer to downloading new weather data from
the network
eskClock.java
f1e8069bcd1755d9ef2322b705d8d9d6b83728f0 18-Nov-2009 Patrick Scott <phanna@android.com> UI tweaks to meet Jeff's spec.

Colors and text sizes are exactly how Jeff specified in the pdf. I tried to
match the size of everything based on looks but I might be a little off in
padding. The shadow effect on the bottom clock has been left out for now since
there are no specifics in the spec for each of the shadow components and I
cannot figure it out based on the drawing.
larmClock.java
f6f1e5d224b8522d6f62ece1dff4180b381f2a47 16-Nov-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of e3f01aff to eclair-mr2
e3f01aff06d4bddb09215ccad3d8502de9164966 16-Nov-2009 Patrick Scott <phanna@android.com> Finish the UI improvements for the alarm list.
larmClock.java
7a46bb83334a88c39c288f51196da424cbfb9adc 16-Nov-2009 Patrick Scott <phanna@android.com> am 515f4384: Merge change Ic31f08c3 into eclair

Merge commit '515f43840b8404b1ad2ef95c0e9704a26c248647' into eclair-mr2

* commit '515f43840b8404b1ad2ef95c0e9704a26c248647':
Make the default ringtone selected in the list.
7e344f5d5bd60e275e4ccd87b6b34b1ae2c6d7d7 16-Nov-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of 4e1b06eb to eclair-mr2
515f43840b8404b1ad2ef95c0e9704a26c248647 16-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic31f08c3 into eclair

* changes:
Make the default ringtone selected in the list.
c31f08c3c16b83fb5263e87361be8f04abdd8b90 16-Nov-2009 Patrick Scott <phanna@android.com> Make the default ringtone selected in the list.

Bug: 2260622
larmPreference.java
4e1b06ebcf08dd57240a56bac6f923b2e72ea793 16-Nov-2009 Patrick Scott <phanna@android.com> New UI for the list of alarms.

Still need to put the "Add alarm" item at the top and the clock at the bottom.
larmClock.java
igitalClock.java
82239b60431594f820f0ce4bd339b5405c12c4c0 14-Nov-2009 Daniel Sandler <dsandler@google.com> am 2ff01ef6: Fine-tuning the DeskClock UI.

Merge commit '2ff01ef636c8896455e6780fbe14cd0dca207969' into eclair-mr2

* commit '2ff01ef636c8896455e6780fbe14cd0dca207969':
Fine-tuning the DeskClock UI.
2ff01ef636c8896455e6780fbe14cd0dca207969 13-Nov-2009 Daniel Sandler <dsandler@google.com> Fine-tuning the DeskClock UI.

Date format used is the new full_wday_month_day_no_year,
which should fix http://b/2254472 and http://b/2247356 .

Font sizes and colors tweaked to match latest spec.
eskClock.java
13b0650ce0a3aac691002060412d3d89479817d3 12-Nov-2009 Daniel Sandler <dsandler@google.com> am 8423a177: Fix http://b/2249983 .

Merge commit '8423a1772b340c02e07c066b646baeae18521fe7' into eclair-mr2

* commit '8423a1772b340c02e07c066b646baeae18521fe7':
Fix http://b/2249983 .
8423a1772b340c02e07c066b646baeae18521fe7 12-Nov-2009 Daniel Sandler <dsandler@google.com> Fix http://b/2249983 .

Place the other activities in Clock in their own task
affinity and hide them from the recent apps list.

Additionally, launch other apps with the new task flag
(since we're behaving like a launcher).
eskClock.java
123538f398bec9e425aee6fd427aa4ad7a11fb28 12-Nov-2009 Patrick Scott <phanna@android.com> am bafd4638: Merge change Ic7edd6ea into eclair

Merge commit 'bafd4638a5f7f5ea1663e13caee2e1e7ae7e75c9' into eclair-mr2

* commit 'bafd4638a5f7f5ea1663e13caee2e1e7ae7e75c9':
Cancel the snooze if the user sets an alarm for before the snooze fires.
bafd4638a5f7f5ea1663e13caee2e1e7ae7e75c9 12-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change Ic7edd6ea into eclair

* changes:
Cancel the snooze if the user sets an alarm for before the snooze fires.
cbf6f5e39b17a84beb93876d95594c26784b8128 12-Nov-2009 Daniel Sandler <dsandler@google.com> am 0c4449d6: Fix http://b/2235284 by putting the next alarm in the Clock screen saver mode.

Merge commit '0c4449d6fd421c916ebaf9657ff6ae5a21eed2e7' into eclair-mr2

* commit '0c4449d6fd421c916ebaf9657ff6ae5a21eed2e7':
Fix http://b/2235284 by putting the next alarm in the Clock screen saver mode.
0c4449d6fd421c916ebaf9657ff6ae5a21eed2e7 12-Nov-2009 Daniel Sandler <dsandler@google.com> Fix http://b/2235284 by putting the next alarm in the Clock screen saver mode.

TBR.
eskClock.java
134efd4bfb3495105daaebe37a9b21916c21a18d 12-Nov-2009 Daniel Sandler <dsandler@google.com> am 9463551d: Fix http://b/2232909 .

Merge commit '9463551d754302e158b80357d9c5c88517fe6e58' into eclair-mr2

* commit '9463551d754302e158b80357d9c5c88517fe6e58':
Fix http://b/2232909 .
113427490f4a7f771708c1872a25d9dbc4bfab1b 12-Nov-2009 Daniel Sandler <dsandler@google.com> am ba328cd4: Use an alarm to refresh the date at midnight.

Merge commit 'ba328cd4a23a13732467ba5533a94ac3d7cbbf4e' into eclair-mr2

* commit 'ba328cd4a23a13732467ba5533a94ac3d7cbbf4e':
Use an alarm to refresh the date at midnight.
1dfd07dbe85dd4697ac285d56f5a8c9cb1aefb98 12-Nov-2009 Daniel Sandler <dsandler@google.com> am 2f7c9edf: Preserve dim status when pausing.

Merge commit '2f7c9edfb3f65e5defc7c24bd9348dc76d9e65a5' into eclair-mr2

* commit '2f7c9edfb3f65e5defc7c24bd9348dc76d9e65a5':
Preserve dim status when pausing.
9463551d754302e158b80357d9c5c88517fe6e58 11-Nov-2009 Daniel Sandler <dsandler@google.com> Fix http://b/2232909 .

Rather than being fancy and firing off the NOW_PLAYING
activity (which doesn't like to be launched if nothing's
playing), we just launch the Music app as if it were
starting from Launcher.
eskClock.java
ba328cd4a23a13732467ba5533a94ac3d7cbbf4e 11-Nov-2009 Daniel Sandler <dsandler@google.com> Use an alarm to refresh the date at midnight.

Fixes http://b/2251125 (we were detecting user-initiated
date changes but not the natural rolling of one day into the
next).
eskClock.java
2f7c9edfb3f65e5defc7c24bd9348dc76d9e65a5 10-Nov-2009 Daniel Sandler <dsandler@google.com> Preserve dim status when pausing.

Fixes http://b/2251135 (snoozing an alarm leaves the clock
in painfully-bright mode).
eskClock.java
c7edd6ea840e25cb04d090b6c29dc96c04d2be40 09-Nov-2009 Patrick Scott <phanna@android.com> Cancel the snooze if the user sets an alarm for before the snooze fires.

If the alarm is enabled, check the snooze time to see if it needs to be
cancelled. Remove the preference and notification if cancelled. Return the
calculated time from setAlarm to avoid another calculation.

Bug: 2139162
larms.java
etAlarm.java
5af0608348ceda9ba959adf61a78ff7c262a210e 06-Nov-2009 Daniel Sandler <dsandler@google.com> am 4e8ad3a4: More UI tweaks:

Merge commit '4e8ad3a40141d05ced3279c6a0296b71ffc5117d' into eclair-mr2

* commit '4e8ad3a40141d05ced3279c6a0296b71ffc5117d':
More UI tweaks:
4e8ad3a40141d05ced3279c6a0296b71ffc5117d 06-Nov-2009 Daniel Sandler <dsandler@google.com> More UI tweaks:

- Add an options menu to the main Clock activity.
(The only item is "Alarms" to switch to the Alarm
activity; no icon yet.)
- Now showing current temperature as well as high/low temps.
- Remove year from the displayed date.
- Tidy layouts.
eskClock.java
e6ebab14fd23b288e551796dc965d99e60ff2dc2 06-Nov-2009 Daniel Sandler <dsandler@google.com> am daa1dd3e: DeskClock UI fixes.

Merge commit 'daa1dd3eb9ebb69817babdb74b125dc63889eb45' into eclair-mr2

* commit 'daa1dd3eb9ebb69817babdb74b125dc63889eb45':
DeskClock UI fixes.
daa1dd3eb9ebb69817babdb74b125dc63889eb45 06-Nov-2009 Daniel Sandler <dsandler@google.com> DeskClock UI fixes.

- darker shade on the user's background
- stop clipping the left-hand side of the time (was moving
it over to accommodate Clockopia's generous tracking, but
it's causing drawing issues)
- AM/PM now in Droid Sans
- calmer green in screen-saver mode
eskClock.java
igitalClock.java
b29bc48889e5c176720344140d69a85d509d94e0 06-Nov-2009 Daniel Sandler <dsandler@google.com> am e64281b1: Launch the Genie widget when the weather is tapped.

Merge commit 'e64281b157842af93b793e8c9de3dd9a71825172' into eclair-mr2

* commit 'e64281b157842af93b793e8c9de3dd9a71825172':
Launch the Genie widget when the weather is tapped.
79bbf660e9bd8a19e6b56e6831171fb5d846c950 05-Nov-2009 Daniel Sandler <dsandler@google.com> am 1878e99c: Fix trackball focus issues on orientation change.

Merge commit '1878e99c5ccd7bd2288707a431e0bb5d39879985' into eclair-mr2

* commit '1878e99c5ccd7bd2288707a431e0bb5d39879985':
Fix trackball focus issues on orientation change.
e64281b157842af93b793e8c9de3dd9a71825172 05-Nov-2009 Daniel Sandler <dsandler@google.com> Launch the Genie widget when the weather is tapped.

Fixes: http://b/2240161
eskClock.java
1878e99c5ccd7bd2288707a431e0bb5d39879985 05-Nov-2009 Daniel Sandler <dsandler@google.com> Fix trackball focus issues on orientation change.

http://b/2232758
eskClock.java
865e060f156124348344a2efd360f4cc58b8ffa6 05-Nov-2009 Daniel Sandler <dsandler@google.com> am f8952fa7: Integrate final button artwork for DeskClock.

Merge commit 'f8952fa79d0cc70e5a802fb2624701fbed0736b8' into eclair-mr2

* commit 'f8952fa79d0cc70e5a802fb2624701fbed0736b8':
Integrate final button artwork for DeskClock.
f8952fa79d0cc70e5a802fb2624701fbed0736b8 05-Nov-2009 Daniel Sandler <dsandler@google.com> Integrate final button artwork for DeskClock.
eskClock.java
448fe0bfbd3f0c759a987307532f99d608c7e7a6 04-Nov-2009 Daniel Sandler <dsandler@google.com> am 4dc051aa: Start Gallery in slideshow mode from DeskClock.

Merge commit '4dc051aa9b76d8dffbd2372740eff2735c654540' into eclair-mr2

* commit '4dc051aa9b76d8dffbd2372740eff2735c654540':
Start Gallery in slideshow mode from DeskClock.
4dc051aa9b76d8dffbd2372740eff2735c654540 04-Nov-2009 Daniel Sandler <dsandler@google.com> Start Gallery in slideshow mode from DeskClock.
eskClock.java
be6b7c737f1fab0160bd9b97f80c2bbc7702976b 04-Nov-2009 Daniel Sandler <dsandler@google.com> am 4e5e11e9: Merge change I0a267d0f into eclair

Merge commit '4e5e11e92d1bd0b3b12432c99d1e76d592dbf229' into eclair-mr2

* commit '4e5e11e92d1bd0b3b12432c99d1e76d592dbf229':
More tweaks per spec.
4e5e11e92d1bd0b3b12432c99d1e76d592dbf229 04-Nov-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I0a267d0f into eclair

* changes:
More tweaks per spec.
0a267d0f1c1e18e0f208b60a81bf2f73457a2c56 03-Nov-2009 Daniel Sandler <dsandler@google.com> More tweaks per spec.

- Synchronize screensaver jumping to the second
- Turn on the display when this app is launched (by docking
the device)
- Show DeskClock on top of the keyguard
- Use Math.round() to compute Fahrenheit (sync up with Genie
widget)
- Stop moving the screensaver while the display is off.
(http://b/2234698)
- Minor code cleanups.
eskClock.java
3d7d762cc460fb337e23215c6b3081d2aff67aaa 03-Nov-2009 Patrick Scott <phanna@android.com> am df465736: Change default sort order to sort by alarm time.

Merge commit 'df4657361cc0bd0f4671d5e53f18bd48a7e97245' into eclair-mr2

* commit 'df4657361cc0bd0f4671d5e53f18bd48a7e97245':
Change default sort order to sort by alarm time.
df4657361cc0bd0f4671d5e53f18bd48a7e97245 03-Nov-2009 Patrick Scott <phanna@android.com> Change default sort order to sort by alarm time.

Will make the same change to AlarmClock in mr2.

Bug: 2228476
larm.java
554a4eb2b199902a42137a53b2731580c28bc2bf 03-Nov-2009 Daniel Sandler <dsandler@google.com> am e6cf24db: AlarmClock tweaks.

Merge commit 'e6cf24dbbea56d8b88a8d48bed9d3a6f26c2ddf0' into eclair-mr2

* commit 'e6cf24dbbea56d8b88a8d48bed9d3a6f26c2ddf0':
AlarmClock tweaks.
e6cf24dbbea56d8b88a8d48bed9d3a6f26c2ddf0 02-Nov-2009 Daniel Sandler <dsandler@google.com> AlarmClock tweaks.

- No more layout jumps when switching between dim/undim
modes
- Now registers itself as the "dock home"---that is, it
hijacks the home softkey away from Launcher while the
device is docked
- Shows "on top" of the keyguard; all exits, however, will
return to the keyguard before completing
- Now uses the WindowManager to hold a wakelock when
necessary
- Tweaked weather display (bringing the weather icon size
under control)
eskClock.java
873a3541dc567de755a2cd7053630c93ab73b4cd 30-Oct-2009 Daniel Sandler <dsandler@google.com> am 91522cd4: Completed weather support; new screen-saving mode.

Merge commit '91522cd49090f40e2e5b96c9b2e310b1adf1218a' into eclair-mr2

* commit '91522cd49090f40e2e5b96c9b2e310b1adf1218a':
Completed weather support; new screen-saving mode.
91522cd49090f40e2e5b96c9b2e310b1adf1218a 30-Oct-2009 Daniel Sandler <dsandler@google.com> Completed weather support; new screen-saving mode.

Now pulls high and low temperatures, as well as an icon (in
the form of a drawable resource), from the Genie widget,
periodically. Known issues: artwork is mdpi and fuzzy (bug
in Genie).

Preliminary support for a new screen-saving mode (subject to
change) specifically for OLEDs with short B/R subpixel
lifetime. Text is drawn in green on a black background; the
text also randomly jumps around the screen. Any user input
(touch, trackball/keypress, etc.) will restore the previous
view.

Screen saver mode kicks in after a delay (or, for debugging,
a longpress on "Dim"). Honors the current dimness setting,
so if the clock is currently in nightstand mode, the screen
saver will be very dim; otherwise (viz., desk mode) the
saver will be brighter.
eskClock.java
7d70b7d40f81ec321171f69054a6a1479aec3c72 30-Oct-2009 Daniel Sandler <dsandler@google.com> am 676707c5: Merge change I2763ab4c into eclair

Merge commit '676707c5d545233b6a774919de87d98ae57b258e' into eclair-mr2

* commit '676707c5d545233b6a774919de87d98ae57b258e':
Show weather forecast in DeskClock.
676707c5d545233b6a774919de87d98ae57b258e 29-Oct-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change I2763ab4c into eclair

* changes:
Show weather forecast in DeskClock.
2763ab4cb6ee8d186eb8894ad006f699bfca3413 27-Oct-2009 Daniel Sandler <dsandler@google.com> Show weather forecast in DeskClock.

Currently querying the GenieWidget; if it's not present, no
weather is shown or even hinted at in the UI. If GenieWidget
is available but fails to respond to the query, we show
"Weather unavailable." (needs i18n)

Note that Genie's WeatherProvider is currently broken, so
for now you'll always see "Weather unavailable."

Other changes:

- Fix dimming/flashing on rotation.
- Fix other layout problems & inefficiencies.
eskClock.java
aeeadc5989e1f249b3ee60f08ba71fc90bc34b9d 29-Oct-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of 1027cd4b to eclair-mr2
3979587e1419e373ff36a40566e6452ca0536674 28-Oct-2009 Daniel Sandler <dsandler@google.com> am d1373322: Landscape layout for DeskClock.

Merge commit 'd13733225cb1a3e16413b35336e94e400bf5d399' into eclair-mr2

* commit 'd13733225cb1a3e16413b35336e94e400bf5d399':
Landscape layout for DeskClock.
a21b2db5541b0bf20582572e4f072137ff46c69f 28-Oct-2009 Patrick Scott <phanna@android.com> The snooze notification must be clicked to be cleared.

Change all the notifications to ongoing. This means they cannot be cleared
unless clicked. If the alarm is killed after 10 minutes, the notification is
changed to a vanilla notification and can be cleared with the "Clear All"
button.

This change will be merged to the MR2 branch of AlarmClock.

Bug: 2220016
larmAlert.java
larmReceiver.java
larms.java
d13733225cb1a3e16413b35336e94e400bf5d399 27-Oct-2009 Daniel Sandler <dsandler@google.com> Landscape layout for DeskClock.

Created several new sub-layouts that are shared between the
two orientations.

Known issue: the activity currently re-starts (forgetting
the dim state) between orientations.
eskClock.java
8b4fd43c9ac3b8e3b31ec827ca07b4ee5366b604 24-Oct-2009 Daniel Sandler <dsandler@google.com> am 72a353a7: Wiring up gallery & music buttons.

Merge commit '72a353a7d443f17a0e16412ae85ad359d97e9394' into eclair-mr2

* commit '72a353a7d443f17a0e16412ae85ad359d97e9394':
Wiring up gallery & music buttons.
72a353a7d443f17a0e16412ae85ad359d97e9394 23-Oct-2009 Daniel Sandler <dsandler@google.com> Wiring up gallery & music buttons.
eskClock.java
969318aa4c2e1e76e645842cca6fc97bb24ba613 23-Oct-2009 Daniel Sandler <dsandler@google.com> am 3955e05d: UI improvements to DeskClock.

Merge commit '3955e05df4f0b1fa223ccc1cf8a44d5b5d5bd8a0' into eclair-mr2

* commit '3955e05df4f0b1fa223ccc1cf8a44d5b5d5bd8a0':
UI improvements to DeskClock.
3955e05df4f0b1fa223ccc1cf8a44d5b5d5bd8a0 23-Oct-2009 Daniel Sandler <dsandler@google.com> UI improvements to DeskClock.

Fixes:
- "Dim" button moved to TR corner per spec.
- Next Alarm moved to TL corner per spec.
- Launcher button added (not yet wired).
- Battery indicator added to BR corner per spec.
- Drop shadow added to all text per spec.
- Layout now fills the portrait display vertically.

Known problems:
- No landscape layout
- Layout jumps when status bar disappears for dim mode
- No artwork yet
- Weather is a big orange box instead of, you know, weather
eskClock.java
56eac7c6cb75f0ebc77afc07601569eb8df82d27 23-Oct-2009 Daniel Sandler <dsandler@google.com> am ef18177f: Wire up date & next alarm displays.

Merge commit 'ef18177f9bbbeab8ef266c3f080175bc813dc34c' into eclair-mr2

* commit 'ef18177f9bbbeab8ef266c3f080175bc813dc34c':
Wire up date & next alarm displays.
ef18177f9bbbeab8ef266c3f080175bc813dc34c 22-Oct-2009 Daniel Sandler <dsandler@google.com> Wire up date & next alarm displays.

Change-Id: I367e0dcdb3fdfa7256dfd5ce54097c8206806f51
eskClock.java
e8d2668517e7e5b3e18f6c92949d2d4a673ec5b3 22-Oct-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of da3b21c3 to eclair-mr2
72c3817544e0e84756f5e0c627ad4a72f9156790 22-Oct-2009 Daniel Sandler <dsandler@google.com> am f8317ad7: New DeskClock activity, now the main app entry point.

Merge commit 'f8317ad7146b1cdfeded7acb23ae8f770b2d3f97' into eclair-mr2

* commit 'f8317ad7146b1cdfeded7acb23ae8f770b2d3f97':
New DeskClock activity, now the main app entry point.
da3b21c3fb5227cfabe7fefa777470d7a4604bb0 22-Oct-2009 Patrick Scott <phanna@android.com> Show AM/PM in the same spot on the clock.

Make the alarm list, main screen, and alert consistent. Have DigitalClock deal
with the AM/PM strings. Put a little padding above and below the clock in the
alert.
larmClock.java
igitalClock.java
f4a785b4dc7b71bc7c3a0e398293f1050516c088 22-Oct-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of dce90517 to eclair-mr2
f8317ad7146b1cdfeded7acb23ae8f770b2d3f97 20-Oct-2009 Daniel Sandler <dsandler@google.com> New DeskClock activity, now the main app entry point.

UI not yet wired up for the most part, but Alarms should
take you to the AlarmClock activity, and there's a
functional implementation of screen dimming ("nightstand
mode").
eskClock.java
ockEventReceiver.java
dce90517954050428bfaf20e1409c10d372a4759 20-Oct-2009 Patrick Scott <phanna@android.com> Remove the menu and replace with buttons.

Change the layout to allow two buttons at the bottom of the list. Update the
"Add alarm" button when adding/removing alarms to change enabled state.
larmClock.java
109d4af68f0536813786a2c4ca01a462f8755a88 20-Oct-2009 Patrick Scott <phanna@android.com> am 52b3d633: Use Clockopia as the typeface for the digital clock.

Merge commit '52b3d633a031c64dcefefc4884b9cea5781425c2' into eclair-mr2

* commit '52b3d633a031c64dcefefc4884b9cea5781425c2':
Use Clockopia as the typeface for the digital clock.
52b3d633a031c64dcefefc4884b9cea5781425c2 20-Oct-2009 Patrick Scott <phanna@android.com> Use Clockopia as the typeface for the digital clock.
igitalClock.java
1d09799c923973c491a6e04594d254401b3fd9a7 19-Oct-2009 Patrick Scott <phanna@android.com> am 93e942a9: Change the default alarms.

Merge commit '93e942a97a3aba0ad68be6b3db181c939199fa2e' into eclair-mr2

* commit '93e942a97a3aba0ad68be6b3db181c939199fa2e':
Change the default alarms.
2eb3900c6917520f546f44e4d9ca6f045cffe9ea 19-Oct-2009 Patrick Scott <phanna@android.com> resolved conflicts for merge of aafb2fd2 to eclair-mr2
93e942a97a3aba0ad68be6b3db181c939199fa2e 19-Oct-2009 Patrick Scott <phanna@android.com> Change the default alarms.

8:30 am MTWThF
9:00 am SatSun
larmProvider.java
aafb2fd272f3c97f74043c11469ad301d3bd4026 19-Oct-2009 Patrick Scott <phanna@android.com> Remove the clock face from the alarm list.

Remove all the clock layouts except the digital. Remove the clock picker and any
settings related to change the clock face.

Next step: Move the settings and add alarm menu items to buttons.
larmAlert.java
larmClock.java
lockPicker.java
igitalClock.java
3dbaa9d07abf3133024bac468e452a071f270fac 17-Oct-2009 Daniel Sandler <dsandler@google.com> am fa954248: Moving things around a little in the new DeskClock.

Merge commit 'fa954248b41b567dfa2ddd7bd063d3936a51758e' into eclair-mr2

* commit 'fa954248b41b567dfa2ddd7bd063d3936a51758e':
Moving things around a little in the new DeskClock.
fa954248b41b567dfa2ddd7bd063d3936a51758e 16-Oct-2009 Daniel Sandler <dsandler@google.com> Moving things around a little in the new DeskClock.

- Package is now com.android.deskclock
- Launches in response to insertion in desk dock or
DESK dialercode

TODO next: split the AlarmClock activity into a DeskClock
and AlarmList (or similar).
larm.java
larmAlert.java
larmAlertFullScreen.java
larmAlertWakeLock.java
larmClock.java
larmInitReceiver.java
larmKlaxon.java
larmPreference.java
larmProvider.java
larmReceiver.java
larms.java
nalogAppWidgetProvider.java
lockPicker.java
igitalClock.java
ockEventReceiver.java
og.java
epeatPreference.java
etAlarm.java
ettingsActivity.java
oastMaster.java