Home
last modified time | relevance | path

Searched refs:mCameraOpened (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DCameraHolder.java55 private boolean mCameraOpened; // true if camera is opened field in CameraHolder
144 if (!mCameraOpened) release(); in handleMessage()
196 if (mCameraOpened) { in open()
201 Assert(!mCameraOpened); in open()
233 mCameraOpened = true; in open()
245 return (!mCameraOpened ? open(handler, cameraId, cb) : null); in tryOpen()
257 if (mCameraOpened) { in release()
258 mCameraOpened = false; in release()
271 mCameraOpened = false; in strongRelease()
/packages/apps/Camera/src/com/android/camera/
DCameraHolder.java55 private boolean mCameraOpened; // true if camera is opened field in CameraHolder
144 if (!mCameraOpened) release(); in handleMessage()
195 if (mCameraOpened) { in open()
200 Assert(!mCameraOpened); in open()
231 mCameraOpened = true; in open()
243 return !mCameraOpened ? open(cameraId) : null; in tryOpen()
263 if (mCameraOpened) { in release()
264 mCameraOpened = false; in release()
271 mCameraOpened = false; in release()