Commit Graph

416 Commits

Author SHA1 Message Date
Daniel Sandler
4502636629 am 8f5cab8b: Merge "Remove logspew." into honeycomb-mr1
* commit '8f5cab8b31014a261f4e6e12e6d751de51de37c3':
  Remove logspew.
2011-03-17 06:31:56 -07:00
Daniel Sandler
8f5cab8b31 Merge "Remove logspew." into honeycomb-mr1 2011-03-17 06:23:45 -07:00
Daniel Sandler
8d5d19c990 Remove logspew.
Bug: 4114202
Change-Id: I88de0f98bb33f0d1258b702169d754e98648e403
2011-03-16 15:02:18 -04:00
Mike Lockwood
c9b82ebb97 am 3b7871c2: Merge "USB Manager string clean up:" into honeycomb-mr1
* commit '3b7871c242bea5834c657c25fbb89c382566f66f':
  USB Manager string clean up:
2011-03-15 13:42:44 -07:00
Mike Lockwood
ad5f83e91b USB Manager string clean up:
- Use "Cancel" instead of "Ignore"
- Customize the text for the "always use" checkbox for devices and accessories
- Clean up strings for AccessoryChat test program

Bug: 4074719

Change-Id: Ideec838e4c1f1a82ef4ae411c9124417ffb63165
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-15 16:23:40 -04:00
Mike Lockwood
38bc9f0701 am f4c9c140: Merge "Fix broadcast receiver leak in UsbConfirmActivity" into honeycomb-mr1
* commit 'f4c9c140a204c83c6185b9ada0e33e740ecf779b':
  Fix broadcast receiver leak in UsbConfirmActivity
2011-03-14 17:45:29 -07:00
Mike Lockwood
8f6dce44e3 Fix broadcast receiver leak in UsbConfirmActivity
Change-Id: Ie1db70d9a57f16f192178583871994467f50a636
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-14 20:17:13 -04:00
Wink Saville
9d7d62801d Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
This reverts commit eca208fae6
and is the first of the LTE commits in master being back ported
to the LTE branch.

Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
2011-03-14 12:25:04 -07:00
Mike Lockwood
bce6f8f249 Add a dialog to ask user to start an application for a USB device or accessory
This is used when there is only one application available and the user has
not chosen to start it by default.
If more than one application is available we continue to use UsbResolverActivity

Bug: 4074719

Change-Id: Id61f2ccc6de5b9ac70fb4670006ff1fee2028d55
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-13 19:18:08 -04:00
Mike Lockwood
364903bac6 Merge "Support for USB accessory URIs" into honeycomb-mr1 2011-03-11 05:56:50 -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
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
Jim Miller
5c9248f668 Merge "Fix 4027057: Improve resolution of RecentApps thumbnail images." into honeycomb-mr1 2011-03-09 14:42:56 -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
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
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
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
eca208fae6 DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support"
This reverts commit 2b8bcfe5b7.

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
67edceb096 Fix 3504984: Use overscroll fade in Recents.
Change-Id: I3a5bdc53876edd01d8a0022be4d0a0ed38864eed
2011-03-02 18:32:16 -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
d7ba12135b Merge "Make with the clicky. (Status bar buttons now play FX.)" 2011-03-01 17:49:18 -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
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
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
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
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
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
Daniel Sandler
3a2fdedf69 Remove commented cruft, TODOs, and dead code.
Change-Id: I86c953941fe24655f52177474ef39b7f92aa53fa
2011-02-23 11:23:04 -05:00
Daniel Sandler
282ff9ae3f Fix issues with DND display in status bar.
Bug: 3478116
Bug: 3480339
Change-Id: I513f0c2696dc3fe5aa3a6f071f1e4793f9f9645c
2011-02-23 11:05:37 -05:00
Wink Saville
5284090631 Changes for ril.h version 6.
Change-Id: Iacd9d362c4836546ac277cf3571227d426a721aa
2011-02-18 12:40:47 -08:00