Searched refs:activeArraySize (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | ParameterUtils.java | 720 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { in getZoomRatio() argument 721 checkNotNull(activeArraySize, "activeArraySize must not be null"); in getZoomRatio() 726 float zoomRatioWidth = activeArraySize.getWidth() * 1.0f / cropSize.getWidth(); in getZoomRatio() 727 float zoomRatioHeight = activeArraySize.getHeight() * 1.0f / cropSize.getHeight(); in getZoomRatio() 746 public static ZoomData convertScalerCropRegion(Rect activeArraySize, Rect in convertScalerCropRegion() argument 750 activeArraySize.width(), activeArraySize.height()); in convertScalerCropRegion()
|
D | LegacyResultMapper.java | 117 Rect activeArraySize = characteristics.get( in convertResultMetadata() local 119 ZoomData zoomData = ParameterUtils.convertScalerCropRegion(activeArraySize, in convertResultMetadata() 138 mapAe(result, characteristics, request, activeArraySize, zoomData, /*out*/params); in convertResultMetadata() 143 mapAf(result, activeArraySize, zoomData, /*out*/params); in convertResultMetadata()
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
D | Parameters.cpp | 898 camera_metadata_ro_entry_t activeArraySize = in buildFastInfo() local 900 if (!activeArraySize.count) return NO_INIT; in buildFastInfo() 903 if (activeArraySize.count == 2) { in buildFastInfo() 906 arrayWidth = activeArraySize.data.i32[0]; in buildFastInfo() 907 arrayHeight = activeArraySize.data.i32[1]; in buildFastInfo() 908 } else if (activeArraySize.count == 4) { in buildFastInfo() 909 arrayWidth = activeArraySize.data.i32[2]; in buildFastInfo() 910 arrayHeight = activeArraySize.data.i32[3]; in buildFastInfo()
|