diff options
| author | 2022-10-05 18:15:40 -0700 | |
|---|---|---|
| committer | 2022-10-25 14:57:14 +0000 | |
| commit | 93906cabb22f55e36666889a58b0ab7aba8f4fe0 (patch) | |
| tree | f59ba8366a46712b71684b6a0f0070574ae549e9 /libs/androidfw/BigBuffer.cpp | |
| parent | 64379f2372d2deacf176c423758411101e7073ae (diff) | |
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
Diffstat (limited to 'libs/androidfw/BigBuffer.cpp')
0 files changed, 0 insertions, 0 deletions