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) {
82 mKey = new CameraMetadataNative.Key<T>(name, type);
90 public Key(String name, TypeReference<T> typeReference) {
91 mKey = new CameraMetadataNative.Key<T>(name, typeReference);
126 return o instanceof Key && ((Key<T>)o).mKey.equals(mKey);
130 * Return this {@link Key} as a string representation.
132 * <p>{@code "CaptureResult.Key(%s)"}, where {@code %s} represents
135 * @return string representation of {@link Key}
140 return String.format("CaptureResult.Key(%s)", mKey.getName());
150 public CameraMetadataNative.Key<T> getNativeKey() {
155 /*package*/ Key(CameraMetadataNative.Key<?> nativeKey) {
156 mKey = (CameraMetadataNative.Key<T>) nativeKey;
237 public <T> T get(Key<T> key) {
239 if (VERBOSE) Log.v(TAG, "#get for Key = " + key.getName() + ", returned value = " + value);
249 protected <T> T getProtected(Key<?> key) {
259 protected Class<Key<?>> getKeyClass() {
260 Object thisClass = Key.class;
261 return (Class<Key<?>>)thisClass;
281 public List<Key<?>> getKeys() {
418 public static final Key<Integer> COLOR_CORRECTION_MODE =
419 new Key<Integer>("android.colorCorrection.mode", int.class);
445 public static final Key<android.hardware.camera2.params.ColorSpaceTransform> COLOR_CORRECTION_TRANSFORM =
446 new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.colorCorrection.transform", android.hardware.camera2.params.ColorSpaceTransform.class);
472 public static final Key<android.hardware.camera2.params.RggbChannelVector> COLOR_CORRECTION_GAINS =
473 new Key<android.hardware.camera2.params.RggbChannelVector>("android.colorCorrection.gains", android.hardware.camera2.params.RggbChannelVector.class);
504 public static final Key<Integer> COLOR_CORRECTION_ABERRATION_MODE =
505 new Key<Integer>("android.colorCorrection.aberrationMode", int.class);
560 public static final Key<Integer> CONTROL_AE_ANTIBANDING_MODE =
561 new Key<Integer>("android.control.aeAntibandingMode", int.class);
593 public static final Key<Integer> CONTROL_AE_EXPOSURE_COMPENSATION =
594 new Key<Integer>("android.control.aeExposureCompensation", int.class);
643 public static final Key<Boolean> CONTROL_AE_LOCK =
644 new Key<Boolean>("android.control.aeLock", boolean.class);
693 public static final Key<Integer> CONTROL_AE_MODE =
694 new Key<Integer>("android.control.aeMode", int.class);
733 public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AE_REGIONS =
734 new Key<android.hardware.camera2.params.MeteringRectangle[]>("android.control.aeRegions", android.hardware.camera2.params.MeteringRectangle[].class);
753 public static final Key<android.util.Range<Integer>> CONTROL_AE_TARGET_FPS_RANGE =
754 new Key<android.util.Range<Integer>>("android.control.aeTargetFpsRange", new TypeReference<android.util.Range<Integer>>() {{ }});
826 public static final Key<Integer> CONTROL_AE_PRECAPTURE_TRIGGER =
827 new Key<Integer>("android.control.aePrecaptureTrigger", int.class);
1069 public static final Key<Integer> CONTROL_AE_STATE =
1070 new Key<Integer>("android.control.aeState", int.class);
1110 public static final Key<Integer> CONTROL_AF_MODE =
1111 new Key<Integer>("android.control.afMode", int.class);
1150 public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AF_REGIONS =
1151 new Key<android.hardware.camera2.params.MeteringRectangle[]>("android.control.afRegions", android.hardware.camera2.params.MeteringRectangle[].class);
1187 public static final Key<Integer> CONTROL_AF_TRIGGER =
1188 new Key<Integer>("android.control.afTrigger", int.class);
1596 public static final Key<Integer> CONTROL_AF_STATE =
1597 new Key<Integer>("android.control.afState", int.class);
1626 public static final Key<Boolean> CONTROL_AWB_LOCK =
1627 new Key<Boolean>("android.control.awbLock", boolean.class);
1686 public static final Key<Integer> CONTROL_AWB_MODE =
1687 new Key<Integer>("android.control.awbMode", int.class);
1727 public static final Key<android.hardware.camera2.params.MeteringRectangle[]> CONTROL_AWB_REGIONS =
1728 new Key<android.hardware.camera2.params.MeteringRectangle[]>("android.control.awbRegions", android.hardware.camera2.params.MeteringRectangle[].class);
1764 public static final Key<Integer> CONTROL_CAPTURE_INTENT =
1765 new Key<Integer>("android.control.captureIntent", int.class);
1907 public static final Key<Integer> CONTROL_AWB_STATE =
1908 new Key<Integer>("android.control.awbState", int.class);
1946 public static final Key<Integer> CONTROL_EFFECT_MODE =
1947 new Key<Integer>("android.control.effectMode", int.class);
1986 public static final Key<Integer> CONTROL_MODE =
1987 new Key<Integer>("android.control.mode", int.class);
2053 public static final Key<Integer> CONTROL_SCENE_MODE =
2054 new Key<Integer>("android.control.sceneMode", int.class);
2086 public static final Key<Integer> CONTROL_VIDEO_STABILIZATION_MODE =
2087 new Key<Integer>("android.control.videoStabilizationMode", int.class);
2134 public static final Key<Integer> EDGE_MODE =
2135 new Key<Integer>("android.edge.mode", int.class);
2169 public static final Key<Integer> FLASH_MODE =
2170 new Key<Integer>("android.flash.mode", int.class);
2212 public static final Key<Integer> FLASH_STATE =
2213 new Key<Integer>("android.flash.state", int.class);
2236 public static final Key<Integer> HOT_PIXEL_MODE =
2237 new Key<Integer>("android.hotPixel.mode", int.class);
2248 public static final Key<android.location.Location> JPEG_GPS_LOCATION =
2249 new Key<android.location.Location>("android.jpeg.gpsLocation", android.location.Location.class);
2259 public static final Key<double[]> JPEG_GPS_COORDINATES =
2260 new Key<double[]>("android.jpeg.gpsCoordinates", double[].class);
2269 public static final Key<String> JPEG_GPS_PROCESSING_METHOD =
2270 new Key<String>("android.jpeg.gpsProcessingMethod", String.class);
2279 public static final Key<Long> JPEG_GPS_TIMESTAMP =
2280 new Key<Long>("android.jpeg.gpsTimestamp", long.class);
2320 public static final Key<Integer> JPEG_ORIENTATION =
2321 new Key<Integer>("android.jpeg.orientation", int.class);
2332 public static final Key<Byte> JPEG_QUALITY =
2333 new Key<Byte>("android.jpeg.quality", byte.class);
2343 public static final Key<Byte> JPEG_THUMBNAIL_QUALITY =
2344 new Key<Byte>("android.jpeg.thumbnailQuality", byte.class);
2378 public static final Key<android.util.Size> JPEG_THUMBNAIL_SIZE =
2379 new Key<android.util.Size>("android.jpeg.thumbnailSize", android.util.Size.class);
2415 public static final Key<Float> LENS_APERTURE =
2416 new Key<Float>("android.lens.aperture", float.class);
2445 public static final Key<Float> LENS_FILTER_DENSITY =
2446 new Key<Float>("android.lens.filterDensity", float.class);
2470 public static final Key<Float> LENS_FOCAL_LENGTH =
2471 new Key<Float>("android.lens.focalLength", float.class);
2489 public static final Key<Float> LENS_FOCUS_DISTANCE =
2490 new Key<Float>("android.lens.focusDistance", float.class);
2510 public static final Key<android.util.Pair<Float,Float>> LENS_FOCUS_RANGE =
2511 new Key<android.util.Pair<Float,Float>>("android.lens.focusRange", new TypeReference<android.util.Pair<Float,Float>>() {{ }});
2552 public static final Key<Integer> LENS_OPTICAL_STABILIZATION_MODE =
2553 new Key<Integer>("android.lens.opticalStabilizationMode", int.class);
2599 public static final Key<Integer> LENS_STATE =
2600 new Key<Integer>("android.lens.state", int.class);
2636 public static final Key<float[]> LENS_POSE_ROTATION =
2637 new Key<float[]>("android.lens.poseRotation", float[].class);
2676 public static final Key<float[]> LENS_POSE_TRANSLATION =
2677 new Key<float[]>("android.lens.poseTranslation", float[].class);
2739 public static final Key<float[]> LENS_INTRINSIC_CALIBRATION =
2740 new Key<float[]>("android.lens.intrinsicCalibration", float[].class);
2778 public static final Key<float[]> LENS_RADIAL_DISTORTION =
2779 new Key<float[]>("android.lens.radialDistortion", float[].class);
2833 public static final Key<Integer> NOISE_REDUCTION_MODE =
2834 new Key<Integer>("android.noiseReduction.mode", int.class);
2857 public static final Key<Boolean> QUIRKS_PARTIAL_RESULT =
2858 new Key<Boolean>("android.quirks.partialResult", boolean.class);
2873 public static final Key<Integer> REQUEST_FRAME_COUNT =
2874 new Key<Integer>("android.request.frameCount", int.class);
2886 public static final Key<Integer> REQUEST_ID =
2887 new Key<Integer>("android.request.id", int.class);
2904 public static final Key<Byte> REQUEST_PIPELINE_DEPTH =
2905 new Key<Byte>("android.request.pipelineDepth", byte.class);
2947 public static final Key<android.graphics.Rect> SCALER_CROP_REGION =
2948 new Key<android.graphics.Rect>("android.scaler.cropRegion", android.graphics.Rect.class);
2972 public static final Key<Long> SENSOR_EXPOSURE_TIME =
2973 new Key<Long>("android.sensor.exposureTime", long.class);
3064 public static final Key<Long> SENSOR_FRAME_DURATION =
3065 new Key<Long>("android.sensor.frameDuration", long.class);
3092 public static final Key<Integer> SENSOR_SENSITIVITY =
3093 new Key<Integer>("android.sensor.sensitivity", int.class);
3122 public static final Key<Long> SENSOR_TIMESTAMP =
3123 new Key<Long>("android.sensor.timestamp", long.class);
3137 public static final Key<Rational[]> SENSOR_NEUTRAL_COLOR_POINT =
3138 new Key<Rational[]>("android.sensor.neutralColorPoint", Rational[].class);
3164 public static final Key<android.util.Pair<Double,Double>[]> SENSOR_NOISE_PROFILE =
3165 new Key<android.util.Pair<Double,Double>[]>("android.sensor.noiseProfile", new TypeReference<android.util.Pair<Double,Double>[]>() {{ }});
3204 public static final Key<Float> SENSOR_GREEN_SPLIT =
3205 new Key<Float>("android.sensor.greenSplit", float.class);
3221 public static final Key<int[]> SENSOR_TEST_PATTERN_DATA =
3222 new Key<int[]>("android.sensor.testPatternData", int[].class);
3256 public static final Key<Integer> SENSOR_TEST_PATTERN_MODE =
3257 new Key<Integer>("android.sensor.testPatternMode", int.class);
3281 public static final Key<Long> SENSOR_ROLLING_SHUTTER_SKEW =
3282 new Key<Long>("android.sensor.rollingShutterSkew", long.class);
3334 public static final Key<Integer> SHADING_MODE =
3335 new Key<Integer>("android.shading.mode", int.class);
3359 public static final Key<Integer> STATISTICS_FACE_DETECT_MODE =
3360 new Key<Integer>("android.statistics.faceDetectMode", int.class);
3373 public static final Key<int[]> STATISTICS_FACE_IDS =
3374 new Key<int[]>("android.statistics.faceIds", int[].class);
3388 public static final Key<int[]> STATISTICS_FACE_LANDMARKS =
3389 new Key<int[]>("android.statistics.faceLandmarks", int[].class);
3403 public static final Key<android.graphics.Rect[]> STATISTICS_FACE_RECTANGLES =
3404 new Key<android.graphics.Rect[]>("android.statistics.faceRectangles", android.graphics.Rect[].class);
3417 public static final Key<byte[]> STATISTICS_FACE_SCORES =
3418 new Key<byte[]>("android.statistics.faceScores", byte[].class);
3430 public static final Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES =
3431 new Key<android.hardware.camera2.params.Face[]>("android.statistics.faces", android.hardware.camera2.params.Face[].class);
3484 public static final Key<android.hardware.camera2.params.LensShadingMap> STATISTICS_LENS_SHADING_CORRECTION_MAP =
3485 new Key<android.hardware.camera2.params.LensShadingMap>("android.statistics.lensShadingCorrectionMap", android.hardware.camera2.params.LensShadingMap.class);
3553 public static final Key<float[]> STATISTICS_LENS_SHADING_MAP =
3554 new Key<float[]>("android.statistics.lensShadingMap", float[].class);
3574 public static final Key<float[]> STATISTICS_PREDICTED_COLOR_GAINS =
3575 new Key<float[]>("android.statistics.predictedColorGains", float[].class);
3598 public static final Key<Rational[]> STATISTICS_PREDICTED_COLOR_TRANSFORM =
3599 new Key<Rational[]>("android.statistics.predictedColorTransform", Rational[].class);
3637 public static final Key<Integer> STATISTICS_SCENE_FLICKER =
3638 new Key<Integer>("android.statistics.sceneFlicker", int.class);
3652 public static final Key<Boolean> STATISTICS_HOT_PIXEL_MAP_MODE =
3653 new Key<Boolean>("android.statistics.hotPixelMapMode", boolean.class);
3673 public static final Key<android.graphics.Point[]> STATISTICS_HOT_PIXEL_MAP =
3674 new Key<android.graphics.Point[]>("android.statistics.hotPixelMap", android.graphics.Point[].class);
3701 public static final Key<Integer> STATISTICS_LENS_SHADING_MAP_MODE =
3702 new Key<Integer>("android.statistics.lensShadingMapMode", int.class);
3718 public static final Key<float[]> TONEMAP_CURVE_BLUE =
3719 new Key<float[]>("android.tonemap.curveBlue", float[].class);
3735 public static final Key<float[]> TONEMAP_CURVE_GREEN =
3736 new Key<float[]>("android.tonemap.curveGreen", float[].class);
3795 public static final Key<float[]> TONEMAP_CURVE_RED =
3796 new Key<float[]>("android.tonemap.curveRed", float[].class);
3855 public static final Key<android.hardware.camera2.params.TonemapCurve> TONEMAP_CURVE =
3856 new Key<android.hardware.camera2.params.TonemapCurve>("android.tonemap.curve", android.hardware.camera2.params.TonemapCurve.class);
3904 public static final Key<Integer> TONEMAP_MODE =
3905 new Key<Integer>("android.tonemap.mode", int.class);
3925 public static final Key<Float> TONEMAP_GAMMA =
3926 new Key<Float>("android.tonemap.gamma", float.class);
3950 public static final Key<Integer> TONEMAP_PRESET_CURVE =
3951 new Key<Integer>("android.tonemap.presetCurve", int.class);
3967 public static final Key<Boolean> LED_TRANSMIT =
3968 new Key<Boolean>("android.led.transmit", boolean.class);
3986 public static final Key<Boolean> BLACK_LEVEL_LOCK =
3987 new Key<Boolean>("android.blackLevel.lock", boolean.class);
4056 public static final Key<Long> SYNC_FRAME_NUMBER =
4057 new Key<Long>("android.sync.frameNumber", long.class);
4106 public static final Key<Float> REPROCESS_EFFECTIVE_EXPOSURE_FACTOR =
4107 new Key<Float>("android.reprocess.effectiveExposureFactor", float.class);