History log of /packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c44b7c47dbb8f53a6401285c4ca9218326d21a7e 10-Mar-2015 Puneet Lall <puneetl@google.com> Reset existing AF scan upon tap-to-focus

* Interrupts existing, in-progress AF scans upon tap-to-focus
(triggerFocusAndMeterAtPoint).
* Removes pending delayed-af-resets upon subsequent tap-to-focus
to fix the case in which a user triggers AF twice within <3 seconds
which previously resulted in the AF mode returning to
continuous_picture shortly after the second AF scan.
* Removes dependencies on CameraUtil and static Settings3A
methods, and refactors FrameServerImpl to enable unit-testing.

Bug: 18935538
Change-Id: I0c2d5d92d2b07efdc11de8388e42b931d3ea89d0
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
0f56c13c06521f091a1222eeafbba5e4a6cf7b41 25-Sep-2014 Jiawen Chen <jiawen@google.com> Tweaked constants for Gcam.

Bug: 17629128
Bug: 17550818

- In HDR+ mode only, change tap-to-expose/focus rectangle to 12% of the
viewfinder - works much better and matches final output.
- Changed post-shot return-to-continuous-AF constant to 1 second (3 seconds was
too long).

Submit together with ag/554414.

Change-Id: I56afb19e4378dbfa25f38376b05293fdb3908d47
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
0971376b0ddf12c8aa886ad9109f6a8929095154 17-Sep-2014 Jiawen Chen <jiawen@google.com> Changed tap-to-meter rectangle and weights.

Bug: 17417649

- Clarified widths in Settings3A.
- For Gcam only, reduced AE box to 12.25% of the shorter edge of the crop
rectangle. This matches the setting on Nexus 5.
- For Gcam only, changed AE weight to 22 after consultations with Ryan.
- Tested with Gcam and it final shots look great in HDR scenes.
- Does not fully address b/17417649: ISP AE ignores the weight completely and
overcompensates for the tap region.
- Changed AutoFocusHelper to take touch points in normalized portrait
coordinates along with a sensor orientation. The output is a MeteringRectangle
in sensor pixels.
- Fixed a bug where a digital-zoomed tap doesn't work when the rect intersects
edges. It should have been clamp, not check for intersection and return the
full crop rectangle if it doesn't intersect.

- Submit simultaneously with ag/549706.

Change-Id: If084e64ecbfc4a08ece96a7cebfcaf835d92b9d1
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
527706e2957fe26f301d991d86d4359ab433408d 02-Sep-2014 Andy Huibers <andyhuibers@google.com> Remove android.hardware.camera2 import from Settings3A.

Bug: 17358060
Change-Id: I7e4442a4257acf9e4b58981be697949aba62a31f
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
b868274c9dc8d9c772ec89fb5955215cc7911087 28-Aug-2014 Andy Huibers <andyhuibers@google.com> Simplify AF in CaptureModule and OneCameraImpl and share code in AutoFocusHelper.

Bug: 17202848
Change-Id: I08e92c9701d5b92938612137c87ca37c4305411f
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
26b3334755ffccc039249005435d5cc598d0689e 20-Aug-2014 Andy Huibers <andyhuibers@google.com> Add zoom to CaptureModule and OneCamera.

Change-Id: Ia679d79a42e20e9033409939d0ca137ffcfbc75a
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java
03e17a62b43e58c8da5cd6ee23fd0809a82ee448 19-Aug-2014 Andy Huibers <andyhuibers@google.com> Start moving AF and 3A to separate class; improve logging.

Change-Id: Ib73415ffd5569fab8c2c3bf5ac0f35616d3ee697
/packages/apps/Camera2/src/com/android/camera/one/v2/AutoFocusHelper.java