Fix immersive mode recents animation.

Inspired on this https://github.com/CyanogenMod/android_frameworks_base/commit/be9c31709e2b90bc85ef1814b22df1785515d23d

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Quicksettings 3.1

Minor post update.

* Update Recents animation with new immersive modes. Continue this https://github.com/AOSPA/android_frameworks_base/commit/48be6b18bbf2d676da75eb031ee76b282635713a
* Sleep Tile
  Cleanup code.
  Add new holoish drawable.
  Long press now opens power menu (pure emulation of power button). Thanks to @cristianomatos
* Immersive
  Back on our first concept of having the tile dualized and change it:
  - Front: Toggles Global On/Off.
  - Back: Toggles modes (Full/Nav only/Status only).
  The tile now stores last immersive state, thanks @David96 for the idea.
  Fixed a critical bug with status bar hidden only, thanks to @David96.
* Rssi Tile
  Restore long press action to data usage on front rssi tile
  Fix icon overlay, restore blank overlay on disable and while wifi is on.
* Code indenting and cleanup.
* Restore a previous fix that relays on immersive.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Conflicts:
	core/java/android/view/WindowManagerPolicy.java
	services/java/com/android/server/wm/WindowManagerService.java
WindowManagerService: Fix application transitions in immersive mode.

Change-Id: If7d3fc3ab566dedc3a5b38cd0a6dc3185f494e20
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Quicksettings: Hardcode quick pulldown from right status bar side.

* Still works 2-fingers pull down.
* Quick pull available in the up-right 20% of status bar.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
[1/2] Frameworks: Add in-the-spot user preference dialog

This is a new way to setup your device, more intuitively, without diving into a sea of a hundred of menus
The basic idea is taken from TouchWiz roms (here: http://goo.gl/W40rF6)
Also create a helper class for implementing this easier all around the ROM and implement it for first time on Quick Pull down

Drawables by Arz Bhatia

PS2: Code style fixes

Change-Id: I95695a8cbbfea7740b6417ff9ba9ef84e0b7cdd7

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values-es/pa_strings.xml
	core/res/res/values/pa_strings.xml
	core/res/res/values/pa_symbols.xml
	packages/SystemUI/res/values-es/pa_strings.xml
	packages/SystemUI/res/values/pa_strings.xml
[1/2] Base: Clock tweaks

PS5: changed to slim as base for commit:
- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- color
- Date format
- Date style

PS6:
- Fixed build
- Removed color options because we don't have it for any other
statusbar objects.

PS7:
- fixed clock on lockscreen after reboot
- fixed clock transition
- cleanup

OmniGears: https://gerrit.omnirom.org/#/c/4939/

Change-Id: I9129067775d65119d27085f93efb798a7124ae2c

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarTransitions.java
Clock Tweaks: Color Options