/packages/apps/Camera2/src/com/android/camera/ |
VideoModule.java | 106 private int mCameraId; 209 mActivity, mCameraId, mHandler, 329 mCameraId = getPreferredCameraId(mPreferences); 331 mPreferences.setLocalId(mActivity, mCameraId); 396 int rotation = CameraUtil.getJpegRotation(mCameraId, mOrientation); 417 mCameraId, CameraHolder.instance().getCameraInfo()); 557 videoQuality = CameraSettings.getSupportedHighestVideoQuality(mCameraId, 593 mProfile = CamcorderProfile.get(mCameraId, quality); 693 mCameraDisplayOrientation = CameraUtil.getDisplayOrientation(mDisplayRotation, mCameraId); 924 CameraUtil.getDisplayOrientation(mDisplayRotation, mCameraId)); [all...] |
PhotoModule.java | 121 private int mCameraId; 359 mCameraId = getPreferredCameraId(mPreferences); 367 mPreferences.setLocalId(mActivity, mCameraId); 450 mCameraId = mPendingSwitchCameraId; 452 setCameraId(mCameraId); 461 mPreferences.setLocalId(mActivity, mCameraId); 464 mActivity, mCameraId, mHandler, 467 Log.e(TAG, "Failed to open camera:" + mCameraId + ", aborting."); 472 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 604 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; [all...] |
CameraSettings.java | 80 private final int mCameraId; 86 mCameraId = cameraId; 180 filterUnsupportedOptions(group, videoQuality, getSupportedVideoQuality(mCameraId)); 228 boolean isFrontCamera = (frontCameraId == mCameraId);
|
/pdk/apps/TestingCamera/src/com/android/testingcamera/ |
TestingCamera.java | 115 private int mCameraId; 287 mCameraId = 0; 288 mCameraSpinner.setSelection(mCameraId + 1); 402 if (mCameraId != cameraId) { 404 mCameraId = cameraId; 419 if (mCameraId != NO_CAMERA_ID) { 422 infoDialog.updateInfo(mCameraId, mCamera); 820 if (mCameraId == NO_CAMERA_ID) return; 822 log("Setting up camera " + mCameraId); 826 log("Opening camera " + mCameraId); [all...] |
/device/lge/mako/camera/ |
QCameraStream.cpp | 204 /* ret = cam_evt_register_buf_notify(mCameraId, MM_CAMERA_CH_PREVIEW, 218 /*ret = cam_evt_register_buf_notify(mCameraId, MM_CAMERA_CH_VIDEO, 269 rc = cam_config_get_parm(mCameraId, MM_CAMERA_PARM_DIMENSION, &dim); 307 rc = cam_config_set_parm(mCameraId, MM_CAMERA_PARM_CH_IMAGE_FMT, &fmt); 326 :mCameraId(cameraId),
|
QCameraHWI.cpp | 55 mStreamRecord = QCameraStream_record::createInstance(mCameraId, 85 mStreamSnap = QCameraStream_Snapshot::createInstance(mCameraId, 111 mStreamDisplay = QCameraStream_preview::createInstance(mCameraId, 133 : mCameraId(cameraId), 222 result=cam_ops_open(mCameraId, MM_CAMERA_OP_MODE_NOTUSED); 228 if (cam_evt_is_event_supported(mCameraId, evt)){ 229 cam_evt_register_event_notify(mCameraId, 236 ALOGE("startCamera: cam_ops_open failed: id = %d", mCameraId); 337 cam_ops_close(mCameraId); [all...] |
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
BlockingCameraManager.java | 174 private final String mCameraId; 192 mCameraId = cameraId; 313 OPEN_TIME_OUT, mCameraId));
|
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3HWI.cpp | 167 : mCameraId(cameraId), 350 mCameraHandle = camera_open(mCameraId); 565 &gCamCapability[mCameraId]->padding_info, this); 665 &gCamCapability[mCameraId]->padding_info, this, newStream, 670 &gCamCapability[mCameraId]->padding_info, this, newStream); 683 &gCamCapability[mCameraId]->padding_info, this, newStream); [all...] |
/packages/apps/Camera/src/com/android/camera/ |
CameraSettings.java | 76 private final int mCameraId; 82 mCameraId = cameraId; 537 mCameraId, CamcorderProfile.QUALITY_HIGH); 539 mCameraId, CamcorderProfile.QUALITY_LOW); 551 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P)) { 554 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P)) { 557 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P)) {
|
VideoModule.java | 127 private int mCameraId; 249 mActivity.mCameraDevice = Util.openCamera(mActivity, mCameraId); 422 mCameraId = getPreferredCameraId(mPreferences); 424 mPreferences.setLocalId(mActivity, mCameraId); 498 mCameraId, CameraHolder.instance().getCameraInfo()); 693 String defaultQuality = CameraSettings.getDefaultVideoQuality(mCameraId, 727 CamcorderProfile profile = CamcorderProfile.get(mCameraId, quality); 744 mProfile = CamcorderProfile.get(mCameraId, quality); 865 mCameraDisplayOrientation = Util.getDisplayOrientation(0, mCameraId); 868 mCameraDisplayOrientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); [all...] |
PhotoModule.java | 133 private int mCameraId; 337 mCameraDevice = Util.openCamera(mActivity, mCameraId); 467 mCameraId = getPreferredCameraId(mPreferences); 487 mPreferences.setLocalId(mActivity, mCameraId); 758 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; [all...] |
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3HWI.cpp | 154 : mCameraId(cameraId), 316 mCameraHandle = camera_open(mCameraId); 511 &gCamCapability[mCameraId]->padding_info, this); 562 &gCamCapability[mCameraId]->padding_info, this, newStream, 567 &gCamCapability[mCameraId]->padding_info, this, newStream); 580 &gCamCapability[mCameraId]->padding_info, this, newStream); [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
CameraSource.java | 55 private int mCameraId = 0; 143 mCamera = Camera.open(mCameraId); 250 mCamera = Camera.open(mCameraId);
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
CameraDevice.java | 70 private final String mCameraId; 135 mCameraId = cameraId; 138 TAG = String.format("CameraDevice-%s-JV", mCameraId); 158 return mCameraId;
|
/frameworks/av/media/libmedia/ |
MediaProfiles.cpp | 327 profile->mCameraId = cameraId; 343 if (levels->mCameraId == cameraId) { 359 levels->mCameraId = cameraId; 474 mRequiredProfileRefs[i].mCameraId = cameraIds[i]; 508 int cameraId = mCamcorderProfiles[i]->mCameraId; 672 profile->mCameraId = 0; 689 profile->mCameraId = 0; 724 profile->mCameraId = 0; 741 profile->mCameraId = 0; 841 levels->mCameraId = 0 [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/ |
Camera.java | 269 private int mCameraId; 385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; 532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; [all...] |
CameraSettings.java | 68 private final int mCameraId; 74 mCameraId = cameraId; 458 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_1080P)) { 461 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_720P)) { 464 if (CamcorderProfile.hasProfile(mCameraId, CamcorderProfile.QUALITY_480P)) {
|
VideoCamera.java | 243 private int mCameraId; 360 mCameraId = CameraSettings.readPreferredCameraId(mPreferences); 365 mCameraId = intentCameraId; 368 mPreferences.setLocalId(this, mCameraId); 388 mCameraDevice = Util.openCamera(VideoCamera.this, mCameraId); 489 mCameraId, CameraHolder.instance().getCameraInfo()); 718 String defaultQuality = CameraSettings.getDefaultVideoQuality(mCameraId, 780 mProfile = CamcorderProfile.get(mCameraId, quality); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
PhotoCaptureActivity.java | 71 private int mCameraId; 378 switchToCamera(mCameraId, true); 391 switchToCamera(mCameraId, true); 417 Size selectedPreviewSize = (mPreviewSizes != null) ? mPreviewSizes[mCameraId] : 439 mCameraId = cameraId;
|
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 921 : mCameraId(cameraId), [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWI.cpp | 921 : mCameraId(cameraId), [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
CameraClient.cpp | 65 LOG1("CameraClient::initialize E (pid %d, id %d)", callingPid, mCameraId); 74 snprintf(camera_device_name, sizeof(camera_device_name), "%d", mCameraId); 80 __FUNCTION__, mCameraId, strerror(-res), res); 88 (void *)mCameraId); 94 LOG1("CameraClient::initialize X (pid %d, id %d)", callingPid, mCameraId); 102 Mutex* lock = mCameraService->getClientLockById(mCameraId); 119 mCameraId,
|
/frameworks/av/services/camera/libcameraservice/ |
CameraService.cpp | 955 mCameraId = cameraId; 993 mCameraId, String8(mClientPackageName).string()); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/orientation/ |
CameraOrientationActivity.java | 129 mCurrentCameraId = settings.mCameraId; 545 int mCameraId; 549 mCameraId = cameraId;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 59 private static int mCameraId; 62 CamcorderProfile.get(mCameraId, mProfileQuality);
|