Searched refs:bestRange (Results 1 – 3 of 3) sorted by relevance
1380 Range<Integer> bestRange = availableFpsRange[0]; in createRequestTemplate() local1382 if (bestRange.getUpper() < r.getUpper()) { in createRequestTemplate()1383 bestRange = r; in createRequestTemplate()1384 } else if (bestRange.getUpper() == r.getUpper() && in createRequestTemplate()1385 bestRange.getLower() < r.getLower()) { in createRequestTemplate()1386 bestRange = r; in createRequestTemplate()1389 m.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, bestRange); in createRequestTemplate()
439 int[] bestRange = getPhotoPreviewFpsRange(supportedFpsRanges); in configureOutputs() local442 bestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX] + "," + in configureOutputs()443 bestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX] + "]"); in configureOutputs()445 mParams.setPreviewFpsRange(bestRange[Camera.Parameters.PREVIEW_FPS_MIN_INDEX], in configureOutputs()446 bestRange[Camera.Parameters.PREVIEW_FPS_MAX_INDEX]); in configureOutputs()
1527 Range bestRange = ranges[0]; in set() local1532 if (r.min > bestRange.min) { in set()1533 bestRange = r; in set()1535 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1536 bestRange = r; in set()1541 if (r.min < bestRange.min) { in set()1542 bestRange = r; in set()1544 else if (r.min == bestRange.min && r.max < bestRange.max) { in set()1545 bestRange = r; in set()1551 bestRange.min; in set()[all …]