OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 64e5aa73: Merge "Fix connectivity manager test for tablet with data connection...
Xia Wang [Wed, 17 Oct 2012 19:42:46 +0000 (12:42 -0700)]
am 64e5aa73: Merge "Fix connectivity manager test for tablet with data connection, multi-user support bug#7366674" into jb-mr1-dev

* commit '64e5aa73c549e006a0e6ce1030c88206c781dc1a':
  Fix connectivity manager test for tablet with data connection, multi-user support bug#7366674

11 years agoam 966496f5: Merge "More descriptive content description for quick settings toggle...
Svetoslav Ganov [Wed, 17 Oct 2012 19:42:43 +0000 (12:42 -0700)]
am 966496f5: Merge "More descriptive content description for quick settings toggle. Bug: 7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf" into jb-mr1-dev

* commit '966496f5d57979102749ed3e4f96cbfd07aa397c':
  More descriptive content description for quick settings toggle. Bug: 7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf

11 years agoMerge "Fix connectivity manager test for tablet with data connection, multi-user...
Xia Wang [Wed, 17 Oct 2012 19:39:57 +0000 (12:39 -0700)]
Merge "Fix connectivity manager test for tablet with data connection, multi-user support bug#7366674" into jb-mr1-dev

11 years agoMerge "More descriptive content description for quick settings toggle. Bug: 7362316...
Svetoslav Ganov [Wed, 17 Oct 2012 19:39:18 +0000 (12:39 -0700)]
Merge "More descriptive content description for quick settings toggle. Bug: 7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf" into jb-mr1-dev

11 years agoam d95316e2: Merge "Skip drawing offscreen objects" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 19:38:53 +0000 (12:38 -0700)]
am d95316e2: Merge "Skip drawing offscreen objects" into jb-mr1-dev

* commit 'd95316e2c78c7e6cfacac9cced66f7ace36d6497':
  Skip drawing offscreen objects

11 years agoam 16627347: Merge "Enable mipmapping, without a deadlock this time Bug #7353771...
Romain Guy [Wed, 17 Oct 2012 19:36:51 +0000 (12:36 -0700)]
am 16627347: Merge "Enable mipmapping, without a deadlock this time Bug #7353771" into jb-mr1-dev

* commit '16627347ef5c22914ccb69ff7b7035c9c9d7ab07':
  Enable mipmapping, without a deadlock this time Bug #7353771

11 years agoMerge "Skip drawing offscreen objects" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 19:36:23 +0000 (12:36 -0700)]
Merge "Skip drawing offscreen objects" into jb-mr1-dev

11 years agoMerge "Enable mipmapping, without a deadlock this time Bug #7353771" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 19:32:50 +0000 (12:32 -0700)]
Merge "Enable mipmapping, without a deadlock this time Bug #7353771" into jb-mr1-dev

11 years agoEnable mipmapping, without a deadlock this time
Romain Guy [Wed, 17 Oct 2012 19:14:11 +0000 (12:14 -0700)]
Enable mipmapping, without a deadlock this time
Bug #7353771

Change-Id: I89a08a58608e374f1c604a26ee0769d5850b2f7b

11 years agoFix connectivity manager test for tablet with data connection, multi-user support
Xia Wang [Wed, 17 Oct 2012 19:03:29 +0000 (12:03 -0700)]
Fix connectivity manager test for tablet with data connection, multi-user support
bug#7366674

Change-Id: Ibbb4becebfc833529e85d8a311366586c5ba54ee

11 years agoam 26f544ae: Merge "For Matias." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:58:55 +0000 (11:58 -0700)]
am 26f544ae: Merge "For Matias." into jb-mr1-dev

* commit '26f544aef2b28412d4185b22e5c5660f4293f21b':
  For Matias.

11 years agoMerge "For Matias." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:56:13 +0000 (11:56 -0700)]
Merge "For Matias." into jb-mr1-dev

11 years agoam d4a149d9: Merge "Frequency conflict handling" into jb-mr1-dev
Irfan Sheriff [Wed, 17 Oct 2012 18:54:44 +0000 (11:54 -0700)]
am d4a149d9: Merge "Frequency conflict handling" into jb-mr1-dev

* commit 'd4a149d9d06f3a1914babf70c93131f7211eaa2b':
  Frequency conflict handling

11 years agoMerge "Frequency conflict handling" into jb-mr1-dev
Irfan Sheriff [Wed, 17 Oct 2012 18:52:13 +0000 (11:52 -0700)]
Merge "Frequency conflict handling" into jb-mr1-dev

11 years agoSkip drawing offscreen objects
Chet Haase [Wed, 17 Oct 2012 18:32:01 +0000 (11:32 -0700)]
Skip drawing offscreen objects

Previous logic in ViewRoot would schedule and perform a draw
when it was requested by offscreen objects. The problem was that the
logic checking for an interesection between the offscreen invalidation rectangle
and the onscreen display rectangle was flawed. The fix was to use the return value
from Rect.intersect() to do the right thing and skip drawing.

Issue #7366568 Offscreen invalidates can cause useless work for framework

Change-Id: Ie4e277c695dacee39848a8a223f0c4ee34d9bb4d

11 years agoam fc2652ef: Merge "Fix the NPE for the memwriter." into jb-mr1-dev
Yu Shan Emily Lau [Wed, 17 Oct 2012 18:23:55 +0000 (11:23 -0700)]
am fc2652ef: Merge "Fix the NPE for the memwriter." into jb-mr1-dev

* commit 'fc2652efedeaae40c4a3748a8de9ee833e1443e1':
  Fix the NPE for the memwriter.

11 years agoam e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware...
Fabrice Di Meglio [Wed, 17 Oct 2012 18:21:03 +0000 (11:21 -0700)]
am e9a33c60: Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev

* commit 'e9a33c6098f51c687665adbed799860df2569ad0':
  Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware

11 years agoMerge "Fix the NPE for the memwriter." into jb-mr1-dev
Yu Shan Emily Lau [Wed, 17 Oct 2012 18:20:25 +0000 (11:20 -0700)]
Merge "Fix the NPE for the memwriter." into jb-mr1-dev

11 years agoMerge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb...
Fabrice Di Meglio [Wed, 17 Oct 2012 18:18:13 +0000 (11:18 -0700)]
Merge "Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev

11 years agoam 161cfef3: Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWi...
Fabrice Di Meglio [Wed, 17 Oct 2012 18:16:01 +0000 (11:16 -0700)]
am 161cfef3: Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev

* commit '161cfef36d8fac79f8665ecdb78d3f8f8f5ba5af':
  Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow

11 years agoam b702e5df: Merge "Fix Bluetooth QS tile." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:15:55 +0000 (11:15 -0700)]
am b702e5df: Merge "Fix Bluetooth QS tile." into jb-mr1-dev

* commit 'b702e5df25a4537e8471d9b14c3cff4f3d2cb468':
  Fix Bluetooth QS tile.

11 years agoam 25e1456e: Merge "Fade out the notification/settings panels just before close....
Daniel Sandler [Wed, 17 Oct 2012 18:15:52 +0000 (11:15 -0700)]
am 25e1456e: Merge "Fade out the notification/settings panels just before close." into jb-mr1-dev

* commit '25e1456ed8de57be3c551b39bf510dd0218a0d2b':
  Fade out the notification/settings panels just before close.

11 years agoam f06125aa: Merge "Fixes for QS:" into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:15:49 +0000 (11:15 -0700)]
am f06125aa: Merge "Fixes for QS:" into jb-mr1-dev

* commit 'f06125aab027c809095304f30d109d627cd995a6':
  Fixes for QS:

11 years agoMerge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into...
Fabrice Di Meglio [Wed, 17 Oct 2012 18:13:19 +0000 (11:13 -0700)]
Merge "Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev

11 years agoam 144d4055: Merge "Revert "This restores JB MR0 behavior where the framework throws...
Justin Ho [Wed, 17 Oct 2012 18:10:33 +0000 (11:10 -0700)]
am 144d4055: Merge "Revert "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

* commit '144d405511e9ed685568e50db87b22cc42b6a252':
  Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."

11 years agoFix the NPE for the memwriter.
Yu Shan Emily Lau [Wed, 17 Oct 2012 18:04:14 +0000 (11:04 -0700)]
Fix the NPE for the memwriter.

Change-Id: Id3a5c8f29b0f6be994ea95eb62f1a0eec8fe75b5

11 years agoam dec9e164: Merge "Fix issue #7343719: GlobalActions dialog (power off / airplane...
Dianne Hackborn [Wed, 17 Oct 2012 18:10:24 +0000 (11:10 -0700)]
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)

11 years agoam 0ee71add: Merge "Fix native crash while saving a panorama." into jb-mr1-dev
Bart Sears [Wed, 17 Oct 2012 18:10:19 +0000 (11:10 -0700)]
am 0ee71add: Merge "Fix native crash while saving a panorama." into jb-mr1-dev

* commit '0ee71adde01298784a2cbb667c4c1570bdbf0af0':
  Fix native crash while saving a panorama.

11 years agoam be29d82f: Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 18:09:57 +0000 (11:09 -0700)]
am be29d82f: Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev

* commit 'be29d82f740fea2ed35d89bd9aa4644f4c042762':
  Correctly adjust clip regions that lie offscreen

11 years agoam 91ffeddb: Hide settings button from tablet notification panel.
Daniel Sandler [Wed, 17 Oct 2012 18:09:44 +0000 (11:09 -0700)]
am 91ffeddb: Hide settings button from tablet notification panel.

* commit '91ffeddb8b6ceec9a18ae34f88bd56560335de7f':
  Hide settings button from tablet notification panel.

11 years agoam b6c171b1: Merge "Do cleanup when Stopping users" into jb-mr1-dev
Amith Yamasani [Wed, 17 Oct 2012 18:09:36 +0000 (11:09 -0700)]
am b6c171b1: Merge "Do cleanup when Stopping users" into jb-mr1-dev

* commit 'b6c171b1afa871aa092dd2ec2ed25f48275ef194':
  Do cleanup when Stopping users

11 years agoam ec5acee1: Merge "workaround to unbreak the build (deadlock during boot)" into...
Romain Guy [Wed, 17 Oct 2012 18:09:31 +0000 (11:09 -0700)]
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)

11 years agoam b6454adb: Merge "Quickening." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:09:25 +0000 (11:09 -0700)]
am b6454adb: Merge "Quickening." into jb-mr1-dev

* commit 'b6454adb6c36290550105dd7e085c0d97e07c46f':
  Quickening.

11 years agoam c3984879: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 17 Oct 2012 18:09:19 +0000 (11:09 -0700)]
am c3984879: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit 'c39848793c4067f2597d1ee8f0b6966b4c4e0bef':
  Import translations. DO NOT MERGE

11 years agoam 779a19fe: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 17 Oct 2012 18:09:10 +0000 (11:09 -0700)]
am 779a19fe: (-s ours) Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

* commit '779a19fe447a1be43a4a435c43718357b127c852':
  Import translations. DO NOT MERGE

11 years agoMerge "Fix Bluetooth QS tile." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:05:39 +0000 (11:05 -0700)]
Merge "Fix Bluetooth QS tile." into jb-mr1-dev

11 years agoMerge "Fade out the notification/settings panels just before close." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:05:34 +0000 (11:05 -0700)]
Merge "Fade out the notification/settings panels just before close." into jb-mr1-dev

11 years agoMerge "Fixes for QS:" into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:05:20 +0000 (11:05 -0700)]
Merge "Fixes for QS:" into jb-mr1-dev

11 years agoMerge "Revert "This restores JB MR0 behavior where the framework throws an exception...
Justin Ho [Wed, 17 Oct 2012 17:50:39 +0000 (10:50 -0700)]
Merge "Revert "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

11 years agoRevert "This restores JB MR0 behavior where the framework throws an exception for...
Justin Ho [Wed, 17 Oct 2012 17:47:39 +0000 (10:47 -0700)]
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."

This reverts commit dcf59629beed8182759a1068ab8ee997935bef82

Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d

11 years agoMerge "Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound...
Dianne Hackborn [Wed, 17 Oct 2012 17:45:08 +0000 (10:45 -0700)]
Merge "Fix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)" into jb-mr1-dev

11 years agoFade out the notification/settings panels just before close.
Daniel Sandler [Wed, 17 Oct 2012 14:15:37 +0000 (10:15 -0400)]
Fade out the notification/settings panels just before close.

Bug: 7362346
Change-Id: I437a98f4400c0a14b038c268ccf78a322d992681

11 years agoFixes for QS:
Daniel Sandler [Wed, 17 Oct 2012 13:40:09 +0000 (09:40 -0400)]
Fixes for QS:

 - don't show clear all on the settings page if a
   notification comes in
 - delay makeExpandedInvisible when all panels are collapsed
   to ensure that the last frame of panel animation can show
   in its entirety

Bug: 7362346
Change-Id: I5303f03ea5ee654e222aff0b62ab69f98dc16978

11 years agoFrequency conflict handling
Irfan Sheriff [Mon, 15 Oct 2012 19:00:29 +0000 (12:00 -0700)]
Frequency conflict handling

We now show a dialog to user and let him handle whether to choose wifi
or p2p when there is a frequency conflict.

If user chooses to disable wifi tempoarily, we disconnect wifi until
p2p connection is established and removed.

Bug: 6590401
Change-Id: I73871ddcb3732ae61997d8771b6aa90ad56270af

11 years agoMerge "Fix native crash while saving a panorama." into jb-mr1-dev
Bart Sears [Wed, 17 Oct 2012 17:20:49 +0000 (10:20 -0700)]
Merge "Fix native crash while saving a panorama." into jb-mr1-dev

11 years agoFix Bluetooth QS tile.
Daniel Sandler [Wed, 17 Oct 2012 15:37:42 +0000 (11:37 -0400)]
Fix Bluetooth QS tile.

Changes in the connection state were causing QuickSettings
to clobber the enabled state of the adapter.

Bug: 7365388
Change-Id: I9611cb492d143bc9e7246c3e210664705586a85d

11 years agoFor Matias.
Daniel Sandler [Wed, 17 Oct 2012 04:56:33 +0000 (00:56 -0400)]
For Matias.

<3, dsandler.

Bug: 7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7

11 years agoMerge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 14:51:45 +0000 (07:51 -0700)]
Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev

11 years agoFix native crash while saving a panorama.
Wu-cheng Li [Tue, 16 Oct 2012 15:40:03 +0000 (23:40 +0800)]
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

11 years agoHide settings button from tablet notification panel.
Daniel Sandler [Wed, 17 Oct 2012 05:09:27 +0000 (01:09 -0400)]
Hide settings button from tablet notification panel.

Bug: 7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2

11 years agoMerge "Do cleanup when Stopping users" into jb-mr1-dev
Amith Yamasani [Wed, 17 Oct 2012 04:41:27 +0000 (21:41 -0700)]
Merge "Do cleanup when Stopping users" into jb-mr1-dev

11 years agoMerge "workaround to unbreak the build (deadlock during boot)" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 04:37:06 +0000 (21:37 -0700)]
Merge "workaround to unbreak the build (deadlock during boot)" into jb-mr1-dev

11 years agoMerge "Quickening." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 04:30:22 +0000 (21:30 -0700)]
Merge "Quickening." into jb-mr1-dev

11 years agoworkaround to unbreak the build (deadlock during boot)
Mathias Agopian [Wed, 17 Oct 2012 04:26:43 +0000 (21:26 -0700)]
workaround to unbreak the build (deadlock during boot)

bug: 7363206
Change-Id: Ie79c309e367ba07336a5299af9fd59c6bd2390e7

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 17 Oct 2012 04:18:46 +0000 (21:18 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 17 Oct 2012 04:11:17 +0000 (21:11 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev

11 years agoFix bug #7363252 Popup and Dialog UI widgets should be RTL aware
Fabrice Di Meglio [Wed, 17 Oct 2012 03:51:12 +0000 (20:51 -0700)]
Fix bug #7363252 Popup and Dialog UI widgets should be RTL aware

- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView
- then remove unecessary API on ListPopupWindow for passing the layout direction

Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3

11 years agoQuickening.
Daniel Sandler [Wed, 17 Oct 2012 01:30:28 +0000 (21:30 -0400)]
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

11 years agoFix bug #7363015 Padding is wrong for first item in a ListPopupWindow
Fabrice Di Meglio [Wed, 17 Oct 2012 02:55:01 +0000 (19:55 -0700)]
Fix bug #7363015 Padding is wrong for first item in a ListPopupWindow

- when adding a View to a ViewGroup reset all RTL properties of the View
to be added instead of only resetting its layout direction

Change-Id: Idfa3acce1700c52e20ebfd4c9c4f4ecb3c1d7520

11 years agoMerge "Long press not working if explore by touch and magnification are on." into...
Svetoslav Ganov [Wed, 17 Oct 2012 02:50:21 +0000 (19:50 -0700)]
Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev

11 years agoMerge "This restores JB MR0 behavior where the framework throws an exception for...
Jim Miller [Wed, 17 Oct 2012 02:22:36 +0000 (19:22 -0700)]
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

11 years agoMerge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 02:05:48 +0000 (19:05 -0700)]
Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev

11 years agoThis restores JB MR0 behavior where the framework throws an exception for improper...
Jim Miller [Wed, 17 Oct 2012 02:01:32 +0000 (19:01 -0700)]
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

11 years agoMerge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev
Craig Mautner [Wed, 17 Oct 2012 01:58:58 +0000 (18:58 -0700)]
Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev

11 years agoAdd API to enable mipmaps on Bitmap
Romain Guy [Wed, 17 Oct 2012 01:44:09 +0000 (18:44 -0700)]
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

11 years agoMore descriptive content description for quick settings toggle.
Casey Burkhardt [Wed, 17 Oct 2012 01:38:22 +0000 (18:38 -0700)]
More descriptive content description for quick settings toggle.
Bug: 7362316
Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf

11 years agoFix issue #7343719: GlobalActions dialog (power off / airplane mode / sound off)
Dianne Hackborn [Wed, 17 Oct 2012 01:34:48 +0000 (18:34 -0700)]
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

11 years agoLong press not working if explore by touch and magnification are on.
Svetoslav Ganov [Wed, 17 Oct 2012 01:17:38 +0000 (18:17 -0700)]
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

11 years agoMerge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into...
Steven Ross [Wed, 17 Oct 2012 00:44:52 +0000 (17:44 -0700)]
Merge "Stopping Face Unlock immediately on detaching from window fixes 7338808" into jb-mr1-dev

11 years agoCorrectly adjust clip regions that lie offscreen
Chet Haase [Wed, 17 Oct 2012 00:36:16 +0000 (17:36 -0700)]
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

11 years agoMerge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
Christopher Tate [Wed, 17 Oct 2012 00:33:55 +0000 (17:33 -0700)]
Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev

11 years agoMerge "Fix missing layout parameters in keyguard." into jb-mr1-dev
Jim Miller [Wed, 17 Oct 2012 00:27:51 +0000 (17:27 -0700)]
Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev

11 years agoMerge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev
Laurent Tu [Wed, 17 Oct 2012 00:27:08 +0000 (17:27 -0700)]
Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev

11 years agoMerge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev
Jeff Brown [Wed, 17 Oct 2012 00:22:39 +0000 (17:22 -0700)]
Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev

11 years agoFix ApplicationInfo copy ctor
Christopher Tate [Wed, 17 Oct 2012 00:14:34 +0000 (17:14 -0700)]
Fix ApplicationInfo copy ctor

Need to copy ALL the fields!

Bug 7360899

Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c

11 years agoFix NPE in quick settings tiles.
Daniel Sandler [Tue, 16 Oct 2012 23:54:02 +0000 (19:54 -0400)]
Fix NPE in quick settings tiles.

Bug: 7360759
Change-Id: I5b000e063baa1b7e2dddaa25be5b9bcdafa1a974

11 years agoBlank all displays including Wifi Display when screen is off.
Jeff Brown [Tue, 16 Oct 2012 23:19:23 +0000 (16:19 -0700)]
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

11 years agoUse parent window to evaluate show-to-all-users.
Craig Mautner [Tue, 16 Oct 2012 22:20:09 +0000 (15:20 -0700)]
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

11 years agoMerge "Fix NPE" into jb-mr1-dev
Irfan Sheriff [Tue, 16 Oct 2012 22:03:26 +0000 (15:03 -0700)]
Merge "Fix NPE" into jb-mr1-dev

11 years agoMerge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev
Raph Levien [Tue, 16 Oct 2012 21:44:17 +0000 (14:44 -0700)]
Merge "Fix for bug 7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev

11 years agoFix for bug 7358703 Gmail ANR when trying to compose a message
Raph Levien [Tue, 16 Oct 2012 21:32:47 +0000 (14:32 -0700)]
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

11 years agoHandle unknown case in LocationManager.getProvider
Laurent Tu [Tue, 16 Oct 2012 21:25:00 +0000 (14:25 -0700)]
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

11 years agoMerge "Occasionally triple tap on the keyboard toggles screen magnification." into...
Svetoslav Ganov [Tue, 16 Oct 2012 21:20:45 +0000 (14:20 -0700)]
Merge "Occasionally triple tap on the keyboard toggles screen magnification." into jb-mr1-dev

11 years agoFix missing layout parameters in keyguard.
Jim Miller [Tue, 16 Oct 2012 05:11:52 +0000 (22:11 -0700)]
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

11 years agoMerge "Avoid redundant wallpaper loading/drawing" into jb-mr1-dev
Chet Haase [Tue, 16 Oct 2012 20:51:23 +0000 (13:51 -0700)]
Merge "Avoid redundant wallpaper loading/drawing" into jb-mr1-dev

11 years agoMerge "Always use the correct pixel store size Bug #7357394" into jb-mr1-dev
Romain Guy [Tue, 16 Oct 2012 20:49:52 +0000 (13:49 -0700)]
Merge "Always use the correct pixel store size Bug #7357394" into jb-mr1-dev

11 years agoMerge "Support clipping in Canvas.drawBitmapMesh() Bug #7354162" into jb-mr1-dev
Romain Guy [Tue, 16 Oct 2012 20:49:50 +0000 (13:49 -0700)]
Merge "Support clipping in Canvas.drawBitmapMesh() Bug #7354162" into jb-mr1-dev

11 years agoMerge "Perform all layouts within first loop." into jb-mr1-dev
Craig Mautner [Tue, 16 Oct 2012 20:46:45 +0000 (13:46 -0700)]
Merge "Perform all layouts within first loop." into jb-mr1-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 16 Oct 2012 20:39:48 +0000 (13:39 -0700)]
Import translations. DO NOT MERGE

Change-Id: I7c26f20a77ec622563c5dcdad7a96c347005a789
Auto-generated-cl: translation import

11 years agoMerge "Revert app freeze timeout delay." into jb-mr1-dev
Craig Mautner [Tue, 16 Oct 2012 20:39:47 +0000 (13:39 -0700)]
Merge "Revert app freeze timeout delay." into jb-mr1-dev

11 years agoMerge "Lock SyncQueue when user starting, copy RSC list." into jb-mr1-dev
Jeff Sharkey [Tue, 16 Oct 2012 20:32:27 +0000 (13:32 -0700)]
Merge "Lock SyncQueue when user starting, copy RSC list." into jb-mr1-dev

11 years agoLock SyncQueue when user starting, copy RSC list.
Jeff Sharkey [Tue, 16 Oct 2012 19:02:42 +0000 (12:02 -0700)]
Lock SyncQueue when user starting, copy RSC list.

Document SyncQueue locking policy and protect in onUserStarting()
and clearAllBackoffs().  Return copy of ServiceInfo list from
RegisteredServicesCache instead of exposing locking externally.

Bug: 73577767352537
Change-Id: I6a32ca98a355b639d4207a88bde572179beae359

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 16 Oct 2012 20:25:15 +0000 (13:25 -0700)]
Import translations. DO NOT MERGE

Change-Id: Id817c53af8178179b7b2a434d45f0f87457b042c
Auto-generated-cl: translation import

11 years agoMerge "Convert one more bind() -> setVar()." into jb-mr1-dev
Jason Sams [Tue, 16 Oct 2012 20:25:01 +0000 (13:25 -0700)]
Merge "Convert one more bind() -> setVar()." into jb-mr1-dev

11 years agoFix NPE
Irfan Sheriff [Tue, 16 Oct 2012 20:24:19 +0000 (13:24 -0700)]
Fix NPE

Bug: 7357742
Change-Id: I4d12d137b9d5ebf5c6739cbd4405de3f90a3d846

11 years agoMerge "Fix bug #7345139: The First Volume Down Click looses its place on the volume...
Fabrice Di Meglio [Tue, 16 Oct 2012 20:23:36 +0000 (13:23 -0700)]
Merge "Fix bug #7345139: The First Volume Down Click looses its place on the volume slider" into jb-mr1-dev

11 years agoAvoid redundant wallpaper loading/drawing
Chet Haase [Thu, 11 Oct 2012 19:49:08 +0000 (12:49 -0700)]
Avoid redundant wallpaper loading/drawing

Switching users causes wallpapers to get recreated 3 times. Other operations
like startup and rotation cause similar redundant load/draw operations. This change
tracks the various attributes that tell us when we really need to reload
and redraw, causing only one of these expensive operation per one of these
switches.

Issue #7334664 Wallpaper draws several times when switching users

Change-Id: Ic3072ef3a7eaf622d8632e87e34f50999f716c39

11 years agoConvert one more bind() -> setVar().
Stephen Hines [Tue, 16 Oct 2012 20:16:10 +0000 (13:16 -0700)]
Convert one more bind() -> setVar().

Bug: 7318821
Change-Id: I215c70a99c81e560a73412b2263fed39a0fdae03

11 years agoMerge "Add serial port profile support and allow to connect to rfcomm channel without...
Matthew Xie [Tue, 16 Oct 2012 19:57:52 +0000 (12:57 -0700)]
Merge "Add serial port profile support and allow to connect to rfcomm channel without sdp discovery" into jb-mr1-dev

11 years agoPerform all layouts within first loop.
Craig Mautner [Tue, 16 Oct 2012 19:53:13 +0000 (12:53 -0700)]
Perform all layouts within first loop.

Do not begin animation while layout requests are still
outstanding.

Bug: 7333622 fixed.
Change-Id: I77c2cdc123c1e26f9661feade0d9a1843c75d5f6