Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowCameraCharacteristics.java4 import android.hardware.camera2.CameraCharacteristics;
5 import android.hardware.camera2.CameraCharacteristics.Key;
14 @Implements(value = CameraCharacteristics.class, minSdk = VERSION_CODES.LOLLIPOP)
20 public static CameraCharacteristics newCameraCharacteristics() { in newCameraCharacteristics()
21 return ReflectionHelpers.callConstructor(CameraCharacteristics.class); in newCameraCharacteristics()
DShadowCameraManager.java5 import android.hardware.camera2.CameraCharacteristics;
19 private final Map<String, CameraCharacteristics> cameraIdToCharacteristics =
31 protected CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) { in getCameraCharacteristics()
33 CameraCharacteristics characteristics = cameraIdToCharacteristics.get(cameraId); in getCameraCharacteristics()
45 public void addCamera(@NonNull String cameraId, @NonNull CameraCharacteristics characteristics) { in addCamera()
/external/autotest/client/site_tests/camera_V4L2/src/
Dcamera_characteristics.h45 class CameraCharacteristics {
51 CameraCharacteristics();
54 explicit CameraCharacteristics(const base::FilePath& config_file);
66 DISALLOW_COPY_AND_ASSIGN(CameraCharacteristics);
Dcamera_characteristics.cc90 bool CameraCharacteristics::ConfigFileExists() { in ConfigFileExists()
94 CameraCharacteristics::CameraCharacteristics() { in CameraCharacteristics() function in CameraCharacteristics
100 CameraCharacteristics::CameraCharacteristics( in CameraCharacteristics() function in CameraCharacteristics
105 void CameraCharacteristics::InitFrom(const base::FilePath& config_file) { in InitFrom()
167 const DeviceInfo* CameraCharacteristics::Find(const std::string& vid, in Find()
Dmedia_v4l2_test.cc583 CameraCharacteristics characteristics; in GetTestProfile()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DCameraActivity.java26 import android.hardware.camera2.CameraCharacteristics;
306 CameraCharacteristics characteristics, int requiredLevel) { in isHardwareLevelSupported()
307 int deviceLevel = characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in isHardwareLevelSupported()
308 if (deviceLevel == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY) { in isHardwareLevelSupported()
319 final CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in chooseCamera()
322 final Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in chooseCamera()
323 if (facing != null && facing == CameraCharacteristics.LENS_FACING_FRONT) { in chooseCamera()
328 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in chooseCamera()
337 useCamera2API = (facing == CameraCharacteristics.LENS_FACING_EXTERNAL) in chooseCamera()
339 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL); in chooseCamera()
DCameraConnectionFragment.java33 import android.hardware.camera2.CameraCharacteristics;
367 final CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in setUpCameraOutputs()
370 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in setUpCameraOutputs()
372 sensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in setUpCameraOutputs()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DCameraActivity.java26 import android.hardware.camera2.CameraCharacteristics;
308 CameraCharacteristics characteristics, int requiredLevel) { in isHardwareLevelSupported()
309 int deviceLevel = characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in isHardwareLevelSupported()
310 if (deviceLevel == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY) { in isHardwareLevelSupported()
321 final CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in chooseCamera()
324 final Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in chooseCamera()
325 if (facing != null && facing == CameraCharacteristics.LENS_FACING_FRONT) { in chooseCamera()
330 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in chooseCamera()
339 useCamera2API = (facing == CameraCharacteristics.LENS_FACING_EXTERNAL) in chooseCamera()
341 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL); in chooseCamera()
DCameraConnectionFragment.java33 import android.hardware.camera2.CameraCharacteristics;
367 final CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in setUpCameraOutputs()
370 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in setUpCameraOutputs()
378 sensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in setUpCameraOutputs()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DCamera2Enumerator.java34 import android.hardware.camera2.CameraCharacteristics;
78 final CameraCharacteristics cameraCharacteristics; in getSupportedFormats()
89 cameraCharacteristics.get(CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES); in getSupportedFormats()
96 cameraCharacteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in getSupportedFormats()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCameraCharacteristicsTest.java7 import android.hardware.camera2.CameraCharacteristics;
8 import android.hardware.camera2.CameraCharacteristics.Key;
21 private final CameraCharacteristics cameraCharacteristics =
DShadowCameraManagerTest.java9 import android.hardware.camera2.CameraCharacteristics;
30 private final CameraCharacteristics characteristics =
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java36 import android.hardware.camera2.CameraCharacteristics;
504 CameraCharacteristics characteristics = manager.getCameraCharacteristics(cameraId); in setUpCameraOutputs()
507 Integer facing = characteristics.get(CameraCharacteristics.LENS_FACING); in setUpCameraOutputs()
508 if (facing != null && facing == CameraCharacteristics.LENS_FACING_FRONT) { in setUpCameraOutputs()
513 characteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in setUpCameraOutputs()
531 int sensorOrientation = characteristics.get(CameraCharacteristics.SENSOR_ORIENTATION); in setUpCameraOutputs()