Lockscreen: See through (2/2)

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

Signed-off-by: D4rKn3sSyS <jesdga95@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Indenting and fix of the LOCKSCREEN_SEE_THROUGH variable check.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS3:

* Add see through checkbox to security_settings_chooser.xml, reflects the security_settings_lockscreen.xml.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS4:

* Made the option available with every lock mode (PIN, Password etc.) cause it works with every mode now.
* Update description with better one.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Make description more like aosp strings.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: Ife993ffe0833be98fe582146fc071f339445bbc5
[2/2] OmniGears: Lockscreen blur enhancements

Adds an option to set blur intensity

Base: https://gerrit.omnirom.org/#/c/5705/

Change-Id: Ife0941c00ebf1cbfc5804a059d337cf4e8528666
Custom lockscreen wallpaper [2/2]

Based on commit of ParanoidAndroid on android 4.3

Lockscreen wallpaper: show error if cropping not supported

Custom wallpaper: use PNG

Conflicts:
	res/values/pa_strings.xml
	res/xml/additional_settings.xml
	src/com/android/settings/AOSPAL/AdditionalSettings.java
	src/com/android/settings/SecuritySettings.java
LockScreen: allow long-press actions from hardware keys (2/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10
Change-Id: I36ea5eb7e93d68de872536dc6d7e93f99ba1621f

Keyguard: Fix for home wake/unlock
sometimes device is waking and unlocking during the same keypress.
Change-Id: I72ea7611d39aac0cd03dfd5aa7036aeef7600140

Use sticky broadcast to convey torch state (1/2).
It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Also unify the torch constants (actions, extras, activity names) at a
common place.
Change-Id: If845bef27cc79990794aa748dce18cfea3bac1f5

Fix Home/Menu/Back keys' unlock
Change-Id: Ibd3842b6ad8e037a2a9f8eb581e7c55900017b0f

LockScreen: allow hardware key longpress to put device to sleep
Change-Id: I54260e21c462bcabd9b6383e22f44d644630b4d3

settings: Deprecate has_led_flash, move to framework.
 * We need this to configure default tiles in SystemUI so move it.
 * Leave the old one in place so we don't kill every device.
Change-Id: I883f9595f74ab52c8c8152e0105400aaefff4afe

LockScreen: allow hardware key longpress to put device to sleep

Change-Id: I251e72cda94f88de3715d818ba62e796e3b2ccd0

Conflicts:
	AndroidManifest.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/xml/lockscreen_interface_settings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Lockscreen Notifications: add back dynamic width as an option (2/2)

Conflicts:
	src/com/android/settings/liquid/LockscreenNotifications.java
	res/values/crom_strings.xml
Disable lock screen notifications dymanic width by default
Settings: check if NfcAdapter is null

according to the javadoc, getDefaultAdapter(Context) can return null, if
no NFC adapter exists.

check if adapter is null before trying to call isEnabled

Change-Id: I7ff5488cc3b53ce9785c3e46effcf29dc31fe0ef

Conflicts:
	src/com/android/settings/Settings.java
[2/2] settings: Add Haptic Feedback to quicktiles

Change-Id: Ie0c2f12bda44967d063a2042926c7ab23e113750

Conflicts:
	res/xml/notification_drawer.xml
DERP
make LinearColorBar themeable

Move colors to resources and use them instead.

PS2: Fix typo

AICP'fied.

Change-Id: I923e5daa219f302dc24e62faab666483109e6620
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	res/values/colors_custom.xml
Lockscreen: Notifications: Fix for devices without proximity sensor

*also fix some dependencies