OSDN Git Service

android-x86/packages-apps-DeskClock.git
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.

14 years agoam 676707c5: Merge change I2763ab4c into eclair
Daniel Sandler [Fri, 30 Oct 2009 02:27:43 +0000 (19:27 -0700)]
am 676707c5: Merge change I2763ab4c into eclair

Merge commit '676707c5d545233b6a774919de87d98ae57b258e' into eclair-mr2

* commit '676707c5d545233b6a774919de87d98ae57b258e':
  Show weather forecast in DeskClock.

14 years agoMerge change I2763ab4c into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 15:42:24 +0000 (11:42 -0400)]
Merge change I2763ab4c into eclair

* changes:
  Show weather forecast in DeskClock.

14 years agoShow weather forecast in DeskClock.
Daniel Sandler [Tue, 27 Oct 2009 20:46:57 +0000 (16:46 -0400)]
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.

14 years agoresolved conflicts for merge of 1027cd4b to eclair-mr2
Patrick Scott [Thu, 29 Oct 2009 12:04:51 +0000 (08:04 -0400)]
resolved conflicts for merge of 1027cd4b to eclair-mr2

14 years agoam 7e8e5ce3: New launcher icon, and placeholder for new widget icon
Mike Cleron [Thu, 29 Oct 2009 08:27:46 +0000 (01:27 -0700)]
am 7e8e5ce3: New launcher icon, and placeholder for new widget icon

Merge commit '7e8e5ce386c6d22a4176408024809b50c475e982' into eclair-mr2

* commit '7e8e5ce386c6d22a4176408024809b50c475e982':
  New launcher icon, and placeholder for new widget icon

14 years agoam 533f6ef5: Merge change Iacb94df8 into eclair
Mike Cleron [Wed, 28 Oct 2009 18:43:21 +0000 (11:43 -0700)]
am 533f6ef5: Merge change Iacb94df8 into eclair

Merge commit '533f6ef53f05deeb5cb437e6618c878a47542d4d' into eclair-mr2

* commit '533f6ef53f05deeb5cb437e6618c878a47542d4d':
  New widget assets

14 years agoam d1373322: Landscape layout for DeskClock.
Daniel Sandler [Wed, 28 Oct 2009 18:41:17 +0000 (11:41 -0700)]
am d1373322: Landscape layout for DeskClock.

Merge commit 'd13733225cb1a3e16413b35336e94e400bf5d399' into eclair-mr2

* commit 'd13733225cb1a3e16413b35336e94e400bf5d399':
  Landscape layout for DeskClock.

14 years agoMerge change Ia21b2db5 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 18:00:42 +0000 (14:00 -0400)]
Merge change Ia21b2db5 into eclair

* changes:
  The snooze notification must be clicked to be cleared.

14 years agoThe snooze notification must be clicked to be cleared.
Patrick Scott [Wed, 28 Oct 2009 16:36:06 +0000 (12:36 -0400)]
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

14 years agoNew launcher icon, and placeholder for new widget icon
Mike Cleron [Wed, 28 Oct 2009 08:00:57 +0000 (01:00 -0700)]
New launcher icon, and placeholder for new widget icon

14 years agoMerge change Iacb94df8 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 19:46:31 +0000 (15:46 -0400)]
Merge change Iacb94df8 into eclair

* changes:
  New widget assets

14 years agoLandscape layout for DeskClock.
Daniel Sandler [Tue, 27 Oct 2009 13:46:05 +0000 (09:46 -0400)]
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.

14 years agoNew widget assets
Mike Cleron [Tue, 27 Oct 2009 06:18:09 +0000 (23:18 -0700)]
New widget assets

14 years agoam 72a353a7: Wiring up gallery & music buttons.
Daniel Sandler [Fri, 23 Oct 2009 23:48:27 +0000 (16:48 -0700)]
am 72a353a7: Wiring up gallery & music buttons.

Merge commit '72a353a7d443f17a0e16412ae85ad359d97e9394' into eclair-mr2

* commit '72a353a7d443f17a0e16412ae85ad359d97e9394':
  Wiring up gallery & music buttons.

14 years agoWiring up gallery & music buttons.
Daniel Sandler [Fri, 23 Oct 2009 20:11:08 +0000 (16:11 -0400)]
Wiring up gallery & music buttons.

14 years agoam 3955e05d: UI improvements to DeskClock.
Daniel Sandler [Fri, 23 Oct 2009 18:23:11 +0000 (11:23 -0700)]
am 3955e05d: UI improvements to DeskClock.

Merge commit '3955e05df4f0b1fa223ccc1cf8a44d5b5d5bd8a0' into eclair-mr2

* commit '3955e05df4f0b1fa223ccc1cf8a44d5b5d5bd8a0':
  UI improvements to DeskClock.

14 years agoUI improvements to DeskClock.
Daniel Sandler [Fri, 23 Oct 2009 17:41:19 +0000 (13:41 -0400)]
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

14 years agoam 40f11ae7: Reduce size of digital clock display.
Daniel Sandler [Fri, 23 Oct 2009 14:37:28 +0000 (07:37 -0700)]
am 40f11ae7: Reduce size of digital clock display.

Merge commit '40f11ae73eabb50048571a83897968de03011854' into eclair-mr2

* commit '40f11ae73eabb50048571a83897968de03011854':
  Reduce size of digital clock display.

14 years agoam ef18177f: Wire up date & next alarm displays.
Daniel Sandler [Fri, 23 Oct 2009 14:37:23 +0000 (07:37 -0700)]
am ef18177f: Wire up date & next alarm displays.

Merge commit 'ef18177f9bbbeab8ef266c3f080175bc813dc34c' into eclair-mr2

* commit 'ef18177f9bbbeab8ef266c3f080175bc813dc34c':
  Wire up date & next alarm displays.

14 years agoReduce size of digital clock display.
Daniel Sandler [Fri, 23 Oct 2009 14:02:16 +0000 (10:02 -0400)]
Reduce size of digital clock display.

Clockopia has substantially different glyph widths across
[0..9], and a pathologically wide time (e.g. "12:55") was
nudging "AM" onto two lines.

14 years agoWire up date & next alarm displays.
Daniel Sandler [Thu, 22 Oct 2009 13:42:27 +0000 (09:42 -0400)]
Wire up date & next alarm displays.

Change-Id: I367e0dcdb3fdfa7256dfd5ce54097c8206806f51

14 years agoresolved conflicts for merge of da3b21c3 to eclair-mr2
Patrick Scott [Thu, 22 Oct 2009 17:55:48 +0000 (13:55 -0400)]
resolved conflicts for merge of da3b21c3 to eclair-mr2

14 years agoam 702afb13: Replace AlarmClock with DeskClock.
Patrick Scott [Thu, 22 Oct 2009 17:49:35 +0000 (10:49 -0700)]
am 702afb13: Replace AlarmClock with DeskClock.

Merge commit '702afb13b934d6e5c0ef9c2d761bc083339d8867' into eclair-mr2

* commit '702afb13b934d6e5c0ef9c2d761bc083339d8867':
  Replace AlarmClock with DeskClock.

14 years agoam f8317ad7: New DeskClock activity, now the main app entry point.
Daniel Sandler [Thu, 22 Oct 2009 17:49:31 +0000 (10:49 -0700)]
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.

14 years agoShow AM/PM in the same spot on the clock.
Patrick Scott [Thu, 22 Oct 2009 15:13:13 +0000 (11:13 -0400)]
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.

14 years agoReplace AlarmClock with DeskClock.
Patrick Scott [Thu, 22 Oct 2009 14:30:53 +0000 (10:30 -0400)]
Replace AlarmClock with DeskClock.

Product files need to specify DeskClock to trigger this.

14 years agoresolved conflicts for merge of dce90517 to eclair-mr2
Patrick Scott [Thu, 22 Oct 2009 13:33:35 +0000 (09:33 -0400)]
resolved conflicts for merge of dce90517 to eclair-mr2

14 years agoNew DeskClock activity, now the main app entry point.
Daniel Sandler [Tue, 20 Oct 2009 20:51:32 +0000 (16:51 -0400)]
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").

14 years agoRemove the menu and replace with buttons.
Patrick Scott [Tue, 20 Oct 2009 20:30:55 +0000 (16:30 -0400)]
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.

14 years agoam 52b3d633: Use Clockopia as the typeface for the digital clock.
Patrick Scott [Tue, 20 Oct 2009 16:22:53 +0000 (09:22 -0700)]
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.

14 years agoUse Clockopia as the typeface for the digital clock.
Patrick Scott [Tue, 20 Oct 2009 15:10:33 +0000 (11:10 -0400)]
Use Clockopia as the typeface for the digital clock.

14 years agoam 93e942a9: Change the default alarms.
Patrick Scott [Mon, 19 Oct 2009 20:42:03 +0000 (13:42 -0700)]
am 93e942a9: Change the default alarms.

Merge commit '93e942a97a3aba0ad68be6b3db181c939199fa2e' into eclair-mr2

* commit '93e942a97a3aba0ad68be6b3db181c939199fa2e':
  Change the default alarms.

14 years agoresolved conflicts for merge of aafb2fd2 to eclair-mr2
Patrick Scott [Mon, 19 Oct 2009 20:37:42 +0000 (16:37 -0400)]
resolved conflicts for merge of aafb2fd2 to eclair-mr2

14 years agoChange the default alarms.
Patrick Scott [Mon, 19 Oct 2009 20:15:39 +0000 (16:15 -0400)]
Change the default alarms.

8:30 am MTWThF
9:00 am SatSun

14 years agoRemove the clock face from the alarm list.
Patrick Scott [Mon, 19 Oct 2009 12:52:35 +0000 (08:52 -0400)]
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.

14 years agoam fa954248: Moving things around a little in the new DeskClock.
Daniel Sandler [Sat, 17 Oct 2009 00:41:07 +0000 (17:41 -0700)]
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.

14 years agoMoving things around a little in the new DeskClock.
Daniel Sandler [Fri, 16 Oct 2009 20:12:30 +0000 (16:12 -0400)]
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).

14 years agoam 14ce9ec6: Fix the build.
Patrick Scott [Fri, 16 Oct 2009 17:36:31 +0000 (10:36 -0700)]
am 14ce9ec6: Fix the build.

Merge commit '14ce9ec6510253b32d5e78ed8b878a29bac303af' into eclair-mr2

* commit '14ce9ec6510253b32d5e78ed8b878a29bac303af':
  Fix the build.

14 years agoFix the build.
Patrick Scott [Fri, 16 Oct 2009 17:28:58 +0000 (13:28 -0400)]
Fix the build.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 13 Oct 2009 23:04:30 +0000 (16:04 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoClicking the analog clock widget launches the AlarmClock.
Patrick Scott [Tue, 13 Oct 2009 13:06:14 +0000 (09:06 -0400)]
Clicking the analog clock widget launches the AlarmClock.

Bug: 2171549

14 years agoAvoid a NPE in the monkey by checking for a null alarm.
Patrick Scott [Mon, 12 Oct 2009 12:35:36 +0000 (08:35 -0400)]
Avoid a NPE in the monkey by checking for a null alarm.

14 years agoPost a runnable during configuration changes to avoid an ANR.
Patrick Scott [Fri, 9 Oct 2009 16:14:51 +0000 (12:14 -0400)]
Post a runnable during configuration changes to avoid an ANR.

Doing a relayout of the screen causes a lot of things to happen. One of which is
the analog clock registers a broadcast receiver.

Do a little cleanup as well.

14 years agoAlways enable the alarm when clicking done.
Patrick Scott [Fri, 9 Oct 2009 13:04:25 +0000 (09:04 -0400)]
Always enable the alarm when clicking done.

Bug: 2173934

14 years agoam e8450e9c: (-s ours) am eecd5bff: (-s ours) Import revised translations. DO NOT...
Eric Fischer [Fri, 9 Oct 2009 00:33:25 +0000 (17:33 -0700)]
am e8450e9c: (-s ours) am eecd5bff: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'e8450e9c861ebd82f10ca50863017854e96a882e' into eclair-mr2

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

14 years agoam eecd5bff: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Oct 2009 22:00:21 +0000 (15:00 -0700)]
am eecd5bff: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit 'eecd5bff15281c7feec9c9cb9b86157ec5e7d46e' into eclair

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

14 years agoSwitch from dialog to fullscreen when the keyguard is showing.
Patrick Scott [Mon, 5 Oct 2009 13:00:14 +0000 (09:00 -0400)]
Switch from dialog to fullscreen when the keyguard is showing.

Make AlarmAlert derive from AlarmAlertFullScreen. This looks like a massive
change but it is mostly a rename. Use a broadcast receiver to listen for the
screen turning off. Attempt to read the keyguard status up to 5 times in order
to launch the fullscreen activity. Add "screen_off" to the intent extras to
indicate that the intent is from the screen_off broadcast and to not wake the
screen.

The overall goal of this is that if the alarm fires while the device is on and
the user turns the screen off and then on, the full screen alert will show so
that the user can dismiss the alert.

14 years agoMerge change If8d2e944 into eclair
Android (Google) Code Review [Fri, 2 Oct 2009 14:43:25 +0000 (10:43 -0400)]
Merge change If8d2e944 into eclair

* changes:
  Icons again

14 years agoIcons again
Mike Cleron [Fri, 2 Oct 2009 07:28:57 +0000 (00:28 -0700)]
Icons again

14 years agoRemove superfluous icon.
Daniel Sandler [Thu, 1 Oct 2009 15:11:46 +0000 (11:11 -0400)]
Remove superfluous icon.

Use old Cupcake icon as mdpi until we get a proper mdpi version of the new
icon.

Change-Id: I5bbd624a77ab5b37570f10b2159198683b09f3a3

14 years agoFix issue #2154688: when alarm rings ,device does not wake up...
Dianne Hackborn [Thu, 1 Oct 2009 04:04:44 +0000 (21:04 -0700)]
Fix issue #2154688: when alarm rings ,device does not wake up...

...and can't see Dismiss and Snooze button if the device is on dock

Change-Id: Ib76b54f0a65930e142a3da1e1152f70d7f3ad3c7
Explanation: only the fullscreen alarm activity had the flags set to turn on
the screen and dismiss the lock screen.  The app picks whether to show
that one or the non-fullscreen one based on whether device is currently
locked, which is correct, but with the introduction of docks, locked
!= screen off.  In particular, the desk dock keeps the keyguard dismissed
while the device is in it.

The fix is to just set these flags for both alert activities.  That seems
generally right for many reasons.

14 years agoMerge change I7495b004 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 19:23:13 +0000 (15:23 -0400)]
Merge change I7495b004 into eclair

* changes:
  Pressing back will now save the alarm similar to how donut behaves.

14 years agoPressing back will now save the alarm similar to how donut behaves.
Patrick Scott [Wed, 30 Sep 2009 19:05:55 +0000 (15:05 -0400)]
Pressing back will now save the alarm similar to how donut behaves.

Do not pop the toast unless the alarm is enabled. Keep the enabled state when
saving the alarm unless the time has changed.