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.cpp998 camera_metadata_ro_entry_t activeArraySize = local
1000 if (!activeArraySize.count) return NO_INIT;
1003 if (activeArraySize.count == 2) {
1004 ALOGW("%s: Camera %d: activeArraySize is missing xmin/ymin!",
1006 arrayWidth = activeArraySize.data.i32[0];
1007 arrayHeight = activeArraySize.data.i32[1];
1008 } else if (activeArraySize.count == 4) {
1009 arrayWidth = activeArraySize.data.i32[2];
1010 arrayHeight = activeArraySize.data.i32[3];

Completed in 73 milliseconds