Home
last modified time | relevance | path

Searched refs:isSolution (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderAlgorithm.java113 solution.isSolution = false; in findReorderSolutionRecursive()
115 solution.isSolution = true; in findReorderSolutionRecursive()
415 solution.isSolution = !isConfigurationRegionOccupied( in dropInPlaceSolution()
419 if (!solution.isSolution) { in dropInPlaceSolution()
465 solution.isSolution = true; in closestEmptySpaceReorder()
467 solution.isSolution = false; in closestEmptySpaceReorder()
493 if (swapSolution.isSolution && swapSolution.area() >= closestSpaceSolution.area()) { in calculateReorder()
495 } else if (closestSpaceSolution.isSolution) { in calculateReorder()
497 } else if (dropInPlaceSolution.isSolution) { in calculateReorder()
DItemConfiguration.kt32 @JvmField var isSolution = false in <lambda>() variable in com.android.launcher3.celllayout.ItemConfiguration
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTest.java185 solution.isSolution = false; in solve()
187 if (!solution.isSolution) { in solve()
194 solution.isSolution = false; in solve()
206 if (solution.isSolution) { in boardFromSolution()
217 assertEquals("should be a valid solution", solution.isSolution, testCase.isValidSolution); in evaluateTestCase()
259 testCase.isValidSolution = solution.isSolution; in generateRandomTestCase()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1535 if (swapSolution != null && swapSolution.isSolution) { in createAreaForResize()
1553 return swapSolution.isSolution; in createAreaForResize()
1630 if (finalSolution == null || !finalSolution.isSolution) { in performReorder()
1891 true).isSolution) { in hasReorderSolution()
1917 if (configuration.isSolution) { in makeSpaceForHotseatMigration()