mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
Moving the remainder of reorder logic to ReorderAlgorithm
This is a no-op thoroughly tested by ReorderAlgorithmUnitTest. Flag: NA Bug: 229292911 Test: ReorderAlgorithmUnitTest Change-Id: I7203444df289cd3b67794fc570a2cd46e64549a2
This commit is contained in:
@@ -55,17 +55,6 @@ public class MultipageCellLayout extends CellLayout {
|
||||
spanY, ignoreOccupied, result, resultSpan));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getDirectionVectorForDrop(int dragViewCenterX, int dragViewCenterY, int spanX,
|
||||
int spanY, View dragView, int[] resultDirection) {
|
||||
createReorderAlgorithm().simulateSeam(
|
||||
() -> {
|
||||
super.getDirectionVectorForDrop(dragViewCenterX, dragViewCenterY, spanX, spanY,
|
||||
dragView, resultDirection);
|
||||
return 0;
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isNearestDropLocationOccupied(int pixelX, int pixelY, int spanX, int spanY,
|
||||
View dragView, int[] result) {
|
||||
|
||||
Reference in New Issue
Block a user