Lines Matching refs:solution
1634 int[] direction, View ignoreView, ItemConfiguration solution) { in attemptPushInDirection() argument
1642 ignoreView, solution)) { in attemptPushInDirection()
1650 ignoreView, solution)) { in attemptPushInDirection()
1662 ignoreView, solution)) { in attemptPushInDirection()
1670 ignoreView, solution)) { in attemptPushInDirection()
1682 ignoreView, solution)) { in attemptPushInDirection()
1689 ignoreView, solution)) { in attemptPushInDirection()
1704 ignoreView, solution)) { in attemptPushInDirection()
1712 ignoreView, solution)) { in attemptPushInDirection()
1728 View ignoreView, ItemConfiguration solution) { in rearrangementExists() argument
1737 CellAndSpan c = solution.map.get(ignoreView); in rearrangementExists()
1745 for (View child: solution.map.keySet()) { in rearrangementExists()
1747 CellAndSpan c = solution.map.get(child); in rearrangementExists()
1758 solution.intersectingViews = new ArrayList<>(mIntersectingViews); in rearrangementExists()
1764 solution)) { in rearrangementExists()
1770 solution)) { in rearrangementExists()
1776 if (!addViewToTempLocation(v, mOccupiedRect, direction, solution)) { in rearrangementExists()
1802 ItemConfiguration solution) { in findReorderSolution() argument
1804 copyCurrentStateToSolution(solution, false); in findReorderSolution()
1818 solution); in findReorderSolution()
1825 direction, dragView, false, solution); in findReorderSolution()
1828 direction, dragView, true, solution); in findReorderSolution()
1830 solution.isSolution = false; in findReorderSolution()
1832 solution.isSolution = true; in findReorderSolution()
1833 solution.cellX = result[0]; in findReorderSolution()
1834 solution.cellY = result[1]; in findReorderSolution()
1835 solution.spanX = spanX; in findReorderSolution()
1836 solution.spanY = spanY; in findReorderSolution()
1838 return solution; in findReorderSolution()
1841 private void copyCurrentStateToSolution(ItemConfiguration solution, boolean temp) { in copyCurrentStateToSolution() argument
1852 solution.add(child, c); in copyCurrentStateToSolution()
1856 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { in copySolutionToTempState() argument
1864 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()
1873 mTmpOccupied.markCells(solution, true); in copySolutionToTempState()
1876 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolean in animateItemsToSolution() argument
1886 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
1894 occupied.markCells(solution, true); in animateItemsToSolution()
1900 private void beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution, in beginOrAdjustReorderPreviewAnimations() argument
1906 CellAndSpan c = solution.map.get(child); in beginOrAdjustReorderPreviewAnimations()
1907 boolean skip = mode == ReorderPreviewAnimation.MODE_HINT && solution.intersectingViews in beginOrAdjustReorderPreviewAnimations()
1908 != null && !solution.intersectingViews.contains(child); in beginOrAdjustReorderPreviewAnimations()
2135 int spanX, int spanY, View dragView, ItemConfiguration solution) { in findConfigurationNoShuffle() argument
2141 copyCurrentStateToSolution(solution, false); in findConfigurationNoShuffle()
2142 solution.cellX = result[0]; in findConfigurationNoShuffle()
2143 solution.cellY = result[1]; in findConfigurationNoShuffle()
2144 solution.spanX = resultSpan[0]; in findConfigurationNoShuffle()
2145 solution.spanY = resultSpan[1]; in findConfigurationNoShuffle()
2146 solution.isSolution = true; in findConfigurationNoShuffle()
2148 solution.isSolution = false; in findConfigurationNoShuffle()
2150 return solution; in findConfigurationNoShuffle()