Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/
DCameraHolder.java56 private final int mNumberOfCameras; field in CameraHolder
162 mNumberOfCameras = mMockCameraInfo.length; in CameraHolder()
165 mNumberOfCameras = android.hardware.Camera.getNumberOfCameras(); in CameraHolder()
166 mInfo = new CameraInfo[mNumberOfCameras]; in CameraHolder()
167 for (int i = 0; i < mNumberOfCameras; i++) { in CameraHolder()
174 for (int i = 0; i < mNumberOfCameras; i++) { in CameraHolder()
184 return mNumberOfCameras; in getNumberOfCameras()
DActivityBase.java83 protected int mNumberOfCameras; field in ActivityBase
DVideoModule.java427 mActivity.mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in init()
/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
1147 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in onCreate()
2173 if (mNumberOfCameras > 1) { in addBaseMenuItems()
2178 (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()