Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DPointMeteringParameters.java109 Rect meteringRegion = new Rect(xCenterSensor - halfSideLength, in regionForNormalizedCoord() local
115 meteringRegion.left = clamp(meteringRegion.left, cropRegion.left, in regionForNormalizedCoord()
117 meteringRegion.top = clamp(meteringRegion.top, cropRegion.top, cropRegion.bottom); in regionForNormalizedCoord()
118 meteringRegion.right = clamp(meteringRegion.right, cropRegion.left, in regionForNormalizedCoord()
120 meteringRegion.bottom = clamp(meteringRegion.bottom, cropRegion.top, in regionForNormalizedCoord()
123 return new MeteringRectangle(meteringRegion, mSettings3A.getMeteringWeight()); in regionForNormalizedCoord()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DAutoFocusHelper.java144 Rect meteringRegion = new Rect(xCenterSensor - halfSideLength, in regionsForNormalizedCoord() local
150meteringRegion.left = CameraUtil.clamp(meteringRegion.left, cropRegion.left, cropRegion.right); in regionsForNormalizedCoord()
151meteringRegion.top = CameraUtil.clamp(meteringRegion.top, cropRegion.top, cropRegion.bottom); in regionsForNormalizedCoord()
152meteringRegion.right = CameraUtil.clamp(meteringRegion.right, cropRegion.left, cropRegion.right); in regionsForNormalizedCoord()
153meteringRegion.bottom = CameraUtil.clamp(meteringRegion.bottom, cropRegion.top, cropRegion.bottom); in regionsForNormalizedCoord()
155 … return new MeteringRectangle[]{new MeteringRectangle(meteringRegion, CAMERA2_REGION_WEIGHT)}; in regionsForNormalizedCoord()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java1637 Rect meteringRegion = new Rect( in calculateMeteringRectangle() local
1648 return new MeteringRectangle(meteringRegion, MeteringRectangle.METERING_WEIGHT_MAX); in calculateMeteringRectangle()