Add All Camera Resolutions

Change-Id: I2c1af0db81700e0eeaf95f5d97a7ad3f6a475890
Camera: Restart preview when changing preview resolution

On Cameras that has widescreen photo support, it is necessary to
restart the preview whenever the preview resolution is changed.
The Video Camera code already does this when switching from 480p
and 720p.

Change-Id: I639bfa1f12bb7af828088cc83b6d0a2b2ae80e28
load the correct jni library for panorama

Change-Id: I04d077fbeb500e705b0408c6575470b0d416628c
Make LegacyCamera seamlessly compile into Gallery2 like the normal Camera

     This is a combination of 6 commits.
    lets get back to AOSP pristine state to become sane

    went back the AOSP jb-release state because there was a whole lot of mess wi

    Signed-off-by: Arnav Gupta <championswimmer@gmail.com>

    Changed LegacyCamera to wrap into Gallery2

    Signed-off-by: Arnav Gupta <championswimmer@gmail.com>

    Changed LegacyCamera to wrap into Gallery2

    Don't need these anymore

    fix merge

    Signed-off-by: Arnav Gupta <championswimmer@gmail.com>

    CameraLegacy: add support for all camera resolutions

    Signed-off-by: Jerpelea <jerpelea@gmail.com>

cherry-pick: commit 42137995be9f65035799c47ad115be6435b1720c
Signed-off-by: Andrew Sutherland <dr3wsuth3rland@gmail.com>
Change-Id: I97d3c5bce32ec2e3c1826cfe661284f2123f24c7