Lines Matching refs:Key

52 public class CaptureResult extends CameraMetadata<CaptureResult.Key<?>> {
58 * A {@code Key} is used to do capture result field lookups with
73 public final static class Key<T> {
74 private final CameraMetadataNative.Key<T> mKey;
81 public Key(String name, Class<T> type, long vendorId) {
82 mKey = new CameraMetadataNative.Key<T>(name, type, vendorId);
90 public Key(String name, String fallbackName, Class<T> type) {
91 mKey = new CameraMetadataNative.Key<T>(name, fallbackName, type);
99 public Key(String name, Class<T> type) {
100 mKey = new CameraMetadataNative.Key<T>(name, type);
108 public Key(String name, TypeReference<T> typeReference) {
109 mKey = new CameraMetadataNative.Key<T>(name, typeReference);
153 return o instanceof Key && ((Key<T>)o).mKey.equals(mKey);
157 * Return this {@link Key} as a string representation.
159 * <p>{@code "CaptureResult.Key(%s)"}, where {@code %s} represents
162 * @return string representation of {@link Key}
167 return String.format("CaptureResult.Key(%s)", mKey.getName());
177 public CameraMetadataNative.Key<T> getNativeKey() {
182 /*package*/ Key(CameraMetadataNative.Key<?> nativeKey) {
183 mKey = (CameraMetadataNative.Key<T>) nativeKey;
266 public <T> T get(Key<T> key) {
268 if (VERBOSE) Log.v(TAG, "#get for Key = " + key.getName() + ", returned value = " + value);
278 protected <T> T getProtected(Key<?> key) {
288 protected Class<Key<?>> getKeyClass() {
289 Object thisClass = Key.class;
290 return (Class<Key<?>>)thisClass;
310 public List<Key<?>> getKeys() {
447 public static final Key<Integer> COLOR_CORRECTION_MODE =
448 new Key<Integer>("android.colorCorrection.mode", int.class);
474 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> COLOR_CORRECTION_TRANSFORM =
475 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.colorCorrection.transform", android.hardware.camera2.params.ColorSpaceTransform.class);
501 public static final Key<android.hardware.camera2.params.RggbChannelVector> COLOR_CORRECTION_GAINS =
502 new Key<android.hardware.camera2.params.RggbChannelVector>("android.colorCorrection.gains", android.hardware.camera2.params.RggbChannelVector.class);
533 public static final Key<Integer> COLOR_CORRECTION_ABERRATION_MODE =
534 new Key<Integer>("android.colorCorrection.aberrationMode", int.class);
589 public static final Key<Integer> CONTROL_AE_ANTIBANDING_MODE =
590 new Key<Integer>("android.control.aeAntibandingMode", int.class);
622 public static final Key<Integer> CONTROL_AE_EXPOSURE_COMPENSATION =
623 new Key<Integer>("android.control.aeExposureCompensation", int.class);
672 public static final Key<Boolean> CONTROL_AE_LOCK =
673 new Key<Boolean>("android.control.aeLock", boolean.class);
724 public static final Key<Integer> CONTROL_AE_MODE =
725 new Key<Integer>("android.control.aeMode", int.class);
764 public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AE_REGIONS =
765 new Key<android.hardware.camera2.params.MeteringRectangle[]>("android.control.aeRegions", android.hardware.camera2.params.MeteringRectangle[].class);
784 public static final Key<android.util.Range<Integer>> CONTROL_AE_TARGET_FPS_RANGE =
785 new Key<android.util.Range<Integer>>("android.control.aeTargetFpsRange", new TypeReference<android.util.Range<Integer>>() {{ }});
857 public static final Key<Integer> CONTROL_AE_PRECAPTURE_TRIGGER =
858 new Key<Integer>("android.control.aePrecaptureTrigger", int.class);
1105 public static final Key<Integer> CONTROL_AE_STATE =
1106 new Key<Integer>("android.control.aeState", int.class);
1146 public static final Key<Integer> CONTROL_AF_MODE =
1147 new Key<Integer>("android.control.afMode", int.class);
1187 public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AF_REGIONS =
1188 new Key<android.hardware.camera2.params.MeteringRectangle[]>("android.control.afRegions", android.hardware.camera2.params.MeteringRectangle[].class);
1224 public static final Key<Integer> CONTROL_AF_TRIGGER =
1225 new Key<Integer>("android.control.afTrigger", int.class);
1633 public static final Key<Integer> CONTROL_AF_STATE =
1634 new Key<Integer>("android.control.afState", int.class);
1663 public static final Key<Boolean> CONTROL_AWB_LOCK =
1664 new Key<Boolean>("android.control.awbLock", boolean.class);
1723 public static final Key<Integer> CONTROL_AWB_MODE =
1724 new Key<Integer>("android.control.awbMode", int.class);
1764 public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AWB_REGIONS =
1765 new Key<android.hardware.camera2.params.MeteringRectangle[]>("android.control.awbRegions", android.hardware.camera2.params.MeteringRectangle[].class);
1806 public static final Key<Integer> CONTROL_CAPTURE_INTENT =
1807 new Key<Integer>("android.control.captureIntent", int.class);
1949 public static final Key<Integer> CONTROL_AWB_STATE =
1950 new Key<Integer>("android.control.awbState", int.class);
1988 public static final Key<Integer> CONTROL_EFFECT_MODE =
1989 new Key<Integer>("android.control.effectMode", int.class);
2028 public static final Key<Integer> CONTROL_MODE =
2029 new Key<Integer>("android.control.mode", int.class);
2095 public static final Key<Integer> CONTROL_SCENE_MODE =
2096 new Key<Integer>("android.control.sceneMode", int.class);
2138 public static final Key<Integer> CONTROL_VIDEO_STABILIZATION_MODE =
2139 new Key<Integer>("android.control.videoStabilizationMode", int.class);
2173 public static final Key<Integer> CONTROL_POST_RAW_SENSITIVITY_BOOST =
2174 new Key<Integer>("android.control.postRawSensitivityBoost", int.class);
2206 public static final Key<Boolean> CONTROL_ENABLE_ZSL =
2207 new Key<Boolean>("android.control.enableZsl", boolean.class);
2228 public static final Key<Integer> CONTROL_AF_SCENE_CHANGE =
2229 new Key<Integer>("android.control.afSceneChange", int.class);
2276 public static final Key<Integer> EDGE_MODE =
2277 new Key<Integer>("android.edge.mode", int.class);
2311 public static final Key<Integer> FLASH_MODE =
2312 new Key<Integer>("android.flash.mode", int.class);
2354 public static final Key<Integer> FLASH_STATE =
2355 new Key<Integer>("android.flash.state", int.class);
2378 public static final Key<Integer> HOT_PIXEL_MODE =
2379 new Key<Integer>("android.hotPixel.mode", int.class);
2390 public static final Key<android.location.Location> JPEG_GPS_LOCATION =
2391 new Key<android.location.Location>("android.jpeg.gpsLocation", android.location.Location.class);
2401 public static final Key<double[]> JPEG_GPS_COORDINATES =
2402 new Key<double[]>("android.jpeg.gpsCoordinates", double[].class);
2411 public static final Key<String> JPEG_GPS_PROCESSING_METHOD =
2412 new Key<String>("android.jpeg.gpsProcessingMethod", String.class);
2421 public static final Key<Long> JPEG_GPS_TIMESTAMP =
2422 new Key<Long>("android.jpeg.gpsTimestamp", long.class);
2464 public static final Key<Integer> JPEG_ORIENTATION =
2465 new Key<Integer>("android.jpeg.orientation", int.class);
2476 public static final Key<Byte> JPEG_QUALITY =
2477 new Key<Byte>("android.jpeg.quality", byte.class);
2487 public static final Key<Byte> JPEG_THUMBNAIL_QUALITY =
2488 new Key<Byte>("android.jpeg.thumbnailQuality", byte.class);
2522 public static final Key<android.util.Size> JPEG_THUMBNAIL_SIZE =
2523 new Key<android.util.Size>("android.jpeg.thumbnailSize", android.util.Size.class);
2559 public static final Key<Float> LENS_APERTURE =
2560 new Key<Float>("android.lens.aperture", float.class);
2589 public static final Key<Float> LENS_FILTER_DENSITY =
2590 new Key<Float>("android.lens.filterDensity", float.class);
2614 public static final Key<Float> LENS_FOCAL_LENGTH =
2615 new Key<Float>("android.lens.focalLength", float.class);
2633 public static final Key<Float> LENS_FOCUS_DISTANCE =
2634 new Key<Float>("android.lens.focusDistance", float.class);
2654 public static final Key<android.util.Pair<Float,Float>> LENS_FOCUS_RANGE =
2655 new Key<android.util.Pair<Float,Float>>("android.lens.focusRange", new TypeReference<android.util.Pair<Float,Float>>() {{ }});
2696 public static final Key<Integer> LENS_OPTICAL_STABILIZATION_MODE =
2697 new Key<Integer>("android.lens.opticalStabilizationMode", int.class);
2743 public static final Key<Integer> LENS_STATE =
2744 new Key<Integer>("android.lens.state", int.class);
2780 public static final Key<float[]> LENS_POSE_ROTATION =
2781 new Key<float[]>("android.lens.poseRotation", float[].class);
2817 public static final Key<float[]> LENS_POSE_TRANSLATION =
2818 new Key<float[]>("android.lens.poseTranslation", float[].class);
2880 public static final Key<float[]> LENS_INTRINSIC_CALIBRATION =
2881 new Key<float[]>("android.lens.intrinsicCalibration", float[].class);
2926 public static final Key<float[]> LENS_RADIAL_DISTORTION =
2927 new Key<float[]>("android.lens.radialDistortion", float[].class);
2966 public static final Key<float[]> LENS_DISTORTION =
2967 new Key<float[]>("android.lens.distortion", float[].class);
3021 public static final Key<Integer> NOISE_REDUCTION_MODE =
3022 new Key<Integer>("android.noiseReduction.mode", int.class);
3047 public static final Key<Boolean> QUIRKS_PARTIAL_RESULT =
3048 new Key<Boolean>("android.quirks.partialResult", boolean.class);
3065 public static final Key<Integer> REQUEST_FRAME_COUNT =
3066 new Key<Integer>("android.request.frameCount", int.class);
3078 public static final Key<Integer> REQUEST_ID =
3079 new Key<Integer>("android.request.id", int.class);
3096 public static final Key<Byte> REQUEST_PIPELINE_DEPTH =
3097 new Key<Byte>("android.request.pipelineDepth", byte.class);
3139 public static final Key<android.graphics.Rect> SCALER_CROP_REGION =
3140 new Key<android.graphics.Rect>("android.scaler.cropRegion", android.graphics.Rect.class);
3164 public static final Key<Long> SENSOR_EXPOSURE_TIME =
3165 new Key<Long>("android.sensor.exposureTime", long.class);
3245 public static final Key<Long> SENSOR_FRAME_DURATION =
3246 new Key<Long>("android.sensor.frameDuration", long.class);
3277 public static final Key<Integer> SENSOR_SENSITIVITY =
3278 new Key<Integer>("android.sensor.sensitivity", int.class);
3307 public static final Key<Long> SENSOR_TIMESTAMP =
3308 new Key<Long>("android.sensor.timestamp", long.class);
3322 public static final Key<Rational[]> SENSOR_NEUTRAL_COLOR_POINT =
3323 new Key<Rational[]>("android.sensor.neutralColorPoint", Rational[].class);
3349 public static final Key<android.util.Pair<Double,Double>[]> SENSOR_NOISE_PROFILE =
3350 new Key<android.util.Pair<Double,Double>[]>("android.sensor.noiseProfile", new TypeReference<android.util.Pair<Double,Double>[]>() {{ }});
3389 public static final Key<Float> SENSOR_GREEN_SPLIT =
3390 new Key<Float>("android.sensor.greenSplit", float.class);
3406 public static final Key<int[]> SENSOR_TEST_PATTERN_DATA =
3407 new Key<int[]>("android.sensor.testPatternData", int[].class);
3441 public static final Key<Integer> SENSOR_TEST_PATTERN_MODE =
3442 new Key<Integer>("android.sensor.testPatternMode", int.class);
3466 public static final Key<Long> SENSOR_ROLLING_SHUTTER_SKEW =
3467 new Key<Long>("android.sensor.rollingShutterSkew", long.class);
3506 public static final Key<float[]> SENSOR_DYNAMIC_BLACK_LEVEL =
3507 new Key<float[]>("android.sensor.dynamicBlackLevel", float[].class);
3529 public static final Key<Integer> SENSOR_DYNAMIC_WHITE_LEVEL =
3530 new Key<Integer>("android.sensor.dynamicWhiteLevel", int.class);
3582 public static final Key<Integer> SHADING_MODE =
3583 new Key<Integer>("android.shading.mode", int.class);
3607 public static final Key<Integer> STATISTICS_FACE_DETECT_MODE =
3608 new Key<Integer>("android.statistics.faceDetectMode", int.class);
3621 public static final Key<int[]> STATISTICS_FACE_IDS =
3622 new Key<int[]>("android.statistics.faceIds", int[].class);
3636 public static final Key<int[]> STATISTICS_FACE_LANDMARKS =
3637 new Key<int[]>("android.statistics.faceLandmarks", int[].class);
3651 public static final Key<android.graphics.Rect[]> STATISTICS_FACE_RECTANGLES =
3652 new Key<android.graphics.Rect[]>("android.statistics.faceRectangles", android.graphics.Rect[].class);
3665 public static final Key<byte[]> STATISTICS_FACE_SCORES =
3666 new Key<byte[]>("android.statistics.faceScores", byte[].class);
3678 public static final Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES =
3679 new Key<android.hardware.camera2.params.Face[]>("android.statistics.faces", android.hardware.camera2.params.Face[].class);
3744 public static final Key<android.hardware.camera2.params.LensShadingMap> STATISTICS_LENS_SHADING_CORRECTION_MAP =
3745 new Key<android.hardware.camera2.params.LensShadingMap>("android.statistics.lensShadingCorrectionMap", android.hardware.camera2.params.LensShadingMap.class);
3824 public static final Key<float[]> STATISTICS_LENS_SHADING_MAP =
3825 new Key<float[]>("android.statistics.lensShadingMap", float[].class);
3847 public static final Key<float[]> STATISTICS_PREDICTED_COLOR_GAINS =
3848 new Key<float[]>("android.statistics.predictedColorGains", float[].class);
3873 public static final Key<Rational[]> STATISTICS_PREDICTED_COLOR_TRANSFORM =
3874 new Key<Rational[]>("android.statistics.predictedColorTransform", Rational[].class);
3912 public static final Key<Integer> STATISTICS_SCENE_FLICKER =
3913 new Key<Integer>("android.statistics.sceneFlicker", int.class);
3927 public static final Key<Boolean> STATISTICS_HOT_PIXEL_MAP_MODE =
3928 new Key<Boolean>("android.statistics.hotPixelMapMode", boolean.class);
3948 public static final Key<android.graphics.Point[]> STATISTICS_HOT_PIXEL_MAP =
3949 new Key<android.graphics.Point[]>("android.statistics.hotPixelMap", android.graphics.Point[].class);
3976 public static final Key<Integer> STATISTICS_LENS_SHADING_MAP_MODE =
3977 new Key<Integer>("android.statistics.lensShadingMapMode", int.class);
3996 public static final Key<Integer> STATISTICS_OIS_DATA_MODE =
3997 new Key<Integer>("android.statistics.oisDataMode", int.class);
4009 public static final Key<long[]> STATISTICS_OIS_TIMESTAMPS =
4010 new Key<long[]>("android.statistics.oisTimestamps", long[].class);
4024 public static final Key<float[]> STATISTICS_OIS_X_SHIFTS =
4025 new Key<float[]>("android.statistics.oisXShifts", float[].class);
4039 public static final Key<float[]> STATISTICS_OIS_Y_SHIFTS =
4040 new Key<float[]>("android.statistics.oisYShifts", float[].class);
4056 public static final Key<android.hardware.camera2.params.OisSample[]> STATISTICS_OIS_SAMPLES =
4057 new Key<android.hardware.camera2.params.OisSample[]>("android.statistics.oisSamples", android.hardware.camera2.params.OisSample[].class);
4073 public static final Key<float[]> TONEMAP_CURVE_BLUE =
4074 new Key<float[]>("android.tonemap.curveBlue", float[].class);
4090 public static final Key<float[]> TONEMAP_CURVE_GREEN =
4091 new Key<float[]>("android.tonemap.curveGreen", float[].class);
4152 public static final Key<float[]> TONEMAP_CURVE_RED =
4153 new Key<float[]>("android.tonemap.curveRed", float[].class);
4214 public static final Key<android.hardware.camera2.params.TonemapCurve> TONEMAP_CURVE =
4215 new Key<android.hardware.camera2.params.TonemapCurve>("android.tonemap.curve", android.hardware.camera2.params.TonemapCurve.class);
4263 public static final Key<Integer> TONEMAP_MODE =
4264 new Key<Integer>("android.tonemap.mode", int.class);
4284 public static final Key<Float> TONEMAP_GAMMA =
4285 new Key<Float>("android.tonemap.gamma", float.class);
4309 public static final Key<Integer> TONEMAP_PRESET_CURVE =
4310 new Key<Integer>("android.tonemap.presetCurve", int.class);
4326 public static final Key<Boolean> LED_TRANSMIT =
4327 new Key<Boolean>("android.led.transmit", boolean.class);
4345 public static final Key<Boolean> BLACK_LEVEL_LOCK =
4346 new Key<Boolean>("android.blackLevel.lock", boolean.class);
4415 public static final Key<Long> SYNC_FRAME_NUMBER =
4416 new Key<Long>("android.sync.frameNumber", long.class);
4465 public static final Key<Float> REPROCESS_EFFECTIVE_EXPOSURE_FACTOR =
4466 new Key<Float>("android.reprocess.effectiveExposureFactor", float.class);
4508 public static final Key<Integer> DISTORTION_CORRECTION_MODE =
4509 new Key<Integer>("android.distortionCorrection.mode", int.class);