Home
last modified time | relevance | path

Searched refs:mBackCameraId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java53 private int mBackCameraId = -1, mFrontCameraId = -1; field in CameraHolder
103 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { in CameraHolder()
104 mBackCameraId = i; in CameraHolder()
204 return mBackCameraId; in getBackCameraId()
DCamera.java271 private int mBackCameraId; field in Camera
1205 mBackCameraId = CameraHolder.instance().getBackCameraId(); in onCreate()
DVideoCamera.java245 private int mBackCameraId; field in VideoCamera
481 mBackCameraId = CameraHolder.instance().getBackCameraId(); in onCreate()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java112 private CameraId mBackCameraId = null; field in CameraController
372 mCameraId = fetchCameraIdFromUserPrefs(/*defaultCameraId*/ mBackCameraId); in CameraController()
526 mBackCameraId = fetchBackCameraIdFromUserPrefs(null); in refreshLensFacingCameraIds()
529 if (mBackCameraId != null && mFrontCameraId != null) { in refreshLensFacingCameraIds()
545 if (mBackCameraId == null && lensFacing == CameraMetadata.LENS_FACING_BACK) { in refreshLensFacingCameraIds()
546 mBackCameraId = cameraId; in refreshLensFacingCameraIds()
1336 if (Objects.equals(mCameraId, mBackCameraId)) { in toggleCamera()
1339 newCameraId = mBackCameraId; in toggleCamera()
1359 mBackCameraId = mCameraId; in switchCamera()
1360 mUserPrefs.storeBackCameraId(mBackCameraId.toString()); in switchCamera()
[all …]