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
Loading
Please register or sign in to comment