Home
last modified time | relevance | path

Searched refs:DeviceOrientation (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DOrientationManagerImpl.java60 private DeviceOrientation mLastDeviceOrientation = DeviceOrientation.CLOCKWISE_0;
105 public DeviceOrientation getDeviceOrientation() { in getDeviceOrientation()
110 public DeviceOrientation getDisplayRotation() { in getDisplayRotation()
111 return DeviceOrientation.from((360 - CameraUtil.getDisplayRotation()) % 360); in getDisplayRotation()
212 final DeviceOrientation roundedDeviceOrientation =
232 private static DeviceOrientation roundOrientation(DeviceOrientation oldDeviceOrientation,
242 return DeviceOrientation.CLOCKWISE_0;
244 return DeviceOrientation.CLOCKWISE_90;
246 return DeviceOrientation.CLOCKWISE_180;
248 return DeviceOrientation.CLOCKWISE_270;
DOrientationManager.java19 public static enum DeviceOrientation { enum
27 private DeviceOrientation(int degrees) { in DeviceOrientation() method in OrientationManager.DeviceOrientation
44 public static DeviceOrientation from(int degrees) { in from()
80 DeviceOrientation orientation); in onOrientationChanged()
102 public DeviceOrientation getDeviceOrientation(); in getDeviceOrientation()
107 public DeviceOrientation getDisplayRotation(); in getDisplayRotation()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskImageContainer.java71 public final OrientationManager.DeviceOrientation orientation;
78 TaskImage(OrientationManager.DeviceOrientation anOrientation, int aWidth, int aHeight, in TaskImage()
196 protected Rect rotateBoundingBox(Rect box, OrientationManager.DeviceOrientation orientation) { in rotateBoundingBox()
197 if(orientation == OrientationManager.DeviceOrientation.CLOCKWISE_0 || in rotateBoundingBox()
198 orientation == OrientationManager.DeviceOrientation.CLOCKWISE_180) { in rotateBoundingBox()
206 protected OrientationManager.DeviceOrientation addOrientation( in addOrientation()
207 OrientationManager.DeviceOrientation orientation1, in addOrientation()
208 OrientationManager.DeviceOrientation orientation2) { in addOrientation()
209 return OrientationManager.DeviceOrientation.from(orientation1.getDegrees() in addOrientation()
DTaskCompressImageToJpeg.java26 import com.android.camera.app.OrientationManager.DeviceOrientation;
165 final DeviceOrientation exifDerivedRotation; in run()
169 exifDerivedRotation = DeviceOrientation.CLOCKWISE_0; in run()
171 exifDerivedRotation = DeviceOrientation in run()
180 final DeviceOrientation combinedRotationFromSensorToJpeg = in run()
251 DeviceOrientation.CLOCKWISE_0, resultSize.getWidth(), in run()
436 DeviceOrientation orientation) { in getImageSizeForOrientation()
437 if (orientation == DeviceOrientation.CLOCKWISE_0 in getImageSizeForOrientation()
438 || orientation == DeviceOrientation.CLOCKWISE_180) { in getImageSizeForOrientation()
440 } else if (orientation == DeviceOrientation.CLOCKWISE_90 in getImageSizeForOrientation()
[all …]
DImageToProcess.java32 public final OrientationManager.DeviceOrientation rotation;
45 public ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, in ImageToProcess()
60 public ImageToProcess(ImageProxy proxy, OrientationManager.DeviceOrientation imageRotation, in ImageToProcess()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DJpegImageBackendImageSaver.java61 private final OrientationManager.DeviceOrientation mImageRotation;
66 OrientationManager.DeviceOrientation imageRotation, in ImageSaverImpl()
101 private final OrientationManager.DeviceOrientation mImageRotation;
106 OrientationManager.DeviceOrientation imageRotation, in JpegImageProcessorListener()
204 @Nonnull OrientationManager.DeviceOrientation orientation, in build()
206 final OrientationManager.DeviceOrientation imageRotation = mImageRotationCalculator in build()
DYuvImageBackendImageSaver.java62 private final OrientationManager.DeviceOrientation mImageRotation;
66 OrientationManager.DeviceOrientation imageRotation, in ImageSaverImpl()
101 private final OrientationManager.DeviceOrientation mImageRotation;
105 OrientationManager.DeviceOrientation imageRotation, in YuvImageProcessorListener()
213 @Nonnull OrientationManager.DeviceOrientation orientation, in build()
215 final OrientationManager.DeviceOrientation imageRotation = mImageRotationCalculator in build()
DImageSaver.java63 OrientationManager.DeviceOrientation orientation, in build()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstFacade.java22 import com.android.camera.app.OrientationManager.DeviceOrientation;
49 DeviceOrientation deviceOrientation, in startBurst()
DBurstFacadeFactory.java23 import com.android.camera.app.OrientationManager.DeviceOrientation;
44 DeviceOrientation deviceOrientation, Facing cameraFacing, in startBurst()
DToastingBurstFacadeDecorator.java24 import com.android.camera.app.OrientationManager.DeviceOrientation;
74 DeviceOrientation deviceOrientation, Facing cameraFacing, int imageOrientationDegrees) { in startBurst()
DBurstFacadeImpl.java21 import com.android.camera.app.OrientationManager.DeviceOrientation;
125 DeviceOrientation deviceOrientation, in startBurst()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DImageRotationCalculatorImpl.java67 public OrientationManager.DeviceOrientation toImageRotation() { in toImageRotation()
70 return OrientationManager.DeviceOrientation.from(imageRotation); in toImageRotation()
DImageRotationCalculator.java35 public OrientationManager.DeviceOrientation toImageRotation(); in toImageRotation()
DPictureTakerImpl.java93 OrientationManager.DeviceOrientation.from(params.orientation), in takePicture()
/packages/apps/Camera2/src/com/android/camera/
DTextureViewHelper.java284 OrientationManager.DeviceOrientation deviceOrientation =
285 OrientationManager.DeviceOrientation.from(currentDisplayOrientation);
DVideoUI.java256 OrientationManager.DeviceOrientation deviceOrientation) { in onOrientationChanged()
DCaptureModule.java41 import com.android.camera.app.OrientationManager.DeviceOrientation;
451 DeviceOrientation deviceOrientation = mAppController.getOrientationManager() in onShutterButtonLongPressed()
DVideoModule.java488 OrientationManager.DeviceOrientation deviceOrientation) { in onOrientationChanged()