Fix and cleanup Expanded Desktop Mode

no need to call state and mode several times from provider settings.
Cleaned up.

Also fix for the ugly lockscreen gap on expanded desktop
mode 1 and 3

And fix that mode changes reflects directly to the screen if
expanded state = 1

cheers

Change-Id: I8cc0d936af270d72f2fb5c005a28c575576d894b

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Status bar Auto-Hide [1/2]

Add an option to auto-hide status bar when there are no
notifications.

PS 2 : Improved Logic

Change-Id: I9f9fdb443f6ed981c1941716491cef757b42f8ba

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: Ehance toggleNotificationShade feature

allows to toggle notification drawer in any situations
on fullscreen mode as well in expanded desktop mode
and on all other features we have
cheers

Change-Id: I56185f2c48700d9f2d69c02585810db4e95e2e32

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: toggleQSShade (1/2)

we have a notfication shade toggle....but we cannot toggle
directly the QS drawer via SlimPIE, navbar or hw keys.

This commit does:
- bind qs shade toggle to slimpie, navbar or hw key
- logic detects if you are already in the notification drawer
  and switches then between qs and notification area. If not
  it closes the notification drawer or qs panel depending
  which of both is open
- icon changed to the same icons which are used in the notification
  drawer to have a visual consistence
- as well like the notificationshade toggle it is toggleable
  in expanded desktop mode or on fullscreen apps
- bindable as usual on normal and longpress actions
- for tablets it is of course just opening and closing
  due they have seperat notfication drawer and qs

small demonstration:

https://dl.dropboxusercontent.com/u/106208842/qstoggle.mp4

Change-Id: I0766f837fdfc19da8d4d136cee3022d4484feec9

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/statusbar/IStatusBar.aidl
	core/java/com/android/internal/statusbar/IStatusBarService.aidl
	packages/SystemUI/res/drawable-hdpi/ic_sysbar_notifications.png
	packages/SystemUI/res/drawable-mdpi/ic_sysbar_notifications.png
	packages/SystemUI/res/drawable-xhdpi/ic_sysbar_notifications.png
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/PieController.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	services/java/com/android/server/StatusBarManagerService.java

TODO:
-Add TOGGLE_NOTIFICATION_AND_QS_SHADE option for Pie
-Add TOGGLE_QS_SHADE to AwesomeConstants maybe
-Clean up

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Hide QS Panel Toggle [1/2]
Patchset 2:
- rebase

Patchset 3
- correct hidden value call
- no need to call it in NotifPanelView also...call it from PhoneStatBar
- add controll on all places where needed to hide and prevend SystemUI FC
- disable hide function for tablet and largescreens
- change behaviour on the fly without systemUI restart
- some minor stuff

Patchset 4
- slim up the code

Patchset 5+6+7
fever could do sometimes strange things, last one I prommise

cheers

Lars

Change-Id: I079583060fe51015372bd6303aff474652914aea

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java