Framework: Forward port Expanded desktop capability - CM

Originally authored by Jesús David and ported from
        ParanoidAndroid ICS branch

Change-Id: I9f8491883cdd5bd78cf4754d322e00c7bc5b9ca5

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/public.xml
	core/res/res/values/strings.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Option to show status bar in expanded desktop mode (2/2) - CM

    This commit allows the user to keep the status bar visible during expanded desktop mode.

    Patch-set 1: clarify variable names.

    Change-Id: Icb20971f8f86cb2ecf90f6226c1d5d18a60f5c84
    Signed-off-by: Michael A. Alcorn <airalcorn2@gmail.com>

    Conflicts:
    	core/java/android/provider/Settings.java
Liquid Kangs The Whole PIE (Credit Below) - LiquidRom

Original Authors (drcmda & D4rKn3sSyS)
Credit Goes To Paranoid Android For The Code
Originally Ported By (Bajee11) from Root-Box

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values-land/dimens.xml
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PanelBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
PIE: improved touchhandling, no emptyangle, better animations

Change-Id: I9812194e48c9dd0f743e4e7b39f785892db0a261
PIE: compressed layout, stubs, new defaults

Change-Id: I6572adef19ee608fd09dc9f56e1b80123ede2b3d

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/view/PieMenu.java
PIE: support for expandable notifications

Change-Id: I47721bf8693b5fde008c01cfc70201c43a80ae18
pie fix stupid fc when disabling quicksettings panel before enabling pie ..

hopefully this doesnt break anythign else in pie ...
Revert "pie fix stupid fc when disabling quicksettings panel before enabling pie .."

This reverts commit 848118909fcd6af2bf14daa7fac8541c78b0ded3.
PIE: clear all button

Change-Id: I6333521999d846a417a0f8a3bba62a72aa876dbd
PIE: header with time and date (+///) for both panels

Change-Id: I400a88ff40b075bd1054ac123efca2b4a087fa73
PIE: /// is ready for prime time

Change-Id: Ib494c229fc65c99daadf598e3e29003950d55e72
showAlways...
PIE: one finger swipe-up for notifications

Change-Id: Ie23bd852fc41827f0067202685e7a97c595c3ac8
Partial fix of Pie  stupid FC when tiles are disabled..

Not perfect but still much much better then what we had shout out to bmc08gt for the help ..

Only thing left to fix is : if you disable tiles then try to use Pie 's left chevron then it  will FC BUT ONLY ONCE (well ofc the tiles are disabled ...)
work around is simple .. re-enable tiles and disable them again, enjoy no everythign wokring perfect .

Before this :

Disabling tiles (quicksettings)  then enabling Pie = FC (non stop)
Enabling Pie Before disabling tiles everythgin is fine.. Until you reboot then non stop FC
Fix for navbar back/menu firing for longpress actions

Change-Id: I9661b8faa001e69b3a44c91d53f0e858031d08dd
Policy: fix keyguard statusbar showing while in ext desktop, fixes it in
apps like currents as well

Change-Id: Id3e4b99d60c33e4050e0e97c365d1ae739f603ec
PIE: slightly smaller as default

Change-Id: I69d4830c52c1116b5d44b5b73f3375d8a074c5da
PWM: disable HW overlays for PIE

SurfaceFlinger wont wake up the GPU in SysUI's fullscreen state,
probably because it does not occupy any tangible region. That sets poor
PIE into software rendering, which has bad effects on transparency and
mdp compositioning. Disabling HW overlays as long as PIE is active seems
like a good alternative for now.

Change-Id: Ie7ed720edc5bbdd0cfb79c34a22996cf15fcd79b

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

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
add tabUI to HW overlays

Change-Id: Ib352cb05c0dca1155b3d1c8fe3da4b16de898e44
PWM: check for expanded desktop on boot

Change-Id: I8f3883019b60138d8937bd85adc9231b0e18c595