replicant-frameworks_native/include/utils
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
..
ashmem.h
Asset.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
AssetDir.h
AssetManager.h More native work. 2010-08-11 00:29:59 -07:00
Atomic.h
BackupHelpers.h
BitSet.h Improve VelocityTracker numerical stability. 2011-03-15 19:59:47 -07:00
BufferedTextOutput.h
ByteOrder.h
CallStack.h dump callstack on Surface use error 2010-12-10 15:37:48 -08:00
Compat.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Debug.h
Endian.h
Errors.h
FileMap.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
Flattenable.h remove a dependency of GraphicBuffer (libui) on Parcel (libbinder). 2010-02-21 23:27:25 -08:00
Functor.h Add support for partial invalidates in WebView 2011-03-07 18:09:03 -08:00
GenerationCache.h Add TextLayout Cache 2011-03-02 13:29:20 -08:00
KeyedVector.h
List.h
Log.h
Looper.h Fade out the mouse pointer after inactivity or other events. 2011-03-02 15:37:57 -08:00
misc.h
ObbFile.h OBB: use PBKDF2 for key generation. 2010-10-13 18:25:33 -07:00
Pool.h Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
PropertyMap.h Add initial support for cursor-based pointing devices. 2010-12-29 13:19:53 -08:00
RefBase.h Fix a wp<> bug where the owner ID would be wrong 2011-02-24 18:12:34 -08:00
ResourceTypes.h am a1f5e82f: am a30063d8: am 25eb0464: Merge "Normalize output from aapt d" 2011-01-29 23:07:48 -08:00
SharedBuffer.h
Singleton.h Purge Skia objects from GL caches as needed. 2010-09-08 18:04:33 -07:00
SortedVector.h
StopWatch.h Native input dispatch rewrite work in progress. 2010-06-13 17:42:16 -07:00
StreamingZipInflater.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
String8.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
String16.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
StringArray.h
StrongPointer.h Fix sp<> conversion operator / constructor 2011-02-25 16:20:52 -08:00
SystemClock.h
TextOutput.h
threads.h Bug 3362814 Fix SMP race in access to mRequestExit 2011-02-23 17:49:59 -08:00
Timers.h
Tokenizer.h Improve support for external keyboards. 2010-12-02 16:01:32 -08:00
TypeHelpers.h Fix some issues with RefBase debugging. 2011-02-23 22:21:41 -08:00
Unicode.h Split UTF functions from String8/16 2010-11-12 15:53:40 -08:00
Vector.h Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
VectorImpl.h Even more native input dispatch work in progress. 2010-06-17 13:27:16 -07:00
ZipFileCRO.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipFileRO.h Change assets to use 64-bit API 2010-12-08 11:21:30 -08:00
ZipUtils.h