Go to file
Jeff Brown 1593354388 Improve VelocityTracker numerical stability.
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: I2632321232c64d6b8faacdb929e33f60e64dcdd3
2011-03-15 19:59:47 -07:00
cmds
include Improve VelocityTracker numerical stability. 2011-03-15 19:59:47 -07:00
libs Improve VelocityTracker numerical stability. 2011-03-15 19:59:47 -07:00
opengl GLES2Debugger: Added DbgContext and vertex data capturing. 2011-03-10 16:40:37 -08:00
services/surfaceflinger Fix some const-ness and comments 2011-03-11 17:01:40 -08:00
vpn Make VpnService synchronous API. 2011-01-20 12:51:43 +08:00
GenerationCache.h Add TextLayout Cache 2011-03-02 13:29:20 -08:00
MODULE_LICENSE_APACHE2
NOTICE