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()
1384 Range bestRange = candidateRanges[0]; in set() local1390 if (r.min > bestRange.min) { in set()1391 bestRange = r; in set()1393 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1394 bestRange = r; in set()1399 if (r.min < bestRange.min) { in set()1400 bestRange = r; in set()1402 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1403 bestRange = r; in set()1409 bestRange.min; in set()[all …]