Home
last modified time | relevance | path

Searched refs:sensorOrientation (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DPointMeteringParameters.java33 private PointMeteringParameters(PointF afPoint, PointF aePoint, int sensorOrientation, in PointMeteringParameters() argument
37 mSensorOrientation = sensorOrientation; in PointMeteringParameters()
58 int sensorOrientation, in createForNormalizedCoordinates() argument
60 Preconditions.checkArgument(sensorOrientation % 90 == 0, "sensorOrientation must be a " + in createForNormalizedCoordinates()
62 Preconditions.checkArgument(sensorOrientation >= 0, "sensorOrientation must not be " + in createForNormalizedCoordinates()
64 sensorOrientation %= 360; in createForNormalizedCoordinates()
66 return new PointMeteringParameters(afPoint, aePoint, sensorOrientation, in createForNormalizedCoordinates()
DManualAutoFocusImpl.java36 int sensorOrientation, in ManualAutoFocusImpl() argument
40 mSensorOrientation = sensorOrientation; in ManualAutoFocusImpl()
DManualAutoFocusFactory.java71 int sensorOrientation, in create() argument
101 afRunner, sensorOrientation, settings3A); in create()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DAutoFocusHelper.java128 float fraction, final Rect cropRegion, int sensorOrientation) { in regionsForNormalizedCoord() argument
139 nx, ny, sensorOrientation); in regionsForNormalizedCoord()
169 float ny, final Rect cropRegion, int sensorOrientation) { in afRegionsForNormalizedCoord() argument
171 cropRegion, sensorOrientation); in afRegionsForNormalizedCoord()
185 float ny, final Rect cropRegion, int sensorOrientation) { in aeRegionsForNormalizedCoord() argument
187 cropRegion, sensorOrientation); in aeRegionsForNormalizedCoord()
201 float ny, final Rect cropRegion, int sensorOrientation) { in gcamAERegionsForNormalizedCoord() argument
203 cropRegion, sensorOrientation); in gcamAERegionsForNormalizedCoord()
DOneCameraImpl.java697 int sensorOrientation = mCharacteristics.get( in triggerFocusAndMeterAtPoint() local
700 sensorOrientation); in triggerFocusAndMeterAtPoint()
702 sensorOrientation); in triggerFocusAndMeterAtPoint()
DOneCameraZslImpl.java1083 int sensorOrientation = mCharacteristics.get( in triggerFocusAndMeterAtPoint() local
1085 … mAERegions = AutoFocusHelper.aeRegionsForNormalizedCoord(nx, ny, mCropRegion, sensorOrientation); in triggerFocusAndMeterAtPoint()
1086 … mAFRegions = AutoFocusHelper.afRegionsForNormalizedCoord(nx, ny, mCropRegion, sensorOrientation); in triggerFocusAndMeterAtPoint()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DImageRotationCalculatorImpl.java60 int sensorOrientation = characteristics.getSensorOrientation(); in from() local
62 return new ImageRotationCalculatorImpl(orientationManager, sensorOrientation, in from()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java404 float nx, float ny, int sensorOrientation) { in normalizedSensorCoordsForNormalizedDisplayCoords() argument
405 switch (sensorOrientation) { in normalizedSensorCoordsForNormalizedDisplayCoords()
1292 int sensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in getJpegRotation() local
1293 return getImageRotation(sensorOrientation, deviceOrientationDegrees, isFrontCamera); in getJpegRotation()
1307 public static int getImageRotation(int sensorOrientation, in getImageRotation() argument
1314 return (sensorOrientation + deviceOrientation) % 360; in getImageRotation()
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DBasicCameraFactory.java141 int sensorOrientation = cameraCharacteristics.getSensorOrientation(); in BasicCameraFactory() local
145 sensorOrientation, mPreviewUpdater, requestTemplate, in BasicCameraFactory()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraDeviceReport.java99 int sensorOrientation = p.get(CameraCharacteristics.SENSOR_ORIENTATION); in printCameraInfo() local
100 Log.v(TAG, "SENSOR_ORIENTATION: " + sensorOrientation); in printCameraInfo()
DApi2Camera.java329 return mCameraInfoCache.sensorOrientation(); in getOrientation()
594 b1.set(CaptureRequest.JPEG_ORIENTATION, mCameraInfoCache.sensorOrientation()); in runReprocessing()
786 int orientation = mCameraInfoCache.sensorOrientation(); in publishFrameData()
DCameraInfoCache.java130 public int sensorOrientation() { in sensorOrientation() method in CameraInfoCache
/packages/apps/Camera2/src/com/android/camera/
DVideoModule.java1177 int sensorOrientation = in initializeRecorder() local
1182 sensorOrientation, deviceOrientation, isCameraFrontFacing()); in initializeRecorder()
DPhotoModule.java1142 int sensorOrientation = info.getSensorOrientation(); in capture() local
1147 CameraUtil.getImageRotation(sensorOrientation, deviceOrientation, isFrontCamera); in capture()