102732 Commits

Author SHA1 Message Date
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
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
439752d484 Merge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev 2013-04-10 17:17:51 +00: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
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
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
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
Jeff Brown
a9574e3361 Add touchnavigation to input debugging command.
Bug: 8583760
Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558
2013-04-10 03:01:37 -07:00
Jeff Brown
678a1252b4 Split up the event synthesis code by source.
The goal is to better encapsulate this code to make it easier
to maintain and to facilitate some upcoming changes.

Some of the variables have been renamed but the logic is unchanged.

Bug: 8583760
Change-Id: I45501f7dabebcb938e42c386291d615d088a4c8c
2013-04-10 03:01:29 -07:00
Stephen Hines
7d25a829d3 Defer RS cache creation until a ScriptC is built.
Bug: 8582926
Change-Id: If017f41382f023f8f6ddd78ba198402d427c95f8
2013-04-10 01:20:47 -07:00
Jason Sams
d7094ea29b Merge "Fix docs with deprecated resize1D" into jb-mr2-dev 2013-04-10 05:17:30 +00:00
Ying Wang
d8b26d6c42 Merge "Add liblog" into jb-mr2-dev 2013-04-10 05:16:14 +00:00
Jason Sams
60799fb74b Fix docs with deprecated resize1D
Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703
2013-04-09 22:08:40 -07:00
Ying Wang
d685894212 Add liblog
Bug: 8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f
2013-04-09 21:54:12 -07:00
Jason Sams
07c6fa123d Merge "Implement RS GC worker thread." into jb-mr2-dev 2013-04-10 04:21:01 +00:00
Jason Sams
808723f2b8 Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev 2013-04-10 04:19:14 +00:00
Adam Powell
d93c6bbeea Merge "Integrate inverted menu panel assets" into jb-mr2-dev 2013-04-10 02:30:32 +00:00
Adam Powell
da26650b39 Integrate inverted menu panel assets
Add assets for menu panels when holo menus appear above their anchor
rather than below.

Bug 7049080

Change-Id: I7803f9414c2b2cb96274bf062adeccfc302a0d43
2013-04-09 19:22:57 -07:00
Mathias Agopian
dbb3901748 Merge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev 2013-04-10 02:03:08 +00:00
Adam Powell
1e1ccfb88b Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev 2013-04-10 01:35:22 +00:00
Mathias Agopian
57d019e222 rework GLSurfaceView so it can use the choreographer
GLSurfaceView will now automatically use the Choreographer to
schedule render updates on VSYNC. This happens only in
RENDERMODE_CONTINUOUSLY.

GLSurfaceView was rewriten to use a Looper and a HandlerThread
instead of a custom thread.

The basic mode of operation is unchanged, however the implementation
is largely different.

Removed support for older GPUs which had a limited number of contexts.

Bug: 8485730

Change-Id: I7b270f7ad7bb1259e858429054b1c8c9cc159dc6
2013-04-09 17:55:32 -07:00
Tim Murray
78e6494560 Clean up USAGE_SHARED and add syncing for USAGE_SHARED.
bug 8567006

Change-Id: Ie9c01eeccdd3fa0a81893314dfbce7c012d3f7d3
2013-04-09 17:47:57 -07:00
Adam Powell
bd1dd0d51a Fix a monkey bug with AbsListView data set observers
Several conditions can cause an AbsListView's data set observer to be
removed and nulled out. If for some reason the view receives duplicate
onDetachedFromWindow events this could cause AbsListView to attempt to
unregister a null observer. Skip this unregister process if this
happens.

Bug 7088152

Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d
2013-04-09 17:46:15 -07:00
Christopher Tate
32a019d438 Implicitly enable system apps when updates installed
If someone explicitly installs an update to a system-bundled package,
we infer that this means they actually want to use the new code.

Bug 7467302

Change-Id: If2dc6f764bafbb3a5c94cbdd32273c030fd784b9
2013-04-09 17:11:55 -07:00
Robert Greenwalt
20495d2a9f Merge "Fix crash bug with mismatched iface names" into jb-mr2-dev 2013-04-10 00:08:01 +00:00
Adam Powell
2c9669320f Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into jb-mr2-dev 2013-04-09 23:40:12 +00:00
Wink Saville
e5ac821772 Update function comment for getAllCellInfo
Bug: 8235566
Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1
2013-04-09 16:19:27 -07:00
Tim Murray
f8c033db1e Implement RS GC worker thread.
Bug 8579360

Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
2013-04-09 16:01:23 -07:00
Jason Sams
b05d689653 Cleanup Allocation and add 3D copies.
bug 8567058

Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85
2013-04-09 15:59:24 -07:00
Wink Saville
0a17eb09f0 Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev 2013-04-09 22:50:00 +00:00
Jamie Gennis
65b08486fd Merge "Add APIs for application-generated systrace events" into jb-mr2-dev 2013-04-09 22:30:52 +00:00
Maxim Siniavine
5877687b38 Make download manager tests more reliable.
Use larger files in tests. Using small files fails because downloads
complete too quickly. Using files that are too large fails because
downloads take too long.

Change-Id: I0786ece21e0acffa09dd8d85abf70ec4cde5e477
2013-04-09 15:08:43 -07:00
Jean-Michel Trivi
3fbf67e217 Handle seek requests in AudioService
AudioService handles seek requests to RemoteControlClients.
Discard old or unprocessed seek requests when handling a new one.
Update javadoc for OnPlaybackPositionUpdateListener interface.

bug 8120740

Change-Id: Id17c2852b24d4b8af85e472a177484b98cfeba05
2013-04-09 14:37:26 -07:00
Romain Guy
4a745e78bb Merge "Change the dither texture's swizzling" into jb-mr2-dev 2013-04-09 21:18:46 +00:00
Chiao Cheng
2355d13154 Adding public api support for finding contact changes.
DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.

A timestamp field has been added to contacts so clients can query
for changes.

Bug: 8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac
2013-04-09 14:12:31 -07:00
Adam Powell
daa1d56726 Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode
Make sure the selected item is properly propagated to the collapsed
spinner.

Bug 6754308

Change-Id: Iaa4e331b00106b31c5984980d33e3ac88853ae4d
2013-04-09 13:57:22 -07:00
Derek Sollenberger
45fa0cbc54 Ensure that a canvas is always backed by some form of SkDevice.
bug: 8518884
Change-Id: Id6c597179878ce5b938c00422e88bef5f12e2e1f
2013-04-09 16:36:55 -04:00
Jonathan Dixon
f38b070b31 Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev 2013-04-09 20:09:29 +00:00
Jamie Gennis
f9c7d6bc15 Add APIs for application-generated systrace events
This change adds new APIs to enable applications to generate custom Systrace
begin/end events.  Application-generated events use the ATRACE_APP_TAG tag,
which is enabled only if either the application has declared itself debuggable
in its manifest or ro.debuggable is set to 1 on the device.

Change-Id: I311d09e2e6ed1a30f5ffa84907f250e11cc0d48d
2013-04-09 11:59:43 -07:00
Robert Greenwalt
dbf500aaaf Merge "Turn back on global proxy support." into jb-mr2-dev 2013-04-09 18:15:06 +00:00
Scott Main
b4c13c4b04 am 405c6e2d: am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
* commit '405c6e2d656b628262ff3e3d0b79f58a46c839ec':
  fix xml error in sample
2013-04-09 10:50:29 -07:00
Scott Main
405c6e2d65 am d3724e02: am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
* commit 'd3724e02d898b66a5b94cf0f2d3bbfaec5295b32':
  fix xml error in sample
2013-04-09 10:47:50 -07:00
Scott Main
d3724e02d8 am 2568d7f0: am 0bf013fd: am f417fc4a: fix xml error in sample
* commit '2568d7f0cb9ee568309a0347805a12b9e771b689':
  fix xml error in sample
2013-04-09 10:43:38 -07:00
Scott Main
2568d7f0cb am 0bf013fd: am f417fc4a: fix xml error in sample
* commit '0bf013fdbd11a18c010147aed5899034172feb9a':
  fix xml error in sample
2013-04-09 10:41:03 -07:00
Scott Main
0bf013fdbd am f417fc4a: fix xml error in sample
* commit 'f417fc4a4f6aa577e0af08776825aa4569638f51':
  fix xml error in sample
2013-04-09 10:38:18 -07:00