summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-09-06 18:08:16 -0700
committerEino-Ville Talvala <etalvala@google.com>2012-09-06 18:08:16 -0700
commit161fac83b369f4873859a101b6a71efeb596bd4a (patch)
tree4e0410a36956108aeb9941bf3b6f4eb43cd786c8 /services
parentd06ab147394b0b49679c924a51d77c91dea04d82 (diff)
downloadframeworks_av-161fac83b369f4873859a101b6a71efeb596bd4a.zip
frameworks_av-161fac83b369f4873859a101b6a71efeb596bd4a.tar.gz
frameworks_av-161fac83b369f4873859a101b6a71efeb596bd4a.tar.bz2
Camera2: Increase zoom steps.
10 is too low for smooth zoom; increase number to improve smoothness. Bug: 7120794 Change-Id: I178cd3890ef37beeff97cadb9e92ceab6d2cad06
Diffstat (limited to 'services')
-rw-r--r--services/camera/libcameraservice/camera2/Parameters.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/camera2/Parameters.h b/services/camera/libcameraservice/camera2/Parameters.h
index e71d086..509cc85 100644
--- a/services/camera/libcameraservice/camera2/Parameters.h
+++ b/services/camera/libcameraservice/camera2/Parameters.h
@@ -141,7 +141,7 @@ struct Parameters {
} state;
// Number of zoom steps to simulate
- static const unsigned int NUM_ZOOM_STEPS = 10;
+ static const unsigned int NUM_ZOOM_STEPS = 30;
// Full static camera info, object owned by someone else, such as
// Camera2Device.