Commit Graph

6 Commits

Author SHA1 Message Date
Alex Chau fa3a209537 Only add 2nd screen by default for split display
Fixes: 175939730
Fixes: 196951827
Test: atest Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3#testWorkspace
Change-Id: I5b0acf162b7f63c6df8f55a6c7e2975e1748190a
2021-08-17 13:53:07 +00:00
Alex Chau 1e4484669d Remove widget panel
- Remove all usage of LEFT_PANEL_ID and fixed left panel code
- For preview renderer, load screen 0 + screen 1 instead
- Added a split display specific default workspace layout, with a placeholder app to pass test before we implement page pairing(b/196376162)
- Known issue: If screenId 1 is deleted, right panel will disappear from Wallpaepr & Style because there is no screenId 1. Will be resovled after page pairing(b/196376162)

Bug: 175939730
Test: manual and TaplTestsLauncher3#testWorkSpace
Change-Id: Icac1c94165c14a49c17897c45355b6cdc4d87e91
2021-08-13 21:48:35 +01:00
Sunny Goyal 415f173331 Changing the format for device profile definition
Device profiles are defined such that the grid size is fixed
and only the icon and text sizes change. For every grid size option
there are multiple display configurations.

Bug: 118758696
Change-Id: I54aac9106c576324b02530913c447e849b4ae1da
2018-12-07 00:06:25 -08:00
Sunny Goyal 96a0963c4a Adding support for negative x and y in layout xml.
Fixing default configurations for some screen sizes.

> Negative values for x and y are parsed as distance from end
column and row respectively. e.g.  (-1, -2) => (3, 2) in a
4x4 grid

Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
2015-12-18 17:17:08 -08:00
Sunny Goyal fb0f109539 Updating the default layouts for launcher3
Change-Id: I088c7195ae1985788e845900463d22973a0f61d4
2015-08-04 16:03:10 -07:00
Winson Chung be87647e2a Adding support for dynamically resolved default layouts.
Change-Id: Id05c60b93423ce37dd06a126ecf33c74a0ba1d62
2014-05-16 12:33:38 -07:00