86405 Commits

Author SHA1 Message Date
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
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
Scott Main
ba66dc3bb8 am 7fde078e: am e9d5d627: am 94b94fc5: am 32a1d2db: dashboard update for 10/1
* commit '7fde078e06313751a1bdce0740329fd97fe405b7':
  dashboard update for 10/1
2012-10-01 15:55:09 -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
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
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
Chris Craik
385f4478a2 am 4b08e074: Merge "Quick reject empty paths" into jb-mr1-dev
* commit '4b08e07477f1763a93d9658f618606c1f1e9f249':
  Quick reject empty paths
2012-10-01 15:19:28 -07:00
Jeff Brown
850c5b7ca5 Allow "factory.long_press_power_off" to be toggled at runtime.
Bug: 6847329
Change-Id: I7a303dba4482c1897d38f9064a2c49583218ffd0
2012-10-01 15:17:22 -07:00
Chris Craik
4b08e07477 Merge "Quick reject empty paths" into jb-mr1-dev 2012-10-01 15:16:23 -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
Victoria Lease
80faaa3558 am 2961d111: Merge "Avoid NPE in GpsLocationProvider" into jb-mr1-dev
* commit '2961d111570d310b3ba504784e7cff651bc93207':
  Avoid NPE in GpsLocationProvider
2012-10-01 15:02:34 -07:00
Adam Powell
3f00ffbe2b Merge "MediaRouter/Wifi Display improvements" into jb-mr1-dev 2012-10-01 15:01:25 -07:00
Victoria Lease
2961d11157 Merge "Avoid NPE in GpsLocationProvider" into jb-mr1-dev 2012-10-01 14:59:57 -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
90fc905919 Enable hardware acceleration for pointer location overlay.
Bug: 7256639
Change-Id: I790820b18365c126afc500a5ea3d222bc1ea2774
2012-10-01 14:44:24 -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
Jeff Brown
3dc524bc31 Use new API to override user activity timeout from keyguard.
This now replaces the internal user activity timer that
keyguard maintained.  We can probably simplify things a great
deal further now.

Bug: 7165399
Change-Id: Ia0d5a156a4ff0c339bbd094380b9f7ab3cec5d9b
2012-10-01 14:27:34 -07:00
Craig Mautner
190ca7ddad am 1f7a09b5: Merge "Only inform DisplayManager of visible content." into jb-mr1-dev
* commit '1f7a09b5df9f859781d9cfa0053fad44c72c2168':
  Only inform DisplayManager of visible content.
2012-10-01 14:26:06 -07:00
Craig Mautner
1f7a09b5df Merge "Only inform DisplayManager of visible content." into jb-mr1-dev 2012-10-01 14:23:39 -07:00
Craig Mautner
b6f60405f1 am ba30ac6a: Merge "Redraw static wallpapers when a redraw is needed." into jb-mr1-dev
* commit 'ba30ac6aa7bc4df030292c62c9f38fac0a65b79e':
  Redraw static wallpapers when a redraw is needed.
2012-10-01 14:23:24 -07:00
Craig Mautner
ba30ac6aa7 Merge "Redraw static wallpapers when a redraw is needed." into jb-mr1-dev 2012-10-01 14:20:09 -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
Craig Mautner
65d11b3eef Only inform DisplayManager of visible content.
WindowManager was notifying DisplayManager of content if any window
existed on a display. Now the window must be visible and we must not
be showing a Dream or the Keyguard.

Bug: 7214060.
Change-Id: I9ce4a49aabfbac22ff1e39a837199ce35b9f7503
2012-10-01 13:59:52 -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
Chris Craik
bf09ffb4e0 Quick reject empty paths
bug:7260035

Adding a circle of radius 0 to a path is a no-op in skia, so detect
this case both in the PathRenderer, and in quickReject().

Change-Id: I7a172db49a5d5351b4734b39d4e4ca6379658096
2012-10-01 13:50:37 -07:00
Baligh Uddin
078e3602d6 Import translations. DO NOT MERGE
Change-Id: I308e24566207070a79765cf957c1d1e62760ba3f
Auto-generated-cl: translation import
2012-10-01 13:49:49 -07:00
Baligh Uddin
44a9daee3d Import translations. DO NOT MERGE
Change-Id: I1413c87acf615f09907a4fb35b8665b90573575b
Auto-generated-cl: translation import
2012-10-01 13:48:54 -07: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
Fabrice Di Meglio
a004f28aa4 Merge "Fix bug #7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev 2012-10-01 13:39:09 -07:00
Baligh Uddin
a239b46722 Import translations. DO NOT MERGE
Change-Id: Id9f7e8c92b324085300ecd8816c735ef113edfde
Auto-generated-cl: translation import
2012-10-01 13:28:00 -07:00
Jason Sams
bc5a364b0e am e65afdb1: Merge "Lighten grain and make live preview gpu friendly." into jb-mr1-dev
* commit 'e65afdb179c319b654ae2e77d34d6d5d09709966':
  Lighten grain and make live preview gpu friendly.
2012-10-01 13:19:41 -07:00
Jason Sams
e65afdb179 Merge "Lighten grain and make live preview gpu friendly." into jb-mr1-dev 2012-10-01 13:18:04 -07:00
Amith Yamasani
d60801f7ae am a6af5fc1: Merge "Fix layout margins for Preferences in dialogs" into jb-mr1-dev
* commit 'a6af5fc12777e98a8486f6fd51ab19634831320a':
  Fix layout margins for Preferences in dialogs
2012-10-01 13:18:03 -07:00
Amith Yamasani
a6af5fc127 Merge "Fix layout margins for Preferences in dialogs" into jb-mr1-dev 2012-10-01 13:15:31 -07:00
Fabrice Di Meglio
80766f1bdf Fix bug #7259242 text is left justified with no padding
(padding is hard)

- set correct values to mUserPaddingLeftInitial / mUserPaddingRightInitial
- reset padding to initial values depending on layout direction

Change-Id: I5cfb941b4874eafbfcfb5e2926f5a3c80b4931d3
2012-10-01 13:13:12 -07:00
Jeff Sharkey
9e3004ef3b am 28b291fb: Merge "Move bluetooth priorities from Secure to Global." into jb-mr1-dev
* commit '28b291fb890332ca5f68ffa912a01c16ff6b7685':
  Move bluetooth priorities from Secure to Global.
2012-10-01 13:11:30 -07:00
Jeff Sharkey
28b291fb89 Merge "Move bluetooth priorities from Secure to Global." into jb-mr1-dev 2012-10-01 13:08:21 -07:00