Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 55fe69e0 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

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
parent 134966d7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment