framework: Custom lock screen background [1/2]

Patch Set 1:    * port the custom lock screen feature from
                  ics (http://review.cyanogenmod.org/#/c/16915)

                * thanks to Danny Baumann, who reworked the
                  framework part to work after Jelly Bean 4.2
                  lockscreen changes

Patch Set 2-3:  * remove obsolete files

Patch Set 4-7:  * revert XML changes

Patch Set 8,9:  * rebased

Patch Set 10:   * fix minor code style

Change-Id: I800506a9f9e001f659ee29b8b2dbe3464e5198f9
Lockscreen wallpaper setting

Change-Id: I649ad798642813aec91f696dd8887bd4d6e2b47d
SystemUI: awful hack until Google fixes MDP

History:
Google adds tripple buffering in 4.1 - works splendid
Google merges changes in qcoms HAL in 4.2.2 that will trash the
composition engine in fullscreen mode

Change-Id: I6bfbac30e6b04c027d404f8026a9533681bcd4e7
Bug #14 disable pie on lockscreen

Change-Id: I4647aade6292cf49e5372e52d2ecff3bfe4b51f6
Some style fixes
Moar style fixes
Only disable pie on lockscreen if lockscreen is secure

allows users to acess notifications and quick tiles from the lockscreen
and still be secure. following aosp behavior

Change-Id: I8addbc958ec4e3211f9916b3428d3e3486b1c5a3
Merge branch 'jellybean' of github.com:ParanoidAndroid/android_frameworks_base into jellybean
Remove opaque check in GLRenderer when preparing dirty region.

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new process. This prevents
garbage to be present from the previous process in the color buffer.

CRs-Fixed: 391492, 403067, 405916

Change-Id: I1f72a3dee2f5d58a984f4cd367c9f7bf08ab9d6a

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

[PATCH] Remove opaque check in preparing dirty region

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new rocess. This prevents
garbage to be present from the previous process in the color buffer.

(cherry picked from commit 2b5e584e2615852b68a69bb529c6926190246b64)

Change-Id: I92a4fa35e0746f12fcd736e21fd30d9c4b644a8a
CRs-Fixed: 391492, 403067, 405916

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

Enable scissor when preparing dirty rect that is opaque

Now enabling scissor before setting it in the opaque case, previously was not doing so.

Change-Id: I1ea904cf01603096e423556090564291ab712d36
CRs-Fixed: 465346
Depends-on: 278453
Merge branch 'jellybean' of https://github.com/ParanoidAndroid/android_frameworks_base into jb-4.2