Camera: fix panorama preview on older devices

When PREVIEW_FBO_WIDTH_SCALE is set to 4, the preview FBO becomes
larger than older GPUs can handle. Detect it and reduce the value
to 2 like on pre-KitKat releases.

Change-Id: I20785d157bed48816820476d066ef9d4a9f73672
Camera2: Port additional camera resolutions from CM10.1

Additional changes by Andrew Dodd:
In addition, properly mark widescreen resolutions as widescreen

Device maintainers may need to fix some of the string references
if they had widescreen resolutions improperly not marked
as such.

Conflicts:
	res/values/arrays.xml

Change-Id: Icb90f8d38501bd0d551adce1752255ff4283bac0
Camera: Fix CameraRootView layout size on tablets

Use all available space when onscreen are not sync with camera controls (tablets)

Ported from: http://review.cyanogenmod.org/#/c/52464

Change-Id: I0e6a23d49213a69d93875f370ea0177e1011acdf
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Camera: don't display picture size unless supported

Otherwise the option will force close when selected

Change-Id: I2047c90ab08e7d7abcf11d817b5ddf106df2c732
camera2: follow new 4.4 UI guidelines

powershot button was still ICS blue...changed to white

Change-Id: Ic4c813de047a5bd84ed1bb3b124fa2b7d0ca064d
Fix Build Error

Change-Id: If376e37dd13b83191dd8ab07e20471e15dedc13d