diff options
| author | 2022-01-19 10:46:28 -0600 | |
|---|---|---|
| committer | 2022-01-28 11:33:18 -0600 | |
| commit | 9a52b474d67c76c4d1c1bf59dd4e62b4cd2a3b3c (patch) | |
| tree | 4de39a27fd8b80870e44c90161f4134e93f5db8e /api/api.go | |
| parent | 9aaf48a2c4495cfccafd872dd51c4a43e191818c (diff) | |
Short shelf on lockscreen that animates width with transition to shade
NotificationIconContainer provides the shortest shelf width based on
3 icons + 1 overflow dot.
Propagate fraction-to-shade from LockscreenShadeTransitionController
=> NSSLC => NSSL => NotificationShelf, which uses it to calculates shelf width
NSSL requests children update,
then NotificationShelf propagates shelf width
=> NotificationBackgroundView for corner roundness positioning
=> NotificationIconContainer to limit icons to new width
NotificationShelf ensures that only the visible part of the shelf is tappable.
Bug: 213480466
Test: NotificationShelfTest
Test: swipe down on lockscreen notifications, let go
=> short shelf expands, retracts width
Test: swipe down on lockscreen notifications to go to unlocked shade
=> short shelf expands to full width
Test: expand notification on lockscreen
=> short shelf expands to full width as shade opens
Test: tap hidden/visible part of shelf
=> only visible part of shelf launches full shade
Test: the above in LTR/RTL
Change-Id: I1d3f2a9077e6058d4459bb11602601c035b8043a
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions