From e8b26e197f7c5e4acbdf8a5cd3f014fbc242c8ab Mon Sep 17 00:00:00 2001 From: Dave Sparks Date: Tue, 14 Jul 2009 10:35:40 -0700 Subject: [PATCH] Add zoom and postview callbacks to Camera. This patch adds a zoom callback to the Java layer. If the hardware supports a smooth zoom function, this provides a way to update the UI as the zoom is moving from its original setting to the new commanded setting. This postview callback supports receive a processed image before the JPEG encode completes. This allows the display to be rotated without losing the final preview frame. --- api/current.xml | 55 ++++++++++++++++ core/java/android/hardware/Camera.java | 86 +++++++++++++++++++++++--- 2 files changed, 133 insertions(+), 8 deletions(-) diff --git a/api/current.xml b/api/current.xml index 1c1e1ba06a781..bb132129aabc2 100644 --- a/api/current.xml +++ b/api/current.xml @@ -65986,6 +65986,19 @@ + + + + + + + + + + + + + + + + + + + + + +