Home
last modified time | relevance | path

Searched refs:Facing (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Camera2/src/com/android/camera/settings/
DCameraFacingSetting.java85 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 …]
DResolutionSetting.java26 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()
DCameraSettingsActivity.java41 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/
DCamera2OneCameraManagerImpl.java30 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()
DOneCameraCharacteristicsImpl.java102 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/
DOneCameraCharacteristicsImpl.java23 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()
DLegacyOneCameraManagerImpl.java25 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/
DCameraDirectionProvider.java32 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()
DOneCameraManager.java22 import com.android.camera.one.OneCamera.Facing;
39 public boolean hasCameraFacing(Facing facing); in hasCameraFacing()
51 public CameraId findFirstCameraFacing(Facing facing); in findFirstCameraFacing()
DOneCamera.java41 public static enum Facing { enum
415 public Facing getDirection(); in getDirection()
DOneCameraCharacteristics.java62 public OneCamera.Facing getCameraDirection(); in getCameraDirection()
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceOpenedCameraImpl.java40 private final OneCamera.Facing mCameraFacing;
59 OneCamera.Facing cameraFacing, in create()
71 OneCamera.Facing cameraFacing, in ResourceOpenedCameraImpl()
102 public OneCamera.Facing getCameraFacing() { in getCameraFacing()
DResourceOpenedCamera.java53 public OneCamera.Facing getCameraFacing(); in getCameraFacing()
/packages/apps/Camera2/src/com/android/camera/hardware/
DHardwareSpecImpl.java51 OneCamera.Facing cameraFacing = in HardwareSpecImpl()
52 isFrontCamera ? OneCamera.Facing.FRONT : OneCamera.Facing.BACK; in HardwareSpecImpl()
/packages/apps/Camera2/src/com/android/camera/burst/
DBurstFacade.java23 import com.android.camera.one.OneCamera.Facing;
50 Facing cameraFacing, in startBurst()
DBurstFacadeImpl.java26 import com.android.camera.one.OneCamera.Facing;
126 Facing cameraFacing, in startBurst()
152 imageOrientationDegrees, cameraFacing == Facing.FRONT); in startBurst()
DBurstFacadeFactory.java24 import com.android.camera.one.OneCamera.Facing;
44 DeviceOrientation deviceOrientation, Facing cameraFacing, in startBurst()
DToastingBurstFacadeDecorator.java25 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/
DImageRotationCalculatorImpl.java61 OneCamera.Facing lensDirection = characteristics.getCameraDirection(); in from()
63 lensDirection == OneCamera.Facing.FRONT); in from()
/packages/apps/Camera2/src/com/android/camera/one/config/
DOneCameraFeatureConfig.java127 public HdrPlusSupportLevel getHdrPlusSupportLevel(OneCamera.Facing cameraFacing) { in getHdrPlusSupportLevel()
128 if (cameraFacing == OneCamera.Facing.FRONT) { in getHdrPlusSupportLevel()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java29 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/
DGenericOneCameraImpl.java66 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/
DStateOpeningCamera.java61 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()
DStateStartingPreview.java61 OneCamera.Facing cameraFacing, in from()
83 OneCamera.Facing cameraFacing, in StateStartingPreview()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java58 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;

12