summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.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-05 16:38:10 -0800
commit20c76ddcf3a5169cdf52cca9487e0b4a719d9586 (patch)
treec76446aa8f522161d5e3526b83e08de805a1f506 /libs/hwui/FrameInfoVisualizer.cpp
parent1cfa8a9ee615ca32fd77a96148357e178138e8f6 (diff)
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
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions