Home
last modified time | relevance | path

Searched refs:ParameterUtils (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java69 ParameterUtils.ZoomData zoomData; in convertRequestMetadata()
71 zoomData = ParameterUtils.convertScalerCropRegion(activeArray, in convertRequestMetadata()
427 boolean invalidSize = (s == null) ? false : !ParameterUtils.containsSize(sizes, in convertRequestMetadata()
485 Rect activeArray, ParameterUtils.ZoomData zoomData, in convertMeteringRegionsToLegacy()
489 return Arrays.asList(ParameterUtils.CAMERA_AREA_DEFAULT); in convertMeteringRegionsToLegacy()
505 return Arrays.asList(ParameterUtils.CAMERA_AREA_DEFAULT); in convertMeteringRegionsToLegacy()
516 ParameterUtils.MeteringData meteringData = in convertMeteringRegionsToLegacy()
517 ParameterUtils.convertMeteringRectangleToLegacy(activeArray, rect, zoomData); in convertMeteringRegionsToLegacy()
529 + ParameterUtils.stringFromAreaList(meteringAreaList)); in convertMeteringRegionsToLegacy()
DLegacyFaceDetectMapper.java23 import android.hardware.camera2.legacy.ParameterUtils.ZoomData;
236 ZoomData zoomData = ParameterUtils.convertScalerCropRegion(activeArray, in mapResultFaces()
244 ParameterUtils.convertFaceFromLegacy(face, activeArray, zoomData)); in mapResultFaces()
DLegacyResultMapper.java26 import android.hardware.camera2.legacy.ParameterUtils.WeightedRectangle;
27 import android.hardware.camera2.legacy.ParameterUtils.ZoomData;
121 ZoomData zoomData = ParameterUtils.convertScalerCropRegion(activeArraySize, in convertResultMetadata()
278 result.set(JPEG_THUMBNAIL_SIZE, ParameterUtils.convertSize(s)); in convertResultMetadata()
390 ParameterUtils.convertCameraAreaToActiveArrayRectangle( in getMeteringRectangles()
DRequestThreadManager.java456 Size largestJpegDimen = ParameterUtils.getLargestSupportedJpegSizeByArea(mParams); in configureOutputs()
461 List<Size> supportedPreviewSizes = ParameterUtils.convertSizeList( in configureOutputs()
615 List<Size> supportedJpegSizes = ParameterUtils.convertSizeList( in calculatePictureSize()
790 Size previewSize = ParameterUtils.convertSize(mParams.getPreviewSize());
DParameterUtils.java45 public class ParameterUtils { class
767 final int zoomIdx = ParameterUtils.getClosestAvailableZoomCrop(params, activeArraySizeOnly, in convertScalerCropRegion()
1003 private ParameterUtils() { in ParameterUtils() method in ParameterUtils
DLegacyMetadataMapper.java49 import static android.hardware.camera2.legacy.ParameterUtils.*;
940 m.set(SCALER_AVAILABLE_MAX_DIGITAL_ZOOM, ParameterUtils.getMaxZoomRatio(p)); in mapScaler()