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()
1412 Range bestRange = candidateRanges[0]; in set() local1418 if (r.min > bestRange.min) { in set()1419 bestRange = r; in set()1421 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1422 bestRange = r; in set()1427 if (r.min < bestRange.min) { in set()1428 bestRange = r; in set()1430 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1431 bestRange = r; in set()1437 bestRange.min; in set()[all …]