/packages/apps/Camera2/src/com/android/camera/app/ |
D | OrientationManagerImpl.java | 60 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(mActivity)) % 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;
|
D | OrientationManager.java | 19 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/ |
D | TaskImageContainer.java | 71 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()
|
D | TaskCompressImageToJpeg.java | 26 import com.android.camera.app.OrientationManager.DeviceOrientation; 164 final DeviceOrientation exifDerivedRotation; in run() 168 exifDerivedRotation = DeviceOrientation.CLOCKWISE_0; in run() 170 exifDerivedRotation = DeviceOrientation in run() 179 final DeviceOrientation combinedRotationFromSensorToJpeg = in run() 250 DeviceOrientation.CLOCKWISE_0, resultSize.getWidth(), in run() 435 DeviceOrientation orientation) { in getImageSizeForOrientation() 436 if (orientation == DeviceOrientation.CLOCKWISE_0 in getImageSizeForOrientation() 437 || orientation == DeviceOrientation.CLOCKWISE_180) { in getImageSizeForOrientation() 439 } else if (orientation == DeviceOrientation.CLOCKWISE_90 in getImageSizeForOrientation() [all …]
|
D | ImageToProcess.java | 32 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/ |
D | JpegImageBackendImageSaver.java | 61 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()
|
D | YuvImageBackendImageSaver.java | 62 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()
|
D | ImageSaver.java | 63 OrientationManager.DeviceOrientation orientation, in build()
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | BurstFacade.java | 22 import com.android.camera.app.OrientationManager.DeviceOrientation; 49 DeviceOrientation deviceOrientation, in startBurst()
|
D | BurstFacadeFactory.java | 23 import com.android.camera.app.OrientationManager.DeviceOrientation; 44 DeviceOrientation deviceOrientation, Facing cameraFacing, in startBurst()
|
D | ToastingBurstFacadeDecorator.java | 24 import com.android.camera.app.OrientationManager.DeviceOrientation; 74 DeviceOrientation deviceOrientation, Facing cameraFacing, int imageOrientationDegrees) { in startBurst()
|
D | BurstFacadeImpl.java | 21 import com.android.camera.app.OrientationManager.DeviceOrientation; 125 DeviceOrientation deviceOrientation, in startBurst()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ImageRotationCalculatorImpl.java | 67 public OrientationManager.DeviceOrientation toImageRotation() { in toImageRotation() 70 return OrientationManager.DeviceOrientation.from(imageRotation); in toImageRotation()
|
D | ImageRotationCalculator.java | 35 public OrientationManager.DeviceOrientation toImageRotation(); in toImageRotation()
|
D | PictureTakerImpl.java | 93 OrientationManager.DeviceOrientation.from(params.orientation), in takePicture()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | TextureViewHelper.java | 285 OrientationManager.DeviceOrientation deviceOrientation = 286 OrientationManager.DeviceOrientation.from(currentDisplayOrientation);
|
D | VideoUI.java | 256 OrientationManager.DeviceOrientation deviceOrientation) { in onOrientationChanged()
|
D | CaptureModule.java | 41 import com.android.camera.app.OrientationManager.DeviceOrientation; 451 DeviceOrientation deviceOrientation = mAppController.getOrientationManager() in onShutterButtonLongPressed()
|
D | VideoModule.java | 485 OrientationManager.DeviceOrientation deviceOrientation) { in onOrientationChanged()
|