Handle media in landscape
Adds a viewmodel that indicates if media should be in a row with tiles.
This is used to determine number of columns, and number of rows in QQS.
Media in landscape only exists in SingleShade, in other cases, the
viewmodel will indicate that media should not be in a row and the
behaviors would not be affected. The viewmodel is tied to the media
location.
As in the previous media CL, some animations may not work correctly and
will be handled in future CLs.
Test: atest com.android.systemui.qs
Test: manual, media on and off, portrait, landscape and split screen
Flag: com.android.systemui.qs_ui_refactor_compose_fragment
Bug: 353253280
Change-Id: I04d0c3f7bfc127e32293290ca63c7281d1f623c9
24 files changed