Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DCamcorderProfile.java327 CameraInfo cameraInfo = new CameraInfo(); in get() local
329 Camera.getCameraInfo(i, cameraInfo); in get()
330 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in get()
426 CameraInfo cameraInfo = new CameraInfo(); in hasProfile() local
428 Camera.getCameraInfo(i, cameraInfo); in hasProfile()
429 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/services/core/java/com/android/server/
DPinnerService.java134 ApplicationInfo cameraInfo = getCameraInfo(UserHandle.USER_SYSTEM); in update() local
135 if (cameraInfo != null && updatedPackages.contains(cameraInfo.packageName)) { in update()
187 ApplicationInfo cameraInfo = getCameraInfo(userHandle); in alreadyPinned() local
188 if (cameraInfo == null ) { in alreadyPinned()
192 if (mPinnedCameraFiles.get(i).mFilename.equals(cameraInfo.sourceDir)) { in alreadyPinned()
246 ApplicationInfo cameraInfo = getCameraInfo(userHandle); in pinCamera() local
247 if (cameraInfo == null) { in pinCamera()
257 String camAPK = cameraInfo.sourceDir; in pinCamera()
270 if (cameraInfo.primaryCpuAbi != null in pinCamera()
271 && VMRuntime.is64BitAbi(cameraInfo.primaryCpuAbi)) { in pinCamera()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp531 CameraInfo cameraInfo; in android_hardware_Camera_getCameraInfo() local
538 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_getCameraInfo()
543 env->SetIntField(info_obj, fields.facing, cameraInfo.facing); in android_hardware_Camera_getCameraInfo()
544 env->SetIntField(info_obj, fields.orientation, cameraInfo.orientation); in android_hardware_Camera_getCameraInfo()
604 CameraInfo cameraInfo; in android_hardware_Camera_native_setup() local
605 status_t rc = Camera::getCameraInfo(cameraId, &cameraInfo); in android_hardware_Camera_native_setup()
610 switch (cameraInfo.orientation) { in android_hardware_Camera_native_setup()
614 if (cameraInfo.facing == CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
622 if (cameraInfo.facing != CAMERA_FACING_FRONT) { in android_hardware_Camera_native_setup()
627 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.java253 public static void getCameraInfo(int cameraId, CameraInfo cameraInfo) { in getCameraInfo() argument
254 _getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
261 cameraInfo.canDisableShutterSound = false; in getCameraInfo()
267 private native static void _getCameraInfo(int cameraId, CameraInfo cameraInfo); in _getCameraInfo() argument
370 CameraInfo cameraInfo = new CameraInfo(); in open() local
372 getCameraInfo(i, cameraInfo); in open()
373 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in open()
/frameworks/av/services/camera/libcameraservice/
DCameraService.h109 hardware::CameraInfo* cameraInfo);
111 CameraMetadata* cameraInfo);
DCameraService.cpp452 CameraInfo* cameraInfo) { in getCameraInfo() argument
467 status_t err = mCameraProviderManager->getCameraInfo(std::to_string(cameraId), cameraInfo); in getCameraInfo()
487 CameraMetadata* cameraInfo) { in getCameraCharacteristics() argument
489 if (!cameraInfo) { in getCameraCharacteristics()
503 String8(cameraId).string(), cameraInfo); in getCameraCharacteristics()
/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()