summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@android.com>2011-06-06 20:32:18 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-06-06 20:32:18 -0700
commit2c1804998b6a3f1f9f5f301ccf813363825ab4cf (patch)
tree402728e71a7bfd55b0dd1b2414ff8229442fb3b2 /include
parentb92dcf9c062064dcca9298b089d95a3ce1ba2e75 (diff)
parentac55c2b1ea5c4a1284bf06744380bf32e6aeb7d6 (diff)
downloadframeworks_base-2c1804998b6a3f1f9f5f301ccf813363825ab4cf.zip
frameworks_base-2c1804998b6a3f1f9f5f301ccf813363825ab4cf.tar.gz
frameworks_base-2c1804998b6a3f1f9f5f301ccf813363825ab4cf.tar.bz2
Merge "Revert velocity damping. Bug: 4364920" into honeycomb-mr2
Diffstat (limited to 'include')
-rw-r--r--include/ui/Input.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/ui/Input.h b/include/ui/Input.h
index d603441..074b38f 100644
--- a/include/ui/Input.h
+++ b/include/ui/Input.h
@@ -608,11 +608,6 @@ private:
// Oldest sample to consider when calculating the velocity.
static const nsecs_t MAX_AGE = 200 * 1000000; // 200 ms
- // When the total duration of the window of samples being averaged is less
- // than the window size, the resulting velocity is scaled to reduce the impact
- // of overestimation in short traces.
- static const nsecs_t MIN_WINDOW = 100 * 1000000; // 100 ms
-
// The minimum duration between samples when estimating velocity.
static const nsecs_t MIN_DURATION = 10 * 1000000; // 10 ms