Searched refs:CameraHolder (Results 1 - 18 of 18) sorted by relevance
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance();
|
H A D | CameraHolder.java | 42 * 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...] |
H A D | CameraSettings.java | 415 int n = CameraHolder.instance().getNumberOfCameras(); 494 int backCameraId = CameraHolder.instance().getBackCameraId(); 501 int frontCameraId = CameraHolder.instance().getFrontCameraId();
|
H A D | Util.java | 315 return CameraHolder.instance().open(cameraId); 555 int frontCameraId = CameraHolder.instance().getFrontCameraId(); 561 int backCameraId = CameraHolder.instance().getBackCameraId(); 698 CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId];
|
H A D | PhotoModule.java | 487 int backCameraId = CameraHolder.instance().getBackCameraId(); 732 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1422 mCameraId, CameraHolder.instance().getCameraInfo()); 1710 CameraHolder.instance().keep(KEEP_CAMERA_TIMEOUT); 1825 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1878 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 2025 CameraHolder.instance().release(); 2446 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId];
|
H A D | CameraActivity.java | 144 CameraHolder.instance().keep();
|
H A D | PanoramaModule.java | 337 CameraHolder.instance().release(); 344 int cameraId = CameraHolder.instance().getBackCameraId(); 352 if (cameraId == CameraHolder.instance().getFrontCameraId()) mUsingFrontCamera = true; 533 int cameraId = CameraHolder.instance().getBackCameraId();
|
H A D | VideoModule.java | 432 mActivity.mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); 519 mCameraId, CameraHolder.instance().getCameraInfo()); 998 CameraHolder.instance().release(); 1264 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1310 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1683 CameraInfo[] info = CameraHolder.instance().getCameraInfo();
|
/packages/apps/Camera/tests/src/com/android/camera/activity/ |
H A D | CameraActivityTest.java | 23 import com.android.camera.CameraHolder; 40 CameraHolder.injectMockCamera(mCameraInfo, mOneMockCamera);
|
H A D | CameraTestCase.java | 32 import com.android.camera.CameraHolder; 172 CameraHolder.injectMockCamera(null, null); 176 CameraHolder.injectMockCamera(mCameraInfo, null);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance();
|
H A D | CameraHolder.java | 37 * 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...] |
H A D | MenuHelper.java | 88 CameraHolder.instance().keep();
|
H A D | Util.java | 267 return CameraHolder.instance().open(cameraId); 500 int frontCameraId = CameraHolder.instance().getFrontCameraId(); 506 int backCameraId = CameraHolder.instance().getBackCameraId(); 623 CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId];
|
H A D | Camera.java | 385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1147 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); 1192 mBackCameraId = CameraHolder.instance().getBackCameraId(); 1193 mFrontCameraId = CameraHolder.instance().getFrontCameraId(); 1241 mCameraId, CameraHolder.instance().getCameraInfo()); 1802 CameraHolder.instance().release();
|
H A D | CameraSettings.java | 426 int backCameraId = CameraHolder.instance().getBackCameraId(); 433 int frontCameraId = CameraHolder.instance().getFrontCameraId();
|
H A D | VideoCamera.java | 371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); 481 mBackCameraId = CameraHolder.instance().getBackCameraId(); 482 mFrontCameraId = CameraHolder.instance().getFrontCameraId(); 489 mCameraId, CameraHolder.instance().getCameraInfo()); 955 CameraHolder.instance().release(); 1250 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1281 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 1659 CameraInfo[] info = CameraHolder.instance().getCameraInfo();
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoramaActivity.java | 22 import com.android.camera.CameraHolder; 359 CameraHolder.instance().release(); 366 int backCameraId = CameraHolder.instance().getBackCameraId();
|
Completed in 120 milliseconds