/frameworks/base/media/java/android/media/ |
D | CamcorderProfile.java | 263 CameraInfo cameraInfo = new CameraInfo(); in get() local 265 Camera.getCameraInfo(i, cameraInfo); in get() 266 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get() 362 CameraInfo cameraInfo = new CameraInfo(); in hasProfile() local 364 Camera.getCameraInfo(i, cameraInfo); in hasProfile() 365 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in hasProfile()
|
D | CameraProfile.java | 59 CameraInfo cameraInfo = new CameraInfo(); in getJpegEncodingQualityParameter() local 61 Camera.getCameraInfo(i, cameraInfo); in getJpegEncodingQualityParameter() 62 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in getJpegEncodingQualityParameter()
|
/frameworks/av/camera/ |
D | ICameraService.cpp | 111 struct CameraInfo* cameraInfo) { in getCameraInfo() argument 120 cameraInfo->facing = reply.readInt32(); in getCameraInfo() 121 cameraInfo->orientation = reply.readInt32(); in getCameraInfo() 128 CameraMetadata* cameraInfo) { in getCameraCharacteristics() argument 142 if (cameraInfo != NULL) { in getCameraCharacteristics() 143 cameraInfo->swap(out); in getCameraCharacteristics() 333 CameraInfo cameraInfo = CameraInfo(); in onTransact() local 334 memset(&cameraInfo, 0, sizeof(cameraInfo)); in onTransact() 335 status_t result = getCameraInfo(data.readInt32(), &cameraInfo); in onTransact() 341 reply->writeInt32(cameraInfo.facing); in onTransact() [all …]
|
D | CameraBase.cpp | 198 struct CameraInfo* cameraInfo) { in getCameraInfo() argument 201 return cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
|
/frameworks/av/include/camera/ |
D | ICameraService.h | 77 struct CameraInfo* cameraInfo) = 0; 81 CameraMetadata* cameraInfo) = 0;
|
D | CameraBase.h | 73 struct CameraInfo* cameraInfo);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CameraStreamer.java | 1258 CameraInfo cameraInfo = new CameraInfo(); in updateCameraOrientation() local 1259 Camera.getCameraInfo(camId, cameraInfo); in updateCameraOrientation() 1260 mCamOrientation = cameraInfo.orientation; in updateCameraOrientation() 1262 mActualFacing = (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in updateCameraOrientation() 1278 CameraInfo cameraInfo = new CameraInfo(); in getCameraId() local 1280 Camera.getCameraInfo(i, cameraInfo); in getCameraId() 1281 if ((cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) == useFrontCam) { in getCameraId() 1680 CameraInfo cameraInfo = new CameraInfo(); in getDefaultFacing() local 1681 Camera.getCameraInfo(0, cameraInfo); in getDefaultFacing() 1682 return (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) in getDefaultFacing()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 76 struct CameraInfo* cameraInfo); 78 CameraMetadata* cameraInfo); 447 status_t generateShimMetadata(int cameraId, /*out*/CameraMetadata* cameraInfo);
|
D | CameraService.cpp | 228 struct CameraInfo* cameraInfo) { in getCameraInfo() argument 240 cameraInfo->facing = info.facing; in getCameraInfo() 241 cameraInfo->orientation = info.orientation; in getCameraInfo() 246 status_t CameraService::generateShimMetadata(int cameraId, /*out*/CameraMetadata* cameraInfo) { in generateShimMetadata() argument 327 *cameraInfo = shimInfo; in generateShimMetadata() 332 CameraMetadata* cameraInfo) { in getCameraCharacteristics() argument 333 if (!cameraInfo) { in getCameraCharacteristics() 362 if ((ret = generateShimMetadata(cameraId, cameraInfo)) != OK) { in getCameraCharacteristics() 372 *cameraInfo = info.static_camera_characteristics; in getCameraCharacteristics()
|
/frameworks/base/core/java/android/hardware/ |
D | Camera.java | 236 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo() argument 237 _getCameraInfo(cameraId, cameraInfo); in getCameraInfo() 244 cameraInfo.canDisableShutterSound = false; in getCameraInfo() 250 private native static void _getCameraInfo(int cameraId, CameraInfo cameraInfo); in _getCameraInfo() argument 353 CameraInfo cameraInfo = new CameraInfo(); in open() local 355 getCameraInfo(i, cameraInfo); in open() 356 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
|
/frameworks/base/core/jni/ |
D | android_hardware_Camera.cpp | 499 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo() local 500 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_getCameraInfo() 505 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo() 506 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation); in android_hardware_Camera_getCameraInfo()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2AgentImpl.java | 1353 AndroidCharacteristics2(CameraCharacteristics cameraInfo) { in AndroidCharacteristics2() argument 1354 mCameraInfo = cameraInfo; in AndroidCharacteristics2()
|
D | AndroidCameraAgentImpl.java | 202 AndroidCharacteristics(Camera.CameraInfo cameraInfo) { in AndroidCharacteristics() argument 203 mCameraInfo = cameraInfo; in AndroidCharacteristics()
|