diff options
| author | 2024-02-27 13:04:03 +0000 | |
|---|---|---|
| committer | 2024-02-27 16:24:23 +0000 | |
| commit | eb24089326dd00481e090bb01adf0d792a45d950 (patch) | |
| tree | 15ba7eb005a97ece826c9738800c90e8dd244c30 /libs/androidfw/AssetsProvider.cpp | |
| parent | 91b5d8c435d93b6e1847c8151ecc7bf99c5bff8d (diff) | |
DragController manage the scene transitions, when active
This refactoring removes the currentSource and eliminates the caller's
need to be aware of it.
Instead, we introduce a onDragStarted method that returns the
DragController.
The DragController provides control over the transition between two
scenes through the onDrag and onStop methods.
One of the goals of this refactor is to be able to remove the source
that indicates whether a gesture can be consumed.
The DragController can check whether it is currently driving the
transition without knowing what the source is, for example the
`SceneGestureHandlerTest.startNestedScrollWhileDragging()` test).
Test: atest DragHandlerImplTest
Bug: 317063114
Flag: NA
Change-Id: I9496e1f52643576cee873c2ddee861c265cafa6a
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions