summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author George Mount <mount@google.com> 2024-03-05 08:07:54 -0800
committer George Mount <mount@google.com> 2024-03-06 08:49:09 -0800
commit7d68d625c16614d6b00e3218c165d685a7506d9d (patch)
tree9b970a3e1890eea829741e53eb353c8e795436d6 /libs/input/SpriteController.cpp
parent8faf871b34577894378fe3802bf733b9bfbaeee1 (diff)
Automatically detect when Views move and apply velocity.
Bug: 328283855 Bug: 328410701 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, ran ViewTest Change-Id: I192cb132d72c6853ee4ab2b7290ae6eabdfd1b61
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions