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
InputDevices: CA translations

Change-Id: Ide9e03fb72e8f4684267afbc7bac920e5e9e4503
PieService: fix possible race condition.

onPieActivation declared as a oneway function (call to it will not
block code execution). If client calls back to gainTouchFocus or
restoreListenerState very quickly then race condtiion happens
and mActive might be false in gainTouchFocus/restoreListenerState.

Set mActive before calling onPieActivation to avoid race condition and
drop the flag if exception happens.

Change-Id: Ied12b7dcbdc1bae2ba0c9fd4e5fa04169e8b2d22
Fix PhoneWindowManager animationFinished callback.

Change-Id: I86863a44e3e710aa5ea6ad433a42a3fad3bccac1
Merge "Fix PhoneWindowManager animationFinished callback." into cm-10.2
SystemUI: IT Translation

Change-Id: I77bddd80011ff9af132095cbb07768068263deb3
SystemUI: EL translations

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I9fe8ca062ad34633eeb6429837057beed2d0c0cb
PackageManager: Limit the platform-key protection to test-keys builds

This block (change I7390b3bdf5289411f7a335c69635bed9f74bbfb3) is intended
to protect the system from abuse of well-known keys. That's not the case
if the system is signed with dev or release keys.

Change-Id: Ifb66f775dd28c577447634ae177442732a18b592
Merge "PackageManager: Limit the platform-key protection to test-keys builds" into cm-10.2
Merge "SystemUI: EL translations" into cm-10.2
Merge "SystemUI: IT Translation" into cm-10.2
Merge "InputDevices: CA translations" into cm-10.2
Merge "Re-implement orientation aware volume buttons at lower level" into cm-10.2
Changed USB page icon from Android to Cid

Change-Id: I57386c2d555723adad99cafe8ae6d2e8f6fe8cbd
Set QS panel opening to outer 15% of statusbar

Prevent accidental opening of QS panel in stead of notification bar

Change-Id: Ibe5f6504333af2ce124be1efbd463fb56a51c2dd
framework: add RAM Bar to Recents

Updated version with improvements in calculations and translation

Conflicts:

	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: I1a310f797632f45f7d46b596f250241753bc3b66
SystemUI: Option to display Quick Settings when there are no ongoing notificaions

Added member function hasClearableNotifications to class
PhoneStatusBar. This function returns true when clearable
notifications are present on the status bar. Also, onTouchEvent in
NotificaionPanelView now flips to Quick Settings if there are no
ongoing notifications, and the QS_QUICK_PULLDOWN is set accordingly.

Change-Id: Ia77f90b19c7b408b7fc9376b6914e3173b734655
Add FastCharge toggle and powerwidget button

Originates from SLIM
Some improvements by fishears

Change-Id: I585aafacba766fd0a8b2a86e265a2357c358d415
Double the pie detection time

Change-Id: I3f7cb6e1113226e07defdba5bece05f22c2dd71d
Missed Call Breath (2/3)

Credits: @Kroz for the icons and idea!

This will give your Missed Call notifications a breathing effect in the statusbar instead of an static icon.

Change-Id: I8e93a7b99c6e361372fba63a6080cd8283b95046