Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f06fc352 authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

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
parent 1b11d6bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment