replicant-frameworks_native/include
Jeff Brown c5982b7bee Improve VelocityTracker numerical stability. (DO NOT MERGE)
Replaced VelocityTracker with a faster and more accurate
native implementation.  This avoids the duplicate maintenance
overhead of having two implementations.

The new algorithm requires that the sample duration be at least
10ms in order to contribute to the velocity calculation.  This
ensures that the velocity is not severely overestimated when
samples arrive in bursts.

The new algorithm computes the exponentially weighted moving
average using weights based on the relative duration of successive
sample periods.

The new algorithm is also more careful about how it handles
individual pointers going down or up and their effects on the
collected movement traces.  The intent is to preserve the last
known velocity of pointers as they go up while also ensuring
that other motion samples do not count twice in that case.

Bug: 4086785
Change-Id: I95054102397c4b6a9076dc6a0fc841b4beec7920
2011-05-23 17:19:59 -07:00
..
binder Binder linkage no longer depends on JNI objrefs as persistent tokens 2011-02-28 11:37:20 -08:00
gui SurfaceTextureClient: Add ISurfaceTexture getter. 2011-03-14 17:47:11 -07:00
pim
private Add support for up to 32 buffers per Surface 2011-03-01 14:09:06 -08:00
surfaceflinger ANativeWindow: add queues-to-window-composer check. 2011-03-08 16:49:51 -08:00
tts
ui Improve VelocityTracker numerical stability. (DO NOT MERGE) 2011-05-23 17:19:59 -07:00
utils Improve VelocityTracker numerical stability. (DO NOT MERGE) 2011-05-23 17:19:59 -07:00