1342 Commits

Author SHA1 Message Date
Mike Lockwood
364903bac6 Merge "Support for USB accessory URIs" into honeycomb-mr1 2011-03-11 05:56:50 -08:00
Justin Ho
f1093dfd7b Merge "Updated cellular data indicators with transmission signals AGAIN Bug: #6699FF" into honeycomb-mr1 2011-03-10 22:31:29 -08:00
Justin Ho
48a412bded Updated cellular data indicators with transmission signals AGAIN
Bug: #6699FF

Change-Id: Idfc1c43e3fb2df12665bcc3ea18ae7b9f6dfbe9e
2011-03-10 22:26:34 -08:00
Justin Ho
57162cdcde Merge "Wire up the data activity reporting on wifi icon in status bar." into honeycomb-mr1 2011-03-10 22:22:57 -08:00
Joe Onorato
f32621aded Wire up the data activity reporting on wifi icon in status bar.
Bug: 3412258 and #6699FF
Change-Id: I11142f1cd5a2a60045b2a1fea371b2ead2aa81b4
2011-03-10 22:21:50 -08:00
Justin Ho
dacf0d022f Merge "Updated cellular data indicators with transmission signals Bug: #6699FF" into honeycomb-mr1 2011-03-10 21:39:24 -08:00
Justin Ho
f269fe3b22 Updated cellular data indicators with transmission signals
Bug: #6699FF

Change-Id: I86a4d31f24112daeb20f9edd3f06a1eb0ff4c846
2011-03-10 21:37:18 -08:00
Mike Lockwood
024b4f1494 Support for USB accessory URIs
If a USB accessory is attached and we have no application that supports it,
display a dialog offering the user the option to visit the accessory's website
if the accessory has a URI.

Bug: 4073248

Change-Id: I30e2a802493fb6e203532a7f79402379c40bc3b8
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-10 14:35:33 -05:00
Eric Fischer
c66ef5ab33 Import revised translations. DO NOT MERGE
Change-Id: I0ee1d6152852c0cb085cc073ed0684dcc03d6ba7
2011-03-10 11:23:57 -08:00
Jim Miller
5c9248f668 Merge "Fix 4027057: Improve resolution of RecentApps thumbnail images." into honeycomb-mr1 2011-03-09 14:42:56 -08:00
Mike Lockwood
9e8e4ea0a8 Merge changes Ib517e5e4,I93be7695,I49bf22a4 into honeycomb-mr1
* changes:
  Close USB dialogs if their corresponding accessory or device has disconnected
  USB: Add API and dialog for apps to request permissions for USB devices and accessories
  UsbService: Automatically use system apps by default if it is the only choice
2011-03-09 03:52:47 -08:00
Jim Miller
e70d506ab3 Fix 4027057: Improve resolution of RecentApps thumbnail images.
This fix ensures captured thumbnails in portrait mode have the
same resolution as those in landscape by fixing the horizontal
resolution and vertical resolution of the target image.

The returned image is now always the same size and matches
the landscape screen exactly. In portrait mode, it grabs
the upper portion of the screen based on the vertical dimension
of the target image.

Change-Id: I203c39843f2f21ca28f6ef0dffec308ce5cb39fb
2011-03-08 21:47:13 -08:00
Mike Lockwood
d591357524 Close USB dialogs if their corresponding accessory or device has disconnected
BUG: 4060065

Change-Id: Ib517e5e4a5422f9f0c8fca601308cecf7743c5d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-08 22:47:08 -05:00
Mike Lockwood
3a68b8338b USB: Add API and dialog for apps to request permissions for USB devices and accessories
New APIs:

UsbManager.hasPermission returns true if the caller has permission
for the given device or accessory

UsbManager.requestPermission poses a dialog to allow the user to give the caller
permission for the device or accessory.
Result is returned via a PendingIntent.
No dialog is displayed if the caller already has permission.

Also moved UsbResolverActivity to SystemUI package

BUG: 4069037

Change-Id: I93be769501a8776b49ac26e468af19f8fa2114c9
2011-03-08 21:22:19 -05:00
Jim Miller
ccdeb60cb6 Merge "Fix 4025690,4027061: Minor tweaks to recent applications layouts" into honeycomb-mr1 2011-03-08 14:49:47 -08:00
Jim Miller
c43f6c58ce Fix 4025690,4027061: Minor tweaks to recent applications layouts
This makes these changes:
- Reduce fade area from 30 pixels to 20 pixels at top and bottom of recents view
when scrollable
- Shift application icon up and to the right in all recent items.

Change-Id: If510b63a92d6396ffb087b12f4ddc8847c95f3d7
2011-03-07 18:49:43 -08:00
Daniel Sandler
ec1f1f4cfc Merge changes I674abfcc,Ia40f4c53 into honeycomb-mr1
* changes:
  When the user touches a peeked notification, reset the fadeout timer.
  Fix touches on glowing region around panel.
2011-03-07 10:47:13 -08:00
Justin Ho
0b51f57479 Merge "Updated stat notification icons" into honeycomb-mr1 2011-03-04 15:40:00 -08:00
Justin Ho
d836dce27b Updated stat notification icons
Change-Id: I5084007427928c96de1bc64add0f1069d50ffaec
2011-03-04 15:31:56 -08:00
Justin Ho
abd481f686 Merge "Updated clock notification panel background (pressed state)" into honeycomb-mr1 2011-03-04 15:22:01 -08:00
Justin Ho
cb04a69b9a Updated clock notification panel background (pressed state)
Change-Id: I16bdb7edb0ab5abd897953daa16bf6d5c1dd8816
2011-03-04 15:08:56 -08:00
Daniel Sandler
663f0f2da9 When the user touches a peeked notification, reset the fadeout timer.
We do this regardless of whether there are custom controls
mostly to keep things simple.

NB: This change also reduces the fade time to 3sec from 5,
which has always seemed too long but was necessary to make
interacting with Music possible. Now that you can keep a
notification open arbitrarily long by putting your finger on
it, a shorter timeout is acceptable.

Bug: 3456677
Change-Id: I674abfcc0fa757f838b98ed9d5d46ba785a95cfa
2011-03-04 16:45:02 -05:00
Eric Fischer
886d000c0c Import revised translations. DO NOT MERGE
Change-Id: I7795f176a3ca479b44cccdbf4015cff08313d80d
2011-03-04 13:40:34 -08:00
Daniel Sandler
013218b49e Fix touches on glowing region around panel.
Bug: 3509407
Change-Id: Ia40f4c534f6bc316da214db821e655123858150a
2011-03-04 11:22:41 -05:00
Ken Wakasa
761eb3762f Fix the sort order of the input methods & subtypes in the settings.
It should have been the same as how the IME switcher panel does.

bug: 3364167
Change-Id: I48b98c9c4598720edf7cf09d1b9358a9ebed6051
2011-03-04 19:30:12 +09:00
Wink Saville
389bf4f734 Merge "DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"" into honeycomb-mr1 2011-03-03 16:13:07 -08:00
Eric Fischer
24be6f9b06 Remove unneeded large-screen-specific translations.
Change-Id: Ifb55c466fbd6450504c2111193ce3049ccd99425
2011-03-03 15:47:55 -08:00
Eric Fischer
0472beb907 Import revised translations. DO NOT MERGE
Change-Id: Ifc18c6e4f53be86b699f3485d94fb6312cf0d909
2011-03-03 14:05:57 -08:00
Wink Saville
eca208fae6 DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82.

Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
2011-03-03 09:53:52 -08:00
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
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
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