Add support Tinted System bar [1/2]

thanks to ChameleonOs and Thinking Bridge for the base code
also thanks to @MuhammadAG for Actionbar implementation (Xposed-Tinted-Status-Bar)

this allow statusbar an navigationbar background to follow color from Top and Bottom of application

see https://plus.google.com/107971916147063794392/posts/Eaqn5UAvKDt

as bonus, we can call blurbackground from here too :)

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/view/WindowManagerPolicy.java
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	core/res/res/values/custom_strings.xml
	core/res/res/values/symbols.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/SystemUI/src/com/android/systemui/BatteryCircleMeterView.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/BarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavbarEditor.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	policy/src/com/android/internal/policy/impl/SystemGesturesPointerEventListener.java
	services/java/com/android/server/StatusBarManagerService.java
	tools/layoutlib/bridge/src/android/view/IWindowManagerImpl.java

Change-Id: I40f533dd404a02e10a85fed78123c60ffd51f387
Tinted: fix build by commenting out navbar color change

Change-Id: I97280e52565859ef6c4824571d19bc4f47e89f97
Tinted: fix MIUI carrier color

Change-Id: I8bc47f7e4fc1f155d5083e936d08d6e9897f43ed
Tinted: Fix battery colors when tint is disabled

Change-Id: If9fb3e133a9f653cbe3a75eccf3fbb328fe0b98d
Allow to determine dominant color for notifications icon [Tinted Mod]

this also fix current color after screen off

Change-Id: I7af3210a67219cf6af85852a108081aa784681e9
Tinted: comment out navbar coloring again to fix build

Change-Id: Id77f3c810042eea5f289578fb76e8b791743b97b
Tinted: Battery color should work when statusbar isn't selected

Change-Id: I2ca8373e7a182c30dda349ff0114efc7508b0138
Update main navbar icons with proper material design - by Oliver Bien

PS2: make icons prettier
PS3: Autorship

Change-Id: I6a707c34d452bd292c38d53af4690ea51d93bf04
Tinted: Navbar color change fix

Change-Id: I9943122425fb0099f553f65abf6411627995ee7c
[1/2] Base: more addition for tinted system bar

add option to allow tinted color change window shade panel
improve tinted color logic code

Change-Id: I9e4ca93d9dec29c5351e09fce64bf6bf124aa1cc
Tinted: Speed up with compromise

Change-Id: I64776d4a9cb36a84a2637fab2a61a0eb4cd1862e
Merge remote-tracking branch 'ap/kitkat' into kitkat

Conflicts:
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_back.png
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_back_ime.png
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_back_land.png
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_home.png
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_home_land.png
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_recent.png
	packages/SystemUI/res/drawable-xxhdpi/ic_sysbar_recent_land.png
Call recording encoder/format choice 3/3

PS1: Adds a user option between WB AMR (the default) or
HE-AAC for the encoding of call recording audio.
Also changes the output format of the file appropriately
(WB AMR now uses the WB_AMR output format and HE_AAC chooses
the MPEG_4 output. File extensions are adjust accordingly as well).
This was in reponse to people complaining the quality of call
recording audio is poor. It's noticibly better using HE-AAC,
but filesizes are larger.

PS2: Removed Whitespace

Change-Id: Iffcdd3ba6f9aa80e238bbcc5db51809a4721711e
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Halo: Fix NPE FC after tint

Change-Id: I2fbb2bdfe0554d404416241c33669110b91694cf
Fix Themes FC and reboots

Change-Id: Ia20a139cdaa4900661328bafa550fee04fe1c4b8
Revert "Themes: Let ThemeService handle all theme processing [1/3]"

This reverts commit c3a4a04f98a8e8e7f89af8aae43545ce4f116466.

Change-Id: Iba2f119ad1aad01f6fd5b8a7a70f965608d2c747
Merge remote-tracking branch 'ap/kitkat' into kitkat