85288 Commits

Author SHA1 Message Date
Daniel Sandler
e680f5483f Prop the tablet notification panel open a bit.
It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
2012-09-28 12:22:27 -04:00
Jeff Brown
13701b50f5 Merge "Bundle correlated switch changes atomically." into jb-mr1-dev 2012-09-28 00:35:57 -07:00
Satoshi Kataoka
3cd961292e Merge "Fix ime swtich issue" into jb-mr1-dev 2012-09-28 00:26:55 -07:00
Satoshi Kataoka
d08a9238db Fix ime swtich issue
Bug: 7250097
Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
2012-09-28 16:19:59 +09:00
Romain Guy
08874db8ed Merge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev 2012-09-27 23:40:56 -07:00
Romain Guy
97723b2eb4 Fix HierarchyViewer so it can load Contacts
Change-Id: I5d5f400a9283f9c2431d91a10f85be42b02fe6a0
2012-09-27 23:36:34 -07:00
Romain Guy
97298cdcc0 Merge "Fix recents animation in landscape Bug #7250041" into jb-mr1-dev 2012-09-27 23:11:05 -07:00
Romain Guy
4b416885ac Fix recents animation in landscape
Bug #7250041

Change-Id: I0d7d85aa6a9444ac5dc2451be816f8387036e068
2012-09-27 23:07:38 -07:00
Baligh Uddin
7d82989e00 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-27 23:03:04 -07:00
Baligh Uddin
2d75435be0 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-27 23:00:22 -07:00
Hiroshi Lockheimer
a7a257d657 Merge "Plug memory leak that happens when reusing display lists Bug #7195815" into jb-mr1-dev 2012-09-27 22:23:28 -07:00
Baligh Uddin
1f04fddabf Import translations. DO NOT MERGE
Change-Id: Ibdc8249324fd79240a6fec9cba9b2c22435f549c
Auto-generated-cl: translation import
2012-09-27 22:21:23 -07:00
Baligh Uddin
0e7d76c510 Import translations. DO NOT MERGE
Change-Id: I39264c4fca327e739195aa552fb902378fa869fe
Auto-generated-cl: translation import
2012-09-27 22:07:15 -07:00
Hiroshi Lockheimer
448f6e1e14 Merge "temporarily disable blacklisting" into jb-mr1-dev 2012-09-27 21:58:21 -07:00
Jeff Brown
42af2ac6a3 Merge "Revert "Do not use last app rotation as default."" into jb-mr1-dev 2012-09-27 21:49:58 -07:00
Jeff Brown
bcc046af4e Bundle correlated switch changes atomically.
This is a prerequisite for headset jack detection on Manta.

Bug: 6548391
Change-Id: I549a194344511c0cee578b00f6a9ab5fdbdfb99c
2012-09-27 21:42:57 -07:00
Adam Powell
ae26839257 Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev 2012-09-27 21:14:46 -07:00
Jeff Brown
0f862b432e Revert "Do not use last app rotation as default."
This reverts commit 4bd149ef83c8e3e2ffb61885e71f44df9a9ccfa7

This change introduced a regression in the device rotation policy.  Suppose you hold the device in landscape orientation then put it flat on a table.  At this time, the accelerometer has no information about which way the device is oriented so the sensor expresses no preference over the orientation.  Now switch to an application that forces portrait.  Then go back to the original app that auto-rotates.  We should remain portrait from this point onwards unless the device is picked up and we have accelerometer information from which to establish a new preferred orientation.

Bug: 7173556
Change-Id: I3684af3369e4ea55042081e19d96773c4d4bbe76
2012-09-27 21:11:01 -07:00
Irfan Sheriff
5735b1b589 Merge "Fail fast on persistent failure" into jb-mr1-dev 2012-09-27 21:06:16 -07:00
Adam Powell
68f3eb3b56 Revert "Fix adjustViewBounds handling for ImageView"
This reverts commit b1271ac183c36d0e9e3a524bec8908ed5aab9a45

Revert this for now pending further investigation of bug 7248600

Change-Id: Ieb0a279fa2208f2aa575759dd6dd94476b471b8d
2012-09-27 21:05:17 -07:00
Fabrice Di Meglio
10a2979e55 Merge "Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev 2012-09-27 20:57:13 -07:00
Svetoslav Ganov
7befb7deb2 Global gesture to toggle Accessibility system-wide.
1. This change adds a global gesture for enabling accessibility.
   To enable this gesture the user has to allow it from the
   accessibility settings or use the setup wizard to enable
   accessibility. When the global gesture is enabled the user
   can long press on power to bring the global actions dialog
   and then hold with two fingers for a few seconds to enable
   accessibility. The appropriate feedback is also provided.

2. The global gesture is writing directly into the settings for
   the current user if performed when the keyguard is not on. If
   the keygaurd is on and the current user has no accessibility
   enabled, the gesture will temporary enable accessibility
   for the current user, i.e. no settings are changed, to allow
   the blind user to log into his account. As soon as a user
   switch happens the new user settings are inherited. If no
   user change happens after temporary enabling accessibility
   the temporary changes will be undone when the keyguard goes
   away and the device will works as expected by the current user.

bug:6171929

3. The initialization code for the owner was not executed due
   to a redundant check, thus putting the accessibility layer in
   an inconsistent state which breaks pretty much everything.

bug:7240414

Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
2012-09-27 20:33:20 -07:00
Jeff Sharkey
5e9187a3cf Merge "Fix "system" resources; more context user work." into jb-mr1-dev 2012-09-27 20:26:00 -07:00
Satoshi Kataoka
e496114528 Merge "Treat additional inputmethod subtypes per user" into jb-mr1-dev 2012-09-27 20:14:05 -07:00
Fabrice Di Meglio
75aefb8fe8 Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing
- no need to initialize mPaddingLeft/Right to UNDEFINED_PADDING

Change-Id: Icfdcc9bcb904228443e9adfde8038b5d8764365b
2012-09-27 19:55:18 -07:00
John Reck
7c72a8f94a Merge "Fix perf regression from scale/density mismatch" into jb-mr1-dev 2012-09-27 19:55:04 -07:00
Jeff Sharkey
ded653b168 Fix "system" resources; more context user work.
Special-case "system" resources, since it doesn't have an
ApplicationInfo.  Also switch Context and PackageManager to using
the wrapped UserHandle for outgoing calls.

Bug: 7242361
Change-Id: I1ecd2a4752399a6dce2de97c59bd5545996c9a99
2012-09-27 19:50:23 -07:00
Craig Mautner
3dc0b80dc6 Merge "Fix layout state issues." into jb-mr1-dev 2012-09-27 19:34:28 -07:00
Jeff Sharkey
3a8af8efff Merge "Migrate more Secure settings to Global." into jb-mr1-dev 2012-09-27 19:31:08 -07:00
Romain Guy
034de6b1ec Plug memory leak that happens when reusing display lists
Bug #7195815

We did not reclaim resources when reusing an existing DisplayList to
record a new empty list of commands. This would lead to various memory
leaks: bitmaps, paints, paths, matrices, etc.

This is not a common case but some apps run into this situation,
such as Launcher.

Change-Id: I2eb14ac86a212123f8edbe42b70a7c1c51fa4145
2012-09-27 19:01:55 -07:00
Christopher Tate
5e08af03a3 Respect per-user rotation lock et alia
Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object.  We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
2012-09-27 18:56:23 -07:00
Romain Guy
a852ff3a4b Merge changes I9873540e,I4f6c38e3 into jb-mr1-dev
* changes:
  Skia's ColorMatrix vector is in the 0..255 range not 0..1 Bug #7248980
  Don't use the QCOM_tiled_rendering extension with functors Bug #7247880
2012-09-27 18:45:42 -07:00
Steven Ross
93aa70c6df Merge "Only poke the wakelock for FUL if the screen is on fixes 7222901" into jb-mr1-dev 2012-09-27 18:35:20 -07:00
Victoria Lease
b319d5de19 temporarily disable blacklisting
Bug: 7248239
Change-Id: I2ef28fa0d6890a127fc424e58a148fe1fb15b683
2012-09-27 18:24:27 -07:00
Craig Mautner
812d2ca475 Fix layout state issues.
- Restore test of hidden to isGoneForLayoutLw(), without that
we return false when setAppVisibility(true) is called which leads
to early layout of windows. Particulary on return from full screen
to non-full we lay out once before recognizing that the status bar
should be back and then again once the status bar appears causing
a jump. Fixes bug 6470541.

- Add a new test for configuration size changes to gone or hidden
windows. This forces a layout call to these windows which informs
them of the new size even though they are not shown until later.
In particular this keeps windows that were in the background
during a rotation from using their old boundaries on return.
Fixes bug 6615859.

- Consolidate WindowState.mConfiguration tests into WindowState.

Change-Id: I7a82ce747a3fcf7d74104dc23f1532efe64bd767
2012-09-27 18:07:39 -07:00
Romain Guy
6ed9e43879 Skia's ColorMatrix vector is in the 0..255 range not 0..1
Bug #7248980

Change-Id: I9873540e3bc1ea0526ea0884279a427c0de96006
2012-09-27 18:06:43 -07:00
Jim Miller
0d5cad735d Merge "Updating AndroidClock font to match the Roboto thin style for time display." into jb-mr1-dev 2012-09-27 18:05:36 -07:00
Winson Chung
327b32177c Merge "Fixing various QS issues. (Bug 7217102)" into jb-mr1-dev 2012-09-27 18:01:32 -07:00
Romain Guy
54c1a64d54 Don't use the QCOM_tiled_rendering extension with functors
Bug #7247880

Change-Id: I4f6c38e37b953c58e6107097c613891a49dac766
2012-09-27 17:57:24 -07:00
Jim Miller
96a8bb635d Merge "Fix crash caused by null owner info Fixes bug 7249550" into jb-mr1-dev 2012-09-27 17:45:18 -07:00
Jim Miller
36c37a021e Fix crash caused by null owner info
Fixes bug 7249550

Change-Id: I35a46bf03e9d11311e2f7d7d55e25bbc93687f83
2012-09-27 17:35:18 -07:00
Christian Robertson
24de605072 Updating AndroidClock font to match the Roboto thin style for time display.
The primary difference between the AndroidClock and Roboto-Thin fonts is that the new clock font defaults to variable width characters for better alignment on the lock screen.

Bug:7206207
Change-Id: I8509324510ce01d0a73ab1bb6b730b5d646a462c
2012-09-27 17:34:22 -07:00
Winson Chung
efba3235fc Fixing various QS issues. (Bug 7217102)
- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
2012-09-27 17:18:23 -07:00
Irfan Sheriff
ca1269fcb8 Fail fast on persistent failure
Other fixes

- 20s idle time out was added a work around for an earlier cavium issue. Reduce to 10s
- Reload network fix when supplicant issues an error for a persistent network

Bug: 7248890
Change-Id: I6cea7c88c75aaca40ddcb973404e93ec0f66cbc4
2012-09-27 17:17:24 -07:00
John Reck
3f5a59accc Fix perf regression from scale/density mismatch
Bug: 7242941

Change-Id: I8a45e8ae589cecc6215566b995003b9eefb7827e
2012-09-27 17:10:49 -07:00
Dianne Hackborn
9aacd50ccd Merge "Fix issue #7242119 and #7242008." into jb-mr1-dev 2012-09-27 16:25:48 -07:00
Jeff Sharkey
625239a054 Migrate more Secure settings to Global.
Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
2012-09-27 16:22:53 -07:00
Chris Craik
e00d33cf05 Merge "Fix rectangle AA offset calculation" into jb-mr1-dev 2012-09-27 16:09:31 -07:00
Chet Haase
4af1146145 Merge "Force redraw of new/resized windows" into jb-mr1-dev 2012-09-27 16:05:12 -07:00
Jim Miller
4251736794 Merge "Update keyguard layouts on phone" into jb-mr1-dev 2012-09-27 15:52:33 -07:00