diff options
| author | 2023-07-27 01:14:02 -0700 | |
|---|---|---|
| committer | 2023-07-28 00:44:27 +0000 | |
| commit | 55fe69e07727eb679ff138d41636fa923c0955cf (patch) | |
| tree | 455830af10bd2ff8db8122ae6de02b93ecc011c7 /libs/hwui/AutoBackendTextureRelease.cpp | |
| parent | 134966d785d5b98a90090714a64768c8ec8c038d (diff) | |
Differential motion fling for platform widgets
This change adds a DifferentialMotionFlingHelper class to control
flinging from differential motion, and uses it in AbsListView and
ScrollView.
The helper class is currently hidden. Unless we have a strong incentive
to open up the API for developers, we will keep the API hidden.
Demo video: http://shortn/_0quHhjPtCV
Interaction with stretch effect is also demonstrated in the demo.
Bug: 293332089
Test: manual, DifferentialMotionFlingHelperTest
Test: no CTS regression for ScrollViewTest, ListViewTest, GridViewTest
Change-Id: I7acd1aa63da4c64d72cca3c8ac6e10dea1f5bd0b
Diffstat (limited to 'libs/hwui/AutoBackendTextureRelease.cpp')
0 files changed, 0 insertions, 0 deletions