/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 25 import android.hardware.camera2.CameraCharacteristics; 48 import static android.hardware.camera2.CameraCharacteristics.*; 119 public static CameraCharacteristics createCharacteristics(Camera.Parameters parameters, in createCharacteristics() 141 public static CameraCharacteristics createCharacteristics(String parameters, in createCharacteristics() 162 return new CameraCharacteristics(m); in createCharacteristics() 750 CameraCharacteristics.COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES , in mapRequest() 751 CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES , in mapRequest() 752 CameraCharacteristics.CONTROL_AE_AVAILABLE_MODES , in mapRequest() 753 CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES , in mapRequest() 754 CameraCharacteristics.CONTROL_AE_COMPENSATION_RANGE , in mapRequest() [all …]
|
D | LegacyRequest.java | 20 import android.hardware.camera2.CameraCharacteristics; 31 public final CameraCharacteristics characteristics; 47 public LegacyRequest(CameraCharacteristics characteristics, CaptureRequest captureRequest, in LegacyRequest()
|
D | LegacyFaceDetectMapper.java | 24 import android.hardware.camera2.CameraCharacteristics; 71 public LegacyFaceDetectMapper(Camera camera, CameraCharacteristics characteristics) { in LegacyFaceDetectMapper() 77 CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES), in LegacyFaceDetectMapper() 230 CameraCharacteristics characteristics = legacyRequest.characteristics; in mapResultFaces() 235 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in mapResultFaces()
|
D | LegacyResultMapper.java | 22 import android.hardware.camera2.CameraCharacteristics; 110 CameraCharacteristics characteristics = legacyRequest.characteristics; in convertResultMetadata() 118 CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in convertResultMetadata() 242 characteristics.get(CameraCharacteristics.REQUEST_PIPELINE_MAX_DEPTH)); in convertResultMetadata() 291 CameraCharacteristics characteristics, in mapAe() 406 CameraCharacteristics characteristics, Parameters p) { in mapAeAndFlashMode() 411 Integer flashState = characteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE) in mapAeAndFlashMode()
|
D | CameraDeviceUserShim.java | 22 import android.hardware.camera2.CameraCharacteristics; 73 private final CameraCharacteristics mCameraCharacteristics; 79 CameraCharacteristics characteristics, CameraLooper cameraInit, in CameraDeviceUserShim() 352 CameraCharacteristics characteristics = in connectBinderShim()
|
D | LegacyRequestMapper.java | 22 import android.hardware.camera2.CameraCharacteristics; 59 CameraCharacteristics characteristics = legacyRequest.characteristics; in convertRequestMetadata() 64 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in convertRequestMetadata() 190 characteristics.get(CameraCharacteristics.CONTROL_AE_COMPENSATION_RANGE); in convertRequestMetadata()
|
D | LegacyCameraDevice.java | 22 import android.hardware.camera2.CameraCharacteristics; 66 private final CameraCharacteristics mStaticCharacteristics; 262 public LegacyCameraDevice(int cameraId, Camera camera, CameraCharacteristics characteristics, in LegacyCameraDevice() 303 get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in configureOutputs()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 22 import android.hardware.camera2.CameraCharacteristics; 173 } else if (o instanceof CameraCharacteristics.Key) { in equals() 174 lhs = ((CameraCharacteristics.Key)o).getNativeKey(); in equals() 323 public <T> T get(CameraCharacteristics.Key<T> key) { in get() 401 public <T> void set(CameraCharacteristics.Key<T> key, T value) { in set() 441 private <T> T getBase(CameraCharacteristics.Key<T> key) { in getBase() 471 CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(), new GetCommand() { in GetCommand() 495 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey(), in CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey() 504 CameraCharacteristics.CONTROL_MAX_REGIONS_AE.getNativeKey(), new GetCommand() { in CameraCharacteristics.CONTROL_MAX_REGIONS_AE.getNativeKey() 512 CameraCharacteristics.CONTROL_MAX_REGIONS_AWB.getNativeKey(), new GetCommand() { in GetCommand() [all …]
|
D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 20 import android.hardware.camera2.CameraCharacteristics; 50 private final CameraCharacteristics mCharacteristics; 64 CameraCharacteristics characteristics) { in CameraConstrainedHighSpeedCaptureSessionImpl() 81 mCharacteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in createHighSpeedRequestList()
|
D | CameraDeviceImpl.java | 24 import android.hardware.camera2.CameraCharacteristics; 100 private final CameraCharacteristics mCharacteristics; 235 CameraCharacteristics characteristics) { in CameraDeviceImpl() 252 mCharacteristics.get(CameraCharacteristics.REQUEST_PARTIAL_RESULT_COUNT); in CameraDeviceImpl() 522 getCharacteristics().get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in createConstrainedHighSpeedCaptureSession() 1003 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in checkInputConfiguration() 1755 result.set(CameraCharacteristics.LENS_INFO_SHADING_MAP_SIZE, in onResultReceived() 1756 getCharacteristics().get(CameraCharacteristics.LENS_INFO_SHADING_MAP_SIZE)); in onResultReceived() 1983 private CameraCharacteristics getCharacteristics() { in getCharacteristics()
|
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/ |
D | CameraOps.java | 23 import android.hardware.camera2.CameraCharacteristics; 96 private CameraCharacteristics mCameraInfo; 111 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(id); in resume() 112 int facing = info.get(CameraCharacteristics.LENS_FACING); in resume() 114 int level = info.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in resume() 116 = (level == CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_FULL); in resume() 118 int[] capabilities = info.get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in resume() 119 int syncLatency = info.get(CameraCharacteristics.SYNC_MAX_LATENCY); in resume() 121 CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES_MANUAL_SENSOR); in resume() 123 syncLatency == CameraCharacteristics.SYNC_MAX_LATENCY_PER_FRAME_CONTROL; in resume() [all …]
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | AndroidCamera2Capabilities.java | 19 import static android.hardware.camera2.CameraCharacteristics.*; 24 import android.hardware.camera2.CameraCharacteristics; 41 AndroidCamera2Capabilities(CameraCharacteristics p) { in AndroidCamera2Capabilities() 107 private void buildSceneModes(CameraCharacteristics p) { in buildSceneModes() 119 private void buildFlashModes(CameraCharacteristics p) { in buildFlashModes() 133 private void buildFocusModes(CameraCharacteristics p) { in buildFocusModes() 145 private void buildWhiteBalances(CameraCharacteristics p) { in buildWhiteBalances()
|
D | AndroidCamera2AgentImpl.java | 28 import android.hardware.camera2.CameraCharacteristics; 783 CameraCharacteristics props = 791 props.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); 793 props.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == 794 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY; 989 CameraCharacteristics properties) { in AndroidCamera2ProxyImpl() 1307 .get(CameraCharacteristics.LENS_FACING); in AndroidCamera2DeviceInfo() 1309 lensDirection == CameraCharacteristics.LENS_FACING_BACK) { in AndroidCamera2DeviceInfo() 1313 lensDirection == CameraCharacteristics.LENS_FACING_FRONT) { in AndroidCamera2DeviceInfo() 1328 CameraCharacteristics info = mCameraManager.getCameraCharacteristics(actualId); in getCharacteristics() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FlashlightController.java | 21 import android.hardware.camera2.CameraCharacteristics; 128 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(id); in getCameraId() 129 Boolean flashAvailable = c.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in getCameraId() 130 Integer lensFacing = c.get(CameraCharacteristics.LENS_FACING); in getCameraId() 132 && lensFacing != null && lensFacing == CameraCharacteristics.LENS_FACING_BACK) { in getCameraId()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraMetadataTest.java | 30 import android.hardware.camera2.CameraCharacteristics; 1000 Key<int[]> formatKey = CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(); in testReadWriteOverride() 1129 CameraCharacteristics.SCALER_AVAILABLE_STREAM_CONFIGURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap() 1157 CameraCharacteristics.SCALER_AVAILABLE_MIN_FRAME_DURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap() 1183 CameraCharacteristics.SCALER_AVAILABLE_STALL_DURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap() 1191 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in testOverrideStreamConfigurationMap() 1241 private <T> void assertKeyValueEquals(T expected, CameraCharacteristics.Key<T> key) { in assertKeyValueEquals() 1254 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AE); in testOverrideMaxRegions() 1255 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AWB); in testOverrideMaxRegions() 1256 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AF); in testOverrideMaxRegions() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraMetadata.java | 185 } else if (k instanceof CameraCharacteristics.Key<?>) { in getKeysStatic() 186 keyName = ((CameraCharacteristics.Key<?>) k).getName(); in getKeysStatic() 212 if (key instanceof CameraCharacteristics.Key) { in shouldKeyBeAdded() 213 nativeKey = ((CameraCharacteristics.Key)key).getNativeKey(); in shouldKeyBeAdded()
|
D | CameraCharacteristics.java | 43 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> { class 152 private List<CameraCharacteristics.Key<?>> mKeys; 160 public CameraCharacteristics(CameraMetadataNative properties) { in CameraCharacteristics() method in CameraCharacteristics 323 List<TKey> staticKeyList = CameraCharacteristics.<TKey>getKeysStatic( in getAvailableKeyList()
|
D | CameraManager.java | 217 public CameraCharacteristics getCameraCharacteristics(@NonNull String cameraId) in getCameraCharacteristics() 219 CameraCharacteristics characteristics = null; in getCameraCharacteristics() 258 characteristics = new CameraCharacteristics(info); in getCameraCharacteristics() 293 CameraCharacteristics characteristics = getCameraCharacteristics(cameraId); in openCameraDeviceUserAsync()
|
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/ |
D | CameraTooActivity.java | 22 import android.hardware.camera2.CameraCharacteristics; 238 CameraCharacteristics cameraCharacteristics = 241 CameraCharacteristics.LENS_FACING_BACK) { 244 .get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | Camera2Source.java | 23 import android.hardware.camera2.CameraCharacteristics; 64 private CameraCharacteristics mProperties; 244 Integer orientation = mProperties.get(CameraCharacteristics.SENSOR_ORIENTATION); in onProcess()
|
/frameworks/ex/camera2/portability/tests/src/com/android/ex/camera2/portability/ |
D | Camera2PortabilityTest.java | 26 import android.hardware.camera2.CameraCharacteristics; 93 private CameraCharacteristics buildFrameworkCharacteristics() throws CameraAccessException { in buildFrameworkCharacteristics() 192 CameraCharacteristics chars = buildFrameworkCharacteristics(); in camera2CapabilitiesFocusModeFromInt()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfiguration.java | 23 import android.hardware.camera2.CameraCharacteristics;
|
D | StreamConfigurationDuration.java | 23 import android.hardware.camera2.CameraCharacteristics;
|
D | HighSpeedVideoConfiguration.java | 21 import android.hardware.camera2.CameraCharacteristics;
|
D | Face.java | 22 import android.hardware.camera2.CameraCharacteristics;
|