400 Commits

Author SHA1 Message Date
Joe Onorato
50ec5ec0b8 Deal with re-posting tickers.
Change-Id: If3c6e8ad57eb6682145cf8ed0f3755f176f117d0
2010-11-28 17:19:50 -08:00
Joe Onorato
5a6b4f8265 tighten up the notifciation layouts
Change-Id: I8e4f6a6412123fdd2d76381d568ab0bc3157b974
2010-11-27 21:58:49 -08:00
Joe Onorato
5797f192eb Check if this is null.
Change-Id: Ia74babdd1b1d76a2e5965db66bb995ea659dc6c1
2010-11-27 17:45:14 -08:00
Joe Onorato
af5e4da2a5 Don't crash when there's a flood of tickers.
Tell if the queue is empty, not if there's currently something showing.

Change-Id: I6d8530d4c749a7566419741710d588005a698e1a
2010-11-27 17:32:41 -08:00
Joe Onorato
dff2e9a458 Rename strings.
Change-Id: I0a9d016aa5864e5d64e9cab6b0e720daaa816537
2010-11-27 16:13:36 -08:00
Joe Onorato
4386191851 Scroll back to the top when the notification window closees.
Change-Id: I72cfe292950953cc3bebe27367dab5149cc10080
2010-11-27 16:08:58 -08:00
Joe Onorato
755cc74e4c Rename the status bar layouts to more consistent names
Change-Id: Ic593e6c93794f2a2eb36576501d35be54a0a0681
2010-11-27 15:45:35 -08:00
Joe Onorato
1e66008fe6 Merge "Start filling in the system settings panel." 2010-11-26 13:27:05 -08:00
Joe Onorato
a8e3418907 Start filling in the system settings panel.
Change-Id: I3384bb1cf6c2339d6136764635bb010ba096659b
2010-11-26 13:19:58 -08:00
satok
440aab54ca Removed InputMethodSubtypePicker
Change-Id: I08abac5d65a30c02cc671f4f70e93df25b6c8a92
2010-11-25 19:53:56 +09:00
satok
cd7cd2969f Store the current IME's token in the system bar for changing the current IME to a shortcut IME from the system bar
Bug: 3212206
Bug: 3201828

- Added a shortcut IME button. This will be used for calling a shortcut IME (e.g. Voice input)
- Made the positions of IME buttons left aligned
- IME token is required to change IME because of the security reasons.

Change-Id: I48ba5e2509b3aa1bfd2394f9201427fa6b93c6d3
2010-11-25 14:02:04 +09:00
Gilles Debunne
42300fa239 Adding missing assets, created from synced designers' tree
Change-Id: I52c97ae90225abbea6b6b3966de705c9a5ef0e30
2010-11-24 15:22:00 -08:00
Gilles Debunne
8af253a81b Merge "Assets moved from drawable to drawable-mdpi. hdpi created" 2010-11-24 14:43:40 -08:00
Joe Onorato
ebc8946575 Align the battery & data icons correctly.
Change-Id: I006897306aa70b53f4626d88729c3d7c200b9e22
2010-11-24 10:55:48 -08:00
Joe Onorato
29fc2c9705 Allow status bar panels to be on top of the status bar.
Change-Id: I3c74ece5f7042e6302717f4263746d59d5447ec9
2010-11-24 10:26:50 -08:00
Joe Onorato
ddbba42b81 new signal strength assets
Change-Id: I6387d68659ff7ccf5024f186eeb75ab33c477a1f
2010-11-23 15:54:44 -08:00
Irfan Sheriff
f499eedd8b Merge "Stop listening to supplicant state change events" 2010-11-23 13:43:06 -08:00
Adam Powell
637d337b58 Merge overscrolling from gingerbread.
Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
2010-11-23 09:30:10 -08:00
Irfan Sheriff
b8297cfc76 Stop listening to supplicant state change events
wifi connected status should be based only on
network state change events or it can lead to a
race condition.

Change-Id: Ib2343f0d192ef99959f908a370d55aae7ba86a5a
2010-11-23 04:34:35 -08:00
Dianne Hackborn
621e17de87 Implement issue #3221502: New APIs to support new back stack / task navigation
What this adds:

- A new Intent activity flag to completely replace an existing task.
- A new Intent activity flag to bring the current home task up behind
  a new task being started/brought to the foreground.
- New versions of startActivity() that take an array of Intents to be
  started, allowing applications to start a task in a specific state.
- A public moveTaskToFront() method on ActivityManager, with a new flag
  that allows the caller to have the task moved to the front with the
  current home task immediately behind it.

Change-Id: Ie8028d09acffb5349d98043c67676daba09f75c8
2010-11-22 18:35:55 -08:00
Joe Onorato
794be40f8b new battery assets
Change-Id: I61331a6eb237f8883bf604c0767623b08c2fa41b
2010-11-21 19:22:25 -08:00
Joe Onorato
dab75b66aa Use new nav button assets.
Change-Id: I5728222ba173eedb67e6fa4c599b39b61c923e23
2010-11-21 18:25:49 -08:00
Joe Onorato
6c1af93c17 The ticker shouldn't be modal.
Change-Id: I6bb4df07ad4659d900a95379193f5cb95d7706c3
2010-11-21 17:07:20 -08:00
Joe Onorato
52f80cd36f The icon sticks out of the ticker.
The ticker still needs to show up over the status bar, which will take a bit of
window manager work, so it's just out of position for now.

Change-Id: Ib5781925db63a22d9352a7b5017a36eec3229395
2010-11-21 16:16:29 -08:00
Joe Onorato
4cddc98a4b Deal with more notifications than fit on screen.
Change-Id: I432b9ee73a473fe4af8b0caeede4993c67be6518
2010-11-21 16:16:29 -08:00
Joe Onorato
561d3858bb The large icon for notifications.
Change-Id: I8537c602b5b5fca03be8980295bfa28330543669
2010-11-21 16:16:28 -08:00
Joe Onorato
3f76aa7755 Test for using the right size of notification info text.
Change-Id: Iac8764542ddcd3ef0375f6d6d03225e9f6c2fc1c
2010-11-21 16:16:28 -08:00
Joe Onorato
2026e8d468 Show the icon in the compatibilty ticker.
Change-Id: Ib0f466a6773f9e66ad418bf48303504dedf73d21
2010-11-21 16:16:28 -08:00
Joe Onorato
8595a3dd9a Show the number in the expanded notification instead of in the bar.
Change-Id: I248b4fe1732ed290e9f3f9c094de4544a0e396ab
2010-11-21 16:16:28 -08:00
Joe Onorato
46439cec0e Update the look of the notifications. Includes adding a new Notification.Builder class.
Change-Id: I7c57b81c45defe77d6f3d22472e9cf8432bbed03
2010-11-21 16:16:27 -08:00
Daniel Sandler
b96069936c Improve hide/show animations in status bar.
This cleans up the lights out experience so you can clearly
see that the "shadows" along the bottom of the bar
correspond to invisible (but still available) UI elements.

Bug: 3203171
Change-Id: I635394d625bf97bbbe7260c1ae9320b616ea7aec
2010-11-19 14:47:59 -05:00
Eric Fischer
ec5e0cd80a Merge "Import initial translations for 20 new locales." 2010-11-18 17:12:43 -08:00
Jeff Brown
dd4e4603ef Merge "Added support for full PC-style keyboards." 2010-11-18 14:20:30 -08:00
Gilles Debunne
0b91fda283 Assets moved from drawable to drawable-mdpi. hdpi created
Change-Id: I1101e51f85fe44a635f48becb99d190465012379
2010-11-18 12:29:12 -08:00
Daniel Sandler
051dccf6fc Hello, HoloClock.
Bug: 3203162
Change-Id: I3c4fb47eb4fd7f6de966055e0d0a5de77b0c4eac
2010-11-18 13:54:18 -05:00
Jeff Brown
6b53e8daa6 Added support for full PC-style keyboards.
BREAKING CHANGE: Redesigned the key character map format to
accomodate full keyboards with more comprehensive suite of modifiers.
Old key character maps will not work anymore and must be updated.
The new format is plain text only and it not compiled to a binary
file (so the "kcm" tool will be removed in a subsequent check-in).

Added FULL keyboard type to support full PC-style keyboards.

Added SPECIAL_FUNCTION keyboard type to support special function
keypads that do not have any printable keys suitable for typing
and only have keys like HOME and POWER

Added a special VIRTUAL_KEYBOARD device id convention that maps
to a virtual keyboard with a fixed known layout.  This is designed
to work around issues injecting input events on devices whose
built-in keyboard does not have a useful key character map (ie.
when the built-in keyboard is a special function keyboard only.)

Modified several places where events were being synthesized
to use the virtual keyboard.

Removed support for the "qwerty" default layout.
The new default layout is "Generic".  For the most part "qwerty"
was being used as a backstop in case the built-in keyboard did
not have a key character map (probably because it was a special
function keypad) and the framework needed to be able to inject
key events anyways.  The latter issue is resolved by using the
special VIRTUAL_KEYBOARD device instead of BUILT_IN_KEYBOARD.

Added the concept of a key modifier behavior so that
MetaKeyKeyListener can distinguish between keyboards that use
chorded vs. toggled modifiers.

Wrote more robust key layout and key character map parsers
to enable support for new keyboard features and user installable
key maps.

Fixed a bug in InputReader generating key ups when keys
are released out of sequence.

Updated tons of documentation.

Currently QwertyKeyListener is being used for full keyboards
with autotext and capitalization disabled.  This mostly works
but causes some problems with character pickers, etc.
These issues will be resolved in subsequent changes.

Change-Id: Ica48f6097a551141c215bc0d2c6f7b3fb634d354
2010-11-18 09:49:03 -08:00
Joe Onorato
4daaeafd27 Status bar formatting tweaks
Change-Id: Icb6c8d87e109d9e133e86b0fdb7bea12fe376d92
2010-11-17 23:14:57 -08:00
Joe Onorato
3f1845ffec Use an triangle instead of a gear
Change-Id: Ic2a04045133a1d328bd1b3a4eee11ad3dc54143f
2010-11-17 20:48:18 -08:00
Daniel Sandler
e03d1bcfc4 Lights out was getting stuck. Fixed. 2010-11-17 21:36:40 -05:00
Daniel Sandler
73bfdfe07a Merge "Implement new lights-out mode in system bar." 2010-11-17 17:11:30 -08:00
Eric Fischer
113141e091 Import initial translations for 20 new locales.
Change-Id: I37d479c9d6293eb57d68ad686d00838445a18890
2010-11-17 16:24:41 -08:00
Daniel Sandler
b6d3dc6897 Implement new lights-out mode in system bar.
When an app requests fullscreen display, "shadows" of the
visible system bar UI elements are drawn in their place. The
user can still interact with these elements by poking the
shadows; the widgets will temporarily shine through, long
enough for the user interaction.

Known issues:
 - if the notification panel is up for too long, the shadow
   will not be re-enabled on the notification area (need to
   route all hide/show requests through the
   shadowcontroller)
 - status bar hide/show animations have been temporarily
   turned off to make this work correctly; they'll be put
   back later

Bug: 3203171
2010-11-17 16:51:26 -05:00
Eric Fischer
f877febb5c Import revised translations.
Change-Id: I0433434e0ac7e590a066a4e0b435278293089dbd
2010-11-17 11:36:19 -08:00
Joe Onorato
cf2b199e98 Updated layouts for new status bar
Change-Id: I30dc7c458669c4e6a35c67b7815a00ebbbae8dd3
2010-11-16 21:36:42 -08:00
Joe Onorato
8a576713e2 Add the quick settings panel. There's currently nothing in it.
Change-Id: I71195c7b0bd2b902da1c60527b6e23964b1ea4fc
2010-11-15 17:45:03 -08:00
Joe Onorato
09f686ec7e use the proper number of wifi icon levels.
Change-Id: Ib8d4bccff7240d0086729093d79f564aa97001ff
2010-11-15 16:34:41 -08:00
Joe Onorato
801ade0f08 Don't crash if we haven't gotten a signal strength yet.
Bug: 3198447
Change-Id: I645b484eadfff6ed34517571b0c6fea3057ec563
2010-11-15 15:33:39 -08:00
Joe Onorato
abb27777f4 Don't cancel the key buttons when you drag outside their bounds.
Bug: 3183205
Change-Id: I9e0f2e4e550b3e5b1b46099145b4c703b77aca77
2010-11-15 13:30:49 -08:00
Joe Onorato
fd52b18d9b The beginnings of the new status bar.
There is a lot of rough stuff still, but most of the functionality is here again.

Change-Id: I4b1241e61270f1434e798481afa83634233ee670
2010-11-15 11:52:33 -08:00
Dianne Hackborn
55d3bae235 Merge "Change recents UIs to do task switches." 2010-11-12 18:18:15 -08:00