Home
last modified time | relevance | path

Searched refs:activeArraySize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DParameterUtils.java723 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()
DLegacyResultMapper.java117 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/
DParameters.cpp931 camera_metadata_ro_entry_t activeArraySize = in buildFastInfo() local
933 if (!activeArraySize.count) return NO_INIT; in buildFastInfo()
936 if (activeArraySize.count == 2) { in buildFastInfo()
939 arrayWidth = activeArraySize.data.i32[0]; in buildFastInfo()
940 arrayHeight = activeArraySize.data.i32[1]; in buildFastInfo()
941 } else if (activeArraySize.count == 4) { in buildFastInfo()
942 arrayWidth = activeArraySize.data.i32[2]; in buildFastInfo()
943 arrayHeight = activeArraySize.data.i32[3]; in buildFastInfo()