/packages/apps/Camera2/src/com/android/camera/one/ |
CameraDirectionProvider.java | 32 public OneCamera.Facing getDirection() { 35 return OneCamera.Facing.BACK; 37 return OneCamera.Facing.FRONT; 39 return OneCamera.Facing.BACK;
|
OneCameraManager.java | 20 import com.android.camera.one.OneCamera.Facing; 35 * Returns whether the device has a camera facing the given direction. 37 public boolean hasCameraFacing(Facing facing); 46 * Get a platform specific device key for a camera facing a particular 49 public CameraId findFirstCameraFacing(Facing facing); 52 * Retrieve the characteristics for the camera facing at the given 57 * there is no camera facing the given direction.
|
OneCameraCharacteristics.java | 62 public OneCamera.Facing getCameraDirection();
|
OneCamera.java | 40 /** Which way the camera is facing. */ 41 public static enum Facing { 405 public Facing getDirection();
|
OneCameraCaptureSetting.java | 23 import com.android.camera.one.OneCamera.Facing;
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
CameraFacingSetting.java | 26 * Handles the camera facing setting for a particular scope stored in 63 * Sets the default value for the camera facing setting. 78 return getCameraFacing() == OneCamera.Facing.BACK; 87 return getCameraFacing() == OneCamera.Facing.FRONT; 91 * Gets the current camera facing in the setting. 93 * @return The current camera facing in the setting. 95 public OneCamera.Facing getCameraFacing() { 98 return OneCamera.Facing.BACK; 100 return OneCamera.Facing.FRONT; 107 * Sets the camera facing setting [all...] |
ResolutionSetting.java | 26 import com.android.camera.one.OneCamera.Facing; 60 * Changes the picture size settings for the cameras with specified facing. 71 Facing cameraFacing = cameraCharacteristics.getCameraDirection(); 75 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? 77 final String blacklist = cameraFacing == OneCamera.Facing.FRONT ? mResolutionBlackListFront 88 supportedPictureSizes, cameraFacing == OneCamera.Facing.BACK); 103 * Reads the picture size setting for the cameras with specified facing. 107 public Size getPictureSize(CameraId cameraId, Facing cameraFacing) 109 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? 115 if (cameraFacing == OneCamera.Facing.BACK) [all...] |
/packages/apps/Camera2/src/com/android/camera/burst/ |
BurstFacade.java | 23 import com.android.camera.one.OneCamera.Facing; 33 * {@link #startBurst(CaptureSession.CaptureSessionCreator, DeviceOrientation, Facing, int)} and 44 * @param cameraFacing the camera facing 50 Facing cameraFacing,
|
BurstFacadeFactory.java | 24 import com.android.camera.one.OneCamera.Facing; 44 DeviceOrientation deviceOrientation, Facing cameraFacing,
|
ToastingBurstFacadeDecorator.java | 25 import com.android.camera.one.OneCamera.Facing; 74 DeviceOrientation deviceOrientation, Facing cameraFacing, int imageOrientationDegrees) {
|
BurstFacadeImpl.java | 26 import com.android.camera.one.OneCamera.Facing; 126 Facing cameraFacing, 152 imageOrientationDegrees, cameraFacing == Facing.FRONT);
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
HardwareSpecImpl.java | 51 OneCamera.Facing cameraFacing = 52 isFrontCamera ? OneCamera.Facing.FRONT : OneCamera.Facing.BACK;
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
OneCameraCharacteristicsImpl.java | 23 import com.android.camera.one.OneCamera.Facing; 82 public OneCamera.Facing getCameraDirection() { 83 int direction = mCameraInfo.facing; 85 return OneCamera.Facing.BACK; 87 return OneCamera.Facing.FRONT; 175 return getCameraDirection() == Facing.BACK; 181 return getCameraDirection() == Facing.BACK;
|
LegacyOneCameraManagerImpl.java | 24 import com.android.camera.one.OneCamera.Facing; 73 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { 76 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { 110 public boolean hasCameraFacing(@Nonnull Facing facing) { 111 return findFirstCameraFacing(facing) != null; 120 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { 121 if (facing == Facing.BACK && mFirstBackCameraId != null) [all...] |
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
ResourceOpenedCameraImpl.java | 39 /** The camera facing. */ 40 private final OneCamera.Facing mCameraFacing; 59 OneCamera.Facing cameraFacing, 71 OneCamera.Facing cameraFacing, 102 public OneCamera.Facing getCameraFacing() {
|
ResourceOpenedCamera.java | 49 * Obtains the facing of the opened camera. 51 * @return A {@link com.android.camera.one.OneCamera.Facing}. 53 public OneCamera.Facing getCameraFacing();
|
/packages/apps/Camera2/src/com/android/camera/one/config/ |
OneCameraFeatureConfig.java | 127 public HdrPlusSupportLevel getHdrPlusSupportLevel(OneCamera.Facing cameraFacing) { 128 if (cameraFacing == OneCamera.Facing.FRONT) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
ImageRotationCalculatorImpl.java | 32 * sensor rotation and front/back-facing property to calculate image rotations. 46 * @param frontFacing whether the camera is front-facing. 61 OneCamera.Facing lensDirection = characteristics.getCameraDirection(); 63 lensDirection == OneCamera.Facing.FRONT);
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
Camera2OneCameraManagerImpl.java | 29 import com.android.camera.one.OneCamera.Facing; 82 public boolean hasCameraFacing(@Nonnull Facing direction) { 101 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { 102 String cameraId = findCameraId(facing); 123 /** Returns the ID of the first camera facing the given direction. */ 124 private String findCameraId(Facing facing) { 125 if (facing == Facing.FRONT) [all...] |
OneCameraCharacteristicsImpl.java | 102 public OneCamera.Facing getCameraDirection() { 105 return OneCamera.Facing.BACK; 107 return OneCamera.Facing.FRONT;
|
/packages/apps/Camera2/src/com/android/camera/app/ |
FirstRunDialog.java | 26 import com.android.camera.one.OneCamera.Facing; 161 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); 165 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT);
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
StateForegroundWithSurfaceTexture.java | 64 final OneCamera.Facing cameraFacing =
|
StateOpeningCamera.java | 61 private final OneCamera.Facing mCameraFacing; 95 OneCamera.Facing cameraFacing, 105 OneCamera.Facing cameraFacing, 234 .getOneCameraManager().hasCameraFacing(OneCamera.Facing.FRONT);
|
StateStartingPreview.java | 61 OneCamera.Facing cameraFacing, 83 OneCamera.Facing cameraFacing,
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
GenericOneCameraImpl.java | 65 private final Facing mDirection; 73 Facing direction, PreviewSizeSelector previewSizeSelector, 171 public Facing getDirection() {
|