camera: Touch focus support for camcorder

Author: Steve Kondik <shade@chemlab.org>
Date:   Wed Aug 28 14:21:49 2013 +0800

    camera: Touch focus support for camcorder

     * Available when video snapshots are not supported.
     * Original from CodeAurora Forum.

    Change-Id: I232c178430db08e7366aa9f91b4926d07e7c225d

Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date:   Sat Apr 19 02:33:46 2014 +0530

    Camera2: Prevent autofocus when video snapshot is in progress

    During video recording if screen is tapped repeatedly, autofocus is
    started while the snapshot is taken. This would either result in an
    out of focus snapshot which would also disturb the focus in the recorded
    video or crash the sensors that can't handle autofocus during snapshot.

    Change-Id: If2763094f5ab7536e4409469276de54580e803c8

Author: Dheeraj CVR <cvr.dheeraj@gmail.com>
Date:   Mon Jun 23 22:00:07 2014 +0530

    Camera2: Prevent propogating CancelAutoFocus during Video Recording

    When AutoFocus is started during Video Recording, CancelAutoFocus
    is called after KEY_FOCUS_TIME seconds. CancelAutoFocus has the
    side effect of resetting the sensor AF position and will result in
    instant loss of focus which is not a desired event when AF is
    manually triggered in case of Video Recording.

    Change-Id: Icee7f6dfd4ad083c9b383ee2a4df6a34e4668de6

Author: lion0738 <lion0738@naver.com>
Date:   Sun Jan 10 16:55:01 2016 +0900

    Snap: Set parameters before starting preview

    Old parameters are used when grabbing focus mode.
    Camera parameters should be set to FocusOverlayManager before starting preview.

    Change-Id: I908559e1c2003be47b486996b0ec016b78107468

Change-Id: I8be16315ccede388e590e81e93f0dd417ae51c4a
4 files changed