Commit Graph

3 Commits

Author SHA1 Message Date
Toni Barzic
23fdd4224f Use pixels as breakpoints for non-desktop grid sizes
Effectively reverts CL:33454986 and adds float min device width/height
attributes that specify dimensions as number of dp. Currently, dp
dimensions are only used for desktop devices.

Test: Existing tests
Bug: 375643744
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Change-Id: I8a2bb3b9e6f97987fb25db553fc628d30cd3bf7c
2025-05-29 16:02:03 -07:00
Toni Barzic
ff16a5912d Use dimen for GridSize_minDeviceWidth/Height
Makes the grid size format more flexible, as it allows the min width and
height to be easily defined either as px, or dp (which may be
preferable for upcoming desktop grids - I noticed that scaling display
size may end up with too tightly packed grid when using pixel sizes
to select the correct grid size).

Test: Existing tests
Bug: 375643744
Flag: EXEMPT cleanup

Change-Id: I09b772ece177fe0539a1ff641ff2391e88d9e289
2025-05-08 10:20:54 -07:00
Sebastian Franco
6322b33f4a Adding Fixed Landscape in non Pixel Launcher
Bug: 398279312
Test: IntegrationFixedLandscape
Flag: com.android.launcher3.one_grid_specs
Change-Id: Iaaa95ab52ac5bd0607f74793b620fd41ada8b224
2025-03-03 10:45:52 -08:00