35222 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Amith Yamasani
c424bc0ed7 am d60801f7: am a6af5fc1: Merge "Fix layout margins for Preferences in dialogs" into jb-mr1-dev
* commit 'd60801f7ae223ca507ab5cb8574e68cf9e55e35f':
  Fix layout margins for Preferences in dialogs
2012-10-01 13:20:02 -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
Jeff Sharkey
1e7de794a5 am 9e3004ef: am 28b291fb: Merge "Move bluetooth priorities from Secure to Global." into jb-mr1-dev
* commit '9e3004ef3bd20b053ad3f290775900ae356ec054':
  Move bluetooth priorities from Secure to Global.
2012-10-01 13:13:25 -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
Jeff Sharkey
0ac1028b0d Move bluetooth priorities from Secure to Global.
Bug: 7231171
Change-Id: I836fdc2cfb8d67f984b4715559b9e92d0dc41c95
2012-10-01 12:54:12 -07:00
Adam Powell
bbd18b0ae6 am 518c7bf6: am d0c439ba: Merge "Remove extra padding from alert dialog layouts in -xlarge" into jb-mr1-dev
* commit '518c7bf62f2a67348bafa34c0b3e9c1742480307':
  Remove extra padding from alert dialog layouts in -xlarge
2012-10-01 12:45:01 -07:00
Adam Powell
518c7bf62f am d0c439ba: Merge "Remove extra padding from alert dialog layouts in -xlarge" into jb-mr1-dev
* commit 'd0c439ba7e7f246c96dfef4dbf2b11fb38358c6a':
  Remove extra padding from alert dialog layouts in -xlarge
2012-10-01 12:42:47 -07:00
Adam Powell
d0c439ba7e Merge "Remove extra padding from alert dialog layouts in -xlarge" into jb-mr1-dev 2012-10-01 12:40:31 -07:00
Jeff Brown
9370592e23 am 5d359a92: am 5e3dcf72: Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev
* commit '5d359a92658d01b0220f77eb294d6124848739bc':
  Remove clearUserActivityTimeout().
2012-10-01 11:41:11 -07:00
Jeff Brown
5d359a9265 am 5e3dcf72: Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev
* commit '5e3dcf7210bed65d8f9aec40d9da078daf76dead':
  Remove clearUserActivityTimeout().
2012-10-01 11:39:30 -07:00
Jeff Brown
5e3dcf7210 Merge "Remove clearUserActivityTimeout()." into jb-mr1-dev 2012-10-01 11:35:55 -07:00
Adam Powell
586439676f am 21a80ff4: am c56e5600: Merge "Construct a task stack for picking a wifi network from notification" into jb-mr1-dev
* commit '21a80ff4d1a557d8e33f86a218d204c0093fefc7':
  Construct a task stack for picking a wifi network from notification
2012-10-01 10:36:48 -07:00
Adam Powell
21a80ff4d1 am c56e5600: Merge "Construct a task stack for picking a wifi network from notification" into jb-mr1-dev
* commit 'c56e5600501a5c376dc13e6a99fcec7782fc8718':
  Construct a task stack for picking a wifi network from notification
2012-10-01 10:34:59 -07:00
Adam Powell
c56e560050 Merge "Construct a task stack for picking a wifi network from notification" into jb-mr1-dev 2012-10-01 10:32:35 -07:00
John Spurlock
e58fc04f7c am db3b01a5: am ff70848e: Merge "Status bar: Keep disabled state per user." into jb-mr1-dev
* commit 'db3b01a5bfbf5e190bf6116b71e27971c3b5816b':
  Status bar: Keep disabled state per user.
2012-10-01 10:24:05 -07:00
Chet Haase
1dd002214e am bcdaf8cb: am 62ea4363: Merge "Fix texture corruption" into jb-mr1-dev
* commit 'bcdaf8cb6d75d721507739504732e0e3dc7f437c':
  Fix texture corruption
2012-10-01 10:16:25 -07:00
Dianne Hackborn
3645f2ccde am 55241249: am 2a30547a: Merge "Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest..." into jb-mr1-dev
* commit '552412496c00c04c9af353785936a89743677d49':
  Work on issue #6949468: android.dpi.cts.ConfigurationScreenLayoutTest...
2012-10-01 10:16:22 -07:00
Adam Cohen
df1d4c44f7 am bc0b4313: am 2032a120: Merge "Making runway lights appear for correct pages (issue 7232481)" into jb-mr1-dev
* commit 'bc0b4313a98b8584a939a5087689117d9ffd1966':
  Making runway lights appear for correct pages (issue 7232481)
2012-10-01 10:16:10 -07:00
Adam Powell
5f260236ed am 135ce20c: am fb42be77: Merge "Fix UNSPECIFIED measurement in RelativeLayout" into jb-mr1-dev
* commit '135ce20c12ef869028aa7d0182960f92840b7cfc':
  Fix UNSPECIFIED measurement in RelativeLayout
2012-10-01 10:16:03 -07:00
Dianne Hackborn
eede0f6fe0 am b4bca666: am 2effc77c: Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev
* commit 'b4bca6661784ab8087e382765c2e0d53e98d651f':
  Update APIs to JB MR1 level 17.
2012-10-01 10:15:27 -07:00