102665 Commits

Author SHA1 Message Date
Jesse Hall
58d80c53c0 Unhide android.opengl.GLES30 class and contents
Bug: 8566953
Change-Id: I5273fb3bff642da5ff1eecb5899e8051402b19ca
2013-04-15 17:38:36 -07:00
Jesse Hall
d830e74ff4 Add android.opengl.GLES30, hidden for now
Bug: 8566953
Change-Id: Ia5a01d5e857b4fce12a451e2dcab0359758ad648
2013-04-15 17:37:33 -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
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
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
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
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
Dianne Hackborn
558a3c1b7b Merge "Kill processes when permissions are revoked." into jb-mr2-dev 2013-04-09 17:38:00 +00:00
Baligh Uddin
5660b4843e Merge "Import translations. DO NOT MERGE" into jb-mr2-dev 2013-04-09 17:34:24 +00:00
Scott Main
f417fc4a4f fix xml error in sample
Change-Id: I59ca15028c52e0be081f4e65308f88e06115f7fd
2013-04-09 10:29:00 -07:00
Romain Guy
032d47af73 Change the dither texture's swizzling
This is a more elegant way to sample from a float alpha texture.
Instead of sampling from the red channel in the fragment shader
we can set the alpha channel swizzle to redirect it to the
red channel. This lets us sample from the alpha channel in the
fragment shader and get the correct value.

Change-Id: I95bbf7a82964e1bf42c0fee1b782b6bdbbcef618
2013-04-09 10:12:47 -07:00
Raph Levien
376054121e Merge "Update Droid Serif" into jb-mr2-dev 2013-04-09 17:10:56 +00:00
Daniel Sandler
9fa49cc330 Merge "Fix [-] buttons in the notification builder test." into jb-mr2-dev 2013-04-09 14:34:20 +00:00
Daniel Sandler
72dcb91393 Fix [-] buttons in the notification builder test.
(Broken by change I9fae5a4a).

Bug: 8564511
Change-Id: I0d5b65e6678018630c812c5616e9b3f068029e66
2013-04-09 13:34:04 +00:00
Michael Jurka
104ca45a04 Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev 2013-04-09 06:04:36 +00:00
Dianne Hackborn
f1b782427f Kill processes when permissions are revoked.
Some permissions are associated with gids, so we need to
kill any running processes if their permission is revoked.
We will do this for any permission being revoked, since
the association between gids and permissions can change
over time.

Change-Id: Ieb7408e032539c4f21eb089d65a7a7e6c289f010
2013-04-08 22:28:59 -07:00
Ying Wang
cf5ccb8f81 Fix tests build.
Change-Id: I24d65c18018a8d6df6fa3414306fc0d586d4cfa2
2013-04-08 19:02:01 -07:00
Michael Jurka
e0523f7c80 Fix janky icon fade-in animation in Recents
Change-Id: I15d2274add8903820dac3da0fa47c9e54f6ec97d
2013-04-08 18:20:20 -07:00
Robert Greenwalt
4b8fabd5a8 Fix crash bug with mismatched iface names
The copied-to LinkProperties needs the same iface name as the copied from.
Since we were copying into an empty LP this was trivial, but I
changed the params to tighten up this contract - don't want to
accidentally change an LP's iface name when we shouldn't.

bug:8569797
Change-Id: I5f88826e37271a0549c14d004bb2f16983b950e6
2013-04-08 18:02:02 -07:00
Eric Rowe
3c09715ced Merge "Change dropbox tag for native crashes." into jb-mr2-dev 2013-04-09 00:11:51 +00:00