Fix for the low processes kept bug

memoryInfo was not initialise properly

Change-Id: I3b1f1fac92a59a0a18b63625b66d33dc24b17086
(cherry picked from commit 7bc1c0ded002fbd23408107cacafbec23953faaa)
Re-implement orientation aware volume buttons at lower level

Rework of http://review.cyanogenmod.org/31979

Fixes:
1. inconsistent volume button behaviour depending on app in use
   - the buttons not swapped for some NDK/OPENSL ES apps like
   e.g. MX Player
2. the function of volume buttons on external input devices like BT/USB
   keyboards should not be affected by the main unit orientation

This commit finishes http://review.cyanogenmod.org/18273 - use of system
property has been replaced with config push via JNI as suggested during
the original review.

Patch Set 2: Circumvent the need for "keyboard.orientationAware = 1" idc
Patch Set 3: Don't leak implementation details outside InputReader

Change-Id: I19cc60cb0acb0005ab13fa069f52e3d468d694e7
(cherry picked from commit ddb969a09112675347a9c236aef4dc350c7f1115)
Hello touch sound

Change-Id: I6c66e5c9d46dac6f58e72d327952d41bc6a5d4ef
(cherry picked from commit 77afee4c8d9aa56dde6fcc495d7b3623db3a2c92)
Active display: Don't show active display if call state is not idle

[log]

This will prevent active display from displaying when a call is
coming in and let the call screen show up instead of active display.

Change-Id: I2cb79e097ae24dc6ad6c8a33be88eb19f7d8d235
(cherry picked from commit 1418c4c911c133c097493799f67167afaefd1337)
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
(cherry picked from commit 3d0e48ea46e07a4a669ec1c75bf9f207c928b559)
ChaosLab: Add annotation to be used when adding new features to the lab.

This should be used when adding completely new features to ChameleonOS,
and not for simple things that expand upon a current feature.

Change-Id: I37d7250424967d41ecfb885120627f5397b2f804
(cherry picked from commit 7cf03d7247c3640614b5afc8fa90746c7d47cf09)