Home
last modified time | relevance | path

Searched refs:cameraInfo (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/media/java/android/media/
DCamcorderProfile.java263 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()
DCameraProfile.java59 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/
DICameraService.cpp111 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 …]
DCameraBase.cpp198 struct CameraInfo* cameraInfo) { in getCameraInfo() argument
201 return cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
/frameworks/av/include/camera/
DICameraService.h77 struct CameraInfo* cameraInfo) = 0;
81 CameraMetadata* cameraInfo) = 0;
DCameraBase.h73 struct CameraInfo* cameraInfo);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java1258 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/
DCameraService.h76 struct CameraInfo* cameraInfo);
78 CameraMetadata* cameraInfo);
447 status_t generateShimMetadata(int cameraId, /*out*/CameraMetadata* cameraInfo);
DCameraService.cpp228 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/
DCamera.java236 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/
Dandroid_hardware_Camera.cpp499 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/
DAndroidCamera2AgentImpl.java1353 AndroidCharacteristics2(CameraCharacteristics cameraInfo) { in AndroidCharacteristics2() argument
1354 mCameraInfo = cameraInfo; in AndroidCharacteristics2()
DAndroidCameraAgentImpl.java202 AndroidCharacteristics(Camera.CameraInfo cameraInfo) { in AndroidCharacteristics() argument
203 mCameraInfo = cameraInfo; in AndroidCharacteristics()