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

Skip to content
Commit 93906cab authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

Create VelocityTracker#getAxisVelocity API

This API allows clients to query the velocity over a given axis. This
became necessary as VelocityTracker starts supporting axes beyond X and
Y axes. The immediate reason why we are adding this API is to support
AXIS_SCROLL velocity. When other axes are supported in the future, no
API surface change is needed, as this API takes a target axis. See the
design doc go/velocity-tracker-for-axis-scroll for more discussions for
the API signature choice.

Bug: 32830165
Test: CTS tests
Change-Id: Ib150ea8177c1f207c277d7889ed71515a29c64d3
parent 64379f23
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