summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Juan Sebastian Martinez <juansmartinez@google.com> 2025-01-30 11:41:16 -0800
committer Juan Sebastian Martinez <juansmartinez@google.com> 2025-02-03 11:29:21 -0800
commit72d225c4a977a588bf95241635387326a1e1ab97 (patch)
tree0a8973522e4cf4ad1b367333e1c6784c01aaa0c2 /cmds/bootanimation/BootAnimation.cpp
parent25d0404dff73609f18ccb48b0c2cb9967f3f7502 (diff)
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
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions