Searched refs:activeArray (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 374 Camera.Parameters params, Rect activeArray, Size streamSize, Rect cropRegion, in getClosestAvailableZoomCrop() argument 379 checkNotNull(activeArray, "activeArray must not be null"); in getClosestAvailableZoomCrop() 389 if (!actualCrop.intersect(activeArray)) { in getClosestAvailableZoomCrop() 392 actualCrop.set(activeArray); in getClosestAvailableZoomCrop() 395 Rect previewCrop = getPreviewCropRectangleUnzoomed(activeArray, streamSize); in getClosestAvailableZoomCrop() 417 getAvailableZoomCropRectangles(params, activeArray); in getClosestAvailableZoomCrop() 419 getAvailablePreviewZoomCropRectangles(params, activeArray, streamSize); in getClosestAvailableZoomCrop() 492 private static Rect getPreviewCropRectangleUnzoomed(Rect activeArray, Size previewSize) { in getPreviewCropRectangleUnzoomed() argument 493 if (previewSize.getWidth() > activeArray.width()) { in getPreviewCropRectangleUnzoomed() 495 } else if (previewSize.getHeight() > activeArray.height()) { in getPreviewCropRectangleUnzoomed() [all …]
|
D | LegacyResultMapper.java | 292 CaptureRequest request, Rect activeArray, ZoomData zoomData, /*out*/Parameters p) { in mapAe() argument 340 MeteringRectangle[] meteringRectArray = getMeteringRectangles(activeArray, in mapAe() 349 Rect activeArray, ZoomData zoomData, Camera.Parameters p) { in mapAf() argument 360 MeteringRectangle[] meteringRectArray = getMeteringRectangles(activeArray, in mapAf() 382 private static MeteringRectangle[] getMeteringRectangles(Rect activeArray, ZoomData zoomData, in getMeteringRectangles() argument 389 activeArray, zoomData, area); in getMeteringRectangles()
|
D | LegacyFaceDetectMapper.java | 236 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in mapResultFaces() local 237 ZoomData zoomData = ParameterUtils.convertScalerCropRegion(activeArray, in mapResultFaces() 245 ParameterUtils.convertFaceFromLegacy(face, activeArray, zoomData)); in mapResultFaces()
|
D | LegacyRequestMapper.java | 65 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in convertRequestMetadata() local 72 zoomData = ParameterUtils.convertScalerCropRegion(activeArray, in convertRequestMetadata() 137 activeArray, zoomData, aeRegions, maxNumMeteringAreas, in convertRequestMetadata() 151 activeArray, zoomData, afRegions, maxNumFocusAreas, in convertRequestMetadata() 482 Rect activeArray, ParameterUtils.ZoomData zoomData, in convertMeteringRegionsToLegacy() argument 514 ParameterUtils.convertMeteringRectangleToLegacy(activeArray, rect, zoomData); in convertMeteringRegionsToLegacy()
|
D | LegacyMetadataMapper.java | 1233 Rect activeArray = c.get(SENSOR_INFO_ACTIVE_ARRAY_SIZE); in createRequestTemplate() local 1235 new MeteringRectangle(/*x*/0, /*y*/0, /*width*/activeArray.width() - 1, in createRequestTemplate() 1236 /*height*/activeArray.height() - 1,/*weight*/0)}; in createRequestTemplate()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Settings.java | 79 public AndroidCamera2Settings(CameraDevice camera, int template, Rect activeArray, in AndroidCamera2Settings() argument 84 if (activeArray == null) { in AndroidCamera2Settings() 90 mActiveArray = activeArray; in AndroidCamera2Settings() 91 mCropRectangle = new Rect(0, 0, activeArray.width(), activeArray.height()); in AndroidCamera2Settings()
|