Camera2: enable antibanding when dis is enable

banding will seriously impact DIS algorithm, so we need to
set anti-banding to auto when DIS is enabled.

Change-Id: I5ce9e907c68be803b35a929659fc1a9e0ac78642
CRs-fixed: 619074
Camera: cancel auto focus after snapshot done if in CAF mode.

When snapshot in CAF mode, CAF will be locked and update focus
status. Application needs call cancelAutoFocus() to resume CAF
after snapshot, otherwise CAF will keep in lock state.

Change-Id: I2aa3965e407d01efa9dd38b1cb840404390f29ce
Camera2: enable WNR in video mode

Enable WNR to reduce noise in 720P recording preview.

Change-Id: I74471446b5fba0216b292f8fca81bf6e09b5d997
CRs-Fixed: 669247
Camera: Decrease downsample factor for smaller resolution

After image capture, animation takes place with a downsampled
image (by factor 4). Due to downsampling smaller resolution
(QCIF and others) image size for animated thumbnail is going
below the allocated size and it appeared very small.

Fix: For image size of resolution CIF downwards, use downsampling
factor as 2 without affecting performance for other resolution.

Change-Id: I1098fc1a8f6fb880d5c36ebd2eaeec4415c75fe1
CRs-Fixed: 662891
Camera: Don't enable shutterdown for count down timer

For count down timer case, capture process should take place after
timer expiry. Otherwise flash is getting turned ON immediately after
pressing shutter button and then again during capture.

Fix made by not allowing to do anything related to capture process
except turning timer ON.

Change-Id: I843c88ccc9c03235dc6a2a7638221c778bfc6551
CRs-Fixed: 623445
Camera2: Remove CAF video duration code

Change-Id: I583e212f3c43a5ddf80fdb16557b3ddd9e3161c2
Merge branch 'cm-11.0' into kk_mkt