Automatically detect when Views move and apply velocity.

Bug: 328283855

When a View moves, the View will automatically update with
a velocity-based refresh rate rather than with size-based
refresh rate. This should help moving Views refresh at
high refresh rate and provide smooth scrolling when the
default refresh rate is 60Hz, even if they don't support
the velocity-based refresh rate. It also helps drop the
refresh rate as soon as scrolling ends rather than
waiting for the touch boost timeout.

Test: new tests, some manual testing
Change-Id: Ia1399a06aa5f09f918d698c6304880509f57bda8
4 files changed