Commit Graph

86447 Commits

Author SHA1 Message Date
John Spurlock
de99afcfdf am ec9b13dc: Merge "Disable quick settings for users until USER_SETUP_COMPLETE." into jb-mr1-dev
* commit 'ec9b13dc489ee3d92d985336b500afafadee0cd8':
  Disable quick settings for users until USER_SETUP_COMPLETE.
2012-10-02 14:17:03 -07:00
John Spurlock
ec9b13dc48 Merge "Disable quick settings for users until USER_SETUP_COMPLETE." into jb-mr1-dev 2012-10-02 14:15:23 -07:00
Jim Miller
fbf1d17004 am c6e570db: Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev
* commit 'c6e570dbadc3689bc80c0516492a3209d5f6742b':
  Fix camera disambiguation in secure keyguard
2012-10-02 14:00:28 -07:00
Jeff Sharkey
f63ca02f9f am c12dd973: Merge "Migrate more System and Secure settings to Global." into jb-mr1-dev
* commit 'c12dd973724f5aab44814b31650b4b47314e952b':
  Migrate more System and Secure settings to Global.
2012-10-02 14:00:24 -07:00
Chris Wren
eb3a02da03 am 6ac833c9: Merge "re-use status bar DateView in QuickSettings." into jb-mr1-dev
* commit '6ac833c9e3ccdf586c24ccf18560d5e223ba0734':
  re-use status bar DateView in QuickSettings.
2012-10-02 14:00:21 -07:00
Jim Miller
c6e570dbad Merge "Fix camera disambiguation in secure keyguard" into jb-mr1-dev 2012-10-02 13:58:01 -07:00
Jeff Sharkey
c12dd97372 Merge "Migrate more System and Secure settings to Global." into jb-mr1-dev 2012-10-02 13:57:30 -07:00
Chris Wren
6ac833c9e3 Merge "re-use status bar DateView in QuickSettings." into jb-mr1-dev 2012-10-02 13:57:30 -07:00
Jeff Sharkey
6e2bee75ce Migrate more System and Secure settings to Global.
Includes telephony, WindowManager, PackageManager, and debugging
settings.  Update API to point towards moved values.

Bug: 7231764, 7231252, 7231156
Change-Id: I5828747205708872f19f83a5bc821ed0a801cb79
2012-10-02 13:55:15 -07:00
Michael Jurka
94424ad3ed am fb4a113a: Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev
* commit 'fb4a113a29f432b69b5ec9e3cc3143674c67ffac':
  Fix jump cut when dismissing items in Recents
2012-10-02 13:53:02 -07:00
Michael Jurka
fb4a113a29 Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev 2012-10-02 13:49:57 -07:00
John Spurlock
919adac28b Disable quick settings for users until USER_SETUP_COMPLETE.
If the current user has not yet made it through the setup wizard,
disable the quick settings panel entirely.

Use Settings.Secure.USER_SETUP_COMPLETE as the signal.  This is a
per-user setting, so be careful to observe only on the current user's
behalf.

Bug:6712493
Change-Id: I3076a8a550165a9eeccf7fb129d470ef4ddeaed4
2012-10-02 16:48:24 -04:00
Svetoslav Ganov
cc72317334 am 0944d625: Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev
* commit '0944d625448209185452eb4e800daec49de51986':
  Touch explorer and magnifier do not work well together.
2012-10-02 13:17:09 -07:00
Svetoslav Ganov
0944d62544 Merge "Touch explorer and magnifier do not work well together." into jb-mr1-dev 2012-10-02 13:14:06 -07:00
Raph Levien
ad3cc4bb5e am 217ca3b0: Merge "Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry..." into jb-mr1-dev
* commit '217ca3b0d310472e4df1aa4af72769d7c7a5becb':
  Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry...
2012-10-02 13:04:52 -07:00
Raph Levien
217ca3b0d3 Merge "Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry..." into jb-mr1-dev 2012-10-02 13:02:31 -07:00
Raph Levien
832815cb53 Fix for bug 7234184 F/TextLayoutCache: Failed to put an entry...
This bug was triggered by user code concurrently mutating the character
array while calling into a drawText method in another thread. When the
value of the array changed, it caused inconsistent state, leading to
assert failures.

This is arguably bad behavior by the user code, but it shouldn't cause a
native crash. The fix is to do a defensive copy of the text into the
key, so the value is guaranteed to remain constant throughout the text
layout process. The change is mostly deletion of code, because there was
an optimization to try to avoid such a copy. That optimization was not
actually effective, however, because the indexOfKey() operation in the
KeyedVector underlying the TextLayoutCache did the copy anyway. Thus,
even though this change looks like it's introducing a copy where there
wasn't one before, the actual performance impact should be nil.

Note that the ability to handle a mutating argument is now part of the
contract for TextLayoutEngine::getValue(), and is now documented. That
contract may change, as the result of future optimization. Also, care
was taken to only use the value after the copy.

Other performance issues with TextLayoutCache are tracked in bug
7271109.

Change-Id: I9c90e8e4d501f3f37e2f22a7851f032808d46fbe
2012-10-02 12:32:40 -07:00
Michael Jurka
5ead8e2ede am f175525b: Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev
* commit 'f175525be4107649581259d04711f9ead905d447':
  Fix bug 7138446: Icon blips in during Recents animation
2012-10-02 12:31:07 -07:00
Michael Jurka
841594b2db Fix jump cut when dismissing items in Recents
(fixing horizontal scroll view in this CL... whoops).

Bug: 7070897
Change-Id: I3a63799ce7f3d9a50869755ee3289e641fa82fa4
2012-10-02 21:30:35 +02:00
Michael Jurka
f175525be4 Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev 2012-10-02 12:28:38 -07:00
Michael Jurka
c10124ed4c am 141efcb5: Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev
* commit '141efcb5b633f76056260f6763652270931853f3':
  Fix jump cut when dismissing items in Recents
2012-10-02 12:24:16 -07:00
Michael Jurka
141efcb5b6 Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev 2012-10-02 12:22:13 -07:00
Michael Jurka
9bdaada95c Fix bug 7138446: Icon blips in during Recents animation
Add animation where icon and description of the
primary activity fades and translates in

Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697
2012-10-02 21:18:26 +02:00
Svetoslav Ganov
87779f63c7 am 87d7d946: Merge "Accessibility focus should not scroll automatically." into jb-mr1-dev
* commit '87d7d94673512c9572fa62c2842ce20bc87bf8b9':
  Accessibility focus should not scroll automatically.
2012-10-02 12:08:45 -07:00
Svetoslav Ganov
87d7d94673 Merge "Accessibility focus should not scroll automatically." into jb-mr1-dev 2012-10-02 12:05:49 -07:00
Svetoslav Ganov
45af84a483 Touch explorer and magnifier do not work well together.
1. If tocuh exploration and screen magnification are enabled and the screen
   is currently magnified, gesture detection does not work well. The reason
   is because we are transforming the events if the screen is magnified before
   passing them to the touch explorer to compensate for the magnification so
   the user can poke what he thinks he pokes. However, when doing gesture
   detection/velocity computing this compensating shrinks the gestured shape/
   decreases velocity leading to poor gesture reco/incorrect velocity.

   This change adds a onRawMotionEvent method in the event transformation chain
   which will process the raw touch events. In this method of the touch explorer
   we are passing events to the gesture recognized and the velocity tracker.

2. Velocity tracker was not cleared on transitions out of touch exploring state
   which is the only one that uses velocity.

bug:7266617

Change-Id: I7887fe5f3c3bb6cfa203b7866a145c7341098a02
2012-10-02 12:02:05 -07:00
Chris Wren
9c022dff03 re-use status bar DateView in QuickSettings.
Bug: 7221083
Change-Id: Ic1cb7118d8e5f83a8e5e1101a609791a1e0fbab1
2012-10-02 14:48:42 -04:00
Adam Cohen
c546c40da8 am bebefaac: Merge "Fixing up keyguard widget pager layouts" into jb-mr1-dev
* commit 'bebefaac17801a375244fca0ae856f4c2f56f702':
  Fixing up keyguard widget pager layouts
2012-10-02 11:31:24 -07:00
Svetoslav Ganov
a85236e510 Accessibility focus should not scroll automatically.
1. We use auto scroll when a view gets accessibility focus.
   Pros: Having magnification and TalkBack enabled together (not a common use case)
         will have the accessibility focused view on the screen (it is auto panned).
   Cons: A blind user can get stuck in a very lock scroll view - not good.

2. We do not auto scroll when a view gets accessibility focus.
   Pros: A blind user cannot get stuck in a long scroll view as he has to explicitly
         scroll.
   Cons: The magnified area will not pan to ensure the accessibility focused view
         is visible.

Option one is the better trade off and this change removes the auto scrolling.

bug:7265773

Change-Id: I209b54ed18acad36c1f35b4c09b980e45ec9bbff
2012-10-02 11:31:18 -07:00
Adam Cohen
bebefaac17 Merge "Fixing up keyguard widget pager layouts" into jb-mr1-dev 2012-10-02 11:29:14 -07:00
Daniel Sandler
ba860e6419 am b531c81c: Merge "Introduce ACTION_QUICK_CLOCK for the QS time tile." into jb-mr1-dev
* commit 'b531c81cdb262bfb75d1637c12ef22f06fbd4968':
  Introduce ACTION_QUICK_CLOCK for the QS time tile.
2012-10-02 10:58:08 -07:00
Daniel Sandler
b531c81cdb Merge "Introduce ACTION_QUICK_CLOCK for the QS time tile." into jb-mr1-dev 2012-10-02 10:53:12 -07:00
Daniel Sandler
5411ed197c am 6aa06b96: Merge "Fix notifications dismiss button." into jb-mr1-dev
* commit '6aa06b969f92a93c1c4c7ce883d6746824a198fc':
  Fix notifications dismiss button.
2012-10-02 10:53:06 -07:00
Daniel Sandler
6aa06b969f Merge "Fix notifications dismiss button." into jb-mr1-dev 2012-10-02 10:49:36 -07:00
Eric Laurent
aade5d14da am 57e62034: Merge "enable safe media volume according to country" into jb-mr1-dev
* commit '57e6203457cedbc6f4bf8a45635862a3eb717e9f':
  enable safe media volume according to country
2012-10-02 10:00:45 -07:00
Eric Laurent
57e6203457 Merge "enable safe media volume according to country" into jb-mr1-dev 2012-10-02 09:58:03 -07:00
Dianne Hackborn
7981909339 am 11d8481f: Merge "Fix framework side of #7132432 com.android.vending:..." into jb-mr1-dev
* commit '11d8481f10a12caef0cfd9be7fe86e61d953d58f':
  Fix framework side of #7132432 com.android.vending:...
2012-10-02 09:26:34 -07:00
Dianne Hackborn
11d8481f10 Merge "Fix framework side of #7132432 com.android.vending:..." into jb-mr1-dev 2012-10-02 09:22:12 -07:00
Eric Laurent
d640bd325c enable safe media volume according to country
Enable safe headphone volume feature for all countries that
do not opt otherwise in their mmc configuration.
Opt out for US.

Bug 7231029.

Change-Id: I2619d627508eb2cd1f73db9242e0cb5efa839a2a
2012-10-02 08:46:26 -07:00
Chris Wren
c03d65bba7 am 0f9deb3c: Merge "renaming Sleep Mode feature." into jb-mr1-dev
* commit '0f9deb3c1ab2c09ea59e5c53bfbb4fab9d9fa7e4':
  renaming Sleep Mode feature.
2012-10-02 08:42:12 -07:00
Chris Wren
0f9deb3c1a Merge "renaming Sleep Mode feature." into jb-mr1-dev 2012-10-02 08:40:03 -07:00
John Spurlock
81f8927884 am bd27ea2e: Merge "Update javadocs for DreamService." into jb-mr1-dev
* commit 'bd27ea2e125efd57676d34b4d6f24445f139c2e7':
  Update javadocs for DreamService.
2012-10-02 07:58:32 -07:00
John Spurlock
bd27ea2e12 Merge "Update javadocs for DreamService." into jb-mr1-dev 2012-10-02 07:56:06 -07:00
Irfan Sheriff
06182b6158 am 56925d65: Always update peer list in display controller
* commit '56925d65fde7f1ac8676ada6f91d0e604645c0a5':
  Always update peer list in display controller
2012-10-02 07:55:53 -07:00
Chris Wren
a64544748d renaming Sleep Mode feature.
Bug: 7267485
Change-Id: If54495436f0df1c0bf90f9bb77b043e40884bbd7
2012-10-02 10:40:57 -04:00
Daniel Sandler
60a835101f Fix notifications dismiss button.
The handle (which is now being drawn by the window and not by itself)
was floating over it.

Bug: 7267529
Change-Id: Ia8902f64ac81616c640bc42400272933063852f4
2012-10-02 10:39:09 -04:00
Michael Jurka
9a0890c109 Fix jump cut when dismissing items in Recents
Bug: 7070897
2012-10-02 14:42:53 +02:00
Svetoslav Ganov
ef89d33f5b am 30ed33b1: Merge "Owner should not be announces as a user switch." into jb-mr1-dev
* commit '30ed33b141dd1add916466c193b6735cd0bf8315':
  Owner should not be announces as a user switch.
2012-10-01 23:33:27 -07:00
Svetoslav Ganov
a640417078 am 0a551d6b: Merge "Upading the strings for the global accessibility enabling gesture." into jb-mr1-dev
* commit '0a551d6b36ace1388bea572be1a5b7c53c506a51':
  Upading the strings for the global accessibility enabling gesture.
2012-10-01 23:33:18 -07:00
Svetoslav Ganov
52f3c3eb89 am 5b7b999a: Merge "Hiding appropriate nodes for accessibility in recents. Bug: 6855305 Change-Id: I2c9fac2cfc777f912ff78283bbe6b3a9666f17c6" into jb-mr1-dev
* commit '5b7b999a1cd013be1a5e560c421bc21b60743373':
  Hiding appropriate nodes for accessibility in recents. Bug: 6855305 Change-Id: I2c9fac2cfc777f912ff78283bbe6b3a9666f17c6
2012-10-01 23:33:14 -07:00