103410 Commits

Author SHA1 Message Date
Mathias Agopian
ee067769ea am 26cbb806: Merge "Don\'t draw synchronously in onResume()" into jb-mr2-dev
* commit '26cbb8060098f5cdfce7684eb7336f1b1c7af4c2':
  Don't draw synchronously in onResume()
2013-04-10 14:45:40 -07:00
Mathias Agopian
26cbb80600 Merge "Don't draw synchronously in onResume()" into jb-mr2-dev 2013-04-10 21:40:44 +00:00
Joe Fernandez
8bd211c79e am 767e8747: am 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '767e8747b4c3b08f75f48dc2b3d3baf7d6d37af8':
  docs: OpenGL Dev Guide, fix bug: 6104328
2013-04-10 14:35:38 -07:00
Joe Fernandez
767e8747b4 am 0b6162e1: am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '0b6162e148db58ff8f8a5f0a3422933cd0005216':
  docs: OpenGL Dev Guide, fix bug: 6104328
2013-04-10 14:30:17 -07:00
Joe Fernandez
0b6162e148 am 3f156d73: am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '3f156d7331a0932755cea431b5c681f451055fdf':
  docs: OpenGL Dev Guide, fix bug: 6104328
2013-04-10 14:28:15 -07:00
Joe Fernandez
3f156d7331 am 12ee56aa: am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '12ee56aaad5614e010edd24f41654b6ab135492c':
  docs: OpenGL Dev Guide, fix bug: 6104328
2013-04-10 14:24:51 -07:00
Joe Fernandez
12ee56aaad am 5f27b486: am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '5f27b4860b67ac35b8089c244c89832689a8297a':
  docs: OpenGL Dev Guide, fix bug: 6104328
2013-04-10 14:22:36 -07:00
Joe Fernandez
5f27b4860b am 53bbb4ff: Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs
* commit '53bbb4ff4970c52619a78c54da6356f2b5aeb2a7':
  docs: OpenGL Dev Guide, fix bug: 6104328
2013-04-10 14:20:31 -07:00
Dianne Hackborn
a92e95e5d9 am 064fab54: Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev
* commit '064fab54d743c6b00319ec08669e8b0872625317':
  Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
2013-04-10 14:20:10 -07:00
Michael Wright
e5f80f4bec am f7104136: Merge "Stop marking gamepads as keyboards" into jb-mr2-dev
* commit 'f7104136927f45e152cec3583463b8ef1570df7b':
  Stop marking gamepads as keyboards
2013-04-10 14:20:07 -07:00
Joe Fernandez
53bbb4ff49 Merge "docs: OpenGL Dev Guide, fix bug: 6104328" into jb-mr1.1-docs 2013-04-10 21:17:21 +00:00
Dianne Hackborn
064fab54d7 Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev 2013-04-10 21:15:15 +00:00
Michael Wright
f710413692 Merge "Stop marking gamepads as keyboards" into jb-mr2-dev 2013-04-10 21:14:27 +00:00
Romain Guy
23886803a1 am 5180ed14: Merge "Instrument views inflation in systrace" into jb-mr2-dev
* commit '5180ed141db0f1acced4f19f37391572bc18280b':
  Instrument views inflation in systrace
2013-04-10 14:11:45 -07:00
Romain Guy
5180ed141d Merge "Instrument views inflation in systrace" into jb-mr2-dev 2013-04-10 21:07:09 +00:00
Dianne Hackborn
2323dd8d1e Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
Bluetooth GID was wrong and pointless and dumb and now gone.

Change-Id: Ibde563ef0c10c6d316428e1e683b013005b934d4
2013-04-10 12:50:12 -07:00
Baligh Uddin
36b5c967e1 am 0cb19909: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '0cb19909211cefc5874c0bcb02335d7b0e988328':
  Import translations. DO NOT MERGE
2013-04-10 12:40:48 -07:00
Baligh Uddin
0cb1990921 Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-10 19:36:55 +00:00
Mathias Agopian
ab814a6472 Don't draw synchronously in onResume()
this could cause a dead-lock if the applicaltion's draw
implementation blocks until something happenson the main
ui thread.

note: we're still doing this synchronous draw in onWindowResize() because
that's what the previous implementation did. Technically, it has the
same problem.

Bug: 8586305
Change-Id: I782568289cc9419346aeea73775d86faa28b3058
2013-04-10 12:33:15 -07:00
Maxim Siniavine
f7c6475d0a am 85478b59: Skip apps without launch intent.
* commit '85478b59722837ed1bec447b2920f2f7111b57ea':
  Skip apps without launch intent.
2013-04-10 12:23:38 -07:00
Maxim Siniavine
85478b5972 Skip apps without launch intent.
If an app from the apk cannot be launched then skip it in compatibility
test, rather than generate a null pointer exception.

Change-Id: I252031f249bfe25282b10394889ab8c5506cabcf
2013-04-10 12:14:11 -07:00
Maxim Siniavine
d15c6de22b am d9621f86: Merge "Make download manager tests more reliable." into jb-mr2-dev
* commit 'd9621f867027dedc47df50c8ff4bf6f67c188ea4':
  Make download manager tests more reliable.
2013-04-10 11:50:03 -07:00
Maxim Siniavine
d9621f8670 Merge "Make download manager tests more reliable." into jb-mr2-dev 2013-04-10 18:47:29 +00:00
Scott Main
3e3d9bbd0b am 2e68794a: am 7104fda4: am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro
* commit '2e68794a3fe08934b006677ac029fec60f5087cf':
  add a little more information to hierarchy view intro
2013-04-10 11:44:35 -07:00
Romain Guy
09f7b93a18 Instrument views inflation in systrace
Change-Id: If3cd80bc430893c701432f165b4c1f5943a4143c
2013-04-10 11:42:44 -07:00
Tim Murray
f38609536f am a8aa6880: Merge "Add GC thread to RSGL." into jb-mr2-dev
* commit 'a8aa6880e4f117a265538dd55516a3f69c1c289b':
  Add GC thread to RSGL.
2013-04-10 11:41:12 -07:00
Scott Main
2e68794a3f am 7104fda4: am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro
* commit '7104fda428133e9ddfd859644b7cc6bef7479c4d':
  add a little more information to hierarchy view intro
2013-04-10 11:40:15 -07:00
Tim Murray
a8aa6880e4 Merge "Add GC thread to RSGL." into jb-mr2-dev 2013-04-10 18:37:35 +00:00
Scott Main
7104fda428 am 915ece10: am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro
* commit '915ece10b42d6f45ce9b7317fe94f3e845403ee1':
  add a little more information to hierarchy view intro
2013-04-10 11:36:30 -07:00
Scott Main
915ece10b4 am 33702b8f: am 09810499: am 26a5305f: add a little more information to hierarchy view intro
* commit '33702b8fd66b74fc291a96659327b3bdd4e81ba0':
  add a little more information to hierarchy view intro
2013-04-10 11:31:37 -07:00
Tim Murray
fb32993a45 Add GC thread to RSGL.
bug 8585185

Change-Id: I06df29c3be831d6cd53fa8913ba3731f29c137d1
2013-04-10 11:23:24 -07:00
Scott Main
33702b8fd6 am 09810499: am 26a5305f: add a little more information to hierarchy view intro
* commit '09810499650868eeaf3eff8fbd7cb8d538d75bf9':
  add a little more information to hierarchy view intro
2013-04-10 11:14:14 -07:00
Scott Main
0981049965 am 26a5305f: add a little more information to hierarchy view intro
* commit '26a5305f6638ccb221473866ae6188a0e34111f3':
  add a little more information to hierarchy view intro
2013-04-10 11:10:23 -07:00
Chet Haase
78b24b6f03 am dacd4751: Merge "Fix Contacts animation jank" into jb-mr2-dev
* commit 'dacd47516321d263efa7489b5b9bd7d8e1714332':
  Fix Contacts animation jank
2013-04-10 10:51:53 -07:00
Dianne Hackborn
abe0aa78ca am 8f980e1a: Merge "Reduce duration of rotation xfade animation." into jb-mr2-dev
* commit '8f980e1a5ae99d5e34aaef6aac7f38a7d0038631':
  Reduce duration of rotation xfade animation.
2013-04-10 10:51:50 -07:00
Chet Haase
dacd475163 Merge "Fix Contacts animation jank" into jb-mr2-dev 2013-04-10 17:49:56 +00:00
Dianne Hackborn
8f980e1a5a Merge "Reduce duration of rotation xfade animation." into jb-mr2-dev 2013-04-10 17:48:21 +00:00
Stephen Hines
0664479a2b am 439752d4: Merge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev
* commit '439752d484b93efff52bc4e95c96a0be86c87f1e':
  Defer RS cache creation until a ScriptC is built.
2013-04-10 10:22:52 -07:00
Stephen Hines
439752d484 Merge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev 2013-04-10 17:17:51 +00:00
The Android Open Source Project
8f66c387cc Reconcile with jb-mr2-release - do not merge
Change-Id: I3f174e8a8e79b7f7ab1ced7ba665c538183948f2
2013-04-10 10:05:34 -07:00
Scott Main
26a5305f66 add a little more information to hierarchy view intro
Change-Id: I19f31a098d43e6bfcd575585732df5ec26f9bd2d
2013-04-10 09:51:41 -07:00
Jean-Michel Trivi
bb15974b72 am 8515256a: Merge "Handle seek requests in AudioService" into jb-mr2-dev
* commit '8515256ad477721a97108745da4c86f378f50637':
  Handle seek requests in AudioService
2013-04-10 09:34:09 -07:00
Jean-Michel Trivi
8515256ad4 Merge "Handle seek requests in AudioService" into jb-mr2-dev 2013-04-10 16:29:18 +00:00
Baligh Uddin
4b359f7246 Import translations. DO NOT MERGE
Change-Id: I82df70ed91e543b19e8c8b0ed5002cecec5e293d
Auto-generated-cl: translation import
2013-04-10 09:08:43 -07:00
Chet Haase
58d110afa0 Fix Contacts animation jank
The last frame of an animation stays stuck on the screen for a couple of frames.
Specifically, the "Quick Contact" animation that animates the picture
closed (fades/scales it away) animates all the way to the end... then hangs there
briefly before being taken down.

The problem is a rendering bug where we correctly detect that a DisplayList
has nothing to draw (since the last frame is completely transparent, alpha==0),
but incorrectly ignore the fact that we cleared the transparent-background
window prior to not-drawing that DisplayList. When we detect that there's
nothing to draw, we don't bother swapping buffers. So even though we drew
the right thing (clearing the buffer), we didn't actually post the buffer to the
screen.

This change factors in both the clear and the draw to decide when to swap buffers.

Issue #8564865 Quick contact close animation jank redux

Change-Id: Ib922cff88a94f025b62f7461c1a29e96fe454838
2013-04-10 07:43:29 -07:00
The Android Automerger
c8b954a2ca merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-10 05:56:05 -07:00
Derek Sollenberger
8225c5b3d9 am c37b63d6: Merge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev
* commit 'c37b63d6e777748d17ff177b128e30504fbd6c71':
  Ensure that a canvas is always backed by some form of SkDevice.
2013-04-10 05:14:54 -07:00
Derek Sollenberger
c37b63d6e7 Merge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev 2013-04-10 12:11:14 +00:00
Jeff Brown
55198db2db am 4dac901f: Rewrite touch navigation dpad synthesis.
* commit '4dac901f011e7c15882e260441225633a6435e49':
  Rewrite touch navigation dpad synthesis.
2013-04-10 03:56:56 -07:00
Jeff Brown
4dac901f01 Rewrite touch navigation dpad synthesis.
The new implementation more accurately tracks the velocity
of flings and takes care to avoid obvious discontinuities.
The main goal is for a fling to appear to be a linear
extension of the movement already in progress.  The minimum
fling velocity is set to ensure that flings appear to be
fairly smooth despite being discretized.

Use sequences of repeated key events instead of individual
down/up events to represent continuous motions in one
direction which can be helpful for stopping flings at boundaries
such as when flinging the cursor position within a text view.

Compute the movement thresholds based on the physical
size of the touch pad, if known.  If not known, we assume a
nominal size.

Support stopping flings with a tap just like we do for
normal touch events elsewhere in the framework.

Moved the detection of ASSIST swipes into the InputReader
where it belongs.  These swipes must be detected globally
to ensure consistent behavior across the all applications.

Added a custom protocol in EventHub to enable input device
drivers to override the timestamp of the following events
in a packet.  This change enables input device drivers
that have a better idea of when an input event was actually
generated to pass this information to the input system.
Particularly useful with uinput.

Bug: 8583760
Change-Id: I8ef4e827804786d549cfaa00793a2b9dd0fda465
2013-04-10 03:51:18 -07:00