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
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

Conflicts:
	src/com/android/camera/PhotoModule.java
Camera2: enable WNR in video mode

Enable WNR to reduce noise in 720P recording preview.

Change-Id: I74471446b5fba0216b292f8fca81bf6e09b5d997
CRs-Fixed: 669247
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