Searched refs:cropRegion (Results 1 – 1 of 1) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | AutoFocusHelper.java | 127 float fraction, final Rect cropRegion, int sensorOrientation) { in regionsForNormalizedCoord() argument 129 int minCropEdge = Math.min(cropRegion.width(), cropRegion.height()); in regionsForNormalizedCoord() 140 int xCenterSensor = (int)(cropRegion.left + nsc.x * cropRegion.width()); in regionsForNormalizedCoord() 141 int yCenterSensor = (int)(cropRegion.top + nsc.y * cropRegion.height()); in regionsForNormalizedCoord() 149 … meteringRegion.left = CameraUtil.clamp(meteringRegion.left, cropRegion.left, cropRegion.right); in regionsForNormalizedCoord() 150 … meteringRegion.top = CameraUtil.clamp(meteringRegion.top, cropRegion.top, cropRegion.bottom); in regionsForNormalizedCoord() 151 … meteringRegion.right = CameraUtil.clamp(meteringRegion.right, cropRegion.left, cropRegion.right); in regionsForNormalizedCoord() 152 …meteringRegion.bottom = CameraUtil.clamp(meteringRegion.bottom, cropRegion.top, cropRegion.bottom); in regionsForNormalizedCoord() 168 float ny, final Rect cropRegion, int sensorOrientation) { in afRegionsForNormalizedCoord() argument 170 cropRegion, sensorOrientation); in afRegionsForNormalizedCoord() [all …]
|