diff options
| author | 2022-03-21 15:48:59 +0000 | |
|---|---|---|
| committer | 2022-03-22 15:30:31 +0000 | |
| commit | 5ad1ec1c7126ca50f35e1c272566fdbdbb9ef803 (patch) | |
| tree | 6a0f27df98357f6e484480031048c24641b1ecec /libs/input/SpriteController.cpp | |
| parent | fa5aefba2033046d702b11d97e97c9f1ef22cb73 (diff) | |
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
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions