replicant-frameworks_native/include/ui
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
..
egl ANativeWindow: add queues-to-window-composer check. 2011-03-08 16:49:51 -08:00
android_native_buffer.h
DisplayInfo.h Mouse pointer integration. 2011-01-04 17:31:24 -08:00
EGLNativeSurface.h
EGLUtils.h
FramebufferNativeWindow.h surfaceflinger: add support for gralloc dump hooks 2010-12-08 15:40:11 -08:00
GraphicBuffer.h Protected surface API 2011-01-28 08:04:00 -08:00
GraphicBufferAllocator.h [3171580] don't automatically log GraphicBuffer allocation failures 2010-12-03 17:33:09 -08:00
GraphicBufferMapper.h
GraphicLog.h
Input.h Improve VelocityTracker numerical stability. 2011-03-15 19:59:47 -07:00
InputTransport.h Add support for fallback keycodes. 2010-12-07 17:35:26 -08:00
Keyboard.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.h Add support for fallback keycodes. 2010-12-07 17:35:26 -08:00
KeycodeLabels.h Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
KeyLayoutMap.h Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
PixelFormat.h
Point.h
PowerManager.h The CHEEK_TOUCH stuff never worked. Remove it. 2010-11-08 13:02:58 -08:00
Rect.h
Region.h
VirtualKeyMap.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00