mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-06 02:46:57 +00:00
Adding the avility to add icons on multiple CellLayouts on tests.
I needed to change the code so that you can pass the CellX/Y position to the drag function instead of the pixel coordinates and we can pass X position bigger than one CellLayout. Also, I notice that getCellCenter only worked for 1x1 items so I added the option to specify the widget size. Fix: 262431878 Test: atest ReorderWidgets#multipleCellLayoutsSimpleReorder Change-Id: I3b09de770e8f99aa10cae8cea32e7e6bc02c7b8b
This commit is contained in:
@@ -123,6 +123,7 @@ public final class TestProtocol {
|
||||
|
||||
public static final String REQUEST_WORKSPACE_CELL_LAYOUT_SIZE = "workspace-cell-layout-size";
|
||||
public static final String REQUEST_WORKSPACE_CELL_CENTER = "workspace-cell-center";
|
||||
public static final String REQUEST_WORKSPACE_COLUMNS_ROWS = "workspace-columns-rows";
|
||||
|
||||
public static final String REQUEST_HOTSEAT_CELL_CENTER = "hotseat-cell-center";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user