OSDN Git Service

android-x86/packages-apps-DeskClock.git
14 years agoListen for weather update notifications instead of polling.
Daniel Sandler [Thu, 10 Dec 2009 17:15:16 +0000 (12:15 -0500)]
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.

14 years agoRe-schedule screen saver mode when returning to normal.
Daniel Sandler [Thu, 10 Dec 2009 18:05:40 +0000 (13:05 -0500)]
Re-schedule screen saver mode when returning to normal.

Fixes http://b/2317620

14 years agoam 3d4de660: Dismiss the desk clock if it was launched by docking.
Daniel Sandler [Fri, 11 Dec 2009 07:17:14 +0000 (23:17 -0800)]
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.

14 years agoDismiss the desk clock if it was launched by docking.
Daniel Sandler [Fri, 11 Dec 2009 07:07:36 +0000 (02:07 -0500)]
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.

14 years agoam cda260fb: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Fri, 11 Dec 2009 01:43:21 +0000 (17:43 -0800)]
am cda260fb: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'cda260fb9e42d1a470ec0040bd325a97261c88dd' into eclair-mr2

* commit 'cda260fb9e42d1a470ec0040bd325a97261c88dd':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 10 Dec 2009 01:25:36 +0000 (17:25 -0800)]
Import revised translations.  DO NOT MERGE

14 years agoam 7e827aca: (-s ours) Show a long dash instead of 0° if no temperature is available...
Daniel Sandler [Tue, 8 Dec 2009 16:03:16 +0000 (08:03 -0800)]
am 7e827aca: (-s ours) Show a long dash instead of 0° if no temperature is available. (DO NOT MERGE)

Merge commit '7e827acae69298441b970262a309a957c92da155' into eclair-mr2

* commit '7e827acae69298441b970262a309a957c92da155':
  Show a long dash instead of 0° if no temperature is available. (DO NOT MERGE)

14 years agoShow a long dash instead of 0° if no temperature is available. (DO NOT MERGE)
Daniel Sandler [Thu, 3 Dec 2009 16:44:30 +0000 (11:44 -0500)]
Show a long dash instead of 0° if no temperature is available. (DO NOT MERGE)

Fixes http://b/2301604

14 years agoam c1d449d0: (-s ours) Fix http://b/2305223 (DO NOT MERGE)
Daniel Sandler [Fri, 4 Dec 2009 20:23:41 +0000 (12:23 -0800)]
am c1d449d0: (-s ours) Fix b/2305223 (DO NOT MERGE)

Merge commit 'c1d449d071703d3c2b8c4d9961e812b4632b5c90' into eclair-mr2

* commit 'c1d449d071703d3c2b8c4d9961e812b4632b5c90':
  Fix http://b/2305223 (DO NOT MERGE)

14 years agoFix http://b/2305223 (DO NOT MERGE)
Daniel Sandler [Fri, 4 Dec 2009 19:47:03 +0000 (14:47 -0500)]
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).

14 years agoFix http://b/2305223
Daniel Sandler [Fri, 4 Dec 2009 19:20:18 +0000 (14:20 -0500)]
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).

14 years agoShow a long dash instead of 0° if no temperature is available.
Daniel Sandler [Thu, 3 Dec 2009 16:44:30 +0000 (11:44 -0500)]
Show a long dash instead of 0° if no temperature is available.

Fixes http://b/2301604

14 years agoam 630cb4aa: (-s ours) Merge change Iabe6771c into eclair
Eric Fischer [Wed, 2 Dec 2009 23:11:59 +0000 (15:11 -0800)]
am 630cb4aa: (-s ours) Merge change Iabe6771c into eclair

Merge commit '630cb4aa77ef52c15295b0ffb4b9ec966b516fa7' into eclair-mr2

* commit '630cb4aa77ef52c15295b0ffb4b9ec966b516fa7':
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Iabe6771c into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 23:02:42 +0000 (15:02 -0800)]
Merge change Iabe6771c into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 2 Dec 2009 22:56:13 +0000 (14:56 -0800)]
Import revised translations.  DO NOT MERGE

14 years agoam 1196a729: Merge change I63863614 into eclair
Daniel Sandler [Wed, 2 Dec 2009 20:54:47 +0000 (12:54 -0800)]
am 1196a729: Merge change I63863614 into eclair

Merge commit '1196a729512ca9207c7d5af4862a830d412a68b7' into eclair-mr2

* commit '1196a729512ca9207c7d5af4862a830d412a68b7':
  Continued UI fit-and-finish for DeskClock.

14 years agoMerge change I63863614 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 20:49:26 +0000 (12:49 -0800)]
Merge change I63863614 into eclair

* changes:
  Continued UI fit-and-finish for DeskClock.

14 years agoam a405d7d1: Merge change I0a8adab9 into eclair
Daniel Sandler [Wed, 2 Dec 2009 20:04:50 +0000 (12:04 -0800)]
am a405d7d1: Merge change I0a8adab9 into eclair

Merge commit 'a405d7d18cbc7a572a9fbde729bb4182a07c830f' into eclair-mr2

* commit 'a405d7d18cbc7a572a9fbde729bb4182a07c830f':
  Reduce screen saver delay to 5 min.

14 years agoMerge change I0a8adab9 into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 20:00:46 +0000 (12:00 -0800)]
Merge change I0a8adab9 into eclair

* changes:
  Reduce screen saver delay to 5 min.

14 years agoam 9bc32c62: Reverting this change to fix 2252466.
Patrick Scott [Wed, 2 Dec 2009 17:49:54 +0000 (09:49 -0800)]
am 9bc32c62: Reverting this change to fix 2252466.

Merge commit '9bc32c622028a8de012438ccf8d207888d0ae8ba' into eclair-mr2

* commit '9bc32c622028a8de012438ccf8d207888d0ae8ba':
  Reverting this change to fix 2252466.

14 years agoReverting this change to fix 2252466.
Patrick Scott [Wed, 2 Dec 2009 13:28:32 +0000 (08:28 -0500)]
Reverting this change to fix 2252466.

Specifying multiple ringtone types makes the volume stream change to ringer
instead of alarm. This prevents the user from changing the alarm volume inside
the picker.

14 years agoresolved conflicts for merge of 90c4833f to eclair-mr2
Patrick Scott [Wed, 2 Dec 2009 13:16:25 +0000 (08:16 -0500)]
resolved conflicts for merge of 90c4833f to eclair-mr2

14 years agoam 77f3d897: (-s ours) Merge change I1afe6674 into eclair
Eric Fischer [Wed, 2 Dec 2009 01:10:42 +0000 (17:10 -0800)]
am 77f3d897: (-s ours) Merge change I1afe6674 into eclair

Merge commit '77f3d897765faaa640add814852c7b4ccee33655' into eclair-mr2

* commit '77f3d897765faaa640add814852c7b4ccee33655':
  Import revised translations.  DO NOT MERGE

14 years agoam 98379599: Fix issue 2192673: Music Pausing Even when notifications are set to...
Eric Laurent [Wed, 2 Dec 2009 01:04:38 +0000 (17:04 -0800)]
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.

14 years agoReduce screen saver delay to 5 min.
Daniel Sandler [Tue, 1 Dec 2009 22:23:59 +0000 (17:23 -0500)]
Reduce screen saver delay to 5 min.

Discussion in http://b/2282444 and http://b/2227579

14 years agoUI changes based on feedback from Jeff and Amar.
Patrick Scott [Mon, 23 Nov 2009 19:46:44 +0000 (14:46 -0500)]
UI changes based on feedback from Jeff and Amar.

Bug: 2278206

14 years agoMerge change I1afe6674 into eclair
Android (Google) Code Review [Mon, 30 Nov 2009 19:55:43 +0000 (11:55 -0800)]
Merge change I1afe6674 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 30 Nov 2009 19:35:47 +0000 (11:35 -0800)]
Import revised translations.  DO NOT MERGE

14 years agoFix issue 2192673: Music Pausing Even when notifications are set to silent.
Eric Laurent [Fri, 27 Nov 2009 13:10:54 +0000 (05:10 -0800)]
Fix issue 2192673: Music Pausing Even when notifications are set to silent.

Do not play alarms if alarm stream volume is 0.

14 years agoContinued UI fit-and-finish for DeskClock.
Daniel Sandler [Mon, 23 Nov 2009 21:00:02 +0000 (16:00 -0500)]
Continued UI fit-and-finish for DeskClock.

Bug: http://b/2278197

14 years agoTurn off button and keyboard backlights when dimming the screen.
Mike Lockwood [Fri, 20 Nov 2009 16:31:49 +0000 (11:31 -0500)]
Turn off button and keyboard backlights when dimming the screen.

Change-Id: I35b0967cc611bcca2694d9bc8dbfd887d5c6061b
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam ddacabc2: Add "add alarm" menu to the DeskClock activity.
Daniel Sandler [Mon, 23 Nov 2009 16:55:57 +0000 (08:55 -0800)]
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.

14 years agoAdd "add alarm" menu to the DeskClock activity.
Daniel Sandler [Mon, 23 Nov 2009 16:37:05 +0000 (11:37 -0500)]
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 .

14 years agoam aa378715: Asynchronously handle TIME_TICK to not block the broadcast.
Patrick Scott [Fri, 20 Nov 2009 21:49:36 +0000 (13:49 -0800)]
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.

14 years agoAsynchronously handle TIME_TICK to not block the broadcast.
Patrick Scott [Thu, 19 Nov 2009 21:06:27 +0000 (16:06 -0500)]
Asynchronously handle TIME_TICK to not block the broadcast.

BUG: 2268458

14 years agoam 80124aa0: Make the alert layout a little better.
Patrick Scott [Thu, 19 Nov 2009 19:41:21 +0000 (11:41 -0800)]
am 80124aa0: Make the alert layout a little better.

Merge commit '80124aa02f01228f8726e8c972a5882e0f4d10d7' into eclair-mr2

* commit '80124aa02f01228f8726e8c972a5882e0f4d10d7':
  Make the alert layout a little better.

14 years agoam bb4dbac9: Allow picking ringtones as alarm alerts.
Patrick Scott [Thu, 19 Nov 2009 19:41:03 +0000 (11:41 -0800)]
am bb4dbac9: Allow picking ringtones as alarm alerts.

Merge commit 'bb4dbac9655226b87502655c1fa7e8fca1357bf4' into eclair-mr2

* commit 'bb4dbac9655226b87502655c1fa7e8fca1357bf4':
  Allow picking ringtones as alarm alerts.

14 years agoMake the alert layout a little better.
Patrick Scott [Thu, 19 Nov 2009 17:03:36 +0000 (12:03 -0500)]
Make the alert layout a little better.

Align the time and am/pm text. Pad the alarm message a little more as well as
the time. Use standard colors and appearances for some of the text.

14 years agoAllow picking ringtones as alarm alerts.
Patrick Scott [Thu, 19 Nov 2009 14:13:48 +0000 (09:13 -0500)]
Allow picking ringtones as alarm alerts.

The original request was for just a few of the ringtones but that really isn't
possible with the current framework. Media files are classified by what folder
they are transferred to during the build. It would be nice to have a way to
specify what media files should be allowed in the list of ringtones but for now,
I think it is ok to allow selecting any of the built-in ringtones.

14 years agoam b95b7a63: Myriad fixes & cleanups in DeskClock.
Daniel Sandler [Wed, 18 Nov 2009 20:22:37 +0000 (12:22 -0800)]
am b95b7a63: Myriad fixes & cleanups in DeskClock.

Merge commit 'b95b7a63c403a17c3725e1ccfbd65b4283fd6a0f' into eclair-mr2

* commit 'b95b7a63c403a17c3725e1ccfbd65b4283fd6a0f':
  Myriad fixes & cleanups in DeskClock.

14 years agoam f1e8069b: UI tweaks to meet Jeff\'s spec.
Patrick Scott [Wed, 18 Nov 2009 20:20:53 +0000 (12:20 -0800)]
am f1e8069b: UI tweaks to meet Jeff\'s spec.

Merge commit 'f1e8069bcd1755d9ef2322b705d8d9d6b83728f0' into eclair-mr2

* commit 'f1e8069bcd1755d9ef2322b705d8d9d6b83728f0':
  UI tweaks to meet Jeff's spec.

14 years agoMyriad fixes & cleanups in DeskClock.
Daniel Sandler [Wed, 18 Nov 2009 19:21:01 +0000 (14:21 -0500)]
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

14 years agoUI tweaks to meet Jeff's spec.
Patrick Scott [Wed, 18 Nov 2009 14:53:03 +0000 (09:53 -0500)]
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.

14 years agoresolved conflicts for merge of e3f01aff to eclair-mr2
Patrick Scott [Mon, 16 Nov 2009 21:23:49 +0000 (16:23 -0500)]
resolved conflicts for merge of e3f01aff to eclair-mr2

14 years agoFinish the UI improvements for the alarm list.
Patrick Scott [Mon, 16 Nov 2009 21:11:32 +0000 (16:11 -0500)]
Finish the UI improvements for the alarm list.

14 years agoam 515f4384: Merge change Ic31f08c3 into eclair
Patrick Scott [Mon, 16 Nov 2009 19:32:11 +0000 (11:32 -0800)]
am 515f4384: Merge change Ic31f08c3 into eclair

Merge commit '515f43840b8404b1ad2ef95c0e9704a26c248647' into eclair-mr2

* commit '515f43840b8404b1ad2ef95c0e9704a26c248647':
  Make the default ringtone selected in the list.

14 years agoresolved conflicts for merge of 4e1b06eb to eclair-mr2
Patrick Scott [Mon, 16 Nov 2009 19:28:05 +0000 (14:28 -0500)]
resolved conflicts for merge of 4e1b06eb to eclair-mr2

14 years agoMerge change Ic31f08c3 into eclair
Android (Google) Code Review [Mon, 16 Nov 2009 19:10:02 +0000 (11:10 -0800)]
Merge change Ic31f08c3 into eclair

* changes:
  Make the default ringtone selected in the list.

14 years agoMake the default ringtone selected in the list.
Patrick Scott [Mon, 16 Nov 2009 16:56:04 +0000 (11:56 -0500)]
Make the default ringtone selected in the list.

Bug: 2260622

14 years agoNew UI for the list of alarms.
Patrick Scott [Mon, 16 Nov 2009 12:50:20 +0000 (07:50 -0500)]
New UI for the list of alarms.

Still need to put the "Add alarm" item at the top and the clock at the bottom.

14 years agoam 33137d79: (-s ours) Merge change Ia9f7e629 into eclair
Eric Fischer [Sat, 14 Nov 2009 01:48:59 +0000 (17:48 -0800)]
am 33137d79: (-s ours) Merge change Ia9f7e629 into eclair

Merge commit '33137d791aadea46f6ed8ceae198d3f5a2e4a964' into eclair-mr2

* commit '33137d791aadea46f6ed8ceae198d3f5a2e4a964':
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Ia9f7e629 into eclair
Android (Google) Code Review [Sat, 14 Nov 2009 01:45:25 +0000 (17:45 -0800)]
Merge change Ia9f7e629 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Sat, 14 Nov 2009 01:21:12 +0000 (17:21 -0800)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoam 2ff01ef6: Fine-tuning the DeskClock UI.
Daniel Sandler [Sat, 14 Nov 2009 00:15:22 +0000 (16:15 -0800)]
am 2ff01ef6: Fine-tuning the DeskClock UI.

Merge commit '2ff01ef636c8896455e6780fbe14cd0dca207969' into eclair-mr2

* commit '2ff01ef636c8896455e6780fbe14cd0dca207969':
  Fine-tuning the DeskClock UI.

14 years agoFine-tuning the DeskClock UI.
Daniel Sandler [Fri, 13 Nov 2009 20:02:08 +0000 (12:02 -0800)]
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.

14 years agoam 5a2aa678: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Fri, 13 Nov 2009 18:43:21 +0000 (10:43 -0800)]
am 5a2aa678: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '5a2aa6783837954c496f49e3e08b3c57a626e326' into eclair-mr2

* commit '5a2aa6783837954c496f49e3e08b3c57a626e326':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Fri, 13 Nov 2009 03:47:57 +0000 (19:47 -0800)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoam 8423a177: Fix http://b/2249983 .
Daniel Sandler [Thu, 12 Nov 2009 21:53:06 +0000 (13:53 -0800)]
am 8423a177: Fix http://b/2249983 .

Merge commit '8423a1772b340c02e07c066b646baeae18521fe7' into eclair-mr2

* commit '8423a1772b340c02e07c066b646baeae18521fe7':
  Fix http://b/2249983 .

14 years agoFix http://b/2249983 .
Daniel Sandler [Thu, 12 Nov 2009 21:40:19 +0000 (13:40 -0800)]
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).

14 years agoam bafd4638: Merge change Ic7edd6ea into eclair
Patrick Scott [Thu, 12 Nov 2009 13:44:51 +0000 (05:44 -0800)]
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.

14 years agoMerge change Ic7edd6ea into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 13:40:00 +0000 (05:40 -0800)]
Merge change Ic7edd6ea into eclair

* changes:
  Cancel the snooze if the user sets an alarm for before the snooze fires.

14 years agoam 0c4449d6: Fix http://b/2235284 by putting the next alarm in the Clock screen saver...
Daniel Sandler [Thu, 12 Nov 2009 08:14:52 +0000 (00:14 -0800)]
am 0c4449d6: Fix 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.

14 years agoam 338597a5: Add text descriptions for icons in DeskClock.
Daniel Sandler [Thu, 12 Nov 2009 08:14:48 +0000 (00:14 -0800)]
am 338597a5: Add text descriptions for icons in DeskClock.

Merge commit '338597a5b502b03a01ddaa3579f70b58ca7fdbbe' into eclair-mr2

* commit '338597a5b502b03a01ddaa3579f70b58ca7fdbbe':
  Add text descriptions for icons in DeskClock.

14 years agoFix http://b/2235284 by putting the next alarm in the Clock screen saver mode.
Daniel Sandler [Thu, 12 Nov 2009 07:09:28 +0000 (23:09 -0800)]
Fix b/2235284 by putting the next alarm in the Clock screen saver mode.

TBR.

14 years agoAdd text descriptions for icons in DeskClock.
Daniel Sandler [Thu, 12 Nov 2009 01:33:13 +0000 (17:33 -0800)]
Add text descriptions for icons in DeskClock.

Fixes http://b/2249982 (these icons were inaccessible to TTS).

14 years agoam 9463551d: Fix http://b/2232909 .
Daniel Sandler [Thu, 12 Nov 2009 01:13:40 +0000 (17:13 -0800)]
am 9463551d: Fix http://b/2232909 .

Merge commit '9463551d754302e158b80357d9c5c88517fe6e58' into eclair-mr2

* commit '9463551d754302e158b80357d9c5c88517fe6e58':
  Fix http://b/2232909 .

14 years agoam ba328cd4: Use an alarm to refresh the date at midnight.
Daniel Sandler [Thu, 12 Nov 2009 01:13:37 +0000 (17:13 -0800)]
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.

14 years agoam 8c7bbe7b: Fix http://b/2246758 (new icon for slideshow)
Daniel Sandler [Thu, 12 Nov 2009 01:13:29 +0000 (17:13 -0800)]
am 8c7bbe7b: Fix b/2246758 (new icon for slideshow)

Merge commit '8c7bbe7b1ec01f1d551d9e6c8e8edc4ce4f9c2a6' into eclair-mr2

* commit '8c7bbe7b1ec01f1d551d9e6c8e8edc4ce4f9c2a6':
  Fix http://b/2246758 (new icon for slideshow)

14 years agoam 2f7c9edf: Preserve dim status when pausing.
Daniel Sandler [Thu, 12 Nov 2009 01:13:26 +0000 (17:13 -0800)]
am 2f7c9edf: Preserve dim status when pausing.

Merge commit '2f7c9edfb3f65e5defc7c24bd9348dc76d9e65a5' into eclair-mr2

* commit '2f7c9edfb3f65e5defc7c24bd9348dc76d9e65a5':
  Preserve dim status when pausing.

14 years agoFix http://b/2232909 .
Daniel Sandler [Wed, 11 Nov 2009 19:27:00 +0000 (11:27 -0800)]
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.

14 years agoUse an alarm to refresh the date at midnight.
Daniel Sandler [Wed, 11 Nov 2009 19:03:10 +0000 (11:03 -0800)]
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).

14 years agoFix http://b/2246758 (new icon for slideshow)
Daniel Sandler [Wed, 11 Nov 2009 18:20:12 +0000 (10:20 -0800)]
Fix http://b/2246758 (new icon for slideshow)

14 years agoPreserve dim status when pausing.
Daniel Sandler [Tue, 10 Nov 2009 19:05:42 +0000 (11:05 -0800)]
Preserve dim status when pausing.

Fixes http://b/2251135 (snoozing an alarm leaves the clock
in painfully-bright mode).

14 years agoCancel the snooze if the user sets an alarm for before the snooze fires.
Patrick Scott [Mon, 9 Nov 2009 19:59:05 +0000 (14:59 -0500)]
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

14 years agoam 4e8ad3a4: More UI tweaks:
Daniel Sandler [Fri, 6 Nov 2009 21:46:58 +0000 (13:46 -0800)]
am 4e8ad3a4: More UI tweaks:

Merge commit '4e8ad3a40141d05ced3279c6a0296b71ffc5117d' into eclair-mr2

* commit '4e8ad3a40141d05ced3279c6a0296b71ffc5117d':
  More UI tweaks:

14 years agoMore UI tweaks:
Daniel Sandler [Fri, 6 Nov 2009 19:45:45 +0000 (14:45 -0500)]
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.

14 years agoam daa1dd3e: DeskClock UI fixes.
Daniel Sandler [Fri, 6 Nov 2009 19:02:43 +0000 (11:02 -0800)]
am daa1dd3e: DeskClock UI fixes.

Merge commit 'daa1dd3eb9ebb69817babdb74b125dc63889eb45' into eclair-mr2

* commit 'daa1dd3eb9ebb69817babdb74b125dc63889eb45':
  DeskClock UI fixes.

14 years agoDeskClock UI fixes.
Daniel Sandler [Fri, 6 Nov 2009 16:27:27 +0000 (11:27 -0500)]
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

14 years agoam ff1c25c3: Merge change I7ea1d183 into eclair
Daniel Sandler [Fri, 6 Nov 2009 04:26:27 +0000 (20:26 -0800)]
am ff1c25c3: Merge change I7ea1d183 into eclair

Merge commit 'ff1c25c3be3934c2e7f0c3b338a204a582446894' into eclair-mr2

* commit 'ff1c25c3be3934c2e7f0c3b338a204a582446894':
  Alarm Clock is now simply Clock.

14 years agoam e64281b1: Launch the Genie widget when the weather is tapped.
Daniel Sandler [Fri, 6 Nov 2009 04:26:23 +0000 (20:26 -0800)]
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.

14 years agoMerge change I7ea1d183 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 01:21:30 +0000 (20:21 -0500)]
Merge change I7ea1d183 into eclair

* changes:
  Alarm Clock is now simply Clock.

14 years agoAlarm Clock is now simply Clock.
Daniel Sandler [Fri, 6 Nov 2009 01:18:38 +0000 (20:18 -0500)]
Alarm Clock is now simply Clock.

14 years agoam 1878e99c: Fix trackball focus issues on orientation change.
Daniel Sandler [Thu, 5 Nov 2009 21:53:45 +0000 (13:53 -0800)]
am 1878e99c: Fix trackball focus issues on orientation change.

Merge commit '1878e99c5ccd7bd2288707a431e0bb5d39879985' into eclair-mr2

* commit '1878e99c5ccd7bd2288707a431e0bb5d39879985':
  Fix trackball focus issues on orientation change.

14 years agoLaunch the Genie widget when the weather is tapped.
Daniel Sandler [Thu, 5 Nov 2009 21:19:26 +0000 (16:19 -0500)]
Launch the Genie widget when the weather is tapped.

Fixes: http://b/2240161

14 years agoFix trackball focus issues on orientation change.
Daniel Sandler [Thu, 5 Nov 2009 14:37:37 +0000 (09:37 -0500)]
Fix trackball focus issues on orientation change.

http://b/2232758

14 years agoam f8952fa7: Integrate final button artwork for DeskClock.
Daniel Sandler [Thu, 5 Nov 2009 14:00:55 +0000 (06:00 -0800)]
am f8952fa7: Integrate final button artwork for DeskClock.

Merge commit 'f8952fa79d0cc70e5a802fb2624701fbed0736b8' into eclair-mr2

* commit 'f8952fa79d0cc70e5a802fb2624701fbed0736b8':
  Integrate final button artwork for DeskClock.

14 years agoIntegrate final button artwork for DeskClock.
Daniel Sandler [Thu, 5 Nov 2009 04:17:15 +0000 (23:17 -0500)]
Integrate final button artwork for DeskClock.

14 years agoam 4dc051aa: Start Gallery in slideshow mode from DeskClock.
Daniel Sandler [Wed, 4 Nov 2009 21:15:25 +0000 (13:15 -0800)]
am 4dc051aa: Start Gallery in slideshow mode from DeskClock.

Merge commit '4dc051aa9b76d8dffbd2372740eff2735c654540' into eclair-mr2

* commit '4dc051aa9b76d8dffbd2372740eff2735c654540':
  Start Gallery in slideshow mode from DeskClock.

14 years agoStart Gallery in slideshow mode from DeskClock.
Daniel Sandler [Wed, 4 Nov 2009 15:13:26 +0000 (10:13 -0500)]
Start Gallery in slideshow mode from DeskClock.

14 years agoam 4e5e11e9: Merge change I0a267d0f into eclair
Daniel Sandler [Wed, 4 Nov 2009 14:10:46 +0000 (06:10 -0800)]
am 4e5e11e9: Merge change I0a267d0f into eclair

Merge commit '4e5e11e92d1bd0b3b12432c99d1e76d592dbf229' into eclair-mr2

* commit '4e5e11e92d1bd0b3b12432c99d1e76d592dbf229':
  More tweaks per spec.

14 years agoMerge change I0a267d0f into eclair
Android (Google) Code Review [Wed, 4 Nov 2009 14:03:25 +0000 (09:03 -0500)]
Merge change I0a267d0f into eclair

* changes:
  More tweaks per spec.

14 years agoMore tweaks per spec.
Daniel Sandler [Tue, 3 Nov 2009 20:38:39 +0000 (15:38 -0500)]
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.

14 years agoam df465736: Change default sort order to sort by alarm time.
Patrick Scott [Tue, 3 Nov 2009 18:25:21 +0000 (10:25 -0800)]
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.

14 years agoChange default sort order to sort by alarm time.
Patrick Scott [Tue, 3 Nov 2009 17:52:31 +0000 (12:52 -0500)]
Change default sort order to sort by alarm time.

Will make the same change to AlarmClock in mr2.

Bug: 2228476

14 years agoam e6cf24db: AlarmClock tweaks.
Daniel Sandler [Tue, 3 Nov 2009 01:00:16 +0000 (17:00 -0800)]
am e6cf24db: AlarmClock tweaks.

Merge commit 'e6cf24dbbea56d8b88a8d48bed9d3a6f26c2ddf0' into eclair-mr2

* commit 'e6cf24dbbea56d8b88a8d48bed9d3a6f26c2ddf0':
  AlarmClock tweaks.

14 years agoAlarmClock tweaks.
Daniel Sandler [Mon, 2 Nov 2009 21:23:52 +0000 (16:23 -0500)]
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)

14 years agoam 91522cd4: Completed weather support; new screen-saving mode.
Daniel Sandler [Fri, 30 Oct 2009 19:09:44 +0000 (12:09 -0700)]
am 91522cd4: Completed weather support; new screen-saving mode.

Merge commit '91522cd49090f40e2e5b96c9b2e310b1adf1218a' into eclair-mr2

* commit '91522cd49090f40e2e5b96c9b2e310b1adf1218a':
  Completed weather support; new screen-saving mode.

14 years agoCompleted weather support; new screen-saving mode.
Daniel Sandler [Fri, 30 Oct 2009 18:54:16 +0000 (14:54 -0400)]
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.

14 years agoam 2d489891: Rename Desk Clock (back) to Alarm Clock.
Daniel Sandler [Fri, 30 Oct 2009 15:03:27 +0000 (08:03 -0700)]
am 2d489891: Rename Desk Clock (back) to Alarm Clock.

Merge commit '2d4898910c55bd5160fe4dde0d07d266a24ad8d6' into eclair-mr2

* commit '2d4898910c55bd5160fe4dde0d07d266a24ad8d6':
  Rename Desk Clock (back) to Alarm Clock.

14 years agoRename Desk Clock (back) to Alarm Clock.
Daniel Sandler [Fri, 30 Oct 2009 13:06:20 +0000 (09:06 -0400)]
Rename Desk Clock (back) to Alarm Clock.

Rationale: Users looking for alarms won't know where to go
otherwise.  Desk-clock functionality is unchanged, however;
the main activity is still the full-screen clock with
wallpaper and weather.