Lines Matching refs:CameraHolder
37 * called before {@code release()}, CameraHolder will try to hold the {@code
45 public class CameraHolder {
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() {
95 HandlerThread ht = new HandlerThread("CameraHolder");