82943 Commits

Author SHA1 Message Date
Jason Sams
19e1086df1 Move the kernel launch to specific intrinsic class.
This allows support of both input types. Kernel source
and global source.

Change-Id: Iea60bebd79c786795eae81c14cbec352b470a9c0
2012-08-21 15:53:29 -07:00
Iliyan Malchev
ee98610f1a Merge "Set the brightness to zero on screen-off" into jb-mr1-dev 2012-08-16 13:43:14 -07:00
Michael Jurka
c40771a90d Merge "Fix bug with preloading recent tasks" into jb-mr1-dev 2012-08-16 13:19:45 -07:00
Daniel Sandler
5050813f15 Allow the panels to be temporarily dragged past their contents.
Once the user lets go, restore the "correct" height of the
panel.

Bug: 6999596
Change-Id: I2db393873cee876cf17fea25c9d25fe5e3a78424
2012-08-16 15:54:57 -04:00
Daniel Sandler
3fd688fa50 Merge changes Ifad4bd65,I6a4b7d69 into jb-mr1-dev
* changes:
  Turn off an assert.
  Fix crash in SystemUI.
2012-08-16 12:52:18 -07:00
Iliyan Malchev
122415f5c8 Set the brightness to zero on screen-off
Fixes b/6996990

Ideally, the HWC HAL should turn off the backlight when the display is turned
off.  This patch enforces this at the PowerManager, which can guard against
errant HWC implementations.

Change-Id: Ibb826a02871c983f8a68034d010e68abe9c5c1d5
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-08-16 12:48:28 -07:00
Dianne Hackborn
f02b60aa4f Rename UserId to UserHandle.
This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
2012-08-16 12:46:38 -07:00
Svetoslav Ganov
ca34bcf674 resolved conflicts for merge of 80c904df to jb-mr1-dev
Change-Id: Ic2f8d64cd716d04a533ca0685d1fb0d5e2a21933
2012-08-16 12:22:23 -07:00
Jason Sams
14250ccf22 Merge "Testing java compat lib for RS." into jb-mr1-dev 2012-08-16 11:23:41 -07:00
Daniel Sandler
504135b5ce Merge "Fix status bar disabling." into jb-mr1-dev 2012-08-16 10:55:18 -07:00
Daniel Sandler
fa71962948 Turn off an assert.
Change-Id: Ifad4bd65ddcedc6e2dd018695fd37ddbf9163e80
2012-08-16 13:52:39 -04:00
Daniel Sandler
5a35a0d560 Fix crash in SystemUI.
It looks like we were end()ing the main timing animation in
the middle of the animation (and too many times, at that).

Bug: 6992223
Change-Id: I6a4b7d692171baa73f6211c7843e164b05383a30
2012-08-16 13:52:31 -04:00
Svetoslav Ganov
80c904df15 am 8631701b: Allow enabled accessibility service to toggle tocuh exploration after an upgrade to JellyBean.
* commit '8631701bb770f3a4e3b2a139dc282f2244fe86e6':
  Allow enabled accessibility service to toggle tocuh exploration after an upgrade to JellyBean.
2012-08-16 10:36:55 -07:00
Daniel Sandler
1e8feef1fa Fix status bar disabling.
Bug: 6998403
Change-Id: I8a47e694f2f3914ef5cf0d180b0309783148c627
2012-08-16 11:37:41 -04:00
Steve Block
7bf70dd1ac Merge "Fix alpha value for device orientation" into jb-mr1-dev 2012-08-16 04:38:03 -07:00
Steve Block
d5be055f79 Fix alpha value for device orientation
This seems to have been incorrect since this code was first written for HC. I
can only think that the error was made due to confusion between portrait and
landscape mode as development switched from phones to tablets.

Tested on stingray and prime.

A similar fix will be required for Chrome.

Change-Id: I5da13c489fdb9de340b9e6ea8868c9f1adc15bb2
2012-08-16 11:04:51 +01:00
Jeff Brown
7c964e7899 Merge changes I39804ee6,I6a5a7ea2 into jb-mr1-dev
* changes:
  Use spline interpolation for auto-brightness.
  Add FloatMath.hypot.
2012-08-16 02:07:27 -07:00
Jeff Brown
e663975055 Merge "Improve auto-brightness debounce." into jb-mr1-dev 2012-08-16 02:06:18 -07:00
Jeff Brown
1a30b55036 Use spline interpolation for auto-brightness.
Strictly speaking, this is a change in behavior for all products.
Instead of using discrete zones, they will all now use spline
interpolation.  We could make this behavior configurable
but there seems to be little point to it.  The range of brightness
values used will be more or less the same as before, it's just
that what used to be the brightness value for all levels within
a particular zone now becomes the brightness value for the
highest level in that zone and lower values are used for lower
levels within the zone.

Change-Id: I39804ee630ba55f018e1e53c0576b28e7bd27931
2012-08-16 01:45:10 -07:00
Jeff Brown
270e3381e7 Add FloatMath.hypot.
Change-Id: I6a5a7ea2254300614dbbf540f40e39dbec2d2900
2012-08-16 01:30:22 -07:00
Michael Jurka
01de93de1e Fix bug with preloading recent tasks
Don't send a "cancel preloading" event to recents
from PhoneWindowManager if we're not using
long-press on home to invoke recents (ie phones
with soft nav keys)
2012-08-16 00:16:25 -07:00
Svetoslav Ganov
8631701bb7 Allow enabled accessibility service to toggle tocuh exploration after an upgrade to JellyBean.
1. Before JellyBean touch exploration was a global setting controlled by the user via
   the UI. However, if the enabled accessibility services do not handle touch exploration
   mode, enabling it makes no sense. Therefore, in JellyBean the services request touch
   exploration mode and the user is presented with a dialog to allow that and if she
   does we store that in the database.

   As a result of the above change a user that has enabled  accessibility, touch
   exploration, and some accessibility services running a pre-JellyBean system
   version may lose touch exploration state, thus rendering the device useless unless
   sighted help is provided, since the enabled service(s) are not in the list of
   services to which the user granted a permission to put the device in touch explore
   mode.

   The fix is during a database upgrade to allow allow all enabled accessibility
   services to toggle touch exploration provided accessibility and touch exploration
   are enabled and no services can toggle touch exploration. Note that the user has
   already manually enabled the services and touch exploration which means the she
   has given consent to have these services work in touch exploration mode

bug:6996354

Change-Id: I0af2dc578cc4fbcc90043341035163b876978ab2
2012-08-15 22:13:03 -07:00
Jeff Brown
06565b64de Improve auto-brightness debounce.
Change-Id: I045e2a14cb31ff987a22872733c442fc92ebadbf
2012-08-15 21:10:32 -07:00
Daniel Sandler
228916713d Merge "Multiuser support for notifications, take 1." into jb-mr1-dev 2012-08-15 21:03:26 -07:00
Daniel Sandler
2b197db786 Merge "Confine the quick settings trigger to the right third of the status bar." into jb-mr1-dev 2012-08-15 20:01:30 -07:00
Daniel Sandler
b9301c3a68 Multiuser support for notifications, take 1.
Notifications for background users are hidden from the
panel and status bar.

Still need to add a concept of "any user" notifications (for
things coming from the system) and notification visibility
controls (for access to icons + possibly masked text of
a background user's notifications).

Change-Id: Iba121f35a6c25c2e1c44db029d776a5a59a6a008
2012-08-15 23:00:56 -04:00
Daniel Sandler
cf591db049 Confine the quick settings trigger to the right third of the status bar.
Pulling down anywhere on the status bar when a panel is
already showing will switch to the other panel.

Also adjust gesture recorder output to track the settings
panel and annotate it separately.

Change-Id: I0ca3b395b5f2c6c8767237126bce26d0e8c9b8c0
2012-08-15 22:52:03 -04:00
Michael Jurka
524c878e7e Revert "Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev"
This reverts commit 6d00c724330702c6bfd2bba2b7b2501fa3ab62ff, reversing
changes made to 41bfb75f7c76588239ed5d2d4e38aeb1762ff348.
2012-08-15 19:39:55 -07:00
Dianne Hackborn
a1a1a1d6ca Merge "Fix issue #6955586: No navigation bar in landscape on tablets" into jb-mr1-dev 2012-08-15 18:53:34 -07:00
Dianne Hackborn
5a052a4d19 Fix issue #6955586: No navigation bar in landscape on tablets
The window manager was telling the activity manager to evaluate
the new configuration when first initializing the display, before
actually setting mDisplay, so it failed creating that first config.

Change-Id: I6e94fcf55b0587ccf15a5fd7ecbe2c9a0c201b96
2012-08-15 18:49:23 -07:00
Svetoslav Ganov
6d00c72433 Merge "Reload page when A11y is on and the JavaScript state changes." into jb-mr1-dev 2012-08-15 18:30:57 -07:00
Svetoslav Ganov
41bfb75f7c Merge "Only inject accessibility when speaking service enabled." into jb-mr1-dev 2012-08-15 18:29:26 -07:00
Jason Sams
ebefb2c3d8 Testing java compat lib for RS.
Change-Id: I77a19dea9f6b9513b79ae6b686dfe1803bb4cd98
2012-08-15 17:26:39 -07:00
Irfan Sheriff
dea6cb7821 Merge "CTS test for WiFi watchdog - framework support." into jb-mr1-dev 2012-08-15 16:28:58 -07:00
Baligh Uddin
32e7bd9fe1 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-15 15:40:57 -07:00
Scott Main
ccd7f59c0d am 91d08fe5: am 2d9063bc: docs: Add a few links and small edits to a couple layout guides
* commit '91d08fe51ab43980aed3ba6c89c0611e5319c51d':
  docs: Add a few links and small edits to a couple layout guides
2012-08-15 15:39:07 -07:00
Scott Main
91d08fe51a am 2d9063bc: docs: Add a few links and small edits to a couple layout guides
* commit '2d9063bc705aae7ef4cc90206ece03d4caeefba7':
  docs: Add a few links and small edits to a couple layout guides
2012-08-15 15:37:39 -07:00
Yuhao Zheng
f6307820c8 CTS test for WiFi watchdog - framework support.
The new WiFi watchdog requires kernel/driver to export some packet loss
counters. This CTS tests whether those counters are correctly exported.

Change-Id: I41999676f8488e86f35f1f8214ce668f1a2b5638
2012-08-15 15:22:37 -07:00
Scott Main
2d9063bc70 docs: Add a few links and small edits to a couple layout guides
Change-Id: I4c0c043782524a29f7fb8fcb54cc26d7399c39fc
2012-08-15 15:11:19 -07:00
Baligh Uddin
a2ad798794 Import translations. DO NOT MERGE
Change-Id: Ia23016ed0e45aa2e904dbcb0e2cd54ae5cc92477
Auto-generated-cl: translation import
2012-08-15 15:10:39 -07:00
Scott Main
7ef6c20dbc am f5d4970a: am 9047e466: Merge "docs: fix markup bug; remove extra </div>" into jb-dev
* commit 'f5d4970a1f71f1368499b79fb027f5e31fd1a389':
  docs: fix markup bug; remove extra </div>
2012-08-15 14:52:03 -07:00
Scott Main
f5d4970a1f am 9047e466: Merge "docs: fix markup bug; remove extra </div>" into jb-dev
* commit '9047e46657ad21e73bae5465ef00e29a84ad53a4':
  docs: fix markup bug; remove extra </div>
2012-08-15 14:49:33 -07:00
Scott Main
9047e46657 Merge "docs: fix markup bug; remove extra </div>" into jb-dev 2012-08-15 14:47:30 -07:00
Scott Main
02d74a28ee docs: fix markup bug; remove extra </div>
Change-Id: I9d1fd280b5f077a423f12ce8e226d09e5e9f7b2b
2012-08-15 14:42:48 -07:00
Chet Haase
6b7d46b78c Merge "Restore scissor state correctly" into jb-mr1-dev 2012-08-15 14:40:36 -07:00
Dianne Hackborn
e9c2f18c8e Merge "Add more debug info when a container view ID can't be found." into jb-mr1-dev 2012-08-15 14:36:53 -07:00
Dianne Hackborn
5bf6e1a1db Add more debug info when a container view ID can't be found.
Change-Id: Ibb2afc49747bd2d0ac24605cb3ec390334f8abf8
2012-08-15 14:33:32 -07:00
Chet Haase
42bb0be6c6 Merge "Glyph cache optimization" into jb-mr1-dev 2012-08-15 14:24:50 -07:00
Chet Haase
2efd5c5886 Glyph cache optimization
Precaching at startup was not working. One-liner fix to init the caches
so that precaching would kick in earlier, saving time at startup by avoiding
the multiple-upload issue of caching at render time.

Issue #6893691 long app launch time on manta for some apps comparing to nakasi/stingray

Change-Id: Ie5c7f0536ec8ea371c7892e5e09c1db14795531c
2012-08-15 14:19:20 -07:00
Chet Haase
8025061c59 Restore scissor state correctly
Chrome is disabling the scissor, which doesn't play well with our
code that assumes that we know the state of the scissor. This fix
sets up our internal state based on the actual state of the scissor
in the resume() function (which is called after any calls out to the
Chrome or Browser GL functor). This fixes intermittent rendering
artifacts, including a gray address bar (where the gray background
gets painted without the clip that is being applied to the text foreground).

Issue #6886339 Address bar in Chrome turns gray after swiping the tabs / favicons drift outside of tab

Change-Id: I3d8a23f4438b41a367336507845baaea90cccc7e
2012-08-15 13:49:42 -07:00