camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac
Frameworks: Port hardware key rebinding
squahsed commit 0f cherry picks from
Cyanogenmod:
   Framework: Forward port Long press back to kill app db3817d
   Hardware key custom rebinding (1/2) b055725
   Framework: Bring Long press back kill app toast back 08641ec
SlimRoms:
   More options added to hardware key rebinding (1/2) 22bd763
   Fix issue with hardware keys KEY ACTION comparisons. 4812ee5
   Framework: Add Home/Back buttons available for rebinding (1/2) 5f20d08

removed code for hardware key expanded desktop actions
removed code for hardware key notification shade toggle
[1/2] Power connect/disconnect notification support

part 1/2: frameworks/base PowerUI and Settings
http://review.cyanogenmod.org/#/c/35241/

part 2/2: packages/apps/Settings Sound settings
http://review.cyanogenmod.org/#/c/35242/

patchset 3:
    shrink a couple of long lines
    remove power_notifications_use_default option (folded into ringtone option)
    load default settings in global instead of system

patchset 5:
    support vibrate toggle
    ignore first power state change (on boot) if it's a DISCONNECT

patchset 6:
    fix ignore first power state change

patchset 7:
    change vibrate to default to off
    simplify first power state change ignore logic

Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068

Conflicts:
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java
CRT screen off animation user defined (1/2)

Signed-off-by: kecinzer <kecinzer@gmail.com>

Frameworks: ElectronBeam get some love (1/2) - SlimBean

https://github.com/IceColdJelly42/frameworks_base/commit/33dac546610431031a260642f0dd51fedc36863a

This commit removes the CRT On animation because it is just
not nice implemented from AOSP and not really needed. If ppl
turn on the screen they want to see fast their content. But still
CRT animation needed some love. So this commit introduces another
SlimBean mode. Crt animation mode:

Features:
- Crt Off animation controll (on/off like it was before)
- You can select different crt off animation modes
- always horizontal (stock behaviour)
- always vertical (screen collapse from left and right to the middle)
- orientation dependent (means portrait = horizontal animation, landscape = vertical animation)

cheers

Change-Id: I0d5531791a306cc32c467610d37c8f56b0f67a96

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/ElectronBeam.java
add the methods getBoolean and putBoolean
unbreak Settings.java