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

Skip to content
Commit 5ad1ec1c authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Showing wider header/status bar in shade on large screen

Note: Because this change is already huge, I’ll do proper renaming of split shade header to large screen header in the follow-up CL.

- introducing new config flag: config_use_large_screen_shade_header and using it to determine which header should be visible
- Several adjustments to paddings and margins and how they are calculated on the fly, mostly from notification scrim and motion perspective. Recalculating scrim bounds relative to view bounds
- cleaning Utils.java which got very wide-reaching over time. Some things were not used at all and some could be moved. I extracted some functions to two separate utils classes (also open to better ideas): QSUtils and LargeScreenUtils. Not ideal but at least better than one big Util.

Fixes: 222472794
Test: expand shade on large screen device in portrait and see one row QS header taking full width of the screen
Test: NotificationPanelViewControllerTest + NotificationQSContainerControllerTest
Change-Id: I4988c09c367c721ea9a957df8d1442fc65a336de
parent fa5aefba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment