85536 Commits

Author SHA1 Message Date
Baligh Uddin
f97262bf3e Revert "Import translations. DO NOT MERGE"
This reverts commit 4736039f3347675796a4d7e589584da3d1af275e

Change-Id: Ie271f9a3872578cea458389a5ba7ccaf93beff29
2012-10-03 09:28:27 -07:00
Baligh Uddin
4736039f33 Import translations. DO NOT MERGE
Change-Id: I40d09593fab0006cbe483fae9267ca93148a215b
Auto-generated-cl: translation import
2012-10-02 14:56:03 -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
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
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
87d7d94673 Merge "Accessibility focus should not scroll automatically." into jb-mr1-dev 2012-10-02 12:05:49 -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
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
6aa06b969f Merge "Fix notifications dismiss button." into jb-mr1-dev 2012-10-02 10:49:36 -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
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
0f9deb3c1a Merge "renaming Sleep Mode feature." into jb-mr1-dev 2012-10-02 08:40:03 -07:00
John Spurlock
bd27ea2e12 Merge "Update javadocs for DreamService." into jb-mr1-dev 2012-10-02 07:56:06 -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
Irfan Sheriff
56925d65fd Always update peer list in display controller
Display controller should always stay in sync with peer list to avoid
showing incorrect available status on peers which would
cause connectivity issues.

Bug: 7268307
Change-Id: If04644339c1ee3f567939e4441dd6f6a45e4179a
2012-10-01 23:01:57 -07:00
Adam Cohen
7ffa8c08f3 Fixing up keyguard widget pager layouts
-> Related to issue 7232481 and issue 7261844

Change-Id: Ib3c15ed78d3473036820bb3061dcd1cd34a2bfc4
2012-10-01 21:51:18 -07:00
Svetoslav Ganov
30ed33b141 Merge "Owner should not be announces as a user switch." into jb-mr1-dev 2012-10-01 21:19:11 -07:00
Svetoslav Ganov
0a551d6b36 Merge "Upading the strings for the global accessibility enabling gesture." into jb-mr1-dev 2012-10-01 21:19:11 -07:00
Svetoslav Ganov
5b7b999a1c Merge "Hiding appropriate nodes for accessibility in recents. Bug: 6855305 Change-Id: I2c9fac2cfc777f912ff78283bbe6b3a9666f17c6" into jb-mr1-dev 2012-10-01 21:16:49 -07:00
Svetoslav Ganov
59f07690c2 Owner should not be announces as a user switch.
1. The accessibility layer announces user switches. Even though
   the initial switch to the owner on a singe user device is a
   valid use switch we should not announce it for accessibility.

bug:7264693

Change-Id: Idf022fab6b74c84b7a96bc4ed7c7fee2b83029a6
2012-10-01 19:22:43 -07:00
Adam Cohen
0207c0992c Fixing a coupld lockscreen bugs
-> Showing correct page, as per discussions (issue 7205431)
-> Hide the time when the system status widget is showsing (issue 7216577)

Change-Id: I5b79d72e8fd8226952f6a8ea99b776feb4ddde1f
2012-10-01 19:13:56 -07:00
Svetoslav Ganov
9a455fbe71 Upading the strings for the global accessibility enabling gesture.
bug:7255486

Change-Id: I10b0e5a97518bbb442656c142bf2c822f897331b
2012-10-01 18:45:21 -07:00
Dianne Hackborn
689586d067 Fix framework side of #7132432 com.android.vending:...
...java.lang.IllegalStateException: Can not perform this action
after onSaveInstanceStateat android.support.v4.app.FragmentManagerImpl
.checkStateLoss(FragmentManager.java:1300)

Framework fragment manager also needs to be told its state is not
saved earlier.

Change-Id: Ie5bb327fca6208f7eea6146a1b3223c61c9ecef6
2012-10-01 18:23:04 -07:00
Jim Miller
b35000f3f4 Merge "Attempt to fix missing lock sounds" into jb-mr1-dev 2012-10-01 18:17:39 -07:00
Jim Miller
b14288d4b1 Attempt to fix missing lock sounds
bug 7254629

Change-Id: I65eee674fe014a0e84d5ec20ead81abdec38f890
2012-10-01 18:14:41 -07:00
Casey Burkhardt
2868059d93 Hiding appropriate nodes for accessibility in recents.
Bug: 6855305
Change-Id: I2c9fac2cfc777f912ff78283bbe6b3a9666f17c6
2012-10-01 17:57:16 -07:00
Victoria Lease
3750db176a Merge "Route GPS notifications to all users." into jb-mr1-dev 2012-10-01 17:46:27 -07:00
Dianne Hackborn
6f354ed999 Merge "Fix issue #7226101: Secure image capture takes 5 seconds to start" into jb-mr1-dev 2012-10-01 17:46:27 -07:00
Jeff Brown
046cff13fc Merge "Fix CTS test failures." into jb-mr1-dev 2012-10-01 17:41:53 -07:00
Jeff Brown
9ba8d78186 Fix CTS test failures.
Bug: 7001730
Change-Id: I5649b601c310458de5d64b549a407e251d745b7c
2012-10-01 17:34:07 -07:00
Baligh Uddin
9f5ed35d8a Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-01 17:30:34 -07:00
Ian Rogers
bfa10630c8 Merge "Fix target utilization property_get." into jb-mr1-dev 2012-10-01 17:25:55 -07:00
Fabrice Di Meglio
2b77c102d2 Merge "Fix bug #7132595 Settings - UI mirroring for RTL locales (Arabic, Hebrew, farsi)" into jb-mr1-dev 2012-10-01 16:52:37 -07:00
Jeff Brown
f16b6256eb Merge "Allow "factory.long_press_power_off" to be toggled at runtime." into jb-mr1-dev 2012-10-01 16:52:37 -07:00
Svetoslav Ganov
d8357ceec0 Merge "Sets accessibility importance for the home/up button. Bug: 7196985 Change-Id: I4d27470eccb8933f751db892218a8032a80df3da" into jb-mr1-dev 2012-10-01 16:40:18 -07:00
Craig Mautner
b97d8764a0 Merge "Switch from uevent model to /dev/input/event." into jb-mr1-dev 2012-10-01 16:38:46 -07:00
Dianne Hackborn
cc5a055613 Fix issue #7226101: Secure image capture takes 5 seconds to start
Mostly (turned off) debug output.  Main fix is to resume the next
activity if we are pausing while sleeping and the top activity is
not the now pausing activity.  Also helped things by fixing a problem
where removing a task would leave around dead destroy timeout
messages.

Change-Id: I9d550c216b4d7e2afe3d93553bb680cec41e2ed1
2012-10-01 16:32:39 -07:00
Fabrice Di Meglio
efe9b48354 Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev 2012-10-01 16:04:40 -07:00
Casey Burkhardt
4aeb961de2 Sets accessibility importance for the home/up button.
Bug: 7196985
Change-Id: I4d27470eccb8933f751db892218a8032a80df3da
2012-10-01 15:57:17 -07:00
Adam Powell
075bb6b3df Merge "DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout" into jb-mr1-dev 2012-10-01 15:53:49 -07:00
Fabrice Di Meglio
6e6d78116b Fix bug #7259242 text is left justified with no padding
(padding is still hard)

- fix Toasts: basically the background drawable padding was not
taken into account

Change-Id: Iefd29782f50b6f6a56578cfeb2af119d381207f0
2012-10-01 15:53:01 -07:00
Scott Main
7fde078e06 am e9d5d627: am 94b94fc5: am 32a1d2db: dashboard update for 10/1
* commit 'e9d5d6271eeaef696891740ab830fbf7e7df6681':
  dashboard update for 10/1
2012-10-01 15:52:09 -07:00
Scott Main
e9d5d6271e am 94b94fc5: am 32a1d2db: dashboard update for 10/1
* commit '94b94fc5b35f3e55574ce8b12b65e46f0144d743':
  dashboard update for 10/1
2012-10-01 15:49:15 -07:00
Scott Main
94b94fc5b3 am 32a1d2db: dashboard update for 10/1
* commit '32a1d2dbf9e396ae77bc621ec583c92b6774ed32':
  dashboard update for 10/1
2012-10-01 15:46:20 -07:00