mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Parsing test boards from text files to be able to add more and bigger tests
It also adds an assets folder inside of Launcher3 tests. It also fixes a bug in fullReorder. Test: atest ReorderWidgets Flag: none Bug: 229292911 Change-Id: I7dadd42a3057d353326691163bb7db71a2e9dcc4
This commit is contained in:
committed by
Sebastián Franco
parent
95b6f8c409
commit
e7c3d3d4ce
@@ -51,8 +51,8 @@ public class CellLayoutTestUtils {
|
||||
board.addIcon(pos.cellX, pos.cellY);
|
||||
} else {
|
||||
// is widget
|
||||
board.addWidget(pos.cellX, pos.cellY, params.cellHSpan, params.cellVSpan,
|
||||
(char) ('A' + widgetCount));
|
||||
board.addWidget(params.getCellX(), params.getCellY(), params.cellHSpan,
|
||||
params.cellVSpan, (char) ('a' + widgetCount));
|
||||
widgetCount++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user