ActivityManager: Memoize graphics acceleration check

Account for devices without hardware rendering support

Original commit message and code modified to be cleaner and clearer.

Patchset 2 & 3 : Whitespace cleanup

Patchset 4 : Meet guidelines here:
http://aokp.co/learn/aokp-code-style-guidelines

Change-Id: Ib400d85a261d9c5d0fd5770d6cda5f61832cba6b
camera: add power mode support

Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF,
branch ics_chocolate.

Change-Id: I8a60668b18980fd5e6f9dd341db5a8a63deb99d0
Camera: add ISO mode support

Change-Id: Ied2075f950269990d836fc768b2c6c36088d494f

Conflicts:
	core/java/android/hardware/Camera.java
Merge "ActivityManager: Memoize graphics acceleration check" into kitkat
Merge branch 'kitkat' of https://github.com/AOKP/frameworks_base into kitkat