Searched refs:mNumberOfCameras (Results 1 – 3 of 3) sorted by relevance
51 private int mNumberOfCameras; field in CameraHolder98 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()
268 private int mNumberOfCameras; field in Camera1089 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in getPreferredCameraId()1096 if (attemptedCameraId >= mNumberOfCameras) { in getPreferredCameraId()2191 if (mNumberOfCameras > 1) { in addBaseMenuItems()2196 (mCameraId + 1) % mNumberOfCameras); in addBaseMenuItems()
242 private int mNumberOfCameras; field in VideoCamera371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in onCreate()1479 if (mNumberOfCameras > 1) { in addBaseMenuItems()1484 (mCameraId + 1) % mNumberOfCameras); in addBaseMenuItems()