Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraInfo.java36 int sensorOrientation, Range<Float> zoomRatioRange, Rect activeArraySize, in CameraInfo() argument
43 mActiveArraySize = activeArraySize; in CameraInfo()
DCameraController.java1622 Rect activeArraySize = cameraInfo.getActiveArraySize(); in calculateMeteringRectangle() local
1623 float halfMeteringRectWidth = (METERING_RECTANGLE_SIZE_RATIO * activeArraySize.width()) / 2; in calculateMeteringRectangle()
1625 (METERING_RECTANGLE_SIZE_RATIO * activeArraySize.height()) / 2; in calculateMeteringRectangle()
1633 matrix.postScale(activeArraySize.width(), activeArraySize.height()); in calculateMeteringRectangle()
1639 activeArraySize.width()), in calculateMeteringRectangle()
1641 activeArraySize.height()), in calculateMeteringRectangle()
1643 activeArraySize.width()), in calculateMeteringRectangle()
1645 activeArraySize.height()) in calculateMeteringRectangle()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInfoCache.java197 …Rect activeArraySize = mCameraCharacteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_S… in getFieldOfView() local
199 float activeWidthFraction = activeArraySize.width() / (float) pixelArraySize.getWidth(); in getFieldOfView()
200 float activeHeightFraction = activeArraySize.height() / (float) pixelArraySize.getHeight(); in getFieldOfView()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java752 Rect activeArraySize = in calculateFullSizeAspectRatio() local
754 return ((float) (activeArraySize.width())) / activeArraySize.height(); in calculateFullSizeAspectRatio()
DOneCameraZslImpl.java980 Rect activeArraySize = in calculateFullSizeAspectRatio() local
982 return ((float) activeArraySize.width()) / activeArraySize.height(); in calculateFullSizeAspectRatio()