1371 Commits

Author SHA1 Message Date
Jim Miller
024e429b49 Fix 4462474: Use new sw600dp resource target for LockScreen & SystemUI
Change-Id: I79d4fe54c00ecb4c4a1ad614b94bb284b9ece5cc
2011-05-20 16:14:15 -07:00
Jim Miller
49b7adfdfb Fix 4462474: Fixes crash on 7" tablet due to using wrong resource
Change-Id: Id182bc6e9e69a308329412a91929a65af1329beb
2011-05-19 17:11:08 -07:00
Eric Fischer
876533d98a Import revised translations. DO NOT MERGE
Change-Id: I2f5dcc745a5c9f3d7443d03b9dfe4b6e584db58c
2011-05-17 12:19:30 -07:00
Dianne Hackborn
0f1de9adde New compat mode front end: UI and persistence.
Adds a really crappy UI for toggling compat mode.

Persists compat mode selection across boots.

Turns on compat mode by default for newly installed apps.

Change-Id: Idc83494397bd17c41450bc9e9a05e4386c509399
2011-05-12 13:28:45 -07:00
Joe Onorato
5f9f7ff4b7 Move / copy some framework and systemui resources from xlarge to large. The status bar now comes up
on large tablets.

Change-Id: I42d810a5b8e61b2959e30abef91477152495d39f
2011-05-10 11:58:22 -07:00
Daniel Sandler
e97528ee9e Account for race condition when attaching HDMI.
The status bar figures out how tall it needs to be by
subtracting 720 (for 720p HDMI output) from the display
height. However, if the display is in the process of
rotating to portrait when HDMI is attached (or for whatever
other reason dispatches the HDMI_PLUGGED_STATE before the
display has been rotated to landscape) this computation will
be wrong.

The quick fix is to compute the status bar height as
shortSide - 720 rather than height - 720.

Bug: 4284690
Change-Id: I3715264a9e32af1299777ccdbdc22ca60926cc79
2011-04-26 13:54:37 -04:00
Eric Fischer
6d5f5faae0 Import revised translations. DO NOT MERGE
Change-Id: I30c20fa78fc821c943d947a058f482e87d70dbd6
2011-04-06 13:47:57 -07:00
Eric Fischer
446b247834 Import revised translations. DO NOT MERGE
Change-Id: Ic87b36ba6dcc6cea8ef713b47c334156a7dd0f65
2011-03-30 14:25:28 -07:00
Eric Fischer
627e59ad08 Import revised translations. DO NOT MERGE
Change-Id: I962bb9917aa3f3d4b911c1ad7fdfbcda94afa0c7
2011-03-29 11:58:23 -07:00
Justin Ho
5e35c4855a Updated 3G and wifi traffic indicators
Change-Id: I3bc61067d4c30e9cda6170e87552d93c2a084895
2011-03-21 08:42:54 -07:00
Daniel Sandler
8f5cab8b31 Merge "Remove logspew." into honeycomb-mr1 2011-03-17 06:23:45 -07:00
Eric Fischer
20ccaf6cc1 Import revised translations. DO NOT MERGE
Change-Id: I59b21268d693f0fac87e787fceb4f41b3f3e6acd
2011-03-16 16:48:09 -07:00
Mike Lockwood
75d62cee30 Merge "USB System UI: Improve message for the "no app for USB accessory" dialog." into honeycomb-mr1 2011-03-16 12:03:39 -07:00
Daniel Sandler
8d5d19c990 Remove logspew.
Bug: 4114202
Change-Id: I88de0f98bb33f0d1258b702169d754e98648e403
2011-03-16 15:02:18 -04:00
Mike Lockwood
b893916fb8 USB System UI: Improve message for the "no app for USB accessory" dialog.
Change-Id: I72bdc3afa152ed7a0e30b1a0e8d9cb2e53ca3f29
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-16 14:10:03 -04:00
Eric Fischer
cc571e9643 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-16 10:23:02 -07:00
Eric Fischer
326c1c7247 Import revised translations. DO NOT MERGE
Change-Id: I654f633a58cb935a3388e5b558101912dae7fde7
2011-03-16 10:11:58 -07:00
Mike Lockwood
3359001b41 USB System UI: Fix string localization problems
Bug: 4108271
Bug: 4089121

Change-Id: Icd83ba20dc8dc8a71c17cf759138047b53c70fda
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-15 22:26:28 -04:00
Justin Ho
9b183a72bc Merge "Updated notification asset for DND mode" into honeycomb-mr1 2011-03-15 14:41:30 -07:00
Kenny Root
7ddd62b5be Merge "Add byte limit in addition to ratio for installs DO NOT MERGE" into honeycomb-mr1 2011-03-15 14:01:39 -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
Kenny Root
1aa73a1bba Add byte limit in addition to ratio for installs DO NOT MERGE
Previously you were not allowed to install anything to the internal
storage if there was less than 10% free space available on the
internal storage. This doesn't make sense on devices with huge storage
capacity, so just add in a hard-coded byte limit.

This will be cleaned up at a later time to use the same code as
DeviceStorageMonitorService to determine the limits.

Bug: 4086510
Change-Id: I39f69b5272ef44fea218e3b45171b48e2eab2480
2011-03-15 12:43:07 -07:00
Justin Ho
f8caec7c72 Updated notification asset for DND mode
Updating placeholder asset for DND mode in system tray when notifications are disabled

Bug: 3408005
Change-Id: Ic816b9384915a23071da71c08bd6b71d218dca79
2011-03-15 09:33:59 -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
Eric Fischer
175121a513 Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr1 2011-03-14 14:17:01 -07:00
Eric Fischer
7b31d5c84f Import revised translations. DO NOT MERGE
Change-Id: I5d1b5c2891ffd19e45dbc6d20caf3449147f7218
2011-03-14 14:06:03 -07:00
Irfan Sheriff
e21110f8b1 Merge "Backup and restore IP and proxy settings" into honeycomb-mr1 2011-03-14 11:48:35 -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
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
Irfan Sheriff
4aeca7c590 Backup and restore IP and proxy settings
Bug: 4081954
Change-Id: I27266637c6ade0c5c8242792176d1edae0983446
2011-03-10 16:57:10 -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