summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2025-03-09 19:18:04 -0700
committer Juan Sebastian Martinez <juansmartinez@google.com> 2025-03-10 08:42:50 -0700
commitf06fc3528292c3c0714019ec6b816cef5e534833 (patch)
tree1a133e40956a2e045ba9d4d98f23f28058eadb75 /libs/androidfw/AssetsProvider.cpp
parent1b11d6bc8866a9d15ae8690a107ab8b8c8cc2ff7 (diff)
Implementing magnetic attachment using springs.
The ability to re-attach a magnetic notification to its neighbors is being implemented. After being detached, crossing a new attachment threshold reactivates the magnetic pulling. To avoid jump artificats, the MagneticRowListeners decide if running animators must be cancelled when setting a new translation if we wish to track the input gesture directly in an eager fashion. This happens if the drag gestures are larger than the set touch slop. Test: MagneticNotificationRowManagerImplTest Flag: com.android.systemui.magnetic_notification_swipes Bug: 397418247 Change-Id: I04347232b4d7f386efc9c489184cf24354540f14
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions