103823 Commits

Author SHA1 Message Date
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
Jeff Brown
38bfe9eca0 am a9574e33: Add touchnavigation to input debugging command.
* commit 'a9574e3361e168671d627071e26280f69d0d081b':
  Add touchnavigation to input debugging command.
2013-04-10 03:24:30 -07:00
Jeff Brown
f1cee03bf0 am 678a1252: Split up the event synthesis code by source.
* commit '678a1252b4f3cdc18d20b411c05a4320d1d9b719':
  Split up the event synthesis code by source.
2013-04-10 03:24:28 -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
dfbd6eae7b am d7094ea2: Merge "Fix docs with deprecated resize1D" into jb-mr2-dev
* commit 'd7094ea29bac0c3c296b79caca150e3a543fe39b':
  Fix docs with deprecated resize1D
2013-04-09 22:28:54 -07:00
Ying Wang
a976bddd9c am d8b26d6c: Merge "Add liblog" into jb-mr2-dev
* commit 'd8b26d6c424741dd09cf70ee88fd237807aaf301':
  Add liblog
2013-04-09 22:28:51 -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
fd38ca2cdc am 07c6fa12: Merge "Implement RS GC worker thread." into jb-mr2-dev
* commit '07c6fa123da8c7a25edab751543d96fea1dd57f6':
  Implement RS GC worker thread.
2013-04-09 21:24:42 -07:00
Jason Sams
84882711fc am 808723f2: Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev
* commit '808723f2b8a3842114f064a5ad4ee08fa9698192':
  Cleanup Allocation and add 3D copies.
2013-04-09 21:24:39 -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
07ca26da4c am d93c6bbe: Merge "Integrate inverted menu panel assets" into jb-mr2-dev
* commit 'd93c6bbeea22ecc99d29abec7ecaa626f152a74b':
  Integrate inverted menu panel assets
2013-04-09 19:35:04 -07: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
e86713edc2 am dbb39017: Merge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev
* commit 'dbb39017486cb2e9c52557dc9e1f3a222786e2a5':
  rework GLSurfaceView so it can use the choreographer
2013-04-09 19:06:16 -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
a26ec11a1e am 1e1ccfb8: Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev
* commit '1e1ccfb88bf2d78d8876022fae6c5058548406e7':
  Fix a monkey bug with AbsListView data set observers
2013-04-09 18:54:40 -07: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
Jim Miller
4894a016f4 Fix bug where transport shows all the time in keyguard
This fixes a bug caused by not keeping track of previous play
state properly in keyguard as well as showing the transport
even when in STATE_INVISIBLE.

Fixes bug 8473575

Change-Id: I28bd382c53645a7c44541b3139c0a60569865219
2013-04-09 18:15:53 -07: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
Robert Greenwalt
0c455f3d6f am 20495d2a: Merge "Fix crash bug with mismatched iface names" into jb-mr2-dev
* commit '20495d2a9fddfe712e04bde6a056f9fb058876d5':
  Fix crash bug with mismatched iface names
2013-04-09 17:13:06 -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
3431f7ed15 am 2c966932: Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into jb-mr2-dev
* commit '2c9669320f6eb7227dd66fb8fe6cce3d39a56f06':
  Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode
2013-04-09 16:43:36 -07: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
a66a77fc16 am e5ac8217: Update function comment for getAllCellInfo
* commit 'e5ac8217727e792fc378e70d7439b373952e7674':
  Update function comment for getAllCellInfo
2013-04-09 16:27:05 -07: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
5b8971f3e6 am 0a17eb09: Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
* commit '0a17eb09f0639ae93747b4bbdbfa2d04b3804d80':
  Add FW support for CellInfo RIL commands.
2013-04-09 15:57:25 -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
bb2e031ace am 65b08486: Merge "Add APIs for application-generated systrace events" into jb-mr2-dev
* commit '65b08486fde649e6dd11f17808e7aa85101dea93':
  Add APIs for application-generated systrace events
2013-04-09 15:36:17 -07: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
52706c6cc0 am 4a745e78: Merge "Change the dither texture\'s swizzling" into jb-mr2-dev
* commit '4a745e78bb1a3fdb4d28e71ddccd9709df7db4b1':
  Change the dither texture's swizzling
2013-04-09 14:20:05 -07:00
Chiao Cheng
3e41c7c9ba am 2355d131: Adding public api support for finding contact changes.
* commit '2355d13154d50687c0d8d74ea1c0e41ab9d88e7e':
  Adding public api  support for finding contact changes.
2013-04-09 14:20:02 -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