86054 Commits

Author SHA1 Message Date
Craig Mautner
395a723309 am 3dc0b80d: Merge "Fix layout state issues." into jb-mr1-dev
* commit '3dc0b80dc6e6aa156eea4d737cdeaad96aa1125a':
  Fix layout state issues.
2012-09-27 19:36:10 -07:00
Craig Mautner
3dc0b80dc6 Merge "Fix layout state issues." into jb-mr1-dev 2012-09-27 19:34:28 -07:00
Jeff Sharkey
ae1af49a91 am 3a8af8ef: Merge "Migrate more Secure settings to Global." into jb-mr1-dev
* commit '3a8af8efff93ca8ee80fc8c7841e7bee9a8b7786':
  Migrate more Secure settings to Global.
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
Christopher Tate
a7346d2086 am 5e08af03: Respect per-user rotation lock et alia
* commit '5e08af03a3dffff8b8fc098790e5133589601d8f':
  Respect per-user rotation lock et alia
2012-09-27 19:05:13 -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
efbac1be38 am a852ff3a: Merge changes I9873540e,I4f6c38e3 into jb-mr1-dev
* commit 'a852ff3a4b637e8101c2f54e110467586fe604cf':
  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:48:22 -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
9ab2594279 am 93aa70c6: Merge "Only poke the wakelock for FUL if the screen is on fixes 7222901" into jb-mr1-dev
* commit '93aa70c6dfec91909404c9ade9b4a94574814092':
  Only poke the wakelock for FUL if the screen is on fixes 7222901
2012-09-27 18:38:15 -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
Jim Miller
7d47520ed6 am 0d5cad73: Merge "Updating AndroidClock font to match the Roboto thin style for time display." into jb-mr1-dev
* commit '0d5cad735d03561c6bd215aa6fe3e78343fee5d2':
  Updating AndroidClock font to match the Roboto thin style for time display.
2012-09-27 18:08:33 -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
95b1465ea7 am 327b3217: Merge "Fixing various QS issues. (Bug 7217102)" into jb-mr1-dev
* commit '327b32177cee03db756c63efd962e64d6b33d0be':
  Fixing various QS issues. (Bug 7217102)
2012-09-27 18:04:24 -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
66f0696329 am 96a8bb63: Merge "Fix crash caused by null owner info Fixes bug 7249550" into jb-mr1-dev
* commit '96a8bb635d90a54626c233522a1c58aea586b583':
  Fix crash caused by null owner info Fixes bug 7249550
2012-09-27 17:47:45 -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
e2f4e9f491 am 9aacd50c: Merge "Fix issue #7242119 and #7242008." into jb-mr1-dev
* commit '9aacd50ccdf8cc75f5c98da3dd64db1ec59e116f':
  Fix issue #7242119 and #7242008.
2012-09-27 16:30:04 -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
1ef43d2833 am e00d33cf: Merge "Fix rectangle AA offset calculation" into jb-mr1-dev
* commit 'e00d33cf05a111c9be605d3d59db911cd983fcb9':
  Fix rectangle AA offset calculation
2012-09-27 16:11:37 -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
22904334a0 am 4af11461: Merge "Force redraw of new/resized windows" into jb-mr1-dev
* commit '4af1146145550dee904bcaa744abfa582c8756b7':
  Force redraw of new/resized windows
2012-09-27 16:07:13 -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
8d43c0d4c1 am 42517367: Merge "Update keyguard layouts on phone" into jb-mr1-dev
* commit '42517367947047dd6cf7bd014e0c6d2db030af4e':
  Update keyguard layouts on phone
2012-09-27 15:54:16 -07:00
Jim Miller
4251736794 Merge "Update keyguard layouts on phone" into jb-mr1-dev 2012-09-27 15:52:33 -07:00
Jim Miller
3af630c8d1 Update keyguard layouts on phone
- Go back to using old date format
- All keyguard text is now caps
- Lower brightness on emergency call text
- Fixed CR/LF issue with Owner info
- Added new alarm icon and fixed padding
- Swapped Google Now and lock icon in landscape mode
- Centered PIN/Password/Pattern help text in view in portrait
- Fixed keyboard size issue in landscape
- Merge new assets from UX

Change-Id: I7adb44b6c9a57d40cab0a77433d43291fb277568
2012-09-27 15:49:30 -07:00
Chet Haase
391fef0f5d Force redraw of new/resized windows
Our use of the GL flag EGL_SWAP_BEHAVIOR_PRESERVED_BIT caused a problem
with windows that are resized, where some of the contents were not being
updated when the window was first placed/resized. The fix is to force the
window to redraw completely when it is first resized.

Issue #7246918 Label selection view disappears

Change-Id: I3562141569502af581a3d63b1290c598abb57ade
2012-09-27 15:26:36 -07:00
Christopher Tate
c7e58d09ae am 3f91e43e: Merge "Full (local) restore security changes" into jb-mr1-dev
* commit '3f91e43eb00764cebfdffb42a3ddcb723ae439e0':
  Full (local) restore security changes
2012-09-27 15:02:10 -07:00
Chris Craik
16b897c488 Fix rectangle AA offset calculation
bug:4419017

Fixes compiler warning
Handle bezier thresholds with large stroke widths better
Fix sub-hairlines (for scaleX == scaleY)

Change-Id: Ida387483348ee61424b7fba729abca2a88bd68b3
2012-09-27 15:01:36 -07:00
Christopher Tate
3f91e43eb0 Merge "Full (local) restore security changes" into jb-mr1-dev 2012-09-27 14:58:47 -07:00
Fabrice Di Meglio
a89953deca am 41148af5: Merge "Fix bug #7241988 Padding is mostly set to "0"" into jb-mr1-dev
* commit '41148af5e6f1699c4e87ff6aa0ac1be974587aff':
  Fix bug #7241988 Padding is mostly set to "0"
2012-09-27 14:58:14 -07:00
Fabrice Di Meglio
41148af5e6 Merge "Fix bug #7241988 Padding is mostly set to "0"" into jb-mr1-dev 2012-09-27 14:56:07 -07:00
Fabrice Di Meglio
bbd1029b70 Fix bug #7241988 Padding is mostly set to "0"
- make RTL compatibility mode more straighforward. Done only in constructor
and resolved() is only done for real RTL case.

- fix also issue concerning needRtlPropertiesResolution(): we were missing
padding and drawables bits.

Change-Id: Ic0569f7542a0d66244e8c4bd35ae85949e39c559
2012-09-27 14:08:49 -07:00
Dianne Hackborn
3244e96028 Fix issue #7242119 and #7242008.
Issue #7242119 Permissions UI: "may cost you money" text color in gold
Issue #7242008 Permissions UI: add coin icon for permissions that cost money

Change-Id: I900b89e96f0a5ae6b686deecdab38d150d39b202
2012-09-27 14:03:55 -07:00
Christopher Tate
f6d6fa8cbc Full (local) restore security changes
(1) Prevent full restore from creating files/directories that are
    accessible by other applications

(2) Don't restore filesets from "system" packages; i.e. any that runs
    as a special uid, unless they define their own agent for handling
    the restore process.

Bug 7168284

Change-Id: Id6a0cb4c113c2e4a8c4605252cffa41bea22d8a3
2012-09-27 12:54:37 -07:00
Daniel Sandler
13522a2e40 Fix panel handles on large screens.
Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
2012-09-27 15:08:28 -04:00
Adam Cohen
d086ee036e am 580ee8b0: Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev
* commit '580ee8b0c6e1aea1e2e1d60499b603b9168b44f0':
  Fixing AppWidgetService / AppWidgetHost to work in system process
2012-09-27 11:19:28 -07:00
Adam Cohen
580ee8b0c6 Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev 2012-09-27 11:17:20 -07:00
Adam Cohen
672144f86d am 62d2d621: Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev
* commit '62d2d62158e5be280e69e7620b8fb8a43a3cc26e':
  Fixing Keyguard widget click handling (issue 7179972)
2012-09-27 11:14:47 -07:00
Adam Cohen
62d2d62158 Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev 2012-09-27 11:11:33 -07:00