Searched refs:meteringRegion (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | PointMeteringParameters.java | 109 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/ |
D | AutoFocusHelper.java | 144 Rect meteringRegion = new Rect(xCenterSensor - halfSideLength, in regionsForNormalizedCoord() local 150 … meteringRegion.left = CameraUtil.clamp(meteringRegion.left, cropRegion.left, cropRegion.right); in regionsForNormalizedCoord() 151 … meteringRegion.top = CameraUtil.clamp(meteringRegion.top, cropRegion.top, cropRegion.bottom); in regionsForNormalizedCoord() 152 … meteringRegion.right = CameraUtil.clamp(meteringRegion.right, cropRegion.left, cropRegion.right); in regionsForNormalizedCoord() 153 …meteringRegion.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/ |
D | CameraController.java | 1637 Rect meteringRegion = new Rect( in calculateMeteringRectangle() local 1648 return new MeteringRectangle(meteringRegion, MeteringRectangle.METERING_WEIGHT_MAX); in calculateMeteringRectangle()
|