Searched refs:cropRegion (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | PointMeteringParameters.java | 75 public MeteringRectangle[] getAERegions(Rect cropRegion) { in getAERegions() argument 77 regionForNormalizedCoord(mAEPoint, cropRegion) in getAERegions() 86 public MeteringRectangle[] getAFRegions(Rect cropRegion) { in getAFRegions() argument 88 regionForNormalizedCoord(mAFPoint, cropRegion) in getAFRegions() 93 Rect cropRegion) { in regionForNormalizedCoord() argument 95 int minCropEdge = Math.min(cropRegion.width(), cropRegion.height()); in regionForNormalizedCoord() 106 int xCenterSensor = (int) (cropRegion.left + nsc.x * cropRegion.width()); in regionForNormalizedCoord() 107 int yCenterSensor = (int) (cropRegion.top + nsc.y * cropRegion.height()); in regionForNormalizedCoord() 115 meteringRegion.left = clamp(meteringRegion.left, cropRegion.left, in regionForNormalizedCoord() 116 cropRegion.right); in regionForNormalizedCoord() [all …]
|
D | ManualAutoFocusFactory.java | 73 CameraCommandExecutor commandExecutor, Supplier<Rect> cropRegion, in create() argument 82 cropRegion); in create() 84 cropRegion); in create()
|
D | MeteringParameters.java | 32 public MeteringRectangle[] getAFRegions(Rect cropRegion); in getAFRegions() argument 39 public MeteringRectangle[] getAERegions(Rect cropRegion); in getAERegions() argument
|
D | GlobalMeteringParameters.java | 40 public MeteringRectangle[] getAFRegions(Rect cropRegion) { in getAFRegions() argument 45 public MeteringRectangle[] getAERegions(Rect cropRegion) { in getAERegions() argument
|
D | AFMeteringRegion.java | 33 Supplier<Rect> cropRegion) { in AFMeteringRegion() argument 35 mCropRegion = cropRegion; in AFMeteringRegion()
|
D | AEMeteringRegion.java | 33 Supplier<Rect> cropRegion) { in AEMeteringRegion() argument 35 mCropRegion = cropRegion; in AEMeteringRegion()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | AutoFocusHelper.java | 128 float fraction, final Rect cropRegion, int sensorOrientation) { in regionsForNormalizedCoord() argument 130 int minCropEdge = Math.min(cropRegion.width(), cropRegion.height()); in regionsForNormalizedCoord() 141 int xCenterSensor = (int)(cropRegion.left + nsc.x * cropRegion.width()); in regionsForNormalizedCoord() 142 int yCenterSensor = (int)(cropRegion.top + nsc.y * cropRegion.height()); in regionsForNormalizedCoord() 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() 169 float ny, final Rect cropRegion, int sensorOrientation) { in afRegionsForNormalizedCoord() argument 171 cropRegion, sensorOrientation); in afRegionsForNormalizedCoord() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | BasicCameraFactory.java | 116 Supplier<Rect> cropRegion = new ZoomedCropRegion( in BasicCameraFactory() local 118 requestTemplate.setParam(CaptureRequest.SCALER_CROP_REGION, cropRegion); in BasicCameraFactory() 148 Lifetime(lifetime), frameServer, cameraCommandExecutor, cropRegion, in BasicCameraFactory()
|
D | PictureSizeCalculator.java | 155 Rect cropRegion = getPostCrop(AspectRatio.of(targetSize), size); in computeConfiguration() local 156 return new Configuration(size, cropRegion); in computeConfiguration()
|