replicant-frameworks_native/libs/ui
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
..
tests Add new axes for joysticks and mouse wheels. 2011-02-19 05:23:10 -08:00
Android.mk Add support for arbitrary axes in MotionEvents. 2011-02-15 19:14:37 -08:00
EGLUtils.cpp Use EGL_NATIVE_VISUAL_ID to select EGLConfig 2011-01-19 18:21:15 -08:00
EventRecurrence.cpp
FramebufferNativeWindow.cpp ANativeWindow: add query for the concrete type. 2011-03-14 17:47:11 -07:00
GraphicBuffer.cpp am 48f42f8c: am 4153bf3a: Merge "[3171580] don\'t automatically log GraphicBuffer allocation failures" into gingerbread 2010-12-07 17:24:03 -08:00
GraphicBufferAllocator.cpp improve SurfaceFlinger 'dumpsys' log 2011-01-19 16:15:53 -08:00
GraphicBufferMapper.cpp fix [3259708] Graphic Buffer Mapper does not support YV12 2010-12-08 16:48:28 -08:00
GraphicLog.cpp Fix sim-eng build on Hardy 2010-09-16 16:28:13 -07:00
Input.cpp Improve VelocityTracker numerical stability. (DO NOT MERGE) 2011-05-23 17:19:59 -07:00
InputTransport.cpp Use touch pad gestures to manipulate the pointer. (DO NOT MERGE) 2011-05-23 17:19:38 -07:00
Keyboard.cpp Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
KeyCharacterMap.cpp Make getFallbackAction return false when there is none. 2011-01-14 17:54:38 -08:00
KeyLayoutMap.cpp Joystick tweaks. (DO NOT MERGE) 2011-03-04 19:12:41 -08:00
MODULE_LICENSE_APACHE2
NOTICE
PixelFormat.cpp remove unused pixel format 2010-08-19 13:11:42 -07:00
Rect.cpp
Region.cpp fix [4093196] Device lock up - log spam with SharedBufferStack: waitForCondition(LockCondition) timed out 2011-03-17 00:04:42 -07:00
VirtualKeyMap.cpp Improve support for external keyboards. 2010-12-02 16:01:32 -08:00