Home
last modified time | relevance | path

Searched refs:solution (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderAlgorithm.java85 ItemConfiguration solution) { in findReorderSolutionRecursive() argument
87 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 …]
DMulticellReorderAlgorithm.java41 public ItemConfiguration removeSeamFromSolution(ItemConfiguration solution) { in removeSeamFromSolution() argument
42 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()
DReorderParameters.kt29 val solution: ItemConfiguration constant in com.android.launcher3.celllayout.ReorderParameters
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTest.java170 ItemConfiguration solution = cl.createReorderAlgorithm() in solve() local
183 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 …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DSplineMath.java116 double[] solution = new double[n]; // returned coefficients in solveSystem() local
148 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()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1357 private void copySolutionToTempState(ItemConfiguration solution, View dragView) { in copySolutionToTempState() argument
1365 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() argument
1387 CellAndSpan c = solution.map.get(child); in animateItemsToSolution()
1395 occupied.markCells(solution, true); in animateItemsToSolution()
1401 private void beginOrAdjustReorderPreviewAnimations(ItemConfiguration solution, in beginOrAdjustReorderPreviewAnimations() argument
1407 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 …]
DMultipageCellLayout.java112 public void copyCurrentStateToSolution(ItemConfiguration solution) { in copyCurrentStateToSolution() argument
120 solution.add(child, c); in copyCurrentStateToSolution()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java352 double[] solution = new double[n]; // returned coefficients in solveSystem() local
384 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()
/packages/modules/Virtualization/microdroid/
Dfstab.microdroid2 # This is a temporary solution to unblock other devs that depend on /vendor partition in Microdroid
/packages/modules/Bluetooth/system/test/tool/
DREADME.md7 phase with additonal run time configurability to provide crafted testing solution.
/packages/modules/Connectivity/tests/smoketest/
DAndroid.bp10 // TODO: remove this hack when there is a better solution for jni_libs that includes
/packages/modules/Bluetooth/system/osi/src/socket_utils/
DREADME19 term solution eliminating libcutils dependency from system /
/packages/modules/Virtualization/encryptedstore/
DREADME.md3 Since Android U, AVF (with Microdroid) supports Encrypted Storage which is the storage solution
/packages/modules/Permission/service/
DAndroid.bp86 // TODO(b/177884622): Short term solution to prevent service-permission from seeing hidden
/packages/apps/ManagedProvisioning/studio-dev/
DREADME.md65 …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…
/packages/modules/Connectivity/netbpfload/
Dnetbpfload.rc30 # solution requires significantly more effort to implement.
/packages/modules/Virtualization/docs/
Dupdatable_vm.md11 1. [Secretkeeper][sk_project] is the critical piece of solution. It provides secure storage for VM's
/packages/modules/NetworkStack/
DAndroid.bp578 // TODO: find a better solution for this in R.
/packages/modules/Virtualization/pvmfw/
DREADME.md466 As a quick prototyping solution, a valid DICE chain (such as this [test
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...

12