33344 Commits

Author SHA1 Message Date
Svetoslav Ganov
f44fb4de5d Merge "AnnounceForAccessibility is broken for any view that has a ContentDescription." 2012-07-03 11:29:28 -07:00
Glenn Kasten
845b4712f0 Use audio_channel_mask_t more consistently
In AudioRecord::getMinFrameCount() and AudioSystem::getInputBufferSize(),
input parameter is channel mask instead of channel count.

Change-Id: I22a1c492113f3e689173c5ab97b2567cff3abe2b
2012-07-03 08:40:46 -07:00
Scott Main
c8d5f7d607 am 35cb0650: am 399df567: docs: various link fixes and other typos from external tracker
* commit '35cb0650c07f0f3df017784bd3cf724c743f7399':
  docs: various link fixes and other typos from external tracker
2012-07-02 22:04:14 -07:00
Scott Main
35cb0650c0 am 399df567: docs: various link fixes and other typos from external tracker
* commit '399df5677bd116a016664a10a0da432da29e829d':
  docs: various link fixes and other typos from external tracker
2012-07-02 22:00:50 -07:00
Scott Main
15279cfc56 docs: fix document issue 27549
Change-Id: I17995fd70978657a46ccfc77fa2ae84c56a05255
2012-07-02 21:58:46 -07:00
Scott Main
399df5677b docs: various link fixes and other typos from external tracker
Change-Id: I2a107f7e16429c0fe80c5e4cb67ecfaf267db301
2012-07-02 21:47:20 -07:00
Svetoslav Ganov
7a82b2be06 AnnounceForAccessibility is broken for any view that has a ContentDescription.
1. The purpose of the View#announceForAccessibility method is to
   give a message to the user that is not related to a predefined
   view state change. The current implementation is grabbing the
   source view's content description which in general overrides
   the event text which defeats the purpose of the announcement.

bug:6721440

Change-Id: I8814914bea38c5f4c04f57391a64cf2bb06cb975
2012-07-02 18:42:53 -07:00
Svetoslav Ganov
27e2da7c17 Remove the accessibility focus search code.
1. In JellyBean we have added some APIs to search for next accessibility
   focus in various directions and set accessibility focus from hover.
   However, we have decided that there is not clean answer for how this
   should behave and the APIs were hidden. Now the accessibility service
  is responsible for that. The unused code is now taken out.

2. This patch also takes out the hidden attribute accessibiligyFocusable
   since we moved the responsibility for implementing focus search strategy
   to accessibility services and we did not need that for Jellybean which
   is a good sign that this is not needed. I general this is one less thing
   for an app developer to worry about. We can add this if needed later.

bug:6773816

Change-Id: I0c858d72c93a2b7ff1f8f35a08d33ec4b9eb85fd
2012-07-02 18:21:31 -07:00
Jonathan Dixon
a64c779cdb Merge "Make WebHistoryItem constructor public and hidden" 2012-07-02 15:53:28 -07:00
Jean-Baptiste Queru
e39d42db00 Merge "Revert "DO NOT MERGE: Remove SMS shortcode warning feature."" into jb-dev-plus-aosp 2012-07-02 14:48:48 -07:00
Jean-Baptiste Queru
5709f43dd8 Merge "Revert "DO NOT MERGE: Remove SMS shortcode warning feature."" into jb-dev-plus-aosp 2012-07-02 14:48:44 -07:00
Jean-Baptiste Queru
2a2d5e0b31 Merge "When we disconnect shutdown the StateMachine. DO NOT MERGE" into jb-dev-plus-aosp 2012-07-02 14:48:28 -07:00
Jean-Baptiste Queru
1fe7a81383 Merge "Enhance StateMachine Quitting and logging support. DO NOT MERGE" into jb-dev-plus-aosp 2012-07-02 14:48:19 -07:00
Gilles Debunne
884eb4b884 Merge "Better handling of spaces at ends of lines in StaticLayout." 2012-07-02 14:41:57 -07:00
Gilles Debunne
58cf576243 Merge "UI changes in suggestion menu" 2012-07-02 14:40:50 -07:00
Eric Fischer
82b141e267 am c70ec659: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit 'c70ec659e8f63b31e11f5f0a82c638261d67056e':
  Import translations. DO NOT MERGE
2012-07-02 14:09:49 -07:00
Jean-Baptiste Queru
7ebd4bae74 Revert "DO NOT MERGE: Remove SMS shortcode warning feature."
This reverts commit 004ff5ad2aa02daff607bcf1712f3efbb84c58ca.
2012-07-02 12:36:47 -07:00
Eric Fischer
1edff6c853 Import translations. DO NOT MERGE
Change-Id: Ib290a3fcb0f12e6c4f784dde2ebab0b73e8c92fd
Auto-generated-cl: translation import
2012-07-02 12:32:44 -07:00
Jean-Baptiste Queru
a02bce1d5b Revert "DO NOT MERGE: Remove SMS shortcode warning feature."
This reverts commit b1fc08ca082db8ecad54c792485ff7915e3513ce.
2012-07-02 12:30:32 -07:00
Eric Fischer
a2b17b8895 Import translations. DO NOT MERGE
Change-Id: I5eae952127a0af6618ab96065cd50d78bbaea189
Auto-generated-cl: translation import
2012-07-02 12:25:39 -07:00
Wink Saville
2686b058cd When we disconnect shutdown the StateMachine. DO NOT MERGE
Need to stop the StateMachine threads and release
all resources when we disconnect.

bug: 6342470
Change-Id: Ibf7a2ebf4f7ecd667c5d95579e66ecd5086103ea
2012-07-02 10:57:16 -07:00
Wink Saville
095c58b73a Enhance StateMachine Quitting and logging support. DO NOT MERGE
Make StateMachine#quit non-conditional and remove the need to
process the SM_QUIT_CMD it is now private.

Rename halting to onHalting.

Add onQuitting

Change the message specific logging to be more generic and change
the xxxProcessedMessagesYyy methods to xxxLogRecXyy names. Also add
addLogRec(String) and addLogRec(String, State) as the generic logging
methods.

bug: 5678189
Change-Id: I22f66d11828bfd70498db625fe1be728b90478b7

Conflicts:

	services/java/com/android/server/NsdService.java
2012-07-02 10:57:11 -07:00
Craig Mautner
5702d4dfb5 Notify client side of window movement.
Add a one way method to notify Views that the window has moved
on the screen. Fixes issues arising from the IME popping up and
translating the window that uses it. Accessibility was left unaware
of these movements and was drawing the box around the wrong widgets.
Similarly PopupWindow used getLocationOnScreen to determine how
much screen real estate was above and below the anchor point to
determine where to put an anchored window.

Fixes bug 6623031.

Change-Id: I4731a94d5424c1ec77bf1729fba8fc9ea34cae46
2012-06-30 14:10:16 -07:00
Jim Miller
a592d22473 Minor cleanup of left overs from GlowPadView integration.
- remove unused "chevron" assets
- reduce memory footprint in SystemUI by not loading unused handle drawable.

Change-Id: Iad1799d1a8a764c6abb4201520aa47ba84d33c38
2012-06-29 18:29:08 -07:00
Ying Wang
6979f52208 am 2612de14: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '2612de14d2dcfd5a6eedf882cf5cd9ac3e6fb73a':
  Import translations. DO NOT MERGE
2012-06-29 17:53:20 -07:00
Ying Wang
a3fbe753e4 Merge "Import translations. DO NOT MERGE" 2012-06-29 17:50:58 -07:00
Ying Wang
2612de14d2 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-06-29 17:50:47 -07:00
Dianne Hackborn
c32e190ea6 resolved conflicts for merge of a9c38461 to master
Change-Id: Ie7044c4f9f15384c3edd328fa8e2932c731d9d5c
2012-06-29 16:23:49 -07:00
Dianne Hackborn
a9c3846194 am bfb752f8: Merge "Fix issue #6761130: Clearing app data in settings does not clear app\'s USB storage" into jb-dev
* commit 'bfb752f8f0e4d73dc251c19d2ef79649fbbe4fd1':
  Fix issue #6761130: Clearing app data in settings does not clear app's USB storage
2012-06-29 15:43:37 -07:00
Dianne Hackborn
bfb752f8f0 Merge "Fix issue #6761130: Clearing app data in settings does not clear app's USB storage" into jb-dev 2012-06-29 15:40:18 -07:00
Dianne Hackborn
183ce028f1 Fix issue #6761130: Clearing app data in settings does not clear app's USB storage
The package manager calls to clear data / clear cache were not also
having default container service clear the data on external storage.  Now
they do.

Change-Id: Ib5e5eb6adf2cac5a4cc094cc1a02ac8cfb6a2edf
2012-06-29 15:00:21 -07:00
Michael Jurka
4efade8a85 Merge "Removing setChildrenLayersEnabled" 2012-06-29 12:57:26 -07:00
Christopher Tate
b2d8f3f747 am b69c77cd: am 1598a508: Merge "Do not back up / restore the rotation-related settings" into jb-dev
* commit 'b69c77cd194ccbe24a8b1e5d8457b44d150f9a96':
  Do not back up / restore the rotation-related settings
2012-06-29 12:45:57 -07:00
Christopher Tate
b69c77cd19 am 1598a508: Merge "Do not back up / restore the rotation-related settings" into jb-dev
* commit '1598a50818b638d20120f71bab01c1792ecd4b6a':
  Do not back up / restore the rotation-related settings
2012-06-29 12:42:52 -07:00
Christopher Tate
1598a50818 Merge "Do not back up / restore the rotation-related settings" into jb-dev 2012-06-29 12:40:34 -07:00
Christopher Tate
596e1917d5 Do not back up / restore the rotation-related settings
Change-Id: I4c5f8c31fa78acc1dfa2676e89b2c1c7bbd12a06
2012-06-29 11:55:02 -07:00
Ying Wang
dca6edc53d Import translations. DO NOT MERGE
Change-Id: I2277cb3516142cf5715c55c27a6497fac21fc1b2
Auto-generated-cl: translation import
2012-06-29 11:48:50 -07:00
Ying Wang
c01ba1cd72 Import translations. DO NOT MERGE
Change-Id: Iaf052543d1c7cd9afb6fe415df2ad72c5de94ea8
Auto-generated-cl: translation import
2012-06-29 11:40:36 -07:00
Michael Jurka
ba64974141 Removing setChildrenLayersEnabled
Change-Id: I88d8228eadb59160648f2c4e131fcd85945f2109
2012-06-28 19:15:20 -07:00
Dianne Hackborn
acc3da02e8 am 4be93bbe: am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev
* commit '4be93bbe911c1a4471f81f0e261e9b13d9212c36':
  Maybe fix issue #6756472: Share button is not defocusing the shade
2012-06-28 17:45:40 -07:00
Dianne Hackborn
4be93bbe91 am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev
* commit '074b54fbc0b6254c0ba308e0cf2e86c1cc929348':
  Maybe fix issue #6756472: Share button is not defocusing the shade
2012-06-28 17:42:23 -07:00
Dianne Hackborn
a194021650 Maybe fix issue #6756472: Share button is not defocusing the shade
I got this reproduce a few times, then wasn't able to.  I made this
change and then couldn't reproduce it.  Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class.  This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
2012-06-28 16:34:35 -07:00
Mike Cleron
667ca82189 am 9454e298: am 98fd6405: Merge "Fix NPEs when using the APIs a little oddly." into jb-dev
* commit '9454e29896e22268416082c99931d13a37b7c71e':
  Fix NPEs when using the APIs a little oddly.
2012-06-28 14:24:20 -07:00
Mike Cleron
9454e29896 am 98fd6405: Merge "Fix NPEs when using the APIs a little oddly." into jb-dev
* commit '98fd6405aec16c6062f562bf6e7c5f2d50da5d60':
  Fix NPEs when using the APIs a little oddly.
2012-06-28 14:21:28 -07:00
Mike Cleron
98fd6405ae Merge "Fix NPEs when using the APIs a little oddly." into jb-dev 2012-06-28 14:18:48 -07:00
Eric Fischer
615f4cf22c am 9aa2d2a5: Merge "Import translations. DO NOT MERGE" into jb-dev
* commit '9aa2d2a5a56c5ec0bb8517f46cb39f6c12215d92':
  Import translations. DO NOT MERGE
2012-06-28 11:51:33 -07:00
Eric Fischer
be59d41eff Import translations. DO NOT MERGE
Change-Id: I19e3ed24a7d2a3c789446e95318aebeed5bb3b08
Auto-generated-cl: translation import
2012-06-28 11:37:26 -07:00
Eric Fischer
a57b7a8ce4 Import translations. DO NOT MERGE
Change-Id: I5c3a2f0d534df06cf7d3385a2d369ba6edd09df7
Auto-generated-cl: translation import
2012-06-28 11:30:35 -07:00
Daniel Sandler
c08dea2aa4 Fix NPEs when using the APIs a little oddly.
This should help developers use some of the features of
Style via subclassing rather than duplicating functionality.

Bug: 6716608
Change-Id: I048e8221c8046e9779e08e6e262ac3fb37b01cb3
2012-06-28 08:35:24 -07:00
Gilles Debunne
6640891125 Merge "Added comments describing the span limit attributes" 2012-06-27 17:21:47 -07:00