diff options
| author | 2023-04-20 22:06:49 +0000 | |
|---|---|---|
| committer | 2023-07-19 16:18:14 +0000 | |
| commit | 2d4f78e3fdc72e37b65e374fcc981cbc3b24a34b (patch) | |
| tree | a2f9805060145c3afb315e9108fe2de1a10f8621 /api/api_test.go | |
| parent | b9064cdc483213199f78babc810e313568d9ccef (diff) | |
Create SinglePanningState that will handle single pointer/finger panning
In magnification feature user will be able to pan with one
pointer/finger and only once the user is at the edge it will transition
to DetectingState which will determine whether the user has overscrolled
or not. If it has overscrolled (user is trying to pan further in the
direction of the edge) transition to delegatingState else return back to
SinglePanningState
Bug: 278270879, 279498927
Test: atest FullScreenMagnficationGestureHandlerTest
Change-Id: Ie706ce00a22d9e9adf833c3b86bca686a13d27ce
(cherry picked from commit 30943ffaedbd85232cf6f9b6b12ca2c5219b8212)
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions