/packages/apps/Camera2/src/com/android/camera/settings/ |
D | CameraFacingSetting.java | 85 return getCameraFacing() == OneCamera.Facing.BACK; in isFacingBack() 94 return getCameraFacing() == OneCamera.Facing.FRONT; in isFacingFront() 102 public OneCamera.Facing getCameraFacing() { in getCameraFacing() 105 return OneCamera.Facing.BACK; in getCameraFacing() 107 return OneCamera.Facing.FRONT; in getCameraFacing() 118 public void setCameraFacing(OneCamera.Facing cameraFacing) { in setCameraFacing() 119 final int cameraId = (cameraFacing == OneCamera.Facing.BACK) ? in setCameraFacing() 129 public OneCamera.Facing switchCameraFacing() { in switchCameraFacing() 130 final OneCamera.Facing originalFacing = getCameraFacing(); in switchCameraFacing() 131 final OneCamera.Facing newFacing = (originalFacing == OneCamera.Facing.BACK) ? in switchCameraFacing() [all …]
|
D | ResolutionSetting.java | 26 import com.android.camera.one.OneCamera.Facing; 73 Facing cameraFacing = cameraCharacteristics.getCameraDirection(); in setPictureAspectRatio() 77 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? in setPictureAspectRatio() 79 final String disallowedlist = cameraFacing == OneCamera.Facing.FRONT ? in setPictureAspectRatio() 90 supportedPictureSizes, cameraFacing == OneCamera.Facing.BACK); in setPictureAspectRatio() 109 public Size getPictureSize(CameraId cameraId, Facing cameraFacing) in getPictureSize() 111 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? in getPictureSize() 117 if (cameraFacing == OneCamera.Facing.BACK) { in getPictureSize() 119 } else if (cameraFacing == OneCamera.Facing.FRONT) { in getPictureSize() 182 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing) in getPictureAspectRatio()
|
D | CameraSettingsActivity.java | 41 import com.android.camera.one.OneCamera.Facing; 95 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT); in onCreate() 96 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in onCreate()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | Camera2OneCameraManagerImpl.java | 30 import com.android.camera.one.OneCamera.Facing; 69 private Hashtable<Facing, String> mCameraFacingCache = new Hashtable<Facing, String>(); 80 findFirstCameraFacing(Facing.BACK); in Camera2OneCameraManagerImpl() 81 findFirstCameraFacing(Facing.FRONT); in Camera2OneCameraManagerImpl() 97 public boolean hasCameraFacing(@Nonnull Facing direction) { in hasCameraFacing() 116 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing() 152 private String findCameraId(Facing facing) { in findCameraId() 158 if (facing == Facing.FRONT) { in findCameraId()
|
D | OneCameraCharacteristicsImpl.java | 102 public OneCamera.Facing getCameraDirection() { in getCameraDirection() 105 return OneCamera.Facing.BACK; in getCameraDirection() 107 return OneCamera.Facing.FRONT; in getCameraDirection()
|
/packages/apps/Camera2/src/com/android/camera/one/v1/ |
D | OneCameraCharacteristicsImpl.java | 23 import com.android.camera.one.OneCamera.Facing; 82 public OneCamera.Facing getCameraDirection() { in getCameraDirection() 85 return OneCamera.Facing.BACK; in getCameraDirection() 87 return OneCamera.Facing.FRONT; in getCameraDirection() 175 return getCameraDirection() == Facing.BACK; in isAutoFocusSupported() 180 return getCameraDirection() == Facing.BACK; in isContinuousPictureAutoFocusSupported() 186 return getCameraDirection() == Facing.BACK; in isAutoExposureSupported()
|
D | LegacyOneCameraManagerImpl.java | 25 import com.android.camera.one.OneCamera.Facing; 111 public boolean hasCameraFacing(@Nonnull Facing facing) { in hasCameraFacing() 121 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing() 122 if (facing == Facing.BACK && mFirstBackCameraId != null) { in findFirstCameraFacing() 124 } else if (facing == Facing.FRONT && mFirstFrontCameraId != null) { in findFirstCameraFacing()
|
/packages/apps/Camera2/src/com/android/camera/one/ |
D | CameraDirectionProvider.java | 32 public OneCamera.Facing getDirection() { in getDirection() 35 return OneCamera.Facing.BACK; in getDirection() 37 return OneCamera.Facing.FRONT; in getDirection() 39 return OneCamera.Facing.BACK; in getDirection()
|
D | OneCameraManager.java | 22 import com.android.camera.one.OneCamera.Facing; 39 public boolean hasCameraFacing(Facing facing); in hasCameraFacing() 51 public CameraId findFirstCameraFacing(Facing facing); in findFirstCameraFacing()
|
D | OneCamera.java | 41 public static enum Facing { enum 415 public Facing getDirection(); in getDirection()
|
D | OneCameraCharacteristics.java | 62 public OneCamera.Facing getCameraDirection(); in getCameraDirection()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/ |
D | ResourceOpenedCameraImpl.java | 40 private final OneCamera.Facing mCameraFacing; 59 OneCamera.Facing cameraFacing, in create() 71 OneCamera.Facing cameraFacing, in ResourceOpenedCameraImpl() 102 public OneCamera.Facing getCameraFacing() { in getCameraFacing()
|
D | ResourceOpenedCamera.java | 53 public OneCamera.Facing getCameraFacing(); in getCameraFacing()
|
/packages/apps/Camera2/src/com/android/camera/hardware/ |
D | HardwareSpecImpl.java | 51 OneCamera.Facing cameraFacing = in HardwareSpecImpl() 52 isFrontCamera ? OneCamera.Facing.FRONT : OneCamera.Facing.BACK; in HardwareSpecImpl()
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | BurstFacade.java | 23 import com.android.camera.one.OneCamera.Facing; 50 Facing cameraFacing, in startBurst()
|
D | BurstFacadeImpl.java | 26 import com.android.camera.one.OneCamera.Facing; 126 Facing cameraFacing, in startBurst() 152 imageOrientationDegrees, cameraFacing == Facing.FRONT); in startBurst()
|
D | BurstFacadeFactory.java | 24 import com.android.camera.one.OneCamera.Facing; 44 DeviceOrientation deviceOrientation, Facing cameraFacing, in startBurst()
|
D | ToastingBurstFacadeDecorator.java | 25 import com.android.camera.one.OneCamera.Facing; 74 DeviceOrientation deviceOrientation, Facing cameraFacing, int imageOrientationDegrees) { in startBurst()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | ImageRotationCalculatorImpl.java | 61 OneCamera.Facing lensDirection = characteristics.getCameraDirection(); in from() 63 lensDirection == OneCamera.Facing.FRONT); in from()
|
/packages/apps/Camera2/src/com/android/camera/one/config/ |
D | OneCameraFeatureConfig.java | 127 public HdrPlusSupportLevel getHdrPlusSupportLevel(OneCamera.Facing cameraFacing) { in getHdrPlusSupportLevel() 128 if (cameraFacing == OneCamera.Facing.FRONT) { in getHdrPlusSupportLevel()
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | FirstRunDialog.java | 29 import com.android.camera.one.OneCamera.Facing; 168 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in promptAspectRatioPreferenceDialog() 172 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT); in promptAspectRatioPreferenceDialog()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
D | GenericOneCameraImpl.java | 66 private final Facing mDirection; 74 Facing direction, PreviewSizeSelector previewSizeSelector, in GenericOneCameraImpl() 172 public Facing getDirection() { in getDirection()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateOpeningCamera.java | 61 private final OneCamera.Facing mCameraFacing; 105 OneCamera.Facing cameraFacing, in from() 115 OneCamera.Facing cameraFacing, in StateOpeningCamera() 244 .getOneCameraManager().hasCameraFacing(OneCamera.Facing.FRONT); in getHardwareSpec()
|
D | StateStartingPreview.java | 61 OneCamera.Facing cameraFacing, in from() 83 OneCamera.Facing cameraFacing, in StateStartingPreview()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | CaptureModule.java | 58 import com.android.camera.one.OneCamera.Facing; 159 private Facing mCameraFacing; 548 (mCameraFacing == Facing.FRONT), in decorateSessionAtCaptureTime() 797 mOneCameraManager.findFirstCameraFacing(Facing.BACK).getValue()); in hardResetSettings() 806 return mOneCameraManager.hasCameraFacing(Facing.FRONT); in getHardwareSpec() 950 if (mCameraCharacteristics.getCameraDirection() == Facing.FRONT) { 1385 boolean useHdr = mHdrPlusEnabled && mCameraFacing == Facing.BACK; 1592 private Facing getFacingFromCameraId(int cameraId) { 1594 .isFacingFront() ? Facing.FRONT : Facing.BACK;
|