Home
last modified time | relevance | path

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

1234567

/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DCameraCharacteristicAvailability.java19 import android.hardware.camera2.CameraCharacteristics;
41 static boolean hasFlashUnit(CameraCharacteristics cameraCharacteristics) { in hasFlashUnit()
42 Boolean flashInfo = cameraCharacteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in hasFlashUnit()
54 static boolean supportsZoomRatio(CameraCharacteristics cameraCharacteristics) { in supportsZoomRatio()
56 CameraCharacteristics.CONTROL_ZOOM_RATIO_RANGE); in supportsZoomRatio()
68 static boolean hasFocuser(CameraCharacteristics cameraCharacteristics) { in hasFocuser()
70 CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); in hasFocuser()
91 static boolean isWBModeAvailable(CameraCharacteristics cameraCharacteristics, in isWBModeAvailable()
94 CameraCharacteristics.CONTROL_AWB_AVAILABLE_MODES); in isWBModeAvailable()
118 static boolean isEffectAvailable(CameraCharacteristics cameraCharacteristics, in isEffectAvailable()
[all …]
DBeautyPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
47 private CameraCharacteristics mCameraCharacteristics;
56 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
65 CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
70 CameraCharacteristics cameraCharacteristics) { in isExtensionAvailableOriginal()
117 mCameraCharacteristics.get(CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in getSupportedResolutions()
136 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DAutoPreviewExtenderImpl.java19 import android.hardware.camera2.CameraCharacteristics;
51 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
59 CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
64 CameraCharacteristics cameraCharacteristics) { in isExtensionAvailableOriginal()
115 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DNightPreviewExtenderImpl.java19 import android.hardware.camera2.CameraCharacteristics;
51 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
59 CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
64 CameraCharacteristics cameraCharacteristics) { in isExtensionAvailableOriginal()
115 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/advanced/
DCameraCharacteristicAvailability.java19 import android.hardware.camera2.CameraCharacteristics;
41 static boolean hasFlashUnit(CameraCharacteristics cameraCharacteristics) { in hasFlashUnit()
42 Boolean flashInfo = cameraCharacteristics.get(CameraCharacteristics.FLASH_INFO_AVAILABLE); in hasFlashUnit()
54 static boolean supportsZoomRatio(CameraCharacteristics cameraCharacteristics) { in supportsZoomRatio()
56 CameraCharacteristics.CONTROL_ZOOM_RATIO_RANGE); in supportsZoomRatio()
68 static boolean hasFocuser(CameraCharacteristics cameraCharacteristics) { in hasFocuser()
70 CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); in hasFocuser()
91 static boolean isWBModeAvailable(CameraCharacteristics cameraCharacteristics, in isWBModeAvailable()
94 CameraCharacteristics.CONTROL_AWB_AVAILABLE_MODES); in isWBModeAvailable()
118 static boolean isEffectAvailable(CameraCharacteristics cameraCharacteristics, in isEffectAvailable()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java23 import android.hardware.camera2.CameraCharacteristics;
24 import android.hardware.camera2.CameraCharacteristics.Key;
75 private final CameraCharacteristics mCharacteristics;
139 public StaticMetadata(CameraCharacteristics characteristics) { in StaticMetadata()
154 public StaticMetadata(CameraCharacteristics characteristics, CameraErrorCollector collector) { in StaticMetadata()
172 public StaticMetadata(CameraCharacteristics characteristics, CheckLevel level, in StaticMetadata()
191 public CameraCharacteristics getCharacteristics() { in getCharacteristics()
217 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in getHardwareLevelChecked()
254 Integer value = getValueFromKeyNonNull(CameraCharacteristics.SYNC_MAX_LATENCY); in getSyncMaxLatency()
287 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL); in isHardwareLevelLimitedOrBetter()
[all …]
DCameraUtils.java21 import android.hardware.camera2.CameraCharacteristics;
45 CameraCharacteristics characteristics = in isLegacyHAL()
48 return characteristics.get(CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL) == in isLegacyHAL()
49 CameraCharacteristics.INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY; in isLegacyHAL()
/frameworks/base/api/
Djavadoc-lint-baseline2CameraCharacteristics.java:2169: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
3CameraCharacteristics.java:2344: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
4CameraCharacteristics.java:2344: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
5CameraCharacteristics.java:2361: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
6CameraCharacteristics.java:2361: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
7CameraCharacteristics.java:2361: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
8CameraCharacteristics.java:2390: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
9CameraCharacteristics.java:2390: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
10CameraCharacteristics.java:2402: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
11CameraCharacteristics.java:2402: lint: Unresolved link/see tag "android.hardware.camera2.CameraDev…
[all …]
/frameworks/ex/camera2/extensions/eyesFreeVidSample/src/android/camera/extensions/impl/service/
DEyesFreeVidService.java30 import android.hardware.camera2.CameraCharacteristics;
31 import android.hardware.camera2.CameraCharacteristics.Key;
107 private CameraCharacteristics mCameraCharacteristics;
139 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP); in filterOutputResolutions()
152 protected CameraCharacteristics getCameraCharacteristics() { in getCameraCharacteristics()
209 public List<Pair<CameraCharacteristics.Key, Object>>
212 .get(CameraCharacteristics.CONTROL_ZOOM_RATIO_RANGE); in getAvailableCharacteristicsKeyValues()
214 .get(CameraCharacteristics.REQUEST_AVAILABLE_CAPABILITIES); in getAvailableCharacteristicsKeyValues()
249 .get(CameraCharacteristics.SCALER_AVAILABLE_STREAM_CONFIGURATIONS); in getAvailableCharacteristicsKeyValues()
261 .get(CameraCharacteristics.SCALER_AVAILABLE_MIN_FRAME_DURATIONS); in getAvailableCharacteristicsKeyValues()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java24 import android.hardware.camera2.CameraCharacteristics;
239 } else if (o instanceof CameraCharacteristics.Key) { in equals()
240 lhs = ((CameraCharacteristics.Key)o).getNativeKey(); in equals()
447 public <T> T get(CameraCharacteristics.Key<T> key) { in get()
537 public <T> void set(CameraCharacteristics.Key<T> key, T value) { in set()
582 private <T> T getBase(CameraCharacteristics.Key<T> key) { in getBase()
628 CameraCharacteristics.SCALER_AVAILABLE_FORMATS.getNativeKey(), new GetCommand() { in GetCommand()
652 CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey(), in CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP.getNativeKey()
661CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION.getNativeKey(), in CameraCharacteristics.SCALER_STREAM_CONFIGURATION_MAP_MAXIMUM_RESOLUTION.getNativeKey()
670 CameraCharacteristics.SCALER_MANDATORY_STREAM_COMBINATIONS.getNativeKey(), in CameraCharacteristics.SCALER_MANDATORY_STREAM_COMBINATIONS.getNativeKey()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/camera/
DCameraServiceProxyTest.java28 import android.hardware.camera2.CameraCharacteristics;
51 Surface.ROTATION_90 , CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
56 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
62 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
67 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
74 Surface.ROTATION_90, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
86 key, CameraCharacteristics.LENS_FACING_BACK, in testGetCropRotateScale()
96 key, CameraCharacteristics.LENS_FACING_FRONT, in testGetCropRotateScale()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DCameraMetadataWrapper.java19 import android.hardware.camera2.CameraCharacteristics;
35 public CameraMetadataWrapper(CameraCharacteristics cameraCharacteristics) { in CameraMetadataWrapper()
73 private void setVendorId(CameraCharacteristics chars) { in setVendorId()
74 Object thisClass = CameraCharacteristics.Key.class; in setVendorId()
75 Class<CameraCharacteristics.Key<?>> keyClass = in setVendorId()
76 (Class<CameraCharacteristics.Key<?>>) thisClass; in setVendorId()
77 ArrayList<CameraCharacteristics.Key<?>> vendorKeys = in setVendorId()
/frameworks/base/core/java/android/hardware/camera2/extension/
DAdvancedExtender.java23 import android.hardware.camera2.CameraCharacteristics;
76 CameraCharacteristics chars = mCameraManager.getCameraCharacteristics(cameraId); in AdvancedExtender()
77 Object thisClass = CameraCharacteristics.Key.class; in AdvancedExtender()
78 Class<CameraCharacteristics.Key<?>> keyClass = in AdvancedExtender()
79 (Class<CameraCharacteristics.Key<?>>)thisClass; in AdvancedExtender()
80 ArrayList<CameraCharacteristics.Key<?>> vendorKeys = in AdvancedExtender()
275 public abstract List<Pair<CameraCharacteristics.Key, Object>>
338 ret.set(CameraCharacteristics.REQUEST_AVAILABLE_REQUEST_KEYS, requestKeyTags); in getAvailableCaptureRequestKeys()
360 ret.set(CameraCharacteristics.REQUEST_AVAILABLE_RESULT_KEYS, resultKeyTags); in getAvailableCaptureResultKeys()
383 List<Pair<CameraCharacteristics.Key, Object>> entries = in getAvailableCharacteristicsKeyValues()
[all …]
DCharacteristicsMap.java23 import android.hardware.camera2.CameraCharacteristics;
41 private final HashMap<String, CameraCharacteristics> mCharMap;
53 mCharMap.put(entry.getKey(), new CameraCharacteristics(entry.getValue())); in CharacteristicsMap()
79 public CameraCharacteristics get(@NonNull String cameraId) { in get()
/frameworks/ex/camera2/extensions/advancedSample/src/java/androidx/camera/extensions/impl/
DAutoPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DBokehPreviewExtenderImpl.java19 import android.hardware.camera2.CameraCharacteristics;
40 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
45 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
65 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DBeautyPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DHdrPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DNightPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/
DBokehPreviewExtenderImpl.java19 import android.hardware.camera2.CameraCharacteristics;
40 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
45 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
65 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DHdrPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DAutoPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DNightPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
DBeautyPreviewExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
42 @Nullable CameraCharacteristics cameraCharacteristics) { in isExtensionAvailable()
47 public void init(String cameraId, CameraCharacteristics cameraCharacteristics) { in init()
67 public void onInit(String cameraId, CameraCharacteristics cameraCharacteristics, in onInit()
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/
DAdvancedExtenderImpl.java20 import android.hardware.camera2.CameraCharacteristics;
69 Map<String, CameraCharacteristics> characteristicsMap); in isExtensionAvailable()
84 void init(String cameraId, Map<String, CameraCharacteristics> characteristicsMap); in init()
245 List<Pair<CameraCharacteristics.Key, Object>> getAvailableCharacteristicsKeyValues(); in getAvailableCharacteristicsKeyValues()

1234567