summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2024-10-08 16:50:00 +0100
committer Michal Brzezinski <brzezinski@google.com> 2024-10-09 16:11:36 +0100
commit8a22cd588b69b98eb2e13d75e0faa92defd7b3a3 (patch)
treefb2e24fc88721c4695be6cf6acc57a542f03b52e /api/api.go
parent88dcc78c31b8cf6f0106ba7ccd08a3b487429d3a (diff)
Refactoring gesture recognition logic
1/n of introducing gesture live progress tracking Main motivation for refactoring is making gesture recognition more composition-friendly and extendable, currently ThreeFingerDistanceBasedGestureMonitor is counter-example of that. Goal is to easily filter by number of gestures and react on distance changes and - in the future - to velocity at the end. And to be able to have any combination of that. Also I think the new code is easier to understand because we avoid inheritance. Incoming further changes: - Rename *GestureMonitor to *GestureRecognizer - Refactor Recent apps gesture logic to follow similar design of compositing features Bug: 369817369 Test: All tests are passing Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial Change-Id: I690b8a95d93a4a18f41ade98e4b214d14153cd6a
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions