Searched defs:CameraHolder (Results 1 - 2 of 2) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraHolder.java37 * called before {@code release()}, CameraHolder will try to hold the {@code
45 public class CameraHolder { class
46 private static final String TAG = "CameraHolder";
63 private static CameraHolder sHolder;
64 public static synchronized CameraHolder instance() {
66 sHolder = new CameraHolder();
81 synchronized (CameraHolder.this) {
82 // In 'CameraHolder.open', the 'RELEASE_CAMERA' message
87 if (CameraHolder.this.mUsers == 0) releaseCamera();
94 private CameraHolder() { method in class:CameraHolder
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DCameraHolder.java42 * called before {@code release()}, CameraHolder will try to hold the {@code
49 public class CameraHolder { class
50 private static final String TAG = "CameraHolder";
120 private static CameraHolder sHolder;
121 public static synchronized CameraHolder instance() {
123 sHolder = new CameraHolder();
138 synchronized (CameraHolder.this) {
139 // In 'CameraHolder.open', the 'RELEASE_CAMERA' message
154 sHolder = new CameraHolder();
157 private CameraHolder() { method in class:CameraHolder
[all...]

Completed in 75 milliseconds