36000 Commits

Author SHA1 Message Date
Svetoslav Ganov
e56dfc1f8c am d8357cee: Merge "Sets accessibility importance for the home/up button. Bug: 7196985 Change-Id: I4d27470eccb8933f751db892218a8032a80df3da" into jb-mr1-dev
* commit 'd8357ceec04ca8b9d8a5e25cb5484ce8f8e56e00':
  Sets accessibility importance for the home/up button. Bug: 7196985 Change-Id: I4d27470eccb8933f751db892218a8032a80df3da
2012-10-01 16:43:31 -07:00
Craig Mautner
80944c5c92 am 397c8629: am b97d8764: Merge "Switch from uevent model to /dev/input/event." into jb-mr1-dev
* commit '397c862913c2c50e54d18dee7766b0ac93971ae3':
  Switch from uevent model to /dev/input/event.
2012-10-01 16:43:27 -07:00
Craig Mautner
397c862913 am b97d8764: Merge "Switch from uevent model to /dev/input/event." into jb-mr1-dev
* commit 'b97d8764a0aa600d7bcc6242e7173453c87ee658':
  Switch from uevent model to /dev/input/event.
2012-10-01 16:40:24 -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
Fabrice Di Meglio
3dadb63c7f am 44bfaedd: am 338a3853: am efe9b483: Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev
* commit '44bfaedd1e0b4abad9748b2c6f70d805af22bb27':
  Fix bug #7259242 text is left justified with no padding
2012-10-01 16:10:49 -07:00
Fabrice Di Meglio
44bfaedd1e am 338a3853: am efe9b483: Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev
* commit '338a3853e8cdd05fb87d623d8a1b476a329646e3':
  Fix bug #7259242 text is left justified with no padding
2012-10-01 16:09:08 -07:00
Fabrice Di Meglio
338a3853e8 am efe9b483: Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev
* commit 'efe9b483547ac44dbc88bdfd6a54be5c95c2d889':
  Fix bug #7259242 text is left justified with no padding
2012-10-01 16:06:58 -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
Adam Powell
5c68e4003b am e9234dd1: am 075bb6b3: Merge "DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout" into jb-mr1-dev
* commit 'e9234dd1edc8988f41f1cb947e4df6e245d37cd1':
  DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout
2012-10-01 16:00:11 -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
e9234dd1ed am 075bb6b3: Merge "DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout" into jb-mr1-dev
* commit '075bb6b3dfb9e58aa44c3b8588ab233a832956a3':
  DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout
2012-10-01 15:56:58 -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
Jeff Brown
c0f57d43af am 9c1a6f40: am 0fa30848: am 410bc60a: Merge changes I790820b1,I3fcf3619,Ia0d5a156 into jb-mr1-dev
* commit '9c1a6f402b4f04d2be52dfd9eb37f9181cccb25e':
  Enable hardware acceleration for pointer location overlay.
  Disable use of twilight mode for auto-brightness.
  Use new API to override user activity timeout from keyguard.
2012-10-01 15:29:24 -07:00
Jeff Brown
ecdae4b1d3 am 13176e63: am cd781ce2: am cb6f950f: Merge "New internal API to eliminate poke locks." into jb-mr1-dev
* commit '13176e639cca469268dfb99128b7cdff2d75d098':
  New internal API to eliminate poke locks.
2012-10-01 15:27:36 -07:00
Jeff Brown
9c1a6f402b am 0fa30848: am 410bc60a: Merge changes I790820b1,I3fcf3619,Ia0d5a156 into jb-mr1-dev
* commit '0fa30848638df704ce40e163652635fbfde5843c':
  Enable hardware acceleration for pointer location overlay.
  Disable use of twilight mode for auto-brightness.
  Use new API to override user activity timeout from keyguard.
2012-10-01 15:27:27 -07:00
Jeff Brown
0fa3084863 am 410bc60a: Merge changes I790820b1,I3fcf3619,Ia0d5a156 into jb-mr1-dev
* commit '410bc60a77ee3ba6e596e84d44ec23f3325ae310':
  Enable hardware acceleration for pointer location overlay.
  Disable use of twilight mode for auto-brightness.
  Use new API to override user activity timeout from keyguard.
2012-10-01 15:25:35 -07:00
Jeff Brown
13176e639c am cd781ce2: am cb6f950f: Merge "New internal API to eliminate poke locks." into jb-mr1-dev
* commit 'cd781ce2ebc104cf83d630889ae330a980635c9e':
  New internal API to eliminate poke locks.
2012-10-01 15:25:30 -07:00
Jeff Brown
cd781ce2eb am cb6f950f: Merge "New internal API to eliminate poke locks." into jb-mr1-dev
* commit 'cb6f950f15919794d26a55c20090fe5dacd11e4a':
  New internal API to eliminate poke locks.
2012-10-01 15:22:45 -07:00
Jeff Brown
410bc60a77 Merge changes I790820b1,I3fcf3619,Ia0d5a156 into jb-mr1-dev
* changes:
  Enable hardware acceleration for pointer location overlay.
  Disable use of twilight mode for auto-brightness.
  Use new API to override user activity timeout from keyguard.
2012-10-01 15:22:43 -07:00
Jeff Brown
cb6f950f15 Merge "New internal API to eliminate poke locks." into jb-mr1-dev 2012-10-01 15:20:23 -07:00
Fabrice Di Meglio
aae1299e29 am 8135814a: am 9b6f05f8: am 749a9970: Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev
* commit '8135814af23f85e129e8e3b7ed3ddaa41eca46fe':
  Fix bug #7259242 text is left justified with no padding
2012-10-01 15:11:06 -07:00
Adam Powell
af2e9e3682 am 5d3c3e2a: am 7b5a57c4: am 3f00ffbe: Merge "MediaRouter/Wifi Display improvements" into jb-mr1-dev
* commit '5d3c3e2a98b98e99862fd524cbd491e4ee928e1a':
  MediaRouter/Wifi Display improvements
2012-10-01 15:11:02 -07:00
Fabrice Di Meglio
8135814af2 am 9b6f05f8: am 749a9970: Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev
* commit '9b6f05f8df9a754f5240b610c556d7946aa7aad8':
  Fix bug #7259242 text is left justified with no padding
2012-10-01 15:08:45 -07:00
Adam Powell
5d3c3e2a98 am 7b5a57c4: am 3f00ffbe: Merge "MediaRouter/Wifi Display improvements" into jb-mr1-dev
* commit '7b5a57c414f3ec5693cb0ad4d9e4f1d3b1df3361':
  MediaRouter/Wifi Display improvements
2012-10-01 15:08:41 -07:00
Adam Powell
946d05b95f DO NOT MERGE - Revert fixes for ImageView/MeasureSpec/RelativeLayout
MeasureSpec.makeMeasureSpec has a bug where a negative or very large
size parameter will cause the resulting MeasureSpec value to
overflow. RelativeLayout partially relies on this when measuring
children with mode UNSPECIFIED; a default value of -1 in a local
variable ends up being passed to makeMeasureSpec, overflowing a mode
value to create a measurespec that is very large in size, with AT_MOST
as the mode. The correct behavior is for RelativeLayout to propagate
the UNSPECIFIED mode.

Unfortunately a number of custom view implementations in apps rely on
the buggy behavior as they do not implement their own onMeasure
method. This makes them fall back to View's default onMeasure
implementation, which accepts the spec's size unconditionally for
AT_MOST or EXACTLY modes, but falls back on
getSuggestedMinimum[Width|Height] for UNSPECIFIED. If the view had no
background drawable with dimensions and no minWidth field set, this
fix for RelativeLayout causes some views to measure with a size of 0
rather than a size of the 30-bit version of 0xFF...

Revert these fixes in the interests of compatibility. The next version
will conditionally use the new behavior if targetSdk > JB-MR1.

This also required reverting a fix for ImageView's adjustViewBounds
functionality, as it cannot be implemented reliably if this
RelativeLayout fix is not also in place.

Revert "Fix UNSPECIFIED measurement in RelativeLayout"

This reverts commit 132a742b94b9716451ddef30cec20548b346f1b9.

Revert "Fix adjustViewBounds handling for ImageView"

This reverts commit d5edc7721791ad807b9a8fbd923b8d6e73c399cc.
2012-10-01 15:06:46 -07:00
Fabrice Di Meglio
9b6f05f8df am 749a9970: Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev
* commit '749a997093751a5d2e5b71f0ae3ab5b7527b68bd':
  Fix bug #7259242 text is left justified with no padding
2012-10-01 15:06:19 -07:00
Adam Powell
7b5a57c414 am 3f00ffbe: Merge "MediaRouter/Wifi Display improvements" into jb-mr1-dev
* commit '3f00ffbe2b97f8acd9edcd683ed48cc65710e6f1':
  MediaRouter/Wifi Display improvements
2012-10-01 15:04:37 -07:00
Fabrice Di Meglio
749a997093 Merge "Fix bug #7259242 text is left justified with no padding" into jb-mr1-dev 2012-10-01 15:04:03 -07:00
Adam Powell
3f00ffbe2b Merge "MediaRouter/Wifi Display improvements" into jb-mr1-dev 2012-10-01 15:01:25 -07:00
Ian Rogers
e983008863 Fix target utilization property_get.
Copy and paste error where wrong compare meant the code thought a target
utilization option was specified even if there wasn't one.

b/7062303

Change-Id: Ibf1c6cf72743c5fbec7618a719d12d0373184754
2012-10-01 14:59:39 -07:00
Jeff Brown
db21284a7f Disable use of twilight mode for auto-brightness.
This adjustment is still experimental.

Bug: 7165399
Change-Id: I3fcf361933995d02a5329eeaec80155b39371ba3
2012-10-01 14:33:42 -07:00
Jeff Brown
1e3b98d47d New internal API to eliminate poke locks.
Added a new WindowManager.LayoutParams inputFeatures flag
to disable automatic user activity behavior when an input
event is sent to a window.

Added a new WindowManager.LayoutParams field userActivityTimeout.

Bug: 7165399
Change-Id: I204eafa37ef26aacc2c52a1ba1ecce1eebb0e0d9
2012-10-01 14:27:34 -07:00
Adam Powell
2ee6a2a832 MediaRouter/Wifi Display improvements
* Don't select the default route on initialization in a process

* Add "connecting" state to MediaRouteButton

Bug 7258981
Bug 7262522

Change-Id: I5cd39b09843783b7e1e17620ca33193f0f3b8fca
2012-10-01 14:05:32 -07:00
Fabrice Di Meglio
f9cf1b698a am ba45f413: am c7942606: am 48315436: Merge "Fix light default theme" into jb-mr1-dev
* commit 'ba45f4131c5cc707fa38c3f41445c7a5e40ad3e9':
  Fix light default theme
2012-10-01 14:02:50 -07:00
Fabrice Di Meglio
b788c84251 am 5fb54dad: am b67dff06: am a004f28a: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit '5fb54dada2d76266668deada1ea3d048304c5841':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-10-01 14:00:52 -07:00
Amith Yamasani
5fce15514c am c424bc0e: am d60801f7: am a6af5fc1: Merge "Fix layout margins for Preferences in dialogs" into jb-mr1-dev
* commit 'c424bc0ed721c74d9a9db83c0e208818a6ccccc0':
  Fix layout margins for Preferences in dialogs
2012-10-01 14:00:32 -07:00
Fabrice Di Meglio
ba45f4131c am c7942606: am 48315436: Merge "Fix light default theme" into jb-mr1-dev
* commit 'c79426065efcbda7a6f8f7dd6297502b817c6a75':
  Fix light default theme
2012-10-01 13:59:39 -07:00
Fabrice Di Meglio
c79426065e am 48315436: Merge "Fix light default theme" into jb-mr1-dev
* commit '48315436eece69f4d047c2b14ac63e62f757b88c':
  Fix light default theme
2012-10-01 13:57:36 -07:00
John Spurlock
3a4d41a654 Update javadocs for DreamService.
Reflect the new intent-filter protocol, and add a bit about <dream>.
Also escape xml so it's visible in generated html.

Bug:7256474
Change-Id: Id270eeb70601b492458834f19216801b428af4cb
2012-10-01 16:57:13 -04:00
Fabrice Di Meglio
48315436ee Merge "Fix light default theme" into jb-mr1-dev 2012-10-01 13:55:15 -07:00
Jeff Sharkey
b7f23fa07f am 1e7de794: am 9e3004ef: am 28b291fb: Merge "Move bluetooth priorities from Secure to Global." into jb-mr1-dev
* commit '1e7de794a5afa3918698716b582299fb92c8f7f9':
  Move bluetooth priorities from Secure to Global.
2012-10-01 13:48:46 -07:00
Adam Powell
d9a7861b0f am bbd18b0a: am 518c7bf6: am d0c439ba: Merge "Remove extra padding from alert dialog layouts in -xlarge" into jb-mr1-dev
* commit 'bbd18b0ae6780f046fbd506fb2c62c16ea894d89':
  Remove extra padding from alert dialog layouts in -xlarge
2012-10-01 13:48:14 -07:00
Jeff Brown
38d41fa44c am 9370592e: am 5d359a92: am 5e3dcf72: Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev
* commit '9370592e23cd3dd6dbf514fa21f4c17b76d60911':
  Remove clearUserActivityTimeout().
2012-10-01 13:47:55 -07:00
Adam Powell
7a4e3898f1 am 58643967: am 21a80ff4: am c56e5600: Merge "Construct a task stack for picking a wifi network from notification" into jb-mr1-dev
* commit '586439676fdec80d5e0c6151fc17bb52be5cc6b0':
  Construct a task stack for picking a wifi network from notification
2012-10-01 13:47:32 -07:00
John Spurlock
407eef6cd5 am e58fc04f: am db3b01a5: am ff70848e: Merge "Status bar: Keep disabled state per user." into jb-mr1-dev
* commit 'e58fc04f7c02189ebdb624302b8ef3e75fdf1d04':
  Status bar: Keep disabled state per user.
2012-10-01 13:46:55 -07:00
Fabrice Di Meglio
5fb54dada2 am b67dff06: am a004f28a: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit 'b67dff065cfea410fba26fef758ac103ac8c9930':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-10-01 13:45:10 -07:00
Daniel Sandler
2e7d25b91f Introduce ACTION_QUICK_CLOCK for the QS time tile.
By default it will still go to Date/Time Settings (see
change Ib430f0c5) but 3Ps can hook it for other useful
things.

Bug: 7264806
Change-Id: Ic561dbeb5cc0738372c079b3eb52749c44b3cf0d
2012-10-01 16:43:26 -04:00
Fabrice Di Meglio
b67dff065c am a004f28a: Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
* commit 'a004f28aa4909add9d3b1070d437adafd6386c94':
  Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
2012-10-01 13:43:00 -07:00