Lines Matching refs:Key

43 public final class CameraCharacteristics extends CameraMetadata<CameraCharacteristics.Key<?>> {
46 * A {@code Key} is used to do camera characteristics field lookups with
62 public static final class Key<T> {
63 private final CameraMetadataNative.Key<T> mKey;
70 public Key(String name, Class<T> type) {
71 mKey = new CameraMetadataNative.Key<T>(name, type);
79 public Key(String name, TypeReference<T> typeReference) {
80 mKey = new CameraMetadataNative.Key<T>(name, typeReference);
115 return o instanceof Key && ((Key<T>)o).mKey.equals(mKey);
119 * Return this {@link Key} as a string representation.
121 * <p>{@code "CameraCharacteristics.Key(%s)"}, where {@code %s} represents
124 * @return string representation of {@link Key}
129 return String.format("CameraCharacteristics.Key(%s)", mKey.getName());
139 public CameraMetadataNative.Key<T> getNativeKey() {
146 private Key(CameraMetadataNative.Key<?> nativeKey) {
147 mKey = (CameraMetadataNative.Key<T>) nativeKey;
152 private List<CameraCharacteristics.Key<?>> mKeys;
153 private List<CaptureRequest.Key<?>> mAvailableRequestKeys;
154 private List<CaptureResult.Key<?>> mAvailableResultKeys;
187 public <T> T get(Key<T> key) {
197 protected <T> T getProtected(Key<?> key) {
207 protected Class<Key<?>> getKeyClass() {
208 Object thisClass = Key.class;
209 return (Class<Key<?>>)thisClass;
217 public List<Key<?>> getKeys() {
250 public List<CaptureRequest.Key<?>> getAvailableCaptureRequestKeys() {
252 Object crKey = CaptureRequest.Key.class;
253 Class<CaptureRequest.Key<?>> crKeyTyped = (Class<CaptureRequest.Key<?>>)crKey;
282 public List<CaptureResult.Key<?>> getAvailableCaptureResultKeys() {
284 Object crKey = CaptureResult.Key.class;
285 Class<CaptureResult.Key<?>> crKeyTyped = (Class<CaptureResult.Key<?>>)crKey;
306 * @param keyClass The class of the metadata key, e.g. CaptureRequest.Key.class
350 public static final Key<int[]> COLOR_CORRECTION_AVAILABLE_ABERRATION_MODES =
351 new Key<int[]>("android.colorCorrection.availableAberrationModes", int[].class);
368 public static final Key<int[]> CONTROL_AE_AVAILABLE_ANTIBANDING_MODES =
369 new Key<int[]>("android.control.aeAvailableAntibandingModes", int[].class);
393 public static final Key<int[]> CONTROL_AE_AVAILABLE_MODES =
394 new Key<int[]>("android.control.aeAvailableModes", int[].class);
425 public static final Key<android.util.Range<Integer>[]> CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES =
426 new Key<android.util.Range<Integer>[]>("android.control.aeAvailableTargetFpsRanges", new TypeReference<android.util.Range<Integer>[]>() {{ }});
445 public static final Key<android.util.Range<Integer>> CONTROL_AE_COMPENSATION_RANGE =
446 new Key<android.util.Range<Integer>>("android.control.aeCompensationRange", new TypeReference<android.util.Range<Integer>>() {{ }});
462 public static final Key<Rational> CONTROL_AE_COMPENSATION_STEP =
463 new Key<Rational>("android.control.aeCompensationStep", Rational.class);
486 public static final Key<int[]> CONTROL_AF_AVAILABLE_MODES =
487 new Key<int[]>("android.control.afAvailableModes", int[].class);
509 public static final Key<int[]> CONTROL_AVAILABLE_EFFECTS =
510 new Key<int[]>("android.control.availableEffects", int[].class);
532 public static final Key<int[]> CONTROL_AVAILABLE_SCENE_MODES =
533 new Key<int[]>("android.control.availableSceneModes", int[].class);
546 public static final Key<int[]> CONTROL_AVAILABLE_VIDEO_STABILIZATION_MODES =
547 new Key<int[]>("android.control.availableVideoStabilizationModes", int[].class);
570 public static final Key<int[]> CONTROL_AWB_AVAILABLE_MODES =
571 new Key<int[]>("android.control.awbAvailableModes", int[].class);
590 public static final Key<int[]> CONTROL_MAX_REGIONS =
591 new Key<int[]>("android.control.maxRegions", int[].class);
607 public static final Key<Integer> CONTROL_MAX_REGIONS_AE =
608 new Key<Integer>("android.control.maxRegionsAe", int.class);
623 public static final Key<Integer> CONTROL_MAX_REGIONS_AWB =
624 new Key<Integer>("android.control.maxRegionsAwb", int.class);
639 public static final Key<Integer> CONTROL_MAX_REGIONS_AF =
640 new Key<Integer>("android.control.maxRegionsAf", int.class);
695 public static final Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]> CONTROL_AVAILABLE_HIGH_SPEED_VIDEO_CONFIGURATIONS =
696 new Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]>("android.control.availableHighSpeedVideoConfigurations", android.hardware.camera2.params.HighSpeedVideoConfiguration[].class);
707 public static final Key<Boolean> CONTROL_AE_LOCK_AVAILABLE =
708 new Key<Boolean>("android.control.aeLockAvailable", boolean.class);
719 public static final Key<Boolean> CONTROL_AWB_LOCK_AVAILABLE =
720 new Key<Boolean>("android.control.awbLockAvailable", boolean.class);
735 public static final Key<int[]> CONTROL_AVAILABLE_MODES =
736 new Key<int[]>("android.control.availableModes", int[].class);
755 public static final Key<int[]> EDGE_AVAILABLE_EDGE_MODES =
756 new Key<int[]>("android.edge.availableEdgeModes", int[].class);
767 public static final Key<Boolean> FLASH_INFO_AVAILABLE =
768 new Key<Boolean>("android.flash.info.available", boolean.class);
781 public static final Key<int[]> HOT_PIXEL_AVAILABLE_HOT_PIXEL_MODES =
782 new Key<int[]>("android.hotPixel.availableHotPixelModes", int[].class);
807 public static final Key<android.util.Size[]> JPEG_AVAILABLE_THUMBNAIL_SIZES =
808 new Key<android.util.Size[]>("android.jpeg.availableThumbnailSizes", android.util.Size[].class);
827 public static final Key<float[]> LENS_INFO_AVAILABLE_APERTURES =
828 new Key<float[]>("android.lens.info.availableApertures", float[].class);
848 public static final Key<float[]> LENS_INFO_AVAILABLE_FILTER_DENSITIES =
849 new Key<float[]>("android.lens.info.availableFilterDensities", float[].class);
866 public static final Key<float[]> LENS_INFO_AVAILABLE_FOCAL_LENGTHS =
867 new Key<float[]>("android.lens.info.availableFocalLengths", float[].class);
885 public static final Key<int[]> LENS_INFO_AVAILABLE_OPTICAL_STABILIZATION =
886 new Key<int[]>("android.lens.info.availableOpticalStabilization", int[].class);
906 public static final Key<Float> LENS_INFO_HYPERFOCAL_DISTANCE =
907 new Key<Float>("android.lens.info.hyperfocalDistance", float.class);
926 public static final Key<Float> LENS_INFO_MINIMUM_FOCUS_DISTANCE =
927 new Key<Float>("android.lens.info.minimumFocusDistance", float.class);
943 public static final Key<android.util.Size> LENS_INFO_SHADING_MAP_SIZE =
944 new Key<android.util.Size>("android.lens.info.shadingMapSize", android.util.Size.class);
982 public static final Key<Integer> LENS_INFO_FOCUS_DISTANCE_CALIBRATION =
983 new Key<Integer>("android.lens.info.focusDistanceCalibration", int.class);
1000 public static final Key<Integer> LENS_FACING =
1001 new Key<Integer>("android.lens.facing", int.class);
1037 public static final Key<float[]> LENS_POSE_ROTATION =
1038 new Key<float[]>("android.lens.poseRotation", float[].class);
1077 public static final Key<float[]> LENS_POSE_TRANSLATION =
1078 new Key<float[]>("android.lens.poseTranslation", float[].class);
1140 public static final Key<float[]> LENS_INTRINSIC_CALIBRATION =
1141 new Key<float[]>("android.lens.intrinsicCalibration", float[].class);
1179 public static final Key<float[]> LENS_RADIAL_DISTORTION =
1180 new Key<float[]>("android.lens.radialDistortion", float[].class);
1200 public static final Key<int[]> NOISE_REDUCTION_AVAILABLE_NOISE_REDUCTION_MODES =
1201 new Key<int[]>("android.noiseReduction.availableNoiseReductionModes", int[].class);
1217 public static final Key<Byte> QUIRKS_USE_PARTIAL_RESULT =
1218 new Key<Byte>("android.quirks.usePartialResult", byte.class);
1254 public static final Key<int[]> REQUEST_MAX_NUM_OUTPUT_STREAMS =
1255 new Key<int[]>("android.request.maxNumOutputStreams", int[].class);
1284 public static final Key<Integer> REQUEST_MAX_NUM_OUTPUT_RAW =
1285 new Key<Integer>("android.request.maxNumOutputRaw", int.class);
1319 public static final Key<Integer> REQUEST_MAX_NUM_OUTPUT_PROC =
1320 new Key<Integer>("android.request.maxNumOutputProc", int.class);
1346 public static final Key<Integer> REQUEST_MAX_NUM_OUTPUT_PROC_STALLING =
1347 new Key<Integer>("android.request.maxNumOutputProcStalling", int.class);
1372 public static final Key<Integer> REQUEST_MAX_NUM_INPUT_STREAMS =
1373 new Key<Integer>("android.request.maxNumInputStreams", int.class);
1396 public static final Key<Byte> REQUEST_PIPELINE_MAX_DEPTH =
1397 new Key<Byte>("android.request.pipelineMaxDepth", byte.class);
1419 public static final Key<Integer> REQUEST_PARTIAL_RESULT_COUNT =
1420 new Key<Integer>("android.request.partialResultCount", int.class);
1470 public static final Key<int[]> REQUEST_AVAILABLE_CAPABILITIES =
1471 new Key<int[]>("android.request.availableCapabilities", int[].class);
1488 public static final Key<int[]> REQUEST_AVAILABLE_REQUEST_KEYS =
1489 new Key<int[]>("android.request.availableRequestKeys", int[].class);
1514 public static final Key<int[]> REQUEST_AVAILABLE_RESULT_KEYS =
1515 new Key<int[]>("android.request.availableResultKeys", int[].class);
1527 public static final Key<int[]> REQUEST_AVAILABLE_CHARACTERISTICS_KEYS =
1528 new Key<int[]>("android.request.availableCharacteristicsKeys", int[].class);
1540 public static final Key<int[]> SCALER_AVAILABLE_FORMATS =
1541 new Key<int[]>("android.scaler.availableFormats", int[].class);
1560 public static final Key<long[]> SCALER_AVAILABLE_JPEG_MIN_DURATIONS =
1561 new Key<long[]>("android.scaler.availableJpegMinDurations", long[].class);
1576 public static final Key<android.util.Size[]> SCALER_AVAILABLE_JPEG_SIZES =
1577 new Key<android.util.Size[]>("android.scaler.availableJpegSizes", android.util.Size[].class);
1597 public static final Key<Float> SCALER_AVAILABLE_MAX_DIGITAL_ZOOM =
1598 new Key<Float>("android.scaler.availableMaxDigitalZoom", float.class);
1615 public static final Key<long[]> SCALER_AVAILABLE_PROCESSED_MIN_DURATIONS =
1616 new Key<long[]>("android.scaler.availableProcessedMinDurations", long[].class);
1637 public static final Key<android.util.Size[]> SCALER_AVAILABLE_PROCESSED_SIZES =
1638 new Key<android.util.Size[]>("android.scaler.availableProcessedSizes", android.util.Size[].class);
1692 public static final Key<android.hardware.camera2.params.ReprocessFormatsMap> SCALER_AVAILABLE_INPUT_OUTPUT_FORMATS_MAP =
1693 new Key<android.hardware.camera2.params.ReprocessFormatsMap>("android.scaler.availableInputOutputFormatsMap", android.hardware.camera2.params.ReprocessFormatsMap.class);
1784 public static final Key<android.hardware.camera2.params.StreamConfiguration[]> SCALER_AVAILABLE_STREAM_CONFIGURATIONS =
1785 new Key<android.hardware.camera2.params.StreamConfiguration[]>("android.scaler.availableStreamConfigurations", android.hardware.camera2.params.StreamConfiguration[].class);
1808 public static final Key<android.hardware.camera2.params.StreamConfigurationDuration[]> SCALER_AVAILABLE_MIN_FRAME_DURATIONS =
1809 new Key<android.hardware.camera2.params.StreamConfigurationDuration[]>("android.scaler.availableMinFrameDurations", android.hardware.camera2.params.StreamConfigurationDuration[].class);
1877 public static final Key<android.hardware.camera2.params.StreamConfigurationDuration[]> SCALER_AVAILABLE_STALL_DURATIONS =
1878 new Key<android.hardware.camera2.params.StreamConfigurationDuration[]>("android.scaler.availableStallDurations", android.hardware.camera2.params.StreamConfigurationDuration[].class);
1983 public static final Key<android.hardware.camera2.params.StreamConfigurationMap> SCALER_STREAM_CONFIGURATION_MAP =
1984 new Key<android.hardware.camera2.params.StreamConfigurationMap>("android.scaler.streamConfigurationMap", android.hardware.camera2.params.StreamConfigurationMap.class);
2010 public static final Key<Integer> SCALER_CROPPING_TYPE =
2011 new Key<Integer>("android.scaler.croppingType", int.class);
2036 public static final Key<android.graphics.Rect> SENSOR_INFO_ACTIVE_ARRAY_SIZE =
2037 new Key<android.graphics.Rect>("android.sensor.info.activeArraySize", android.graphics.Rect.class);
2055 public static final Key<android.util.Range<Integer>> SENSOR_INFO_SENSITIVITY_RANGE =
2056 new Key<android.util.Range<Integer>>("android.sensor.info.sensitivityRange", new TypeReference<android.util.Range<Integer>>() {{ }});
2083 public static final Key<Integer> SENSOR_INFO_COLOR_FILTER_ARRANGEMENT =
2084 new Key<Integer>("android.sensor.info.colorFilterArrangement", int.class);
2103 public static final Key<android.util.Range<Long>> SENSOR_INFO_EXPOSURE_TIME_RANGE =
2104 new Key<android.util.Range<Long>>("android.sensor.info.exposureTimeRange", new TypeReference<android.util.Range<Long>>() {{ }});
2127 public static final Key<Long> SENSOR_INFO_MAX_FRAME_DURATION =
2128 new Key<Long>("android.sensor.info.maxFrameDuration", long.class);
2141 public static final Key<android.util.SizeF> SENSOR_INFO_PHYSICAL_SIZE =
2142 new Key<android.util.SizeF>("android.sensor.info.physicalSize", android.util.SizeF.class);
2167 public static final Key<android.util.Size> SENSOR_INFO_PIXEL_ARRAY_SIZE =
2168 new Key<android.util.Size>("android.sensor.info.pixelArraySize", android.util.Size.class);
2188 public static final Key<Integer> SENSOR_INFO_WHITE_LEVEL =
2189 new Key<Integer>("android.sensor.info.whiteLevel", int.class);
2207 public static final Key<Integer> SENSOR_INFO_TIMESTAMP_SOURCE =
2208 new Key<Integer>("android.sensor.info.timestampSource", int.class);
2224 public static final Key<Boolean> SENSOR_INFO_LENS_SHADING_APPLIED =
2225 new Key<Boolean>("android.sensor.info.lensShadingApplied", boolean.class);
2289 public static final Key<android.graphics.Rect> SENSOR_INFO_PRE_CORRECTION_ACTIVE_ARRAY_SIZE =
2290 new Key<android.graphics.Rect>("android.sensor.info.preCorrectionActiveArraySize", android.graphics.Rect.class);
2355 public static final Key<Integer> SENSOR_REFERENCE_ILLUMINANT1 =
2356 new Key<Integer>("android.sensor.referenceIlluminant1", int.class);
2377 public static final Key<Byte> SENSOR_REFERENCE_ILLUMINANT2 =
2378 new Key<Byte>("android.sensor.referenceIlluminant2", byte.class);
2396 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> SENSOR_CALIBRATION_TRANSFORM1 =
2397 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.sensor.calibrationTransform1", android.hardware.camera2.params.ColorSpaceTransform.class);
2418 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> SENSOR_CALIBRATION_TRANSFORM2 =
2419 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.sensor.calibrationTransform2", android.hardware.camera2.params.ColorSpaceTransform.class);
2441 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> SENSOR_COLOR_TRANSFORM1 =
2442 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.sensor.colorTransform1", android.hardware.camera2.params.ColorSpaceTransform.class);
2466 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> SENSOR_COLOR_TRANSFORM2 =
2467 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.sensor.colorTransform2", android.hardware.camera2.params.ColorSpaceTransform.class);
2487 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> SENSOR_FORWARD_MATRIX1 =
2488 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.sensor.forwardMatrix1", android.hardware.camera2.params.ColorSpaceTransform.class);
2510 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> SENSOR_FORWARD_MATRIX2 =
2511 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.sensor.forwardMatrix2", android.hardware.camera2.params.ColorSpaceTransform.class);
2531 public static final Key<android.hardware.camera2.params.BlackLevelPattern> SENSOR_BLACK_LEVEL_PATTERN =
2532 new Key<android.hardware.camera2.params.BlackLevelPattern>("android.sensor.blackLevelPattern", android.hardware.camera2.params.BlackLevelPattern.class);
2550 public static final Key<Integer> SENSOR_MAX_ANALOG_SENSITIVITY =
2551 new Key<Integer>("android.sensor.maxAnalogSensitivity", int.class);
2565 public static final Key<Integer> SENSOR_ORIENTATION =
2566 new Key<Integer>("android.sensor.orientation", int.class);
2579 public static final Key<int[]> SENSOR_AVAILABLE_TEST_PATTERN_MODES =
2580 new Key<int[]>("android.sensor.availableTestPatternModes", int[].class);
2595 public static final Key<int[]> SHADING_AVAILABLE_MODES =
2596 new Key<int[]>("android.shading.availableModes", int[].class);
2609 public static final Key<int[]> STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES =
2610 new Key<int[]>("android.statistics.info.availableFaceDetectModes", int[].class);
2622 public static final Key<Integer> STATISTICS_INFO_MAX_FACE_COUNT =
2623 new Key<Integer>("android.statistics.info.maxFaceCount", int.class);
2638 public static final Key<boolean[]> STATISTICS_INFO_AVAILABLE_HOT_PIXEL_MAP_MODES =
2639 new Key<boolean[]>("android.statistics.info.availableHotPixelMapModes", boolean[].class);
2655 public static final Key<int[]> STATISTICS_INFO_AVAILABLE_LENS_SHADING_MAP_MODES =
2656 new Key<int[]>("android.statistics.info.availableLensShadingMapModes", int[].class);
2676 public static final Key<Integer> TONEMAP_MAX_CURVE_POINTS =
2677 new Key<Integer>("android.tonemap.maxCurvePoints", int.class);
2700 public static final Key<int[]> TONEMAP_AVAILABLE_TONE_MAP_MODES =
2701 new Key<int[]>("android.tonemap.availableToneMapModes", int[].class);
2713 public static final Key<int[]> LED_AVAILABLE_LEDS =
2714 new Key<int[]>("android.led.availableLeds", int[].class);
2776 public static final Key<Integer> INFO_SUPPORTED_HARDWARE_LEVEL =
2777 new Key<Integer>("android.info.supportedHardwareLevel", int.class);
2802 public static final Key<Integer> SYNC_MAX_LATENCY =
2803 new Key<Integer>("android.sync.maxLatency", int.class);
2837 public static final Key<Integer> REPROCESS_MAX_CAPTURE_STALL =
2838 new Key<Integer>("android.reprocess.maxCaptureStall", int.class);
2863 public static final Key<android.hardware.camera2.params.StreamConfiguration[]> DEPTH_AVAILABLE_DEPTH_STREAM_CONFIGURATIONS =
2864 new Key<android.hardware.camera2.params.StreamConfiguration[]>("android.depth.availableDepthStreamConfigurations", android.hardware.camera2.params.StreamConfiguration[].class);
2890 public static final Key<android.hardware.camera2.params.StreamConfigurationDuration[]> DEPTH_AVAILABLE_DEPTH_MIN_FRAME_DURATIONS =
2891 new Key<android.hardware.camera2.params.StreamConfigurationDuration[]>("android.depth.availableDepthMinFrameDurations", android.hardware.camera2.params.StreamConfigurationDuration[].class);
2913 public static final Key<android.hardware.camera2.params.StreamConfigurationDuration[]> DEPTH_AVAILABLE_DEPTH_STALL_DURATIONS =
2914 new Key<android.hardware.camera2.params.StreamConfigurationDuration[]>("android.depth.availableDepthStallDurations", android.hardware.camera2.params.StreamConfigurationDuration[].class);
2936 public static final Key<Boolean> DEPTH_DEPTH_IS_EXCLUSIVE =
2937 new Key<Boolean>("android.depth.depthIsExclusive", boolean.class);