Lines Matching refs:solution

1357     private void copySolutionToTempState(ItemConfiguration solution, View dragView) {
1365 CellAndSpan c = solution.map.get(child);
1374 mTmpOccupied.markCells(solution, true);
1377 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolean
1387 CellAndSpan c = solution.map.get(child);
1395 occupied.markCells(solution, true);
1401 private void beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution,
1407 CellAndSpan c = solution.map.get(child);
1409 && !solution.intersectingViews.contains(child);
1537 // committing anything or animating anything as we just want to determine if a solution
1570 public void copyCurrentStateToSolution(ItemConfiguration solution) {
1575 solution.add(child,
1582 * the workspace to make space for the new item, this function return a solution for that
1592 * @return returns a solution for the given parameters, the solution contains all the icons and
1593 * the locations they should be in the given solution.
1615 // We want the solution to match the animation of the preview and to match the drop so we
1645 * @param solution represents widgets on the screen which the Workspace will animate to and
1649 * mode the solution would be submitted or not the database.
1654 public void performReorder(ItemConfiguration solution, View dragView, int mode) {
1656 beginOrAdjustReorderPreviewAnimations(solution, dragView,
1661 // committing anything or animating anything as we just want to determine if a solution
1669 copySolutionToTempState(solution, dragView);
1672 animateItemsToSolution(solution, dragView, mode == MODE_ON_DROP);
1676 // Since the temp solution didn't update dragView, don't commit it either
1681 beginOrAdjustReorderPreviewAnimations(solution, dragView,
1885 // Check for a solution starting at every cell.
1900 * Finds solution to accept hotseat migration to cell layout. commits solution if commitConfig