summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-12-10 12:30:57 -0500
committer Lucas Silva <lusilva@google.com> 2024-12-10 12:30:57 -0500
commit545ff2868a7cc10e671887c560ad2a316c90ce74 (patch)
tree473dd13b1b222b6d8d362177215177cd73ebbb77 /api/api.go
parent4f8a4c44cf87ffe7c7619f0df925135ceaee33c6 (diff)
Update responsive grid layout + alpha animation
This change updates the layout to be based on the screen size instead of the available size. This is needed to ensure we always use the same number of items in landscape/portrait, as the screen size is guaranteed to not change between orientations. However, the available size can change depending on the placement of items on the screen. We also add an alpha animation to hide partial columns and fade them in as the user scrolls. Bug: 378171351 Test: manually on folded + unfolded foldable device in both orientations Flag: com.android.systemui.communal_responsive_grid Change-Id: I978a881371609dbf194dbfaec6ac23fc0e8b7357
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions