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

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

Adding magnetic behavior for non-dismissibles and other ExpandableViews.

The behavior on these cases applies a reduction to magnetic pulling, as
well as slightly stronger haptics to indicate the increased level of
resistance.

When non-dissmisible notifications are pulled, the translation
multipliers are further reduced fot the swiped row and its neighbors.
When swiping a dismissible row, any neighbor row that is not dismissible
(including FooterView, SectionHeaderView and NotificationShelf) also
gets a reduced translation.

Test: NotificationTargetsHelperTest
Test: MagneticNotificationRowManagerImplTest
Bug: 392747453
Bug: 392738615
Flag: com.android.systemui.magnetic_notification_swipes

Change-Id: I1dac9e7c607f25fa959d5a2fff3f59aebdc81e4a
parent 25d0404d
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