Revert "Fix active display npe on pressing the unlock ring on ad screen"

This reverts commit 112288155256d897a857dbd077cb871d4ccf7939.
Revert "Active Display: Sort notifications by newest to oldest."

This reverts commit e4e0ce18e72cbb5da44931f042dafa59b225ba00.
Revert "Active Display: add some synchronization."

This reverts commit 3a724d6d1a1a23bd64e491263bdbf778bd35fbc0.
Revert "fw: Active Display fixes and addons (squashed)"

This reverts commit 4476978955b5f451d99caa55e4926b23912cddce.
Revert "base: ActiveDisplay: fix for disappearing notification bar"

This reverts commit c1f6fa668b74dbe87f749243db94325631a2ebd1.
Revert "Active display: Ability to turn off the screen, when a not clearable notification is present"

This reverts commit aabb3ca47c6778c552425be777571caf0197f9d9.
Revert "[1/3] Base: Squashed commits for 4.4 active display"

This reverts commit 38e5da30a6f4b8c1ac210076162af36417e33f3d.

Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SystemUI/res/values/custom_dimens.xml
	packages/SystemUI/res/values/custom_styles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Frameworks: Lockscreen Blur

  If user selects "See through" under screen security,
  the locksceen background will now appear transparent
  with the content behind it blurred.

Modificaitons made to the orginal commit to support Hammerhead and Flo.
It seems full HD images causes rendering artifacts. To prevent this,
we scale the image size to something more manageable.

PS2: Reduce calls to System.Settngs
     Move bitmap scaling to DisplayPowerController
PS3: Fix styling
PS4: Fixes: 1. Black wallpaper after turning off see through
            2. Wallpaper flicker on unlock when blur is enabled
PS5: Ignore status bar and nav bar when capturing screenshots
PS6: 1. Remove content observer and unnecessary calls from viewManager
     2. Restructure the flow of setting the custom image
         * now closely follows setting album art as lockscreen image

Change-Id: Ie72bab697726af5e145bd0192980885ea7222ecd
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	services/java/com/android/server/power/DisplayPowerController.java
Fix lockscreen blur commit

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Ability to toggle immersive mode option in power menu

Signed-off-by: iceandfire <arhamjamal@gmail.com>