/packages/apps/Camera/src/com/android/camera/ |
CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance();
|
CameraHolder.java | 42 * called before {@code release()}, CameraHolder will try to hold the {@code 49 public class CameraHolder { 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() { [all...] |
CameraSettings.java | 421 int n = CameraHolder.instance().getNumberOfCameras(); 500 int backCameraId = CameraHolder.instance().getBackCameraId(); 507 int frontCameraId = CameraHolder.instance().getFrontCameraId();
|
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];
|
PhotoModule.java | 512 int backCameraId = CameraHolder.instance().getBackCameraId(); 758 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; [all...] |
CameraActivity.java | 141 CameraHolder.instance().keep();
|
ComboPreferences.java | 108 int numOfCameras = CameraHolder.instance().getNumberOfCameras();
|
PanoramaModule.java | 348 CameraHolder.instance().release(); 355 int cameraId = CameraHolder.instance().getBackCameraId(); 363 if (cameraId == CameraHolder.instance().getFrontCameraId()) mUsingFrontCamera = true; 574 int cameraId = CameraHolder.instance().getBackCameraId(); [all...] |
/packages/apps/Camera/tests/src/com/android/camera/activity/ |
CameraActivityTest.java | 23 import com.android.camera.CameraHolder; 40 CameraHolder.injectMockCamera(mCameraInfo, mOneMockCamera);
|
CameraTestCase.java | 32 import com.android.camera.CameraHolder; 172 CameraHolder.injectMockCamera(null, null); 176 CameraHolder.injectMockCamera(mCameraInfo, null);
|
/packages/apps/Camera2/src/com/android/camera/ |
CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance();
|
CameraHolder.java | 42 * called before {@code release()}, CameraHolder will try to hold the {@code 49 public class CameraHolder { 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() { [all...] |
CameraSettings.java | 227 int frontCameraId = CameraHolder.instance().getFrontCameraId(); 425 int n = CameraHolder.instance().getNumberOfCameras(); 459 int backCameraId = CameraHolder.instance().getBackCameraId(); 466 int frontCameraId = CameraHolder.instance().getFrontCameraId();
|
WideAnglePanoramaModule.java | 339 CameraHolder.instance().release(); 352 int cameraId = CameraHolder.instance().getBackCameraId(); 364 if (cameraId == CameraHolder.instance().getFrontCameraId()) mUsingFrontCamera = true; 536 int cameraId = CameraHolder.instance().getBackCameraId(); [all...] |
PhotoModule.java | 405 int backCameraId = CameraHolder.instance().getBackCameraId(); 479 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 611 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; [all...] |
ComboPreferences.java | 111 int numOfCameras = CameraHolder.instance().getNumberOfCameras();
|
VideoModule.java | 417 mCameraId, CameraHolder.instance().getCameraInfo()); 770 CameraHolder.instance().release(); [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraButtonIntentReceiver.java | 38 CameraHolder holder = CameraHolder.instance();
|
CameraHolder.java | 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() { [all...] |
MenuHelper.java | 88 CameraHolder.instance().keep();
|
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];
|
Camera.java | 385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; [all...] |
CameraSettings.java | 426 int backCameraId = CameraHolder.instance().getBackCameraId(); 433 int frontCameraId = CameraHolder.instance().getFrontCameraId();
|
VideoCamera.java | 371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); 481 mBackCameraId = CameraHolder.instance().getBackCameraId(); 482 mFrontCameraId = CameraHolder.instance().getFrontCameraId(); 489 mCameraId, CameraHolder.instance().getCameraInfo()); [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
CameraUtil.java | 57 import com.android.camera.CameraHolder; 335 return CameraHolder.instance().open(handler, cameraId, cb); 612 int frontCameraId = CameraHolder.instance().getFrontCameraId(); 618 int backCameraId = CameraHolder.instance().getBackCameraId(); 763 CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId]; [all...] |