Home
last modified time | relevance | path

Searched refs:cropRegion (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DPointMeteringParameters.java75 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 …]
DManualAutoFocusFactory.java73 CameraCommandExecutor commandExecutor, Supplier<Rect> cropRegion, in create() argument
82 cropRegion); in create()
84 cropRegion); in create()
DMeteringParameters.java32 public MeteringRectangle[] getAFRegions(Rect cropRegion); in getAFRegions() argument
39 public MeteringRectangle[] getAERegions(Rect cropRegion); in getAERegions() argument
DGlobalMeteringParameters.java40 public MeteringRectangle[] getAFRegions(Rect cropRegion) { in getAFRegions() argument
45 public MeteringRectangle[] getAERegions(Rect cropRegion) { in getAERegions() argument
DAFMeteringRegion.java33 Supplier<Rect> cropRegion) { in AFMeteringRegion() argument
35 mCropRegion = cropRegion; in AFMeteringRegion()
DAEMeteringRegion.java33 Supplier<Rect> cropRegion) { in AEMeteringRegion() argument
35 mCropRegion = cropRegion; in AEMeteringRegion()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DAutoFocusHelper.java128 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/
DBasicCameraFactory.java116 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()
DPictureSizeCalculator.java155 Rect cropRegion = getPostCrop(AspectRatio.of(targetSize), size); in computeConfiguration() local
156 return new Configuration(size, cropRegion); in computeConfiguration()