Home
last modified time | relevance | path

Searched refs:mNumberOfCameras (Results 1 – 3 of 3) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java51 private int mNumberOfCameras; field in CameraHolder
98 mNumberOfCameras = android.hardware.Camera.getNumberOfCameras(); in CameraHolder()
99 mInfo = new CameraInfo[mNumberOfCameras]; in CameraHolder()
100 for (int i = 0; i < mNumberOfCameras; i++) { in CameraHolder()
113 return mNumberOfCameras; in getNumberOfCameras()
DCamera.java268 private int mNumberOfCameras; field in Camera
1089 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in getPreferredCameraId()
1096 if (attemptedCameraId >= mNumberOfCameras) { in getPreferredCameraId()
2191 if (mNumberOfCameras > 1) { in addBaseMenuItems()
2196 (mCameraId + 1) % mNumberOfCameras); in addBaseMenuItems()
DVideoCamera.java242 private int mNumberOfCameras; field in VideoCamera
371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in onCreate()
1479 if (mNumberOfCameras > 1) { in addBaseMenuItems()
1484 (mCameraId + 1) % mNumberOfCameras); in addBaseMenuItems()