Home
last modified time | relevance | path

Searched refs:characteristics (Results 1 – 25 of 39) sorted by relevance

12

/packages/services/Car/evs/sampleDriver/
DConfigManager.cpp366 int32_t err = add_camera_metadata_entry(aCamera->characteristics, in constructCameraMetadata()
379 int32_t err = add_camera_metadata_entry(aCamera->characteristics, in constructCameraMetadata()
388 << get_camera_metadata_entry_count(aCamera->characteristics) in constructCameraMetadata()
390 << get_camera_metadata_entry_capacity(aCamera->characteristics) in constructCameraMetadata()
392 << get_camera_metadata_data_count(aCamera->characteristics) in constructCameraMetadata()
394 << get_camera_metadata_data_capacity(aCamera->characteristics) in constructCameraMetadata()
405 << get_camera_metadata_entry_count(aCamera->characteristics) in constructCameraMetadata()
407 << get_camera_metadata_entry_capacity(aCamera->characteristics) in constructCameraMetadata()
409 << get_camera_metadata_data_count(aCamera->characteristics) in constructCameraMetadata()
411 << get_camera_metadata_data_capacity(aCamera->characteristics) in constructCameraMetadata()
[all …]
DConfigManager.h59 characteristics(nullptr) { in CameraInfo()
67 if (characteristics != nullptr) { in allocate()
72 characteristics = allocate_camera_metadata(entry_cap, data_cap); in allocate()
73 return characteristics != nullptr; in allocate()
97 camera_metadata_t *characteristics; variable
DEvsEnumerator.cpp128 (uint8_t *)camInfo->characteristics, in EvsUeventThread()
129 get_camera_metadata_size(camInfo->characteristics) in EvsUeventThread()
428 (uint8_t *)tempInfo->characteristics, in getCameraList_1_1()
429 get_camera_metadata_size(tempInfo->characteristics) in getCameraList_1_1()
449 (uint8_t *)tempInfo->characteristics, in getCameraList_1_1()
450 get_camera_metadata_size(tempInfo->characteristics) in getCameraList_1_1()
/packages/apps/Camera2/src/com/android/camera/one/config/
DOneCameraFeatureConfigCreator.java61 public CaptureSupportLevel apply(CameraCharacteristics characteristics) { in buildCaptureModuleDetector()
65 getCaptureSupportLevelOverride(characteristics, contentResolver); in buildCaptureModuleDetector()
71 Integer supportedLevel = characteristics in buildCaptureModuleDetector()
112 if (supportsReprocessing(characteristics)) { in buildCaptureModuleDetector()
133 private static boolean supportsReprocessing(CameraCharacteristics characteristics) {
134 Integer maxNumInputStreams = characteristics.get(
144 int[] capabilities = characteristics.get(
DOneCameraFeatureConfig.java120 public CaptureSupportLevel getCaptureSupportLevel(CameraCharacteristics characteristics) { in getCaptureSupportLevel() argument
121 return mCaptureModeDetector.apply(characteristics); in getCaptureSupportLevel()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DSimpleOneCameraFactory.java101 final OneCameraCharacteristics characteristics, in createOneCamera() argument
181 characteristics, in createOneCamera()
218 characteristics.isContinuousPictureAutoFocusSupported()) in createOneCamera()
248 float maxZoom = characteristics.getAvailableMaxDigitalZoom(); in createOneCamera()
249 List<Size> supportedPreviewSizes = characteristics.getSupportedPreviewSizes(); in createOneCamera()
250 OneCamera.Facing direction = characteristics.getCameraDirection(); in createOneCamera()
254 characteristics.getLensFocusRange(), direction) in createOneCamera()
DZslOneCameraFactory.java134 final OneCameraCharacteristics characteristics, in createOneCamera() argument
222 boolean isBackCamera = characteristics.getCameraDirection() == in createOneCamera()
232 characteristics, in createOneCamera()
321 float maxZoom = characteristics.getAvailableMaxDigitalZoom(); in createOneCamera()
322 List<Size> supportedPreviewSizes = characteristics.getSupportedPreviewSizes(); in createOneCamera()
323 OneCamera.Facing direction = characteristics.getCameraDirection(); in createOneCamera()
326 supportedPreviewSizes, characteristics.getLensFocusRange(), in createOneCamera()
DOneCameraImpl.java319 OneCameraImpl(CameraDevice device, CameraCharacteristics characteristics, Size pictureSize) { in OneCameraImpl() argument
321 mCharacteristics = characteristics; in OneCameraImpl()
322 mLensRange = LensRangeCalculator.getDiopterToRatioCalculator(characteristics); in OneCameraImpl()
323 mDirectionProvider = new CameraDirectionProvider(characteristics); in OneCameraImpl()
324 mFullSizeAspectRatio = calculateFullSizeAspectRatio(characteristics); in OneCameraImpl()
750 private static float calculateFullSizeAspectRatio(CameraCharacteristics characteristics) { in calculateFullSizeAspectRatio() argument
752 characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in calculateFullSizeAspectRatio()
800 CameraCharacteristics characteristics, File dngFile) { in writeDngBytesAndClose() argument
801 try (DngCreator dngCreator = new DngCreator(characteristics, captureResult); in writeDngBytesAndClose()
DOneCameraZslImpl.java294 OneCameraZslImpl(CameraDevice device, CameraCharacteristics characteristics, Size pictureSize) { in OneCameraZslImpl() argument
298 mCharacteristics = characteristics; in OneCameraZslImpl()
300 .getDiopterToRatioCalculator(characteristics); in OneCameraZslImpl()
302 mFullSizeAspectRatio = calculateFullSizeAspectRatio(characteristics); in OneCameraZslImpl()
979 private static float calculateFullSizeAspectRatio(CameraCharacteristics characteristics) { in calculateFullSizeAspectRatio() argument
981 characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in calculateFullSizeAspectRatio()
DCamera2OneCameraManagerImpl.java188 CameraCharacteristics characteristics = mCameraManager in findFirstCameraIdFacing() local
190 if (characteristics.get(CameraCharacteristics.LENS_FACING) == facing) { in findFirstCameraIdFacing()
DAutoFocusHelper.java211 public static Rect cropRegionForZoom(CameraCharacteristics characteristics, float zoom) { in cropRegionForZoom() argument
212 Rect sensor = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in cropRegionForZoom()
/packages/apps/Camera2/src_pd/com/android/camera/one/v2/
DOneCameraCreator.java50 CameraCharacteristics characteristics, in create() argument
63 .getCaptureSupportLevel(characteristics); in create()
67 new OneCameraCharacteristicsImpl(characteristics); in create()
121 new OneCameraCharacteristicsImpl(characteristics), in create()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DLensRangeCalculator.java44 public static LinearScale getDiopterToRatioCalculator(CameraCharacteristics characteristics) { in getDiopterToRatioCalculator() argument
55 Float nearest = characteristics.get(CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); in getDiopterToRatioCalculator()
56 Float hyperfocal = characteristics.get(CameraCharacteristics.LENS_INFO_HYPERFOCAL_DISTANCE); in getDiopterToRatioCalculator()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/
DImageRotationCalculatorImpl.java59 OneCameraCharacteristics characteristics) { in from() argument
60 int sensorOrientation = characteristics.getSensorOrientation(); in from()
61 OneCamera.Facing lensDirection = characteristics.getCameraDirection(); in from()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DSelfManagedAnswerVideoCallScreen.java155 CameraCharacteristics characteristics; in getFrontFacingCameraSizes() local
157 characteristics = manager.getCameraCharacteristics(cameraId); in getFrontFacingCameraSizes()
166 if (characteristics.get(CameraCharacteristics.LENS_FACING) in getFrontFacingCameraSizes()
172 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in getFrontFacingCameraSizes()
/packages/apps/Settings/tests/robotests/src/com/android/settings/flashlight/
DFlashlightSliceTest.java84 final CameraCharacteristics characteristics = in isFlashlightAvailable_nullSecureAttr_hasFlashUnit_returnTrue() local
86 final ShadowCameraCharacteristics shadowCharacteristics = Shadow.extract(characteristics); in isFlashlightAvailable_nullSecureAttr_hasFlashUnit_returnTrue()
90 mShadowCameraManager.addCamera("camera_id", characteristics); in isFlashlightAvailable_nullSecureAttr_hasFlashUnit_returnTrue()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java165 OneCameraCharacteristics characteristics; in computeCameraCharacteristics() local
174 characteristics = new OneCameraCharacteristicsImpl( in computeCameraCharacteristics()
182 return characteristics; in computeCameraCharacteristics()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorPreviewCamera.java87 CameraCharacteristics characteristics; in getCameraCapabilities() local
89 characteristics = cameraManager.getCameraCharacteristics(cameraId); in getCameraCapabilities()
95 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in getCameraCapabilities()
/packages/apps/Camera2/src/com/android/camera/one/
DCameraDirectionProvider.java28 public CameraDirectionProvider(CameraCharacteristics characteristics) { in CameraDirectionProvider() argument
29 mCharacteristics = characteristics; in CameraDirectionProvider()
/packages/apps/Camera2/src/com/android/camera/one/v2/face/
DFaceDetect.java32 … public static FaceDetectMode getHighestFaceDetectMode(OneCameraCharacteristics characteristics) { in getHighestFaceDetectMode() argument
33 List<FaceDetectMode> faceDetectModes = characteristics.getSupportedFaceDetectModes(); in getHighestFaceDetectMode()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollPreviewFragment.java248 CameraCharacteristics characteristics = in setUpCameraOutputs() local
252 Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in setUpCameraOutputs()
259 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DFaceEnrollPreviewFragment.java247 CameraCharacteristics characteristics = in setUpCameraOutputs() local
251 Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in setUpCameraOutputs()
258 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateForegroundWithSurfaceTexture.java70 final OneCameraCharacteristics characteristics = in onEnter() local
74 mResourceSurfaceTexture, cameraFacing, key, characteristics)); in onEnter()
/packages/services/Car/surround_view/service-impl/mock-evs/
DMockEvsEnumerator.cpp97 (uint8_t*)cameraGroupInfo->characteristics, in getCameraList_1_1()
98 get_camera_metadata_size(cameraGroupInfo->characteristics)); in getCameraList_1_1()
DMockEvsCamera.cpp98 (uint8_t*)cameraInfo->characteristics, in getPhysicalCameraInfo()
99 get_camera_metadata_size(cameraInfo->characteristics)); in getPhysicalCameraInfo()

12