Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DCamcorderProfile.java396 CameraInfo cameraInfo = new CameraInfo(); in get() local
398 Camera.getCameraInfo(i, cameraInfo); in get()
399 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get()
495 CameraInfo cameraInfo = new CameraInfo(); in hasProfile() local
497 Camera.getCameraInfo(i, cameraInfo); in hasProfile()
498 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/base/core/jni/
Dandroid_hardware_Camera.cpp535 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo() local
542 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_getCameraInfo()
547 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo()
548 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation); in android_hardware_Camera_getCameraInfo()
608 CameraInfo cameraInfo; in android_hardware_Camera_native_setup() local
609 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_native_setup()
615 switch (cameraInfo.orientation) { in android_hardware_Camera_native_setup()
619 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
627 if (cameraInfo.facing != CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
632 ALOGE("Unexpected camera orientation %d!", cameraInfo.orientation); in android_hardware_Camera_native_setup()
/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/camera/
DCameraBase.cpp253 struct hardware::CameraInfo* cameraInfo) { in getCameraInfo() argument
256 binder::Status res = cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
/frameworks/av/camera/include/camera/
DCameraBase.h119 struct hardware::CameraInfo* cameraInfo);
/frameworks/base/core/java/android/hardware/
DCamera.java296 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo() argument
297 _getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
304 cameraInfo.canDisableShutterSound = false; in getCameraInfo()
310 private native static void _getCameraInfo(int cameraId, CameraInfo cameraInfo); in _getCameraInfo() argument
416 CameraInfo cameraInfo = new CameraInfo(); in open() local
418 getCameraInfo(i, cameraInfo); in open()
419 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp476 CameraInfo* cameraInfo) { in getCameraInfo() argument
492 cameraIdIntToStrLocked(cameraId), cameraInfo); in getCameraInfo()
518 CameraMetadata* cameraInfo) { in getCameraCharacteristics() argument
520 if (!cameraInfo) { in getCameraCharacteristics()
542 String8(cameraId).string(), cameraInfo); in getCameraCharacteristics()
555 res = cameraInfo->removePermissionEntries( in getCameraCharacteristics()
559 cameraInfo->clear(); in getCameraCharacteristics()
567 res = cameraInfo->update(ANDROID_REQUEST_CHARACTERISTIC_KEYS_NEEDING_PERMISSION, in getCameraCharacteristics()
570 cameraInfo->clear(); in getCameraCharacteristics()
DCameraService.h115 hardware::CameraInfo* cameraInfo);
117 CameraMetadata* cameraInfo);
/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()