100086 Commits

Author SHA1 Message Date
Fabrice Di Meglio
a66956aa7a Merge "Fix bug #7381967 Add RTL APIs to ViewParent" 2013-02-11 22:42:56 +00:00
Fabrice Di Meglio
9dd4c5c686 Fix bug #7381967 Add RTL APIs to ViewParent
- add RTL apis to ViewParent
- remove awful and performance bottleneck casts in View during LayoutDirection,
TextDirection and TextAlignment resolutions.

Change-Id: I92a56b16382e13c28c1dad35f6f205620eb01bfe
2013-02-11 14:41:04 -08:00
Jeff Brown
f98e18e68d am d9f98c81: Fix build break due to merge.
# Via Jean-Baptiste Queru
* commit 'd9f98c81068594c33c81b5b817391c6b4b895492':
  Fix build break due to merge.
2013-02-11 14:39:54 -08:00
Fabrice Di Meglio
57a85740d7 Add BidiFormatter utility
See bug #7587797 Need BidiFormatter class in Android API

Change-Id: I999282b9a4c76d8b4a3fc254b0c12ca95fa6ea4a
2013-02-11 14:27:10 -08:00
Scott Main
bfec2a0189 docs: nudge dashboard chart to the right to avoid overlap
Change-Id: I852004b6dbd7ca8343a20f05da1166cff2d2898a
2013-02-11 14:24:03 -08:00
Robert Ly
a578ade219 am 1c4311cc: am 4af36f4e: am 96b1b403: am 4c01047e: makefile changes for s.a.c
# Via Android Git Automerger (3) and Robert Ly (1)
* commit '1c4311cc9c0e32d30ff17083f24fb7145336fcae':
  makefile changes for s.a.c
2013-02-11 14:17:33 -08:00
Robert Ly
1c4311cc9c am 4af36f4e: am 96b1b403: am 4c01047e: makefile changes for s.a.c
# Via Android Git Automerger (2) and Robert Ly (1)
* commit '4af36f4ebea986a690df12659c4225c3a23484be':
  makefile changes for s.a.c
2013-02-11 14:15:21 -08:00
Craig Mautner
e2237ce8ad Merge "Make ActivityStack.mHistory private." 2013-02-11 22:13:48 +00:00
Robert Ly
4af36f4ebe am 96b1b403: am 4c01047e: makefile changes for s.a.c
# Via Android Git Automerger (1) and Robert Ly (1)
* commit '96b1b403b6ecf0daa2d7d0a8475e0d087790e457':
  makefile changes for s.a.c
2013-02-11 14:13:12 -08:00
Robert Ly
96b1b403b6 am 4c01047e: makefile changes for s.a.c
# Via Robert Ly
* commit '4c01047ec7b06aabeeae273c7871caa6c3029b84':
  makefile changes for s.a.c
2013-02-11 14:10:00 -08:00
Robert Ly
4c01047ec7 makefile changes for s.a.c
Change-Id: I501cc140994b2822c3df1f00639076f17765f256
2013-02-11 13:38:31 -08:00
Svetoslav
981e60edc3 Merge "Refactoring of the Accessibility." 2013-02-11 21:03:37 +00:00
Svetoslav
57bf88508e Refactoring of the Accessibility.
1. The accessibility manager service updates its internal state
   based on which settings are enabled, what accessibility services
   are installed and what features are requested by the enabled
   services. It was trying to do the minimal amount of work to
   react to contextual changes like these which resulted in missed
   cases and complex code. Now there is a single method that reads
   the contextual information and single method that reacts to
   contextual changes. This makes the code much easier to maintain.

2. The accessibility manager service was not updating its internal
   state when requested features from accessibility services change.
   It was relying on changing system settings and reacting to the
   settings change. This is problematic since the internal state is
   not updated atomically which leads to race condition bugs. For
   example, if touch exploration is enabled and a service requests
   it is disabled, the internal state will not be updated but a
   request for a settings change will be made. Now while the settings
   change is propagating another request form the same service
   comes to enable touch exploration but the system incorrectly
   thinks touch exploration is enabled. At the end the feature is
   disabled even though it was requested.

3. Fixed a potential NPE if the accessibility input filter's event
   handler was nullified between processing two event batches.

4. Fixed a bug where, if magnification is enabled, it does not work
   on the settings screen since the magnified bounds are not pushed
   from the window manager to the accessibility manager.

Change-Id: Idf629a06480e12f0d88372762df6c024fe0d7856
2013-02-11 13:02:42 -08:00
Jeff Brown
d9f98c8106 Fix build break due to merge.
Change-Id: I08c39690ee9de825ff51afc7d102ee622af6ba13
2013-02-11 11:34:43 -08:00
Dirk Dougherty
ef1d17938e am c0614c44: am b6efefb4: am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (3) and Dirk Dougherty (1)
* commit 'c0614c4471363e983610e885bf63f101be4ae21c':
  Doc change: fix typos.
2013-02-11 11:32:06 -08:00
Dirk Dougherty
c0614c4471 am b6efefb4: am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (2) and Dirk Dougherty (1)
* commit 'b6efefb4bdb05afa4a0c45e78df981706040d99e':
  Doc change: fix typos.
2013-02-11 11:29:16 -08:00
Jean-Michel Trivi
d21267a268 Merge "Add support for querying whether the music stream is active remotely" 2013-02-11 19:28:50 +00:00
Dirk Dougherty
b6efefb4bd am 337d3e32: am 7d849491: Doc change: fix typos.
# Via Android Git Automerger (1) and Dirk Dougherty (1)
* commit '337d3e3240e52ca5321029fdd23d2f2a3e1201d8':
  Doc change: fix typos.
2013-02-11 11:26:19 -08:00
Dirk Dougherty
337d3e3240 am 7d849491: Doc change: fix typos.
# Via Dirk Dougherty
* commit '7d8494913292dcdbe25d046cbef6e349d904b41c':
  Doc change: fix typos.
2013-02-11 11:23:28 -08:00
Dirk Dougherty
7d84949132 Doc change: fix typos.
Change-Id: I58c8841c9bf23bc75e1b25d63af917ff56087fdc
2013-02-11 11:18:59 -08:00
Fabrice Di Meglio
de1fadfb7f Merge "Fix bug #8115437 Need to remove ArabicShaping from Framework" 2013-02-11 18:51:03 +00:00
Jean-Michel Trivi
679d5046f2 Add support for querying whether the music stream is active remotely
Bug 7485803

Change-Id: I554b44bd35b017fa4030a0d89779066c96594f2b
2013-02-11 10:15:47 -08:00
Craig Mautner
005f6f6077 Merge "Reset SensorEventListener when listener reenabled." 2013-02-11 17:47:14 +00:00
Craig Mautner
eee29c445c Reset SensorEventListener when listener reenabled.
- Following disable and reenable of the WindowOrientationListener
the state was the same as before. State should be reset to default.

- Provide a Handler to the sensor task to deliver events on the
same Thread that WindowManagerPolicy operates on.

- Expand lock protection to all of WindowOrientationListener.

- Move WindowOrientationListener to policy package.

- Make SensorEventListenerImpl non-static.

Fixes bug 7964531.

Change-Id: I17cecf3d0b6d125cb3e4d7350c3adb3f62b684bd
2013-02-11 09:46:08 -08:00
Baligh Uddin
ea2f802928 Import translations. DO NOT MERGE
Change-Id: I5d6b97a7078b930416335dcf016bc820e1f09845
Auto-generated-cl: translation import
2013-02-11 08:12:48 -08:00
Stephen Hines
5d0177081c Update RSTest_Compat for stride changes.
Change-Id: I88acbf65b522a15c6386f4ab002971384a028ac7
2013-02-08 22:32:23 -08:00
Stephen Hines
5f528becb0 Check Element in all API levels for copy2DRangeFrom().
Change-Id: I561317671a16888fc9f35908ab1ae1489a14fc6c
2013-02-08 21:03:51 -08:00
Stephen Hines
a9a7b37405 Fix copyFrom() to use proper dimensions for copying.
This change actually fixes several bugs related to stride:

* copyFrom() needs to call the 2D or 1D version, depending on the dimensions
  of the corresponding Allocation.
* Add an internal-only copy2DRangeFromUnchecked(), since we don't really
  want to expose it as another public API (only via copyFromUnchecked()).
* Call the proper 1D/2D version in copyFromUnchecked() based on the
  Allocation dimensions.
* Add Element checks to the "checked" copy2DRangeFrom() routines.

Change-Id: I690706d36884ee749bf90937c715855f6c07368c
2013-02-08 20:56:00 -08:00
Adam Powell
9d1d88acaa Merge "Fix setting action bar backgrounds after layout" 2013-02-09 02:38:01 +00:00
Adam Powell
e8c8ae401b Fix setting action bar backgrounds after layout
Fix a bug that would prevent the drawable bounds from being set
correctly for action bar containers.

Change-Id: I396aa40e3d8f6e3b47bcd438e1f26bbfc7b20a7f
2013-02-08 18:07:19 -08:00
Dianne Hackborn
e2dce85c63 Merge "Fix issue #8133857: Tracking ANR in Gallery" 2013-02-09 01:18:37 +00:00
Dianne Hackborn
50707cc820 Fix issue #8133857: Tracking ANR in Gallery
Reworking the locking in resources so that we never hold the
state lock while calling in to potential long running operations.
This means the mTmpValue can no longer be final (since we need
to use it while the lock isn't held), so a new field needs to
be added as the lock and everything that touches mTmpValue must
deal with it being null, restoring the value in there when
possible, etc.

Change-Id: Ie5ffd0f66e5f2d0e869a62d72e7a55b1c74fe872
2013-02-08 17:18:03 -08:00
Jeff Brown
39938752b3 Fix build break due to merge.
Change-Id: I08c39690ee9de825ff51afc7d102ee622af6ba13
2013-02-08 17:16:31 -08:00
Jeff Brown
eaf2ec0c6a am 4fd60792: am 5262a108: Merge "Complete documentation of whereArgs (Issue #43061)"
# By Tim Roes
# Via Android Git Automerger (1) and others
* commit '4fd60792473711a10dc9b27faa1a35efe9e4d6a0':
  Complete documentation of whereArgs (Issue #43061)
2013-02-08 17:03:42 -08:00
Jeff Brown
d5c921f2cf am 64f4de03: am fa49a6b1: Merge "frameworks/base: Added English UK keyboard layout for physical keyboards"
# By HeyRatFans
# Via Android Git Automerger (1) and others
* commit '64f4de03037b279e389ca20297e9d5086f49564c':
  frameworks/base: Added English UK keyboard layout for physical keyboards
2013-02-08 17:03:38 -08:00
Jeff Brown
4fd6079247 am 5262a108: Merge "Complete documentation of whereArgs (Issue #43061)"
# By Tim Roes
# Via Gerrit Code Review (1) and Tim Roes (1)
* commit '5262a1082663610a888d1145fd9676f7db41d397':
  Complete documentation of whereArgs (Issue #43061)
2013-02-08 16:58:14 -08:00
Jeff Brown
64f4de0303 am fa49a6b1: Merge "frameworks/base: Added English UK keyboard layout for physical keyboards"
# By HeyRatFans
# Via Gerrit Code Review (1) and Matt Beale (1)
* commit 'fa49a6b13ebf496ea01d5981f69084596d06d464':
  frameworks/base: Added English UK keyboard layout for physical keyboards
2013-02-08 16:58:09 -08:00
Stephen Hines
7bd280ac8d Fix stride/addressing issues for RS tests.
Change-Id: Icb49b4ef849b2bba9702dbb7817f3715e52091f6
2013-02-08 16:34:20 -08:00
Jeff Brown
e624e0c704 am 110fe9b3: am fe1f3a1b: Merge "Fix ViewRootImpl to find missing focus using D-pad."
# By Ki-Hwan Lee
# Via Android Git Automerger (1) and others
* commit '110fe9b303be527c30a8af95b6fb7afac12968b5':
  Fix ViewRootImpl to find missing focus using D-pad.
2013-02-08 15:56:04 -08:00
Amith Yamasani
e4cf73437a Starting point for User Restrictions API
Restrictions saved as key/value pairs, mostly booleans right now
but might be expanded to other types later.

Save and restore restrictions in the user manager service.
Enforce some of the restrictions at the framework level. Some
are enforced (also) at the app level, such as in Settings.

Change-Id: Id11ffe129cb6a177e094edf79635727388c26f40
2013-02-08 15:52:47 -08:00
Jeff Brown
5262a10826 Merge "Complete documentation of whereArgs (Issue #43061)" 2013-02-08 23:49:51 +00:00
Jeff Brown
110fe9b303 am fe1f3a1b: Merge "Fix ViewRootImpl to find missing focus using D-pad."
# By Ki-Hwan Lee
# Via Gerrit Code Review (1) and Ki-Hwan Lee (1)
* commit 'fe1f3a1beff9f73f6a04bcc35239038a21bc38ff':
  Fix ViewRootImpl to find missing focus using D-pad.
2013-02-08 15:49:46 -08:00
Jeff Brown
fa49a6b13e Merge "frameworks/base: Added English UK keyboard layout for physical keyboards" 2013-02-08 23:49:11 +00:00
The Android Open Source Project
970b8b3fa9 am 4b71a472: (-s ours) Reconcile with jb-mr1.1-release - do not merge
# Via The Android Automerger (2) and The Android Open Source Project (1)
* commit '4b71a472c0f254606e93b8f9f86f7df0e6dba522':
2013-02-08 15:45:50 -08:00
The Android Open Source Project
4b71a472c0 Reconcile with jb-mr1.1-release - do not merge
Change-Id: I728b304c185d7f0406b6d45334c10263bd38d769
2013-02-08 15:40:41 -08:00
Jeff Brown
fe1f3a1bef Merge "Fix ViewRootImpl to find missing focus using D-pad." 2013-02-08 23:29:11 +00:00
Craig Mautner
cae015fea3 Make ActivityStack.mHistory private.
Isolate the Activity history for later conversion to Task-based
management.

Change-Id: I4b6bf22de035c768aa705df0cc4f84486e8ede56
2013-02-08 14:31:27 -08:00
Joe Fernandez
46e31ae425 docs: Android SDK 21.1.0 Release Notes
Change-Id: I1e97eb5a7e3b4a1c63474f7b85cb22dd343ceb4b
2013-02-08 14:28:02 -08:00
Romain Guy
97dcc20e6d Merge "Deprecate useless BitmapDrawable constructor Bug #2590549" 2013-02-08 22:01:05 +00:00
Romain Guy
7ac40e3869 Deprecate useless BitmapDrawable constructor
Bug #2590549

Change-Id: Icb45bf2d9836c43ed0825105f64d7b98afcdcdac
2013-02-08 14:00:15 -08:00