Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java25 import android.hardware.camera2.CameraCharacteristics;
49 import static android.hardware.camera2.CameraCharacteristics.*;
120 public static CameraCharacteristics createCharacteristics(Camera.Parameters parameters, in createCharacteristics()
142 public static CameraCharacteristics createCharacteristics(String parameters, in createCharacteristics()
163 return new CameraCharacteristics(m); in createCharacteristics()
704 CameraCharacteristics.COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES , in mapRequest()
705 CameraCharacteristics.CONTROL_AE_AVAILABLE_ANTIBANDING_MODES , in mapRequest()
706 CameraCharacteristics.CONTROL_AE_AVAILABLE_MODES , in mapRequest()
707 CameraCharacteristics.CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES , in mapRequest()
708 CameraCharacteristics.CONTROL_AE_COMPENSATION_RANGE , in mapRequest()
[all …]
DLegacyRequest.java20 import android.hardware.camera2.CameraCharacteristics;
31 public final CameraCharacteristics characteristics;
47 public LegacyRequest(CameraCharacteristics characteristics, CaptureRequest captureRequest, in LegacyRequest()
DLegacyFaceDetectMapper.java24 import android.hardware.camera2.CameraCharacteristics;
72 public LegacyFaceDetectMapper(Camera camera, CameraCharacteristics characteristics) { in LegacyFaceDetectMapper()
78 CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES), in LegacyFaceDetectMapper()
231 CameraCharacteristics characteristics = legacyRequest.characteristics; in mapResultFaces()
236 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in mapResultFaces()
DLegacyResultMapper.java22 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()
DCameraDeviceUserShim.java22 import android.hardware.camera2.CameraCharacteristics;
72 private final CameraCharacteristics mCameraCharacteristics;
78 CameraCharacteristics characteristics, CameraLooper cameraInit, in CameraDeviceUserShim()
347 CameraCharacteristics characteristics = in connectBinderShim()
DLegacyCameraDevice.java22 import android.hardware.camera2.CameraCharacteristics;
67 private final CameraCharacteristics mStaticCharacteristics;
259 public LegacyCameraDevice(int cameraId, Camera camera, CameraCharacteristics characteristics, in LegacyCameraDevice()
296 get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in configureOutputs()
DLegacyRequestMapper.java22 import android.hardware.camera2.CameraCharacteristics;
60 CameraCharacteristics characteristics = legacyRequest.characteristics; in convertRequestMetadata()
65 Rect activeArray = characteristics.get(CameraCharacteristics.SENSOR_INFO_ACTIVE_ARRAY_SIZE); in convertRequestMetadata()
189 characteristics.get(CameraCharacteristics.CONTROL_AE_COMPENSATION_RANGE); in convertRequestMetadata()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java22 import android.hardware.camera2.CameraCharacteristics;
172 } else if (o instanceof CameraCharacteristics.Key) { in equals()
173 lhs = ((CameraCharacteristics.Key)o).getNativeKey(); in equals()
321 public <T> T get(CameraCharacteristics.Key<T> key) { in get()
399 public <T> void set(CameraCharacteristics.Key<T> key, T value) { in set()
439 private <T> T getBase(CameraCharacteristics.Key<T> key) { in getBase()
469 CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(), new GetCommand() { in GetCommand()
493 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey(), in CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey()
502 CameraCharacteristics.CONTROL_MAX_REGIONS_AE.getNativeKey(), new GetCommand() { in CameraCharacteristics.CONTROL_MAX_REGIONS_AE.getNativeKey()
510 CameraCharacteristics.CONTROL_MAX_REGIONS_AWB.getNativeKey(), new GetCommand() { in GetCommand()
[all …]
DCameraDeviceImpl.java23 import android.hardware.camera2.CameraCharacteristics;
84 private final CameraCharacteristics mCharacteristics;
219 CameraCharacteristics characteristics) { in CameraDeviceImpl()
237 mCharacteristics.get(CameraCharacteristics.REQUEST_PARTIAL_RESULT_COUNT); in CameraDeviceImpl()
1292 result.set(CameraCharacteristics.LENS_INFO_SHADING_MAP_SIZE, in onResultReceived()
1293 getCharacteristics().get(CameraCharacteristics.LENS_INFO_SHADING_MAP_SIZE)); in onResultReceived()
1491 private CameraCharacteristics getCharacteristics() { in getCharacteristics()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2Capabilities.java19 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()
DAndroidCamera2AgentImpl.java28 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 …]
DLegacyVendorTags.java19 import android.hardware.camera2.CameraCharacteristics;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java30 import android.hardware.camera2.CameraCharacteristics;
996 Key<int[]> formatKey = CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(); in testReadWriteOverride()
1125 CameraCharacteristics.SCALER_AVAILABLE_STREAM_CONFIGURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap()
1153 CameraCharacteristics.SCALER_AVAILABLE_MIN_FRAME_DURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap()
1179 CameraCharacteristics.SCALER_AVAILABLE_STALL_DURATIONS.getNativeKey(); in testOverrideStreamConfigurationMap()
1187 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in testOverrideStreamConfigurationMap()
1237 private <T> void assertKeyValueEquals(T expected, CameraCharacteristics.Key<T> key) { in assertKeyValueEquals()
1250 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AE); in testOverrideMaxRegions()
1251 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AWB); in testOverrideMaxRegions()
1252 assertKeyValueEquals(null, CameraCharacteristics.CONTROL_MAX_REGIONS_AF); in testOverrideMaxRegions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DFlashlightController.java23 import android.hardware.camera2.CameraCharacteristics;
146 .get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP) in getSmallestSize()
169 CameraCharacteristics c = mCameraManager.getCameraCharacteristics(id); in getCameraId()
170 Boolean flashAvailable = c.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in getCameraId()
171 Integer lensFacing = c.get(CameraCharacteristics.LENS_FACING); in getCameraId()
173 && lensFacing != null && lensFacing == CameraCharacteristics.LENS_FACING_BACK) { in getCameraId()
/frameworks/base/tests/Camera2Tests/CameraToo/src/com/example/android/camera2/cameratoo/
DCameraTooActivity.java22 import android.hardware.camera2.CameraCharacteristics;
238 CameraCharacteristics cameraCharacteristics =
241 CameraCharacteristics.LENS_FACING_BACK) {
244 .get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP);
/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java41 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> { class
135 private List<CameraCharacteristics.Key<?>> mKeys;
143 public CameraCharacteristics(CameraMetadataNative properties) { in CameraCharacteristics() method in CameraCharacteristics
302 List<TKey> staticKeyList = CameraCharacteristics.<TKey>getKeysStatic( in getAvailableKeyList()
DCameraManager.java157 public CameraCharacteristics getCameraCharacteristics(String cameraId) in getCameraCharacteristics()
159 CameraCharacteristics characteristics = null; in getCameraCharacteristics()
198 characteristics = new CameraCharacteristics(info); in getCameraCharacteristics()
233 CameraCharacteristics characteristics = getCameraCharacteristics(cameraId); in openCameraDeviceUserAsync()
DCameraMetadata.java188 if (key instanceof CameraCharacteristics.Key) { in shouldKeyBeAdded()
189 nativeKey = ((CameraCharacteristics.Key)key).getNativeKey(); in shouldKeyBeAdded()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DCamera2Source.java23 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/
DCamera2PortabilityTest.java26 import android.hardware.camera2.CameraCharacteristics;
94 private CameraCharacteristics buildFrameworkCharacteristics() throws CameraAccessException { in buildFrameworkCharacteristics()
193 CameraCharacteristics chars = buildFrameworkCharacteristics(); in camera2CapabilitiesFocusModeFromInt()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfiguration.java23 import android.hardware.camera2.CameraCharacteristics;
DStreamConfigurationDuration.java23 import android.hardware.camera2.CameraCharacteristics;
DHighSpeedVideoConfiguration.java21 import android.hardware.camera2.CameraCharacteristics;
DFace.java22 import android.hardware.camera2.CameraCharacteristics;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/integration/
DCameraDeviceBinderTest.java22 import android.hardware.camera2.CameraCharacteristics;
348 assertNotNull(info.get(CameraCharacteristics.SCALER_AVAILABLE_FORMATS)); in testCameraInfo()
359 assertNotNull(info.get(CameraCharacteristics.SCALER_AVAILABLE_FORMATS)); in testCameraCharacteristics()

12