Searched refs:swapSolution (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 2418 ItemConfiguration swapSolution = findReorderSolution(pixelXY[0], pixelXY[1], spanX, spanY, in createAreaForResize() local 2422 if (swapSolution != null && swapSolution.isSolution) { in createAreaForResize() 2426 copySolutionToTempState(swapSolution, dragView); in createAreaForResize() 2428 animateItemsToSolution(swapSolution, dragView, commit); in createAreaForResize() 2435 beginOrAdjustReorderPreviewAnimations(swapSolution, dragView, in createAreaForResize() 2440 return swapSolution.isSolution; in createAreaForResize() 2471 ItemConfiguration swapSolution = findReorderSolution(pixelX, pixelY, minSpanX, minSpanY, in performReorder() local 2482 if (swapSolution.isSolution && swapSolution.area() >= noShuffleSolution.area()) { in performReorder() 2483 finalSolution = swapSolution; in performReorder()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 2559 ItemConfiguration swapSolution = simpleSwap(pixelXY[0], pixelXY[1], spanX, spanY, in createAreaForResize() local 2563 if (swapSolution != null && swapSolution.isSolution) { in createAreaForResize() 2567 copySolutionToTempState(swapSolution, dragView); in createAreaForResize() 2569 animateItemsToSolution(swapSolution, dragView, commit); in createAreaForResize() 2576 beginOrAdjustHintAnimations(swapSolution, dragView, in createAreaForResize() 2581 return swapSolution.isSolution; in createAreaForResize() 2611 ItemConfiguration swapSolution = simpleSwap(pixelX, pixelY, minSpanX, minSpanY, in createArea() local 2619 if (swapSolution.isSolution && swapSolution.area() >= noShuffleSolution.area()) { in createArea() 2620 finalSolution = swapSolution; in createArea()
|