Home
last modified time | relevance | path

Searched refs:bestChoice (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java397 Size bestChoice = new Size(0, 0); in getBestPreviewSize() local
400 if (size.height * size.width > bestChoice.getWidth() * bestChoice.getHeight() in getBestPreviewSize()
403 bestChoice = new Size(size.width, size.height); in getBestPreviewSize()
407 return bestChoice; in getBestPreviewSize()
440 Size bestChoice = null; in getBestPictureSize() local
446 bestChoice = size; in getBestPictureSize()
449 return bestChoice; in getBestPictureSize()
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp2501 int bestChoice = -1; in findBestDeviceForEachOperation() local
2512 bestChoice = cpuDeviceIndex; in findBestDeviceForEachOperation()
2525 if (bestChoice < 0 || perfVal < bestPerfVal || in findBestDeviceForEachOperation()
2527 bestChoice = deviceIndex; in findBestDeviceForEachOperation()
2543 if (bestChoice < 0) { in findBestDeviceForEachOperation()
2546 } else if (devices[bestChoice] == DeviceManager::getCpuDevice() && in findBestDeviceForEachOperation()
2555 (*bestDeviceForOperation)[operationIndex] = bestChoice; in findBestDeviceForEachOperation()
2557 << ":" << operationIndex << ") = " << bestChoice << " (" in findBestDeviceForEachOperation()
2558 << devices[bestChoice]->getName() << ")"; in findBestDeviceForEachOperation()