Home
last modified time | relevance | path

Searched refs:Facing (Results 1 – 25 of 36) 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;
71 Facing cameraFacing = cameraCharacteristics.getCameraDirection(); in setPictureAspectRatio()
75 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? in setPictureAspectRatio()
77 final String blacklist = cameraFacing == OneCamera.Facing.FRONT ? mResolutionBlackListFront in setPictureAspectRatio()
88 supportedPictureSizes, cameraFacing == OneCamera.Facing.BACK); in setPictureAspectRatio()
107 public Size getPictureSize(CameraId cameraId, Facing cameraFacing) in getPictureSize()
109 final String pictureSizeSettingKey = cameraFacing == OneCamera.Facing.FRONT ? in getPictureSize()
115 if (cameraFacing == OneCamera.Facing.BACK) { in getPictureSize()
117 } else if (cameraFacing == OneCamera.Facing.FRONT) { in getPictureSize()
179 public Rational getPictureAspectRatio(CameraId cameraId, Facing facing) in getPictureAspectRatio()
DCameraSettingsActivity.java39 import com.android.camera.one.OneCamera.Facing;
92 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT); in onCreate()
93 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in onCreate()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DCamera2OneCameraManagerImpl.java29 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()
DOneCameraCharacteristicsImpl.java102 public OneCamera.Facing getCameraDirection() { in getCameraDirection()
105 return OneCamera.Facing.BACK; in getCameraDirection()
107 return OneCamera.Facing.FRONT; in getCameraDirection()
DZslOneCameraFactory.java223 OneCamera.Facing.BACK; in createOneCamera()
323 OneCamera.Facing direction = characteristics.getCameraDirection(); in createOneCamera()
/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()
181 return getCameraDirection() == Facing.BACK; in isAutoExposureSupported()
DLegacyOneCameraManagerImpl.java24 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/
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.java20 import com.android.camera.one.OneCamera.Facing;
37 public boolean hasCameraFacing(Facing facing); in hasCameraFacing()
49 public CameraId findFirstCameraFacing(Facing facing); in findFirstCameraFacing()
DOneCamera.java41 public static enum Facing { enum
405 public Facing getDirection(); in getDirection()
/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()
/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/
DCaptureModule.java58 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/
DStateOpeningCamera.java61 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()
DStateStartingPreview.java61 OneCamera.Facing cameraFacing, in from()
83 OneCamera.Facing cameraFacing, in StateStartingPreview()
DStateReadyForCapture.java58 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/
DBurstFacadeImpl.java26 import com.android.camera.one.OneCamera.Facing;
126 Facing cameraFacing, in startBurst()
152 imageOrientationDegrees, cameraFacing == Facing.FRONT); in startBurst()
DBurstFacade.java23 import com.android.camera.one.OneCamera.Facing;
50 Facing cameraFacing, 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/app/
DFirstRunDialog.java26 import com.android.camera.one.OneCamera.Facing;
161 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in promptAspectRatioPreferenceDialog()
165 CameraId frontCameraId = mOneCameraManager.findFirstCameraFacing(Facing.FRONT); in promptAspectRatioPreferenceDialog()
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DGenericOneCameraImpl.java65 private final Facing mDirection;
73 Facing direction, PreviewSizeSelector previewSizeSelector, in GenericOneCameraImpl()
171 public Facing getDirection() { in getDirection()
/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()

12