86444 Commits

Author SHA1 Message Date
Dianne Hackborn
ab61e562c8 am dec9e164: Merge "Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)" into jb-mr1-dev
* commit 'dec9e1640a7ae0b20f7fe79fa9c8cecacc4e07a9':
  Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)
2012-10-17 11:10:24 -07:00
Bart Sears
0cb8a638b7 am 0ee71add: Merge "Fix native crash while saving a panorama." into jb-mr1-dev
* commit '0ee71adde01298784a2cbb667c4c1570bdbf0af0':
  Fix native crash while saving a panorama.
2012-10-17 11:10:19 -07:00
Chet Haase
b6b52483a2 am be29d82f: Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev
* commit 'be29d82f740fea2ed35d89bd9aa4644f4c042762':
  Correctly adjust clip regions that lie offscreen
2012-10-17 11:09:57 -07:00
Daniel Sandler
595703cd39 am 91ffeddb: Hide settings button from tablet notification panel.
* commit '91ffeddb8b6ceec9a18ae34f88bd56560335de7f':
  Hide settings button from tablet notification panel.
2012-10-17 11:09:44 -07:00
Amith Yamasani
3727bef869 am b6c171b1: Merge "Do cleanup when Stopping users" into jb-mr1-dev
* commit 'b6c171b1afa871aa092dd2ec2ed25f48275ef194':
  Do cleanup when Stopping users
2012-10-17 11:09:36 -07:00
Romain Guy
f094d96394 am ec5acee1: Merge "workaround to unbreak the build (deadlock during boot)" into jb-mr1-dev
* commit 'ec5acee17a2210c3abcb25406c087901fda77757':
  workaround to unbreak the build (deadlock during boot)
2012-10-17 11:09:31 -07:00
Daniel Sandler
783bd686d5 am b6454adb: Merge "Quickening." into jb-mr1-dev
* commit 'b6454adb6c36290550105dd7e085c0d97e07c46f':
  Quickening.
2012-10-17 11:09:25 -07:00
Baligh Uddin
1b9a1418ad am c3984879: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit 'c39848793c4067f2597d1ee8f0b6966b4c4e0bef':
  Import translations. DO NOT MERGE
2012-10-17 11:09:19 -07:00
Baligh Uddin
19b304e79a am 779a19fe: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '779a19fe447a1be43a4a435c43718357b127c852':
  Import translations. DO NOT MERGE
2012-10-17 11:09:10 -07:00
Dianne Hackborn
dec9e1640a Merge "Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)" into jb-mr1-dev 2012-10-17 10:45:08 -07:00
Bart Sears
0ee71adde0 Merge "Fix native crash while saving a panorama." into jb-mr1-dev 2012-10-17 10:20:50 -07:00
Chet Haase
be29d82f74 Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev 2012-10-17 07:51:46 -07:00
Wu-cheng Li
4b63f14c96 Fix native crash while saving a panorama.
YuvToJpegEncoder should handle the case when the height is not
multiples of 16.

bug:7165606

Change-Id: I02f142b233c4f5c0cd8df5e3d1eaebbf62d28052
2012-10-17 18:06:59 +08:00
Daniel Sandler
91ffeddb8b Hide settings button from tablet notification panel.
Bug: 7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
2012-10-17 01:11:05 -04:00
Amith Yamasani
b6c171b1af Merge "Do cleanup when Stopping users" into jb-mr1-dev 2012-10-16 21:41:28 -07:00
Romain Guy
ec5acee17a Merge "workaround to unbreak the build (deadlock during boot)" into jb-mr1-dev 2012-10-16 21:37:07 -07:00
Daniel Sandler
b6454adb6c Merge "Quickening." into jb-mr1-dev 2012-10-16 21:30:23 -07:00
Mathias Agopian
a33d161250 workaround to unbreak the build (deadlock during boot)
bug: 7363206
Change-Id: Ie79c309e367ba07336a5299af9fd59c6bd2390e7
2012-10-16 21:26:43 -07:00
Baligh Uddin
c39848793c Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 21:18:47 -07:00
Baligh Uddin
779a19fe44 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-16 21:11:18 -07:00
Daniel Sandler
3679bf58fb Quickening.
+ Baseline align all header elements.
  + Make clock clickable.
  + Remove clock tile.
  + Reorder tiles.
  + Hide status bar behind panel on phones.
  + Make status bar peek animation show the whole header on phones.
  + Stop hiding status bar bits on phones.

Bug: 7350584 // baseline align header, make clock clickable,
Bug: 7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
2012-10-16 23:21:26 -04:00
Svetoslav Ganov
05ad745ff6 Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev 2012-10-16 19:50:22 -07:00
Jim Miller
8e6145013a Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev 2012-10-16 19:22:37 -07:00
Romain Guy
1b85122bd2 Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev 2012-10-16 19:05:49 -07:00
Jim Miller
dcf59629be This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
Revert "Revert "Revert "Fix for bug 6050753."""

This reverts commit 6868d6f349610c15256471cc3d5fa708cbfd5f1d

Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
2012-10-16 19:01:32 -07:00
Craig Mautner
e13ae64850 Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev 2012-10-16 18:58:58 -07:00
Romain Guy
713e1bb9df Add API to enable mipmaps on Bitmap
Bug #7353771

This API can be used when scaling large images down to a small size
to get nicer looking results.

Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
2012-10-16 18:44:09 -07:00
Dianne Hackborn
bef0f617a0 Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)
does not show if you press on power button when the "low battery" dialog is showing up

Always put the global actions dialog in the keyguard dialog layer (above
the keyguard).  I don't see any reason to have it change layers based
on whether the keyguard is showing.

Change-Id: I1bd3600af9f115d662d2a4783f835e234db1b7f0
2012-10-16 18:34:48 -07:00
Svetoslav Ganov
72e3512960 Long press not working if explore by touch and magnification are on.
1. In the magnifier we are caching the touch events until we figure
   out whether the user is triple tapping to enable magnification.
   If the user is not trying to engage magnification we deliver the
   stashed events. However, these events are stale and the subsequent
   transformations such as the touch explorer get confused when trying
   to detect a tap since the delay is longer than the tap slop.
   This change compensates for the time the events were cached
   before sending them to the next transformation in the chain.

bug:7362365

Change-Id: Idd8539ffed7ba4892c5a916bd34910fd2ef50f75
2012-10-16 18:26:57 -07:00
Steven Ross
e4728b15cb Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev 2012-10-16 17:44:53 -07:00
Chet Haase
aa42c9af6e Correctly adjust clip regions that lie offscreen
We were clamping the x/y location of the scissor to 0,0, but not adjusting
the width/height appropriately. This fix adjusts width/height and also clamps
them to 0 to correctly clip out offscreen operations.

Issue #7221524 Top left and top right portions of the screen blanks out after some time

Change-Id: I47f23336ea612409ed86652b9a68e272819ef00e
2012-10-16 17:36:16 -07:00
Christopher Tate
69b0c974b5 Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev 2012-10-16 17:33:55 -07:00
Jim Miller
48994ce945 Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev 2012-10-16 17:28:08 -07:00
Laurent Tu
de5c3a0451 Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev 2012-10-16 17:27:09 -07:00
Jeff Brown
645b05a6e4 Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev 2012-10-16 17:22:40 -07:00
Christopher Tate
bcb0255770 Fix ApplicationInfo copy ctor
Need to copy ALL the fields!

Bug 7360899

Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c
2012-10-16 17:14:34 -07:00
Daniel Sandler
fe3376b41a Fix NPE in quick settings tiles.
Bug: 7360759
Change-Id: I5b000e063baa1b7e2dddaa25be5b9bcdafa1a974
2012-10-16 19:54:02 -04:00
Jeff Brown
8ec0943a79 Blank all displays including Wifi Display when screen is off.
Calling blank() on Surface Flinger to turn the screen off is not
enough to ensure that the content is blanked to all virtual displays.
What's more, the black surface left in place by the ElectronBeam may
not completely hide the content (particularly if the display orientation
changes).  To fix this for real, we'll want to move the display power
management code from the power manager into the display manager
but we don't have time for that.

As a work around, force all displays to show an empty layer stack
with no surfaces on it while blanked.

Bug: 7311959
Change-Id: I870c985f9e76f3f2322e5d83cdbbed9ed15b9f10
2012-10-16 16:19:23 -07:00
Craig Mautner
341220fd09 Use parent window to evaluate show-to-all-users.
When a window is attached to another window use the parent window's
attributes to determine whether the child window should be shown
to all users.

Bug: 7328633 fixed.
Change-Id: I9601c149af87f624378e6895063bb3179d4f845e
2012-10-16 15:20:09 -07:00
Irfan Sheriff
983faeed0b Merge "Fix NPE" into jb-mr1-dev 2012-10-16 15:03:27 -07:00
Raph Levien
3377b404b8 Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev 2012-10-16 14:44:18 -07:00
Raph Levien
8b17969c64 Fix for bug 7358703 Gmail ANR when trying to compose a message
When deferring scroll to a point, it's possible the text changed between
the time the scroll was requested to the time layout happens. In this
case, it attempts to scroll to a point past the end of the text buffer,
which created an infinite loop.

This patch clamps the scroll offset to the length of the text, so it
just scrolls to the end in that case, rather than crashing.

Change-Id: I53740d119d588560f5a4d9fb80e38f7057faab89
2012-10-16 14:32:47 -07:00
Laurent Tu
b7f9d25497 Handle unknown case in LocationManager.getProvider
If a provider is unknown, return null in
LocationManagerService.getProviderProperties() instead of throwing a
security exception, so that LocationManager.getProvider() returns null
in this case, as specified by the javadoc.

Bug: 7359960
Change-Id: I1b8b74745f66717a3439a1d353a46a23272cc313
2012-10-16 14:25:00 -07:00
Svetoslav Ganov
964629aca8 Merge "Occasionally triple tap on the keyboard toggles screen magnification." into jb-mr1-dev 2012-10-16 14:20:45 -07:00
Jim Miller
bdffd5c3a1 Fix missing layout parameters in keyguard.
This addresses crashes caused by an upcoming change to crash
when missing layout_width and layout_height attributes are missing.

Change-Id: I71044b4623d04cab41f4aee6a7a5c01b67b0d2a5
2012-10-16 13:55:13 -07:00
Chet Haase
8db45f0bbf Merge "Avoid redundant wallpaper loading/drawing" into jb-mr1-dev 2012-10-16 13:53:04 -07:00
Romain Guy
5778cb9a98 Merge "Always use the correct pixel store size Bug #7357394" into jb-mr1-dev 2012-10-16 13:50:54 -07:00
Romain Guy
827dde0e1a Merge "Support clipping in Canvas.drawBitmapMesh() Bug #7354162" into jb-mr1-dev 2012-10-16 13:49:51 -07:00
Craig Mautner
dc9e13b30a Merge "Perform all layouts within first loop." into jb-mr1-dev 2012-10-16 13:46:46 -07:00
Baligh Uddin
3045e62679 Import translations. DO NOT MERGE
Change-Id: I7c26f20a77ec622563c5dcdad7a96c347005a789
Auto-generated-cl: translation import
2012-10-16 13:39:48 -07:00