/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 | 29 import com.android.camera.one.OneCamera.Facing; 67 private Hashtable<Facing, String> mCameraFacingCache = new Hashtable<Facing, String>(); 77 findFirstCameraFacing(Facing.BACK); in Camera2OneCameraManagerImpl() 78 findFirstCameraFacing(Facing.FRONT); in Camera2OneCameraManagerImpl() 94 public boolean hasCameraFacing(@Nonnull Facing direction) { in hasCameraFacing() 113 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing() 136 private String findCameraId(Facing facing) { in findCameraId() 142 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()
|
D | ZslOneCameraFactory.java | 223 OneCamera.Facing.BACK; in createOneCamera() 323 OneCamera.Facing direction = characteristics.getCameraDirection(); in createOneCamera()
|
/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 | 24 import com.android.camera.one.OneCamera.Facing; 110 public boolean hasCameraFacing(@Nonnull Facing facing) { in hasCameraFacing() 120 public CameraId findFirstCameraFacing(@Nonnull Facing facing) { in findFirstCameraFacing() 121 if (facing == Facing.BACK && mFirstBackCameraId != null) { in findFirstCameraFacing() 123 } 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 | 20 import com.android.camera.one.OneCamera.Facing; 37 public boolean hasCameraFacing(Facing facing); in hasCameraFacing() 49 public CameraId findFirstCameraFacing(Facing facing); in findFirstCameraFacing()
|
D | OneCamera.java | 41 public static enum Facing { enum 405 public Facing getDirection(); in getDirection()
|
/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()
|
/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/ |
D | CaptureModule.java | 58 import com.android.camera.one.OneCamera.Facing; 155 private Facing mCameraFacing; 518 (mCameraFacing == Facing.FRONT), in decorateSessionAtCaptureTime() 767 mOneCameraManager.findFirstCameraFacing(Facing.BACK).getValue()); in hardResetSettings() 776 return mOneCameraManager.hasCameraFacing(Facing.FRONT); in getHardwareSpec() 920 if (mCameraCharacteristics.getCameraDirection() == Facing.FRONT) { 1355 boolean useHdr = mHdrPlusEnabled && mCameraFacing == Facing.BACK; 1541 private Facing getFacingFromCameraId(int cameraId) { 1543 .isFacingFront() ? Facing.FRONT : Facing.BACK;
|
/packages/apps/Camera2/src/com/android/camera/captureintent/state/ |
D | StateOpeningCamera.java | 61 private final OneCamera.Facing mCameraFacing; 95 OneCamera.Facing cameraFacing, in from() 105 OneCamera.Facing cameraFacing, in StateOpeningCamera() 234 .getOneCameraManager().hasCameraFacing(OneCamera.Facing.FRONT); in getHardwareSpec()
|
D | StateStartingPreview.java | 61 OneCamera.Facing cameraFacing, in from() 83 OneCamera.Facing cameraFacing, in StateStartingPreview()
|
D | StateReadyForCapture.java | 58 import com.android.camera.one.OneCamera.Facing; 322 OneCamera.Facing cameraFacing = in registerEventHandlers() 374 if (cameraCharacteristics.getCameraDirection() == Facing.FRONT) { in registerEventHandlers()
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | BurstFacadeImpl.java | 26 import com.android.camera.one.OneCamera.Facing; 126 Facing cameraFacing, in startBurst() 152 imageOrientationDegrees, cameraFacing == Facing.FRONT); in startBurst()
|
D | BurstFacade.java | 23 import com.android.camera.one.OneCamera.Facing; 50 Facing cameraFacing, 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/app/ |
D | FirstRunDialog.java | 29 import com.android.camera.one.OneCamera.Facing; 167 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in promptAspectRatioPreferenceDialog() 171 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/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/one/v2/photo/ |
D | ImageRotationCalculatorImpl.java | 61 OneCamera.Facing lensDirection = characteristics.getCameraDirection(); in from() 63 lensDirection == OneCamera.Facing.FRONT); in from()
|