OSDN Git Service

10 years agoset alarm volume adjustable and disable vibrate for platform eclair-x86
Wallace Wang [Fri, 5 Feb 2010 17:46:54 +0000 (01:46 +0800)]
set alarm volume adjustable and disable vibrate for platform

10 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:39 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

10 years agoreconcile android-2.1_r1 snapshot
The Android Open Source Project [Fri, 29 Jan 2010 22:09:22 +0000 (14:09 -0800)]
reconcile android-2.1_r1 snapshot

10 years agoAdd translations for Dock Settings menu item.
Eric Fischer [Wed, 20 Jan 2010 23:41:14 +0000 (15:41 -0800)]
Add translations for Dock Settings menu item.

10 years agoAdd Dock Settings menu item to DeskClock.
Daniel Sandler [Wed, 20 Jan 2010 03:50:37 +0000 (22:50 -0500)]
Add Dock Settings menu item to DeskClock.

Bug: 2367275

10 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

10 years agoFix http://b/2326879 (drawing glitches)
Daniel Sandler [Thu, 14 Jan 2010 19:39:36 +0000 (14:39 -0500)]
Fix http://b/2326879 (drawing glitches)

10 years agoandroid-2.1_r1 snapshot
The Android Open Source Project [Tue, 12 Jan 2010 23:19:11 +0000 (15:19 -0800)]
android-2.1_r1 snapshot

10 years agoempty initial commit
The Android Open Source Project [Mon, 11 Jan 2010 22:32:57 +0000 (14:32 -0800)]
empty initial commit

10 years agoRefresh date display at midnight.
Daniel Sandler [Fri, 8 Jan 2010 19:37:41 +0000 (14:37 -0500)]
Refresh date display at midnight.

Fixes http://b/2341789

10 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.

10 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

10 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

10 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).

11 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

11 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

11 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.

11 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.

11 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.

11 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

11 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

11 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

11 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

11 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.

11 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

11 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 .

11 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

11 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.

11 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.

11 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
 - Internationalize the error message shown when Genie
 - 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

11 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.

11 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.

11 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.

11 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

11 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.

11 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

11 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

11 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.

11 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

11 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).

11 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.

11 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.


11 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).

11 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.

11 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

11 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)

11 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).

11 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

11 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.

11 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

11 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.

11 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.

11 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

11 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.


11 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.

11 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.

11 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.

11 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
- Stop moving the screensaver while the display is off.
- Minor code cleanups.

11 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

11 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
- 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
- Tweaked weather display (bringing the weather icon size
  under control)

11 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

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.

11 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.

11 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.

11 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.

11 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.

11 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"

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

Bug: 2220016

11 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

11 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

11 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.

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

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

11 years agoUI improvements to DeskClock.
Daniel Sandler [Fri, 23 Oct 2009 17:41:19 +0000 (13:41 -0400)]
UI improvements to DeskClock.

- "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

11 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.

11 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

11 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

11 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.

11 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

11 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.

11 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.

11 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

11 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.

11 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).

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

11 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

11 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

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

11 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

Change-Id: I5bbd624a77ab5b37570f10b2159198683b09f3a3

11 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.

11 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.

11 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.

11 years agoMerge change Ie77b0e71 into eclair
Android (Google) Code Review [Wed, 30 Sep 2009 16:05:31 +0000 (12:05 -0400)]
Merge change Ie77b0e71 into eclair

* changes:
  Newer icons

11 years agoUpdated AlarmClock hdpi graphics.
Daniel Sandler [Wed, 30 Sep 2009 12:55:05 +0000 (08:55 -0400)]
Updated AlarmClock hdpi graphics.

Change-Id: Icd93c45ac7431434328d9a737979e057285e0e40

11 years agoNewer icons
Mike Cleron [Wed, 30 Sep 2009 08:08:16 +0000 (01:08 -0700)]
Newer icons

11 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 29 Sep 2009 23:40:14 +0000 (16:40 -0700)]
Import revised translations.  DO NOT MERGE

11 years agoMerge change I3105cddf into eclair
Android (Google) Code Review [Tue, 29 Sep 2009 18:19:46 +0000 (14:19 -0400)]
Merge change I3105cddf into eclair

* changes:
  Use onStartCommand since onStart is deprecated.

11 years agoUse onStartCommand since onStart is deprecated.
Patrick Scott [Tue, 29 Sep 2009 15:21:24 +0000 (11:21 -0400)]
Use onStartCommand since onStart is deprecated.

If the intent is non-null and contains a valid alarm, return

11 years agoNew icon
Mike Cleron [Tue, 29 Sep 2009 06:42:54 +0000 (23:42 -0700)]
New icon

11 years agoUpdate to use new unlock APIs, new wallpaper theme.
Dianne Hackborn [Tue, 22 Sep 2009 20:44:12 +0000 (13:44 -0700)]
Update to use new unlock APIs, new wallpaper theme.

Also don't allow the user to press back when in the full screen alarm.

Change-Id: Ic0c9658c75d3a2b3f49028f432fe226b1a0d8e9e

11 years agoFix a couple race conditions with expired alarms.
Patrick Scott [Fri, 18 Sep 2009 20:02:09 +0000 (16:02 -0400)]
Fix a couple race conditions with expired alarms.

Log the alarm time in a pretty format for easier debugging. Disable expired
alarms when calculating the next alert. This solves 2 problems: an expired alarm
remains checked in the UI and the expired alarm is sent to the alarm manager. I
believe the second problem is causing bug 2080160.

11 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 21:28:38 +0000 (14:28 -0700)]
Import revised translations.  DO NOT MERGE