Searched refs:bestRange (Results 1 – 3 of 3) sorted by relevance
1362 Range<Integer> bestRange = availableFpsRange[0]; in createRequestTemplate() local1364 if (bestRange.getUpper() < r.getUpper()) { in createRequestTemplate()1365 bestRange = r; in createRequestTemplate()1366 } else if (bestRange.getUpper() == r.getUpper() && in createRequestTemplate()1367 bestRange.getLower() < r.getLower()) { in createRequestTemplate()1368 bestRange = r; in createRequestTemplate()1371 m.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, bestRange); in createRequestTemplate()
430 int[] bestRange = getPhotoPreviewFpsRange(supportedFpsRanges); in configureOutputs() local433 bestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] + "," + in configureOutputs()434 bestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] + "]"); in configureOutputs()436 mParams.setPreviewFpsRange(bestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in configureOutputs()437 bestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in configureOutputs()
1386 Range bestRange = candidateRanges[0]; in set() local1392 if (r.min > bestRange.min) { in set()1393 bestRange = r; in set()1395 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1396 bestRange = r; in set()1401 if (r.min < bestRange.min) { in set()1402 bestRange = r; in set()1404 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1405 bestRange = r; in set()1411 bestRange.min; in set()[all …]