1517 Commits

Author SHA1 Message Date
Patrick Dubroy
89d576d63d Merge "Make sure we send a cancel event on system bar keys." 2011-03-02 22:19:31 -08:00
Patrick Dubroy
5ee1a3daf0 Make sure we send a cancel event on system bar keys.
Change-Id: Ia444a7cb1ff56ab5d063995bd467fc4b4169985f
2011-03-02 22:13:51 -08:00
Daniel Sandler
134fa4489e Merge "Pressed states for the notification panel's title area." 2011-03-02 21:20:08 -08:00
Daniel Sandler
8f491b5fbc Pressed states for the notification panel's title area.
Finally, some feedback that you can tap on the thing.

Also tweak the veto press state PNG so you can see that it
has a pressed state.

Bug: 3328753
Change-Id: I5c3b826fae66e480784477f844c6585bef1a0b60
2011-03-03 00:18:44 -05:00
Jim Miller
d544fdc64b Merge "Fix 3504984: Use overscroll fade in Recents." 2011-03-02 20:49:31 -08:00
Jim Miller
67edceb096 Fix 3504984: Use overscroll fade in Recents.
Change-Id: I3a5bdc53876edd01d8a0022be4d0a0ed38864eed
2011-03-02 18:32:16 -08:00
Svetoslav Ganov
54d068ec6a Add system wide management of core settings
bug:3505060

Since we want to have some settings that are used very frequently
by many applications (long-press timeout is one example) these should
be managed efficiently to reduce lookups from different processes
because in the case of a cache miss a disk I/O is performed. Now
the system manages such core settings and propagates them to the
application processes.

Change-Id: Ie793211baf8770f2181ac8ba9d7c2609dfaa32a7
2011-03-02 18:22:49 -08:00
Mike Lockwood
7866be2b76 am 40bbf929: DO NOT MERGE: Backport USB accessory support to gingerbread
* commit '40bbf9295d5245d3917629ce15f7b37670aef1ac':
  DO NOT MERGE: Backport USB accessory support to gingerbread
2011-03-02 15:16:32 -08:00
Daniel Sandler
f08c117f09 Merge "resolved conflicts for merge of 49853dc1 to master" 2011-03-02 12:34:00 -08:00
Daniel Sandler
123d9cf7a9 resolved conflicts for merge of 49853dc1 to master
Change-Id: I0d56965740d1273841e33cfc5db57b4df05915d1
2011-03-02 15:26:53 -05:00
Daniel Sandler
5920f153e7 Invert sense (and text) of rotation lock switch.
It now reads "Auto-rotate screen" to be more consistent with
the Settings app.

Bug: 3427583
Change-Id: I58d90a6b875cfa99b03995aea4c7ebfc7751e9cf
2011-03-02 15:19:54 -05:00
Daniel Sandler
0ffc2306dd Remove logspew.
Change-Id: Ib47abbd6111e990e4a92c504d9a3859d0240905e
2011-03-02 14:33:09 -05:00
Daniel Sandler
21eb86a5c4 Bring back some status bar animations.
Change Ie817b396 removed the layout transition from the main
status bar, fixing a number of weird bugs caused by the
translations on CHANGE_APPEARING and CHANGE_DISAPPEARING.

This change restores the layout transitions, but only the
alpha fade on APPEARING and DISAPPEARING. Doing this should
bring back the useful part of the status bar animations
(i.e. things fading in & out) without the buggy part (things
sliding around to make room for the things fading in & out).

Additionally, these fade-only layout transitions are now
properly applied to the clock/notification area (when
bringing up the notifications panel) and the icons within
the navigation cluster (so the legacy MENU key will fade
in).

Bug: 3503960
Bug: 3489129
Change-Id: I1ea433c41f2f930342ae2486505b0fee19709f9c
2011-03-02 12:14:21 -05:00
Daniel Sandler
957ac32633 Turn off animations in the status bar.
They're causing a number of unpleasant effects (see bug list
below). The root cause is a limitation of layout transitions
(http://b/3503912) that we don't have time to fix right now.

Bug: 3427414
Bug: 3489129
Bug: 3501979
Change-Id: Ie817b396f89847b105ef7b7c7007c7a1e64b8469
2011-03-02 11:05:25 -05:00
Daniel Sandler
119f91bbea Visible feedback for control panel taps.
Bug: 3329721
Change-Id: Ie0c6251381447ad1893d63d62cd235fa88a7b1c5
2011-03-02 07:47:15 -05:00
Mike Lockwood
40bbf9295d DO NOT MERGE: Backport USB accessory support to gingerbread
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 23:09:12 -08:00
Tadashi G. Takaoka
9ac8719caf Longer delay before fading out scrollbar
Default delay is 750ms. This change sets it 75sec.

Bug: 3454586
Change-Id: Ib6e4ad194fca577f397da0050ccfeaef0c04227c
2011-03-01 21:29:02 -08:00
Jim Miller
04fe9f4825 Merge "Fix 3482763: Minor layout tweaks and new asset for recents" 2011-03-01 17:50:41 -08:00
Daniel Sandler
d7ba12135b Merge "Make with the clicky. (Status bar buttons now play FX.)" 2011-03-01 17:49:18 -08:00
Jim Miller
9c1785820b Fix 3482763: Minor layout tweaks and new asset for recents
Fixed in this change:
 - ListView overscroll drawable was partially off screen.
 - Selected item was not fading when unselected

Change-Id: Ifba86eede591c4d4f984a7966b933a77799f66f9
2011-03-01 17:45:11 -08:00
Jim Miller
b43838fd7a Merge "Fix 3500730: Prevent NPE cause by clicking on footer view" 2011-03-01 16:27:40 -08:00
Jim Miller
b5a2b29a64 Fix 3500730: Prevent NPE cause by clicking on footer view
This fixes a crash caused by clicking in the footer view
by making it not selectable.

Also, don't hide home and recents button, per request from UX.

Change-Id: Ie3348c8f5d699841aa76fd7abe889b2b329c7b0b
2011-03-01 16:14:59 -08:00
Daniel Sandler
aa051d66af Make with the clicky. (Status bar buttons now play FX.)
Now sending accessibility events and playing click noises:
 - Home
 - Back
 - Notification icons (if you tap; tap-and-hold/scrub is
   silent)
 - the clock area

I also added touch slop to the main nav buttons (should have
been there all along).

Bug: 3422943
Change-Id: Ib5ee1d3a7c79e60e05377715092cde3f7678ddcf
2011-03-01 16:36:21 -05:00
Mike Corrigan
49853dc19c am bd15112a: Fix the display priority of the airplane mode icon.
* commit 'bd15112a29eefb93e62235574b694746044c9261':
  Fix the display priority of the airplane mode icon.
2011-03-01 11:08:45 -08:00
Mike Corrigan
bd15112a29 Fix the display priority of the airplane mode icon.
The airplane icon is used as a fallback when no
other radios are available *and* the AIRPLANE_MODE_ON system
setting is set to 1. (NetworkController now tracks changes to
the setting via ACTION_AIRPLANE_MODE_CHANGED broadcasts.)

This fixes wifi-only devices, for which the previous logic
did not correctly and consistently detect airplane mode.

Bug: 3489820
Change-Id: I226bb0e977f6a5fd3f2d829ba51ca54c5c910ef3
2011-03-01 13:20:07 -05:00
Mike Lockwood
c4308f01c9 Move USB framework support from android.hardware to android.hardware.usb package
Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01 08:07:20 -08:00
Daniel Sandler
fab337648d resolved conflicts for merge of cfeaa492 to master
Change-Id: I6ee4e3f822cb91008b1ca64ab9a6673278e501e0
2011-02-28 21:31:14 -05:00
Mike Lockwood
54e96c69d0 am 3333f8af: Merge "DO NOT MERGE UsbManager: squashed commit of:" into gingerbread
* commit '3333f8afb2d1eae8bfdb41fa87f86836ad8702f7':
  DO NOT MERGE UsbManager: squashed commit of:
2011-02-28 13:17:58 -08:00
Jim Miller
7eae7a97bc Merge "Fix 3386135: Make recent apps scrollable with more entries" 2011-02-28 13:12:56 -08:00
Daniel Sandler
cfeaa492a2 am 5404812d: Merge "When out of range, show device-appropriate no-signal bars." into honeycomb
* commit '5404812dee9dccbbd43df81752f3061742235982':
  When out of range, show device-appropriate no-signal bars.
2011-02-28 11:26:53 -08:00
Xavier Ducrohet
7719436342 am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 10:15:48 -08:00
Xavier Ducrohet
b732b7b5e8 am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 10:10:38 -08:00
Xavier Ducrohet
ce57a7f353 am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit '6504490cde3ec5d48321d539e654d1f2072b33f9':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 09:51:38 -08:00
Xavier Ducrohet
6504490cde am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 09:16:38 -08:00
Mike Lockwood
7916432b3c DO NOT MERGE UsbManager: squashed commit of:
USB: Add functions for querying if a USB function is supported and enabled.

Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService

Change-Id: I920a211934d993eab8ce744c1cc7b05342389286
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-27 18:39:21 -08:00
Jim Miller
5fda69cf1e Fix 3386135: Make recent apps scrollable with more entries
Summary of changes:

Switched to using a ListView to contain recent apps.

Increased DISPLAY_TASKS to show up to 20 recent applications.

Moved some parameters to dimens to make them more customizeable
by partners and by device and configuration.

Adjusted size of composited thumbnail to accomodate new thumbnail
background asset.

Hide IME buttons in TabletStatusBar while RecentApps panel is showing.

Use new drawable for selection.

Restore list position on orientation change.

Change-Id: If8c26869b7e70f82c097870c6c1b928b959a4685
2011-02-25 18:47:22 -08:00
Jesse Wilson
32c80a27da Handle rename of LruCache.entryEvicted to entryRemoved
Change-Id: I50e5a8d8c35c4431f42c7483172447ba0e4e125b
http://b/3461302
2011-02-25 17:28:41 -08:00
Daniel Sandler
9a7c712976 When out of range, show device-appropriate no-signal bars.
Also, start using the 0-bars WiFi icon when necessary;
previously, one bar was the lowest the WiFi icon could show.

Bug: 3488403
Change-Id: I3018685db3cf302d10c5e525a7d2c90f3c664f10
2011-02-25 15:37:47 -05:00
Wink Saville
2b8bcfe5b7 LTE Changes for Telephony including Multiple PDN support and IPV6 support
Added init for CDMAPhone.java

Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
2011-02-24 18:23:36 -08:00
Daniel Sandler
f36ec34f40 Merge "Notification flyover tuning:" 2011-02-24 17:33:41 -08:00
Eric Fischer
c950cf2269 Merge "Import revised translations." 2011-02-24 14:03:30 -08:00
Daniel Sandler
551df778f9 Merge "Remove commented cruft, TODOs, and dead code." 2011-02-24 13:36:52 -08:00
Daniel Sandler
56a6d88012 Notification flyover tuning:
- Swipe up on icons or clock to show notifications (3258623)
- Hide notification flyover immediately on tap (3410278)

Bug: 3258623
Bug: 3410278
Change-Id: Ide038e69bb800f744dbb79383246b7b416f06bba
2011-02-24 16:32:26 -05:00
Eric Fischer
c5f2b9f907 Import revised translations.
Change-Id: Ib0c12e7b10809b2180a743bd2f9c186b04461920
2011-02-24 11:50:41 -08:00
Eric Fischer
86409c8cb7 am 1c38872f: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '1c38872fd30d7b19a01cc309537e911e7f2344e9':
  Import revised translations.  DO NOT MERGE
2011-02-24 11:18:56 -08:00
Eric Fischer
f951bbf957 Import revised translations. DO NOT MERGE
Change-Id: I6a05c3031a451b0d288762f079203a412133dd14
2011-02-24 10:50:23 -08:00
Patrick Dubroy
ece945291e Fix 3272590: Long-press on home & menu should be same as click
Change-Id: I151571900f4bb63910ccfb77fc64c8be9676a224
2011-02-24 10:03:23 -08:00
Eric Fischer
bb0c1a366d am 32751e31: Merge "Import revised translations. DO NOT MERGE" into honeycomb
* commit '32751e3175d8dca96d75b6c93a32557c259c13a7':
  Import revised translations.  DO NOT MERGE
2011-02-23 15:36:08 -08:00
Eric Fischer
fc1c800b2e Import revised translations. DO NOT MERGE
Change-Id: I5089e17bd14de7b4e217c1b91e393ae4799c4263
2011-02-23 14:49:04 -08:00
Daniel Sandler
3a2fdedf69 Remove commented cruft, TODOs, and dead code.
Change-Id: I86c953941fe24655f52177474ef39b7f92aa53fa
2011-02-23 11:23:04 -05:00