Settings: Port hardware key rebinding
 squahsed commit of cherry picks from:

Cyanogenmod:
   Settings: Forward port Hardware key custom rebinding (2/2) 607bdae

SlimRoms:
   Settings: More options added to hardware key rebinding (2/2) f0e133f
   Settings: Add Home/Back buttons available for rebinding (2/2) 6588501

removed code for hardware key expanded desktop actions
removed code for hardware key notification shade toggle
remove HardwareKeys preference for devices with navbar

Change-Id: I7ded311ac16812acc7e3a1ee5222d0fb0f24eecc
[2/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:
    set settings persistence and dependencies in xml resource file
    shrink long lines
    add the default notification tone to the ringtone picker and
        remove the now redundant "use default" checkbox
    move values/strings.xml content to the cyanogenmod section
    improve (mostly delete) wording in values/strings.xml
    remove tab whitespace

patchset 5:
    move strings to cm_strings

patchset 6:
    make vibrate optional (default on)
    change heading text: power notifications -> power sounds

patchset 7:
    hide vibrate option if hw capability doesn't exist

patchset 8:
    change vibrate to default to off

Conflicts:
	res/values/cm_strings.xml
	res/xml/sound_settings.xml
	src/com/android/settings/SoundSettings.java

Patchset 2:
    fix preference catagory key

Change-Id: I7ddd8a47ae4f9a62c586023d151ac42bbe8424c7

Conflicts:
	res/values/gummy_strings.xml
	res/xml/gummy_interface_settings.xml
CRT screen off animation user defined (2/2)

Patch-set 2: Fixed java whitespaces

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

Settings: ElectronBeam get some love (2/2) - Port from SlimBean

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

Conflicts:
	res/values-cs/strings.xml
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/prefs_ui.xml
	src/com/aokp/romcontrol/fragments/UserInterface.java

patchset 2:
    seperate preferences into seperate catagory, restore power sound catagory

Change-Id: I0d5531791a306cc32c467610d37c8f56b0f67a96

Conflicts:
	res/values/gummy_arrays.xml
	res/values/gummy_strings.xml
	res/xml/gummy_interface_settings.xml