Camera : Ignore keyevents when in gallery

When in gallery view, ignore any keyevents.

http://goo.gl/9FEGw

Change-Id: I6d412327d603f204435302c1955b4dcd3bc942fc
Camera : Fix Ignore keyevents

Call super's onKeyUp/onKeyDown instead.

Change-Id: I054a58f1d0758edafdd4505d41401f3f8f53dda0
Increase the aspect ratio tolerance

If the only widescreen preview size supported by camera is 848x480,
for 2592x1456 wide pictures, the tolerance has to be increased to
0.014 to get the desired wide preview match.
(848/480 = 1.7666; 2592/1456 = 1.7802)

just merged this ics commit:
http://review.cyanogenmod.com/#/c/16788/

this fixes preview ratio on htc saga

Change-Id: I7ac9702cc48368c1408f2650342f5be63a547e45
Fix Power Shutter
Reset Camera to Defaults Crashes Camera App

Change-Id: Id11bf1bff2757b417fee33479deae37d4ed21ad8
Cherry-pick: http://review.cyanogenmod.org/#/c/20108/1

Conflicts:
	src/com/android/camera/CameraSettings.java
    Camera: Fix reset crash in Chinaese or Japanese.

            The key 'pref_camera_power_shutter_default' should not localizate, if localizated it will cannot find value
        in mPreference of InLineSettingKnob.updateView, it will throw NullPointerException.

Change-Id: I68b6eb5b18a802eadf9d375e8d5c6ad7438463cb
Camera: Remove untranslatable string in locale HR

Change-Id: Iab1ef73e97cc2dfdec27152184ded4d93ca21f30
Camera: Allow setting "profile-video-size" before recording starts

In Samsung Galaxy TAB 10.1 (p4, p4wifi, p4tmo, p4vzw) in HD (720p)
recording dicoloration happens on top third off all video recordings
due to the preview size not set correctly. This fixes it that the
correct preview size is set so that no discoloration happens.

-backport from:
 https://github.com/CyanogenMod/android_packages_apps_Camera/commit/607c04bf65ad12bdf5eec3e4ba964f59cac710ff

Change-Id: I0802630e2cf11d2bf6344b0b958b64045012124c
Fix PowerShutter Derp
Remove "Restore Settings" Entry
Fix another PowerShutter Derp
Remove init of burst mode (we do that in layout already)