Commit Graph

25643 Commits

Author SHA1 Message Date
Adam Powell
04fc799196 am 29dcd656: Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev
* commit '29dcd656dfa4c22855b12fb6ee7d6e2e4c4844c1':
  Track offset of center child view in Gallery for later layouts
2012-09-28 14:17:00 -07:00
Adam Powell
29dcd656df Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev 2012-09-28 14:15:20 -07:00
Svetoslav Ganov
347a0d6c87 am 07ddb460: Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev
* commit '07ddb460afca09640e18b28bfedcaecfe5b2a838':
  NumberPicker should adjust min and max when displayed values are set.
2012-09-28 14:11:29 -07:00
Svetoslav Ganov
07ddb460af Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev 2012-09-28 14:08:00 -07:00
Adam Powell
4e8510b23f Track offset of center child view in Gallery for later layouts
When apps request layouts while scrolling is in progress, Gallery
children can get offset in strange ways. Compensate for this by
tracking the last known offset and applying it during layout.

Bug 7245853

Change-Id: I9d746ae6bb06918e2d920c58052f72e749a7ffbf
2012-09-28 14:07:35 -07:00
Russell Brenner
82c0eba3f7 am fd4da14c: Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev
* commit 'fd4da14c8304912dcb8ee54d4597527c2ee0d2d2':
  Add Settings.Secure.USER_SETUP_COMPLETE
2012-09-28 12:50:21 -07:00
Russell Brenner
fd4da14c83 Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev 2012-09-28 12:47:25 -07:00
Svetoslav Ganov
a1410e6789 NumberPicker should adjust min and max when displayed values are set.
1. The BumberPicker exposes APIs for settings displayed values for the
   selected numbers. If the min and max value of the picker are less then
   the length of the new displayed values array, i.e. they are out of
   bounds, the NumberPicker crashes.

bug:7254000

Change-Id: I182e30216ef28c98d6541f9c985b43c8179dec76
2012-09-28 12:40:42 -07:00
Fabrice Di Meglio
4287bb6040 am 8af2a13d: Merge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev
* commit '8af2a13d038002522c2f4e5d65bd703db9f86a08':
  Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams
2012-09-28 12:36:18 -07:00
Fabrice Di Meglio
778aea3926 am 669aa7cb: Merge "Other improvements for bug #6427629 Clean up layout direction APIs" into jb-mr1-dev
* commit '669aa7cb35e0d32fbf6f26a44e5ab8f6fae37de9':
  Other improvements for bug #6427629 Clean up layout direction APIs
2012-09-28 12:34:33 -07:00
Fabrice Di Meglio
8af2a13d03 Merge "Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev 2012-09-28 12:33:49 -07:00
Fabrice Di Meglio
669aa7cb35 Merge "Other improvements for bug #6427629 Clean up layout direction APIs" into jb-mr1-dev 2012-09-28 12:31:46 -07:00
Adam Powell
493e037ce3 am 808ce66a: Merge "ScaleGestureDetector does the safety dance." into jb-mr1-dev
* commit '808ce66a08bbd2604d71f3368788ba7496f71482':
  ScaleGestureDetector does the safety dance.
2012-09-28 12:24:08 -07:00
Adam Powell
4adcf4d348 am f7910e31: Merge "Add wireless display selection support to MediaRouter." into jb-mr1-dev
* commit 'f7910e3148cd5ea21c9c3cdb7023c997139264ce':
  Add wireless display selection support to MediaRouter.
2012-09-28 12:22:16 -07:00
Adam Powell
808ce66a08 Merge "ScaleGestureDetector does the safety dance." into jb-mr1-dev 2012-09-28 12:21:28 -07:00
Adam Powell
f7910e3148 Merge "Add wireless display selection support to MediaRouter." into jb-mr1-dev 2012-09-28 12:19:04 -07:00
Adam Powell
f3a2bf8edd ScaleGestureDetector does the safety dance.
Warn in the event of possibly bogus event streams and don't try to
clear empty history.

Bug 7241640
Bug 7243006

Change-Id: I037cf1334cab790ef5998ca5f8f6b323ed5f4459
2012-09-28 12:05:10 -07:00
Winson Chung
1afb80658a am 9fc6b8c5: Fixing crash in QuickContacts. (Bug 7252771)
* commit '9fc6b8c5b78556d571bfaa9aa0a6a5cc499b2a01':
  Fixing crash in QuickContacts. (Bug 7252771)
2012-09-28 11:49:20 -07:00
Adam Powell
705ab808cf Add wireless display selection support to MediaRouter.
* Adds the new route type LIVE_VIDEO

* Wireless displays support both LIVE_VIDEO and LIVE_AUDIO, making
  wireless display routes valid selections in when apps make selecting
  live audio routes available.

* MediaRouter will only report/manipulate wireless displays that have
  already been paired at the system level.

Bug 7177920

Change-Id: Ic221b8687d77b4c0df9801c396b74870e86206e9
2012-09-28 11:46:40 -07:00
Winson Chung
9fc6b8c5b7 Fixing crash in QuickContacts. (Bug 7252771)
Change-Id: Ibf304a4c2115f557e0408e345c7714d248fcd35d
2012-09-28 11:37:46 -07:00
Ben Gruver
110bd9d663 am 9dbbfcda: Merge "Pass the originating uid to the package verifier" into jb-mr1-dev
* commit '9dbbfcda81f251f23aded866f7f9d49d8a744c75':
  Pass the originating uid to the package verifier
2012-09-28 11:01:10 -07:00
Ben Gruver
9dbbfcda81 Merge "Pass the originating uid to the package verifier" into jb-mr1-dev 2012-09-28 10:58:19 -07:00
Daniel Sandler
ea33318bb0 am 0dc2b81c: Merge "Cleanup internal status bar APIs." into jb-mr1-dev
* commit '0dc2b81ce1400ae23faa5cc386caeef235856307':
  Cleanup internal status bar APIs.
2012-09-28 10:11:10 -07:00
Daniel Sandler
0dc2b81ce1 Merge "Cleanup internal status bar APIs." into jb-mr1-dev 2012-09-28 10:07:16 -07:00
Romain Guy
864e87576b am 08874db8: Merge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev
* commit '08874db8ed9f81f1d0f205bbffe87f913e50bc57':
  Fix HierarchyViewer so it can load Contacts
2012-09-27 23:43:00 -07:00
Romain Guy
08874db8ed Merge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev 2012-09-27 23:40:56 -07:00
Romain Guy
97723b2eb4 Fix HierarchyViewer so it can load Contacts
Change-Id: I5d5f400a9283f9c2431d91a10f85be42b02fe6a0
2012-09-27 23:36:34 -07:00
Adam Powell
7a5f7ec2ad am ae268392: Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev
* commit 'ae26839257906e0c578b2a13479a8c0a8007bbbe':
  Revert "Fix adjustViewBounds handling for ImageView"
2012-09-27 21:16:59 -07:00
Adam Powell
ae26839257 Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev 2012-09-27 21:14:46 -07:00
Adam Powell
68f3eb3b56 Revert "Fix adjustViewBounds handling for ImageView"
This reverts commit b1271ac183

Revert this for now pending further investigation of bug 7248600

Change-Id: Ieb0a279fa2208f2aa575759dd6dd94476b471b8d
2012-09-27 21:05:17 -07:00
Fabrice Di Meglio
404a4fcd96 am 10a2979e: Merge "Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev
* commit '10a2979e551243f337e4ae1a2951c282546c7433':
  Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing
2012-09-27 21:00:00 -07:00
Fabrice Di Meglio
10a2979e55 Merge "Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev 2012-09-27 20:57:13 -07:00
Svetoslav Ganov
8f346d8578 am 7befb7de: Global gesture to toggle Accessibility system-wide.
* commit '7befb7deb2ac15134b3bb190520cba19165d16dd':
  Global gesture to toggle Accessibility system-wide.
2012-09-27 20:36:16 -07:00
Svetoslav Ganov
7befb7deb2 Global gesture to toggle Accessibility system-wide.
1. This change adds a global gesture for enabling accessibility.
   To enable this gesture the user has to allow it from the
   accessibility settings or use the setup wizard to enable
   accessibility. When the global gesture is enabled the user
   can long press on power to bring the global actions dialog
   and then hold with two fingers for a few seconds to enable
   accessibility. The appropriate feedback is also provided.

2. The global gesture is writing directly into the settings for
   the current user if performed when the keyguard is not on. If
   the keygaurd is on and the current user has no accessibility
   enabled, the gesture will temporary enable accessibility
   for the current user, i.e. no settings are changed, to allow
   the blind user to log into his account. As soon as a user
   switch happens the new user settings are inherited. If no
   user change happens after temporary enabling accessibility
   the temporary changes will be undone when the keyguard goes
   away and the device will works as expected by the current user.

bug:6171929

3. The initialization code for the owner was not executed due
   to a redundant check, thus putting the accessibility layer in
   an inconsistent state which breaks pretty much everything.

bug:7240414

Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
2012-09-27 20:33:20 -07:00
Jeff Sharkey
c52fa1eda6 am 5e9187a3: Merge "Fix "system" resources; more context user work." into jb-mr1-dev
* commit '5e9187a3cf2a33e559212004795e1278eb60da81':
  Fix "system" resources; more context user work.
2012-09-27 20:27:24 -07:00
Jeff Sharkey
5e9187a3cf Merge "Fix "system" resources; more context user work." into jb-mr1-dev 2012-09-27 20:26:00 -07:00
John Reck
a0aa6bf9dd am 7c72a8f9: Merge "Fix perf regression from scale/density mismatch" into jb-mr1-dev
* commit '7c72a8f94ae3abf4eef9247017c0424a3c83c39a':
  Fix perf regression from scale/density mismatch
2012-09-27 19:57:29 -07:00
Fabrice Di Meglio
75aefb8fe8 Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing
- no need to initialize mPaddingLeft/Right to UNDEFINED_PADDING

Change-Id: Icfdcc9bcb904228443e9adfde8038b5d8764365b
2012-09-27 19:55:18 -07:00
John Reck
7c72a8f94a Merge "Fix perf regression from scale/density mismatch" into jb-mr1-dev 2012-09-27 19:55:04 -07:00
Jeff Sharkey
ded653b168 Fix "system" resources; more context user work.
Special-case "system" resources, since it doesn't have an
ApplicationInfo.  Also switch Context and PackageManager to using
the wrapped UserHandle for outgoing calls.

Bug: 7242361
Change-Id: I1ecd2a4752399a6dce2de97c59bd5545996c9a99
2012-09-27 19:50:23 -07:00
Jeff Sharkey
ae1af49a91 am 3a8af8ef: Merge "Migrate more Secure settings to Global." into jb-mr1-dev
* commit '3a8af8efff93ca8ee80fc8c7841e7bee9a8b7786':
  Migrate more Secure settings to Global.
2012-09-27 19:34:28 -07:00
Jeff Sharkey
3a8af8efff Merge "Migrate more Secure settings to Global." into jb-mr1-dev 2012-09-27 19:31:08 -07:00
Christopher Tate
a7346d2086 am 5e08af03: Respect per-user rotation lock et alia
* commit '5e08af03a3dffff8b8fc098790e5133589601d8f':
  Respect per-user rotation lock et alia
2012-09-27 19:05:13 -07:00
Christopher Tate
5e08af03a3 Respect per-user rotation lock et alia
Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object.  We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
2012-09-27 18:56:23 -07:00
Winson Chung
95b1465ea7 am 327b3217: Merge "Fixing various QS issues. (Bug 7217102)" into jb-mr1-dev
* commit '327b32177cee03db756c63efd962e64d6b33d0be':
  Fixing various QS issues. (Bug 7217102)
2012-09-27 18:04:24 -07:00
Winson Chung
efba3235fc Fixing various QS issues. (Bug 7217102)
- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
2012-09-27 17:18:23 -07:00
John Reck
3f5a59accc Fix perf regression from scale/density mismatch
Bug: 7242941

Change-Id: I8a45e8ae589cecc6215566b995003b9eefb7827e
2012-09-27 17:10:49 -07:00
Fabrice Di Meglio
03b8d3a9a4 Fix bug # 7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams
- remove isLayoutRtl() from public API

Change-Id: If700e3f5f30e3c98403b48dbcdd892535d929e2d
2012-09-27 17:05:27 -07:00
Fabrice Di Meglio
9a04856d5e Other improvements for bug #6427629 Clean up layout direction APIs
- hide isLayoutRtl() from public API

- canResolveXXX() is now smarter: use recursion to get its returned value

- in ViewGroup, if resolution cannot be done then dont ask resolution for
its children

- in ViewGroup, addViewInner() needs to ask to resolve the child. This is
needed for example by ListView which is using the same measurespec before
and after its childs being attached.

It also take care of the general case where a measure pass is done when not
attached to a parent (and thus asking for resolution that will "fail" if we
are using IHNERIT) and never done again. That would lead to never do a
resolution.

- some code refactoring

Change-Id: I120dd2fef7397944f5ba8deff0686b108dc827d2
2012-09-27 16:39:14 -07:00
Jeff Sharkey
625239a054 Migrate more Secure settings to Global.
Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
2012-09-27 16:22:53 -07:00