Searched refs:activeArraySize (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 728 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { in getZoomRatio() argument 729 checkNotNull(activeArraySize, "activeArraySize must not be null"); in getZoomRatio() 734 float zoomRatioWidth = activeArraySize.getWidth() * 1.0f / cropSize.getWidth(); in getZoomRatio() 735 float zoomRatioHeight = activeArraySize.getHeight() * 1.0f / cropSize.getHeight(); in getZoomRatio() 755 public static ZoomData convertToLegacyZoom(Rect activeArraySize, Rect in convertToLegacyZoom() argument 761 return convertZoomRatio(activeArraySize, zoomRatio, previewSize, params); in convertToLegacyZoom() 764 return convertScalerCropRegion(activeArraySize, cropRegion, previewSize, params); in convertToLegacyZoom() 781 public static ZoomData convertZoomRatio(Rect activeArraySize, float zoomRatio, in convertZoomRatio() argument 788 getAvailableZoomCropRectangles(params, activeArraySize); in convertZoomRatio() 790 getAvailablePreviewZoomCropRectangles(params, activeArraySize, previewSize); in convertZoomRatio() [all …]
|
D | LegacyResultMapper.java | 119 Rect activeArraySize = characteristics.get( in convertResultMetadata() local 121 ZoomData zoomData = ParameterUtils.convertToLegacyZoom(activeArraySize, in convertResultMetadata() 142 mapAe(result, characteristics, request, activeArraySize, zoomData, /*out*/params); in convertResultMetadata() 147 mapAf(result, activeArraySize, zoomData, /*out*/params); in convertResultMetadata()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 1008 camera_metadata_ro_entry_t activeArraySize = in buildFastInfo() local 1010 if (!activeArraySize.count) return NO_INIT; in buildFastInfo() 1013 if (activeArraySize.count == 2) { in buildFastInfo() 1016 arrayWidth = activeArraySize.data.i32[0]; in buildFastInfo() 1017 arrayHeight = activeArraySize.data.i32[1]; in buildFastInfo() 1018 } else if (activeArraySize.count == 4) { in buildFastInfo() 1019 arrayWidth = activeArraySize.data.i32[2]; in buildFastInfo() 1020 arrayHeight = activeArraySize.data.i32[3]; in buildFastInfo()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 956 auto activeArraySize = c.find(ANDROID_SENSOR_INFO_ACTIVE_ARRAY_SIZE); in addPreCorrectionActiveArraySize() local 959 if (activeArraySize.count == 4 && preCorrectionActiveArraySize.count == 0) { in addPreCorrectionActiveArraySize() 961 activeArraySize.data.i32, activeArraySize.data.i32+4); in addPreCorrectionActiveArraySize()
|