fix possible NPE

mTopFullscreenOpaqueWindowState is on certain conditions null
and will throw an NPE....check for it to prevend it

Change-Id: Ibfb9ad375a9bdfc4e759f55934e759b69c448b49
Frameworks: activate PIE on Lockscreen

completly activate it now if navbar is disabled, expanded desktop or
whatever. The bottom trigger can be used on Lockscreen
if the user want (left and right does not make sense due the wigets.
If navigationbar hints are disabled it show instead
the home button the tinny circle which opens search/gnow. Longpress
action is the same like the one which was bind to the homebutton

slight adjust of default values trigger height and overall size

as well colorize and set alpha  on navbar for the tinny keyguard circle
like the other navbar buttons to be consistent

Change-Id: Ia721d02ae44ef0f9886224414c2932f5c24c0de6
Framworks: clean up trigger code

+ small fix

how to reproduce the bug
activate hide trigger on ime.....open ime...pull down notification drawer
close it again.....pie trigger left and right do not change back again

Change-Id: Ibbc1ba8731046b7214f8019f77491c9d2da776b8
Framewors: do not call every time setupTriggers

if pie is disabled

Change-Id: Iecfe5a074aa11a2f773ba176a51a4ccad121f1de
Fix: lockscreen bottom trigger on expanded desktop mode

did not show up in expanded mode before. Only on navigation bar disabled
or 0 values

Change-Id: I8a7215438b7205575bfeea99778c6203da47d82f
another cleanup

why complicated when it is easy. I will stop for today lol
just a small code cleanup

cheers

Change-Id: I3a17555fcc613c1466578758446f62b8aba0561f
Frameworks: remove always transparency mode navbar/statusbar 2/2

problem is that the transparency on most app totally break due
that a lot apps do not draw behind navbar and statusbar. Nearly
all user never use always mode and just use it on launcher
and lockcreen. So let us remove it
as well a bit cleanup

Change-Id: Ia5ee97f99102aa2b3833a33eb93b5e428a80b867
Frameworks: simplify custom lockscreen background code

- remove observer for transparency and handle it better
- add multisuser handles
- smaller fixes and code cleanup
- simpfliy custom background handling and change to our needs (thanks Danish)

Change-Id: Idf0bbb7bf9e132a3a68d567e3863cce1b6d99742
Merge "Frameworks: remove always transparency mode navbar/statusbar 2/2" into jb4.3
Frameworks: use a layer drawable for the keyguard

in preperation to the new navbar and statusbar transparency
managment which will come it is more consistent on custom image
and color fill on lockcreen to use a layerdrawable to add the
shadow on top of the image to keep on transparency of the background
the shadow like it is suggested by google

Change-Id: I22df7652b8be42cab1c9d1f0a13797da40a75dd9
PA's hybrid engine

Change-Id: I1aef85f92c67019045d0fd3322a0b529168d9d9f

Conflicts:

	core/java/android/content/res/AssetManager.java
	core/java/android/content/res/Resources.java
	core/res/res/layout/status_bar_latest_event_ticker_large_icon.xml
	graphics/java/android/graphics/Bitmap.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	preloaded-classes
fix build error
UI change w/o reboot and navbar height

Change-Id: I017c1ccb1d4c87fb166f1e744a36690a2150468f

Conflicts:

	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Navbar height fix

Change-Id: I1fc9f1af7ed4aedee0929f8e8be1ddde71698ae6

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Be sure to get default dpi

Change-Id: Ia9cb33b81827af7e46670f76db7e34aac78602cf
Get proper values

Change-Id: I406c5ff046bc766ad8145b5cbc4bd9af92c3a681

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	core/java/android/util/ExtendedPropertiesUtils.java
fix build error
Add resetScreenHelper when changing hybrid

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	core/res/res/drawable-hdpi/ic_lockscreen_handle_normal.png
	core/res/res/drawable-xhdpi/ic_lockscreen_handle_normal.png

Change-Id: I7ad44fae665ffc58430c3d36baa020742cab62ec
fix notification panel going off screen
fix home key

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I1bc7910553c6e0e9fa5b5ce3b0442d09e4b9bb39