Searched refs:solution (Results 1 – 25 of 27) sorted by relevance
12
85 ItemConfiguration solution) { in findReorderSolutionRecursive() argument87 mCellLayout.copyCurrentStateToSolution(solution); in findReorderSolutionRecursive()101 solution); in findReorderSolutionRecursive()108 spanY, direction, dragView, false, solution); in findReorderSolutionRecursive()111 spanY - 1, direction, dragView, true, solution); in findReorderSolutionRecursive()113 solution.isSolution = false; in findReorderSolutionRecursive()115 solution.isSolution = true; in findReorderSolutionRecursive()116 solution.cellX = result[0]; in findReorderSolutionRecursive()117 solution.cellY = result[1]; in findReorderSolutionRecursive()118 solution.spanX = spanX; in findReorderSolutionRecursive()[all …]
41 public ItemConfiguration removeSeamFromSolution(ItemConfiguration solution) { in removeSeamFromSolution() argument42 solution.map.remove(mSeam); in removeSeamFromSolution()43 solution.map.forEach((view, cell) -> cell.cellX = in removeSeamFromSolution()45 solution.cellX = in removeSeamFromSolution()46 solution.cellX > mCellLayout.getCountX() / 2 ? solution.cellX - 1 : solution.cellX; in removeSeamFromSolution()47 return solution; in removeSeamFromSolution()
29 val solution: ItemConfiguration constant in com.android.launcher3.celllayout.ReorderParameters
170 ItemConfiguration solution = cl.createReorderAlgorithm() in solve() local183 if (solution == null) { in solve()184 solution = new ItemConfiguration(); in solve()185 solution.isSolution = false; in solve()187 if (!solution.isSolution) { in solve()188 cl.copyCurrentStateToSolution(solution); in solve()190 solution = in solve()192 solution); in solve()194 solution.isSolution = false; in solve()196 return solution; in solve()[all …]
116 double[] solution = new double[n]; // returned coefficients in solveSystem() local148 solution[n - 1] = result[n - 1] / system[n - 1][1]; in solveSystem()150 solution[i] = (result[i] - system[i][2] * solution[i + 1]) / system[i][1]; in solveSystem()152 return solution; in solveSystem()
1357 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { in copySolutionToTempState() argument1365 CellAndSpan c = solution.map.get(child); in copySolutionToTempState()1374 mTmpOccupied.markCells(solution, true); in copySolutionToTempState()1377 private void animateItemsToSolution(ItemConfiguration solution, View dragView, boolean in animateItemsToSolution() argument1387 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()1395 occupied.markCells(solution, true); in animateItemsToSolution()1401 private void beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution, in beginOrAdjustReorderPreviewAnimations() argument1407 CellAndSpan c = solution.map.get(child); in beginOrAdjustReorderPreviewAnimations()1409 && !solution.intersectingViews.contains(child); in beginOrAdjustReorderPreviewAnimations()1570 public void copyCurrentStateToSolution(ItemConfiguration solution) { in copyCurrentStateToSolution() argument[all …]
112 public void copyCurrentStateToSolution(ItemConfiguration solution) { in copyCurrentStateToSolution() argument120 solution.add(child, c); in copyCurrentStateToSolution()
352 double[] solution = new double[n]; // returned coefficients in solveSystem() local384 solution[n - 1] = result[n - 1] / system[n - 1][1]; in solveSystem()386 solution[i] = (result[i] - system[i][2] * solution[i + 1]) / system[i][1]; in solveSystem()388 return solution; in solveSystem()
2 # This is a temporary solution to unblock other devs that depend on /vendor partition in Microdroid
7 phase with additonal run time configurability to provide crafted testing solution.
10 // TODO: remove this hack when there is a better solution for jni_libs that includes
19 term solution eliminating libcutils dependency from system /
3 Since Android U, AVF (with Microdroid) supports Encrypted Storage which is the storage solution
86 // TODO(b/177884622): Short term solution to prevent service-permission from seeing hidden
65 …st time set up or after a sync. This section is for some common problem/solution pairs we run into…88 …has some issue to deal with this but not `Java 9 javac`. The workaround solution would be to avoid…
30 # solution requires significantly more effort to implement.
11 1. [Secretkeeper][sk_project] is the critical piece of solution. It provides secure storage for VM's
578 // TODO: find a better solution for this in R.
466 As a quick prototyping solution, a valid DICE chain (such as this [test
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...