fix possible NPE

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

Change-Id: Ibfb9ad375a9bdfc4e759f55934e759b69c448b49
Bug Fixes

 * HALO landscape orientation freeze
 * Animation clean up (remove number batch when clearing HALO)
Ping on unlock changes

 * Stop message flip animation on unlock
 * Prevent ping spam on unlock -
    - Ping ONLY if NEW notification received while device is locked/screen is off
      (If a notification pinged HALO once but was ignored, it will not ping again unless updated)
halo, bugfixes

1. fixed size for content
2. flip animations for tasking only
3. batch size calculations
4. not a bug but pinned and system both get the same icon for now

Change-Id: I755cd4e88c909ab8b982e014d470791661a0041e
Configurable up to user (LTE or 4G)

Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I6d15835d813933481c16d9853c8a22f92060d112
Launch floating notifications from notification panel (long click)
 * Status bar - long click on notification select 'floating mode' option
 * PIE - long click on notification, auto launches floating window
Lockscreen targets: more unification

Don't hardcode pixel sizes, and use a shared method to derive drawable
inset.

Change-Id: I2adf9230c5aa8efadddd713c435b37af24e23115
Treat default value that wasn't found as empty value.

Fixes http://code.google.com/p/android/issues/detail?id=33220

Change-Id: If22e8b245f688d922c168aa54c8acf743c0644d7
Signed-off-by: scott <scott@ubuntu.com>
Frameworks: Remove observer

thanks to Jens....remove PieLayout observer
completly

cheers

Change-Id: Icb722495b2d14c91b630f638f790dbcb14bbcef9
Frameworks: SlimPIE optimize optimize optimize

- stop listening on TelephonyManager if pie is disabled
- reuse already constructed SnapPoints
- pass trough mPieTriggerMask and mPieTriggerSlots
- a bit code cleanup

cheers

Change-Id: Ieef66e8cd7abe89cd419f2f368ef06f09d4e40b4
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Frameworks: Small correction snappoints

I like easier and nicer code beside that it
respects the reuse of snappoints better

thanks jens

cheers

Change-Id: Iff4a1c107700b79c93df5463d524ef6e159ff387
NavigationBar : Only inflate once

Thanks Danesh

Since the navbar now has updateResources(), there is no need to reinflate
it upon a theme change.

Change-Id: Ie4753a767a1cb45eb459ee692d16067f83cc7d23
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Frameworks: recreate on theme change SlimPIE as well

like the navigation bar commit let us reconstruct pie
on theme change as well

Change-Id: I36d596dc1677dbc0cc5fb8ed8ad725f717698285
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Framworks: missed some stuff

tested it with right change but submitted wrong one
sorry

Change-Id: Ia50672d038348b11a8083317b40b162770436ed0
The VM handles blocking SIGPIPE.

We don't need this any more.

Bug: 10211309
Change-Id: I8be0071d50296974e3861f8af9d2bae4f5678d5a
Tablet/phone statusbar style toggle 1/2

PS2: remove from phone sized displays. not quite enough room.
PS3: readd original code with inclusive or to prevent breakage in phones

Change-Id: I0e68654276c7771def1005dda74378eea10bca17
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
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
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Framewors: do not call every time setupTriggers

if pie is disabled

Change-Id: Iecfe5a074aa11a2f773ba176a51a4ccad121f1de
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
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