Searched defs:activeArraySize (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DParameterUtils.java715 * @param activeArraySize active array size of the sensor (e.g. max jpeg size)
723 private static SizeF getZoomRatio(Size activeArraySize, Size cropSize) { argument
724 checkNotNull(activeArraySize, "activeArraySize must not be null");
729 float zoomRatioWidth = activeArraySize.getWidth() * 1.0f / cropSize.getWidth();
730 float zoomRatioHeight = activeArraySize.getHeight() * 1.0f / cropSize.getHeight();
742 * @param activeArraySize active array size of the sensor (e.g. max jpeg size)
749 public static ZoomData convertScalerCropRegion(Rect activeArraySize, Rect argument
753 activeArraySize.width(), activeArraySize
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DParameters.cpp931 camera_metadata_ro_entry_t activeArraySize = local
933 if (!activeArraySize.count) return NO_INIT;
936 if (activeArraySize.count == 2) {
937 ALOGW("%s: Camera %d: activeArraySize is missing xmin/ymin!",
939 arrayWidth = activeArraySize.data.i32[0];
940 arrayHeight = activeArraySize.data.i32[1];
941 } else if (activeArraySize.count == 4) {
942 arrayWidth = activeArraySize.data.i32[2];
943 arrayHeight = activeArraySize.data.i32[3];

Completed in 244 milliseconds