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.java1362 Range<Integer> bestRange = availableFpsRange[0]; in createRequestTemplate() local
1364 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()
DRequestThreadManager.java430 int[] bestRange = getPhotoPreviewFpsRange(supportedFpsRanges); in configureOutputs() local
433 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()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DParameters.cpp1475 Range bestRange = ranges[0]; in set() local
1480 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 …]