diff --git a/README.md b/README.md index c3150bdc..d5190846 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,8 @@ Using CameraView is extremely simple: app:cameraAutoFocusMarker="@string/cameraview_default_autofocus_marker" app:cameraUseDeviceOrientation="true|false" app:cameraFilter="@string/real_time_filter" + app:cameraPictureMetering="true|false" + app:cameraPictureSnapshotMetering="false|true" app:cameraExperimental="false|true"> diff --git a/cameraview/src/main/res/values/attrs.xml b/cameraview/src/main/res/values/attrs.xml index f7d0c143..f11dde3b 100644 --- a/cameraview/src/main/res/values/attrs.xml +++ b/cameraview/src/main/res/values/attrs.xml @@ -142,7 +142,6 @@ - diff --git a/docs/_posts/2018-12-20-capture-size.md b/docs/_posts/2018-12-20-capture-size.md index b4a76b34..abf63e14 100644 --- a/docs/_posts/2018-12-20-capture-size.md +++ b/docs/_posts/2018-12-20-capture-size.md @@ -4,7 +4,7 @@ title: "Capture Size" subtitle: "Set size of output media" description: "Set size of output media" category: docs -order: 8 +order: 9 date: 2018-12-20 22:07:22 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-controls.md b/docs/_posts/2018-12-20-controls.md index 6c75262a..535dc046 100644 --- a/docs/_posts/2018-12-20-controls.md +++ b/docs/_posts/2018-12-20-controls.md @@ -253,7 +253,7 @@ cameraView.addCameraListener(new CameraListener() { @UiThread public void onExposureCorrectionChanged(float newValue, @NonNull float[] bounds, @Nullable PointF[] fingers) { // newValue: the new correction value - // bounds: min and max bounds for newValue, as returned by {@link CameraOptions} + // bounds: min and max bounds for newValue, as returned by CameraOptions // fingers: finger positions that caused the event, null if not caused by touch } }); diff --git a/docs/_posts/2018-12-20-debugging.md b/docs/_posts/2018-12-20-debugging.md index 17382d00..0fa288bf 100644 --- a/docs/_posts/2018-12-20-debugging.md +++ b/docs/_posts/2018-12-20-debugging.md @@ -2,7 +2,7 @@ layout: page title: "Debugging" category: docs -order: 14 +order: 15 date: 2018-12-20 20:02:38 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-error-handling.md b/docs/_posts/2018-12-20-error-handling.md index 069e039e..b1a3fcc3 100644 --- a/docs/_posts/2018-12-20-error-handling.md +++ b/docs/_posts/2018-12-20-error-handling.md @@ -2,7 +2,7 @@ layout: page title: "Error Handling" category: docs -order: 13 +order: 14 date: 2018-12-20 20:02:31 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-frame-processing.md b/docs/_posts/2018-12-20-frame-processing.md index 1f1e463b..87d5714d 100644 --- a/docs/_posts/2018-12-20-frame-processing.md +++ b/docs/_posts/2018-12-20-frame-processing.md @@ -4,7 +4,7 @@ title: "Frame Processing" subtitle: "Process each frame in real time" description: "Process each frame in real time" category: docs -order: 5 +order: 6 date: 2018-12-20 20:45:42 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-gestures.md b/docs/_posts/2018-12-20-gestures.md index 6a510ba8..d790ec3c 100644 --- a/docs/_posts/2018-12-20-gestures.md +++ b/docs/_posts/2018-12-20-gestures.md @@ -4,7 +4,7 @@ title: "Gestures" subtitle: "Gestures control" description: "Gestures control" category: docs -order: 4 +order: 5 date: 2018-12-20 20:49:35 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-more-features.md b/docs/_posts/2018-12-20-more-features.md index 36cb9eed..0afff7aa 100644 --- a/docs/_posts/2018-12-20-more-features.md +++ b/docs/_posts/2018-12-20-more-features.md @@ -4,7 +4,7 @@ title: "More features" subtitle: "Undocumented features & more" description: "Undocumented features & more" category: docs -order: 15 +order: 16 date: 2018-12-20 20:41:20 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-preview-size.md b/docs/_posts/2018-12-20-preview-size.md index 5914b5c6..78a1ac4f 100644 --- a/docs/_posts/2018-12-20-preview-size.md +++ b/docs/_posts/2018-12-20-preview-size.md @@ -4,7 +4,7 @@ title: "Preview Size" subtitle: "Measuring behavior" description: "Measuring behavior" category: docs -order: 7 +order: 8 date: 2018-12-20 22:07:17 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-previews.md b/docs/_posts/2018-12-20-previews.md index 32c9a532..a2a53d2a 100644 --- a/docs/_posts/2018-12-20-previews.md +++ b/docs/_posts/2018-12-20-previews.md @@ -4,7 +4,7 @@ title: "Engine and Previews" subtitle: "Camera engine and preview implementations" description: "Camera engine and preview implementations" category: docs -order: 6 +order: 7 date: 2018-12-20 21:58:16 disqus: 1 --- diff --git a/docs/_posts/2018-12-20-runtime-permissions.md b/docs/_posts/2018-12-20-runtime-permissions.md index cd3d7934..1a44eb2e 100644 --- a/docs/_posts/2018-12-20-runtime-permissions.md +++ b/docs/_posts/2018-12-20-runtime-permissions.md @@ -4,7 +4,7 @@ title: "Runtime Permissions" subtitle: "Permissions and Manifest setup" description: "Permissions and Manifest setup" category: docs -order: 12 +order: 13 date: 2018-12-20 20:03:03 disqus: 1 --- diff --git a/docs/_posts/2019-02-24-snapshot-size.md b/docs/_posts/2019-02-24-snapshot-size.md index b6b326fd..c79ff2de 100644 --- a/docs/_posts/2019-02-24-snapshot-size.md +++ b/docs/_posts/2019-02-24-snapshot-size.md @@ -4,7 +4,7 @@ title: "Snapshot Size" subtitle: "Sizing the snapshots output" description: "Sizing the snapshots output" category: docs -order: 9 +order: 10 date: 2019-02-24 17:36:39 disqus: 1 --- diff --git a/docs/_posts/2019-07-14-watermarks-and-overlays.md b/docs/_posts/2019-07-14-watermarks-and-overlays.md index 527c46a2..22024ce6 100644 --- a/docs/_posts/2019-07-14-watermarks-and-overlays.md +++ b/docs/_posts/2019-07-14-watermarks-and-overlays.md @@ -4,7 +4,7 @@ title: "Watermarks and Overlays" subtitle: "Static and animated overlays" description: "Static and animated overlays" category: docs -order: 10 +order: 11 date: 2019-07-14 20:14:31 disqus: 1 --- diff --git a/docs/_posts/2019-08-06-filters.md b/docs/_posts/2019-08-06-filters.md index 56c80a85..46a07274 100644 --- a/docs/_posts/2019-08-06-filters.md +++ b/docs/_posts/2019-08-06-filters.md @@ -4,7 +4,7 @@ title: "Real-time Filters" subtitle: "Apply filters to preview and snapshots" description: "Apply filters to preview and snapshots" category: docs -order: 11 +order: 12 date: 2019-08-06 17:10:17 disqus: 1 --- diff --git a/docs/_posts/2019-09-04-metering.md b/docs/_posts/2019-09-04-metering.md new file mode 100644 index 00000000..f41cd422 --- /dev/null +++ b/docs/_posts/2019-09-04-metering.md @@ -0,0 +1,10 @@ +--- +layout: page +title: "Metering" +subtitle: "Exposure and metering controls" +description: "Exposure and metering controls" +category: docs +order: 4 +date: 2019-09-04 19:39:03 +disqus: 1 +---