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()
1475 Range bestRange = ranges[0]; in set() local1480 if (r.min > bestRange.min) { in set()1481 bestRange = r; in set()1483 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1484 bestRange = r; in set()1489 if (r.min < bestRange.min) { in set()1490 bestRange = r; in set()1492 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1493 bestRange = r; in set()1499 bestRange.min; in set()[all …]