Lockscreen: See through (1/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:

* Adding missing sem-colon.

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

Change-Id: I9057a6e302a5a824799844f27e8f64ff677a520a

PS3:

* Replace and remove undefined mContext.
* Define the boolean enableScreenRotation inside new method.
* Whitespaces clean up.

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

PS4:

* Restore mContext in setKeyguardParams().

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

PS5:

* Fixes for setKeyguardParams() and maybeCreateKeyguardLocked() methods, kitkat changed some things.

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

PS6:

* Missing sem-colon.

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

PS7: Fix all the things.

* Effects doesn't vanish after first unlock.
* Created condition in updateShowWallpaper() method that just return if see through is activated, he was restoring the wallpaper at second lock.

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

PS8: Cosmetic changes.

* Correct java style name to seeThrough() and place it above updateShowWallpaper().

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

PS9: Other cosmetic changes.

* Better name to the see through boolean.
* Removed a space nitpick.

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

PS10:

* We had two booleans for the same thing, ditch the one defined in one class only and take the global.

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

Change-Id: I06d952f85baf284961a24c8c9f90b29f4aef719a

Conflicts:

	core/java/android/provider/Settings.java
Lockscreen Blur (1/2)

Revert "Revert "Lockscreen Blur""

We want to keep this.
This reverts commit dc82b58247e4946acd8ae497a65fd79b0b61ebb9.

Change-Id: I125d911e9e868e2b568876882b252e3375d66e78

Revert "Revert: Lockscreen blur": fix derp

Change-Id: I1dde45b623d8ed13168e68c666d3e0c7fef293ce

Lockscreen Blur: fix old nav/status bar shining through on lockscreen

Fix lockscreen blur on xxhdpi devices (thanks @Curtis Mayers)

All credits to Curtis Mayers: https://gerrit.paranoidandroid.co/#/c/382/

Fix lockscreen blur not working on flo

Fix: Correct possible null pointer when enabling see through lockscreen

PS2: Remove unused variable

Change-Id: I28884cb18964b273539261b8c0f72cedf2e60666

Fix coverflow problem caused by lockscreen blur

KeyguardViewManager: use cached see through setting

When merging PA remote repo, please keep in mind not to use "isSeeThroughEnabled()" but "mSeeThrough".

Merge PA's lockscreen blur without loosing our configurability

Change-Id: Id400b797804bea0fd63bb4fe6135f0966e813a05

Conflicts:

	core/java/android/provider/Settings.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardServiceWrapper.java