Home
last modified time | relevance | path

Searched refs:bestRange (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java1380 Range<Integer> bestRange = availableFpsRange[0]; in createRequestTemplate() local
1382 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()
DRequestThreadManager.java439 int[] bestRange = getPhotoPreviewFpsRange(supportedFpsRanges); in configureOutputs() local
442 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()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1527 Range bestRange = ranges[0]; in set() local
1532 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 …]