commit | e8b26e197f7c5e4acbdf8a5cd3f014fbc242c8ab | [log] [tgz] |
---|---|---|
author | Dave Sparks <davidsparks@android.com> | Tue Jul 14 10:35:40 2009 -0700 |
committer | Dave Sparks <davidsparks@android.com> | Fri Jul 17 17:24:07 2009 -0700 |
tree | a8568dfa985bab0097586e5905c162b3a5cb3871 | |
parent | c634fdd8035cc06c34663b77ab199d29697273b4 [diff] |
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.