1593354388
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 |
||
---|---|---|
.. | ||
ashmem.h | ||
Asset.h | ||
AssetDir.h | ||
AssetManager.h | ||
Atomic.h | ||
BackupHelpers.h | ||
BitSet.h | ||
BufferedTextOutput.h | ||
ByteOrder.h | ||
CallStack.h | ||
Compat.h | ||
Debug.h | ||
Endian.h | ||
Errors.h | ||
FileMap.h | ||
Flattenable.h | ||
Functor.h | ||
GenerationCache.h | ||
KeyedVector.h | ||
List.h | ||
Log.h | ||
Looper.h | ||
misc.h | ||
ObbFile.h | ||
Pool.h | ||
PropertyMap.h | ||
RefBase.h | ||
ResourceTypes.h | ||
SharedBuffer.h | ||
Singleton.h | ||
SortedVector.h | ||
StopWatch.h | ||
StreamingZipInflater.h | ||
String8.h | ||
String16.h | ||
StringArray.h | ||
StrongPointer.h | ||
SystemClock.h | ||
TextOutput.h | ||
threads.h | ||
Timers.h | ||
Tokenizer.h | ||
TypeHelpers.h | ||
Unicode.h | ||
Vector.h | ||
VectorImpl.h | ||
ZipFileCRO.h | ||
ZipFileRO.h | ||
ZipUtils.h |