QuickSettings : Register/unregister cast tile one time

Don't do these operations every time the parent is visible/invisible,
it causes jank.

Repro:

Turn on wifi on a network w/ chromecast
Swipe down quick settings panel really fast

Change-Id: I3dfcd3610abe96e1bfdab06ef3b876ccf5140ceb
SystemUI: PL Translation

Credit goes to @xenu for this.

Change-Id: If7d3b12a5895c2527a1d2fb1385a3085427a47ce
SystemUI FR Translation: fix some translations.

Change-Id: Ifafa20431e996723202c94a35b6661972c7ffe66
Core FR Translation: fix some translations.

Removed some English words. French is better.

Change-Id: I3ee22806473de779f978a4d258612efe1f0a8ac3
Merge "QuickSettings : Register/unregister cast tile one time" into kk4.4
Merge "Core FR Translation: fix some translations." into kk4.4
Merge "SystemUI FR Translation: fix some translations." into kk4.4
Core PL Translations

Change-Id: I05396c3d71455e7dd1e2340e4a1a4581801f2399
FB: Volume panel background color && transparency [2/2]

Allow user to specify background color and transparency level
    for volume panel.

PS: color now applies instantaneously after setting the preference.
Change-Id: I23a09d302fe090fe4aed6dd9024c73056d14fba1
Lockscreen Notifications [1/2]

My try on making notifications easily accessable from lockscreen.
Credits to ChameleonOS, I got the notification listener permission and some small other stuff from their ActiveDisplay implementation.

Lockscreen Notifications allow you to manage all your notifications directly on the lockscreen.

Features:
- Pocket mode turn screen on when phone is pulled out of pocket and turn it off when phone gets back in pocket
- Hide low priority notifications
- Hide non-clearable notifications
- Allow dismissing even non-clearable notifications from lockscreen
- Just turn screen on when there's currently a notification pending
- Toggle between expanded and normal notification view by longpressing
- Wake on new notification
- Configure notification count displayed at once
- Privacy Mode: Hide notifications content on secure lockscreen.
- Blacklist apps - thanks to ChameleonOS for the original implementation and @Der-Schubi for bringing it to lockscreen notifications
- Show all/dismiss all button, does not dismiss on going notifications, they must be swiped away

Overlay setting:
dynamic width is disabled by default, to enable it for a specific device, add
<bool name="config_lnDynamicWidth">true</bool>
to yourdevicetree/overlay/frameworks/base/packages/Keyguard/res/values/config.xml

PS3: Disabled by default
PS4: Removed many whitespaces

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

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
	packages/SystemUI/res/layout-sw600dp/navigation_bar.xml
	packages/SystemUI/res/layout/navigation_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

Change-Id: Ife8cbe1ef86691c391de061964bf4d14be03a59f
FB: Slimrecents card/text color [2/2]

Allows user to set custom colors for Slimrecents card
    header text and background.

NOTE:
I'm still working on the expanded card (thumbnail) background.
Currently, this only applies background to the non-expanded card.

Change-Id: I896a4db4ce235dc53858381347379d5fd7f7e796
Merge commit 'refs/changes/89/12089/6' of https://gerrit.slimroms.net/SlimRoms/frameworks_base into kk4.4

Conflicts:
	core/java/android/provider/Settings.java
	packages/Keyguard/src/com/android/keyguard/NotificationViewManager.java
	services/java/com/android/server/NotificationManagerService.java

Change-Id: I0c827638025b154559e51e40d88b1aec940aeefb
Merge commit 'refs/changes/48/13048/13' of https://gerrit.slimroms.net/SlimRoms/frameworks_base into kk4.4

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I69c67ce9f50809b94b57ace95299024587fb4763