Lines Matching refs:solution
1779 int[] direction, View ignoreView, ItemConfiguration solution) { in attemptPushInDirection() argument
1787 ignoreView, solution)) { in attemptPushInDirection()
1795 ignoreView, solution)) { in attemptPushInDirection()
1807 ignoreView, solution)) { in attemptPushInDirection()
1815 ignoreView, solution)) { in attemptPushInDirection()
1827 ignoreView, solution)) { in attemptPushInDirection()
1834 ignoreView, solution)) { in attemptPushInDirection()
1849 ignoreView, solution)) { in attemptPushInDirection()
1857 ignoreView, solution)) { in attemptPushInDirection()
1873 View ignoreView, ItemConfiguration solution) { in rearrangementExists() argument
1882 CellAndSpan c = solution.map.get(ignoreView); in rearrangementExists()
1890 for (View child: solution.map.keySet()) { in rearrangementExists()
1892 CellAndSpan c = solution.map.get(child); in rearrangementExists()
1903 solution.intersectingViews = new ArrayList<>(mIntersectingViews); in rearrangementExists()
1909 solution)) { in rearrangementExists()
1915 solution)) { in rearrangementExists()
1921 if (!addViewToTempLocation(v, mOccupiedRect, direction, solution)) { in rearrangementExists()
1947 ItemConfiguration solution) { in findReorderSolution() argument
1949 copyCurrentStateToSolution(solution, false); in findReorderSolution()
1963 solution); in findReorderSolution()
1970 direction, dragView, false, solution); in findReorderSolution()
1973 direction, dragView, true, solution); in findReorderSolution()
1975 solution.isSolution = false; in findReorderSolution()
1977 solution.isSolution = true; in findReorderSolution()
1978 solution.cellX = result[0]; in findReorderSolution()
1979 solution.cellY = result[1]; in findReorderSolution()
1980 solution.spanX = spanX; in findReorderSolution()
1981 solution.spanY = spanY; in findReorderSolution()
1983 return solution; in findReorderSolution()
1986 private void copyCurrentStateToSolution(ItemConfiguration solution, boolean temp) { in copyCurrentStateToSolution() argument
1997 solution.add(child, c); in copyCurrentStateToSolution()
2001 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { in copySolutionToTempState() argument
2009 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()
2018 mTmpOccupied.markCells(solution, true); in copySolutionToTempState()
2021 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolean in animateItemsToSolution() argument
2031 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
2039 occupied.markCells(solution, true); in animateItemsToSolution()
2045 private void beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution, in beginOrAdjustReorderPreviewAnimations() argument
2051 CellAndSpan c = solution.map.get(child); in beginOrAdjustReorderPreviewAnimations()
2052 boolean skip = mode == ReorderPreviewAnimation.MODE_HINT && solution.intersectingViews in beginOrAdjustReorderPreviewAnimations()
2053 != null && !solution.intersectingViews.contains(child); in beginOrAdjustReorderPreviewAnimations()
2278 int spanX, int spanY, View dragView, ItemConfiguration solution) { in findConfigurationNoShuffle() argument
2284 copyCurrentStateToSolution(solution, false); in findConfigurationNoShuffle()
2285 solution.cellX = result[0]; in findConfigurationNoShuffle()
2286 solution.cellY = result[1]; in findConfigurationNoShuffle()
2287 solution.spanX = resultSpan[0]; in findConfigurationNoShuffle()
2288 solution.spanY = resultSpan[1]; in findConfigurationNoShuffle()
2289 solution.isSolution = true; in findConfigurationNoShuffle()
2291 solution.isSolution = false; in findConfigurationNoShuffle()
2293 return solution; in findConfigurationNoShuffle()