Searched refs:activeArraySize (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 723 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { in getZoomRatio() argument 724 checkNotNull(activeArraySize, "activeArraySize must not be null"); in getZoomRatio() 729 float zoomRatioWidth = activeArraySize.getWidth() * 1.0f / cropSize.getWidth(); in getZoomRatio() 730 float zoomRatioHeight = activeArraySize.getHeight() * 1.0f / cropSize.getHeight(); in getZoomRatio() 749 public static ZoomData convertScalerCropRegion(Rect activeArraySize, Rect in convertScalerCropRegion() argument 753 activeArraySize.width(), activeArraySize.height()); in convertScalerCropRegion()
|
D | LegacyResultMapper.java | 119 Rect activeArraySize = characteristics.get( in convertResultMetadata() local 121 ZoomData zoomData = ParameterUtils.convertScalerCropRegion(activeArraySize, in convertResultMetadata() 140 mapAe(result, characteristics, request, activeArraySize, zoomData, /*out*/params); in convertResultMetadata() 145 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()
|