Revert "[1/4] Base: Smart Phone Call"

This reverts commit 095cb515f3086834487613c29fe05659bceac6e9.
Revert "Revert "Progressbar customizations squash""

This reverts commit b1696474437e7d53898b92807d02982545e95eb3.

Conflicts:
	core/java/android/widget/ProgressBar.java
Revert "Clear All button added in  Recent Panelview."

This reverts commit 57394cd263d599477d0495fe40c12c6df7bface1.

Conflicts:
	core/java/android/provider/Settings.java
Revert:Clear all recents
Revert "Unbreak RecentsPanel with translucent decors."

This reverts commit 4a96fe68ca940641011506192e40a4bf6cd26405.

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Revert "Recents: Always show translucent decor"

This reverts commit 91408187bf8cdf52ae6fbad888729a3d73a16a88.

Revert "Clear all recents button cleanUp"

This reverts commit c01ef254213f679f8b61b8f9d1330d5f63390626.

Revert "clear all recents button"

This reverts commit 138dba676fa6a54b3433365b0fc41a2dd11567cf.

Conflicts:
	packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	packages/SystemUI/res/layout/status_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Revert "navbar fix"

This reverts commit 4e9152af904605a92b33395fe07f8c925372f77f.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarTransitions.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
Revert "Properly null check all button usages."

This reverts commit d9f7f0e4f17d8c10d8ba691001a2eccda9f15ce3.
Revert "Revert "remove navigation bar customization""

This reverts commit 19b6983ab6baf85688c16b1324ab31916b9795e8.

Conflicts:
	packages/SystemUI/res/values/ras_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java
Recents: Clear all button for recent apps.

An icon will appear on navbar when there are apps available to be killed on recent apps.

Credits to @BigBrother1984 for kitkat porting from jellybean

Patchset 2: Tablet mode is deprecated now, so no need of multiple callbacks
Patchset 3: Remove copyright from unaffected files
Patchset 4: Remove unused imports

Change-Id: I93d1d4cb34325190b03ae3a0d40e1bc170c92d91

Conflicts:
	core/java/android/app/StatusBarManager.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Revert "Revert "[1/2] Reset custom user preferences""

This reverts commit f0d1b1fa5ef984161429aeb7fed206c151a83006.
pie fix
Revert "Navring last app toggle (1/2)"

This reverts commit 11325837ac43787061df2c1bbec03e432fdb0f1a.

Conflicts:
	core/java/com/android/internal/util/rascarlo/NavigationRingConstants.java
	core/java/com/android/internal/util/rascarlo/NavigationRingHelpers.java
	core/res/res/values/ras_symbols.xml
Revert "Toggle Last App: move toggle last app method to a separate class"

This reverts commit eeffe6d52ffb4c38aec79f29b810723509cefa2a.
Revert "Navigation Bar: Toggle last app on recents button long press"

This reverts commit 4a96adec5745aed6c3c7548bcc514542850d2e34.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
PIE 2.0

Pie is an alternative navigation and system info interface. It replaces the
standard navbar/statusbar with a navigation arc decorated with statusbar info.

Important notes for developers:
* When PIE is enabled apps don't even have to support immersive mode, they just have
  to check for configuration updates (sadly not even this is done by all apps).
  When PIE is disabled, apps have to setup an "onSystemUiVisibilityChangeListener"
  (best practice for PIE enabled, too).
* Changed how ActivityInfo handles apps capabilities like recalculate screen
  size etc. Check code comment(s).

Some info:
* Quicksettings and notification panels are not available anymore, google now
  replace swipe up gesture.
* Switched to kitkat colors.
* General improvement to the code, reorganize classes.
* Cleanup a lot and remove useless code.
* Merge with immersive mode, they live in a homogenized state.
* Improve immersive code a bit.
* Upon first activation, toggling immersive tile, the user is presented with a dialog asking
  to enable or disable the feature. The preference can be resetted in "Backup & restore" in settings.
* Reduce and center its trigger area.
* While pie is triggered screen is keept on.
* Depending on immersive mode, will show full or lite pie.
* New circled snap points.
* Detach pie on every rotation and/or when screen goes off while you have it triggered.
* What else, what some slices?

Key contributors:
@BigBrother1984
@D4rKn3sSyS
@Anu6is
@David96
@drcmda

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Signed-off-by: Jesus David <jesdga95@gmail.com>
Signed-off-by: Curtis Mayers <curtis.mayers@gmail.com>
Signed-off-by: David L.-W. <david.leppla.weber@gmail.com>
Signed-off-by: Paul Henschel <drcmda@gmail.com>
Change-Id: I6d09b1e2124d14e6cec48b40ea0c7948ebbb02b3

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values-es/pa_strings.xml
	packages/SystemUI/res/values/ras_strings.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/ras_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
Long press recents to switch to last app

Change-Id: I8c52a7b40d4229d523bccc1c9246673b82f5b48b
Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java