Add native java screen recorder [1/2] (WIP)

This is based on the screenrecorder binary found in frameworks/av.
It has been converted to a native library with the necessary jni
hooks for interfacing withit via a ScreenRecorder java class.

Volume up + power chord is used to start and stop recording by
binding to the service found in the ScreenRecorder app:
https://github.com/ChameleonOS/android_packages_apps_ScreenRecorder

PS1:
Clean up white space.

PS2:
Fix naming convention for state field.

PS3:
Rebase

PS4:
Post mScreenRecordTimeout with 1000 millisecond delay instead
of 10000.

PS5:
Send record screen broadcast instead of using the service
directly.

PS6:
SCREEN_RECORDER_FRAMERATE should be SCREEN_RECORDER_BITRATE

Carbon PS2:
remove vendor_strings, merge cm_strings.xml.
Carbon PS3:
Fixup, duplicate removal
Carbon PS4:
More fixup, missing variables
Carbon PS5:
Gah, more missing things...
Carbon PS6:
Let's try this over...
Carbon PS7:
I spose another change required this update
Carbon PS8:
Fix derp in Settings.java
Carbon PS9:
Fixup, merge conflicts

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf

Conflicts:

	core/res/res/values/vendor_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/cr_strings.xml

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf

Conflicts:

	core/java/android/provider/Settings.java

Change-Id: I5b7af9b4b4f24a8c54ac0f9dcb36ace16672e2cf
Screen recorder: add ability to record audio from mic [1/2]

Change-Id: I2422a3c651e469bc9ffeb6b101f43e145dc5de85

Conflicts:

	core/java/android/provider/Settings.java

Change-Id: I2422a3c651e469bc9ffeb6b101f43e145dc5de85
add Settings.System boolean helper methods

Change-Id: I749d15a7c6956d938698f16ebde185b114f7f15a
Add global action for screen recording. [1/2]

PS4:
Send record screen broadcast instead of using the service
directly.

Change-Id: Ie6d4655b074992075df0060d23c758f2af06387e
Signed-off-by: hany <hany.alsamman@gmail.com>
Gesture Anywhere: Add gesture anywhere feature into the ChaOS Lab [1/2]

When enabled a user can activate the gesture anywhere view by touching
the designated trigger area.  If a gesture is recognized as one the user
has created and assigned to an action, that action will be performed.
Since this is part of the system UI and implemented as an overlay, it
will be available and usable system wide, with the exception of the
keyguard for obvious reasons.

Change-Id: Ic47abb7531cecbdd33d344b9a32402f6ffed7163
Signed-off-by: hany <hany.alsamman@gmail.com>
Gesture Anywhere: Adjust position on orientation change.

Also added hiding home, recent and search from navbar when
showing the GestureAnywhere view.

Change-Id: I1dd13f38af265d6966441f2cd99b78ea9b3d4d90
Gesture anywhere: Collapse if expanded when screen turns off.

Change-Id: I85c749182dab9e478d7337b3556c362eaa7dd74d