OSDN Git Service

InputResampling: Don't extrapolate for very low frame rates.
authorAndrew de los Reyes <adlr@google.com>
Thu, 1 Oct 2015 22:57:25 +0000 (15:57 -0700)
committerAndrew de los Reyes <adlr@google.com>
Thu, 1 Oct 2015 22:57:25 +0000 (15:57 -0700)
commitde18f6c32add6fb22065807a00ddc88b363df527
treea0f877958b8be34fe0ac5d0e3329f5a898d2c83c
parentb0127aadafbf3b314475e48772fdcc17939c5a9c
InputResampling: Don't extrapolate for very low frame rates.

In very low framerate situations, extrapolation is generally going to
either cause no benefit or make a mistake. We can safely turn it off
with no user-visible negative impact.

BUG=https://buganizer.corp.google.com/u/0/issues/24550942
TEST=Scrolled very slowly and saw mispredictions on Angler. With change,
saw the log message that the mispredictions were suppressed.

Change-Id: Ic9747d3ff098d7918047ada2ed1c2d21282c65b0
libs/input/InputTransport.cpp