PEEK: Beautify bridging layers code

* Save new instances for Peek and PowerManager:
    Create it only in BaseStatusBar when start() method is called. That one
    will be passed throught the sub layers such like new helper class so another
    feature can check Peek state invocking from NotificationHelper class.
* Move phone listener to new helper class.
* Do not show Peek on sim pin lock screen.
* Process new incoming notifications only if screen is off, keep updating notification array separately.
* General cleanup.

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

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Long press clear all recents to flush cache

Change-Id: I361257b392a5172cda8ff9d8c2aa319a9abab0a5
Quick Settings: Option to use floating window (1/2)

Allows the option of launching preferences from the quicksettings menu in a
floating window

Change-Id: Ie54545a4dc423484b6106a540f106467c25d8c49
Signed-off-by: Evan Anderson <evan1124@gmail.com>
base: quicksettings: allow flip animation on clicking a tile (1/2)

ported from https://github.com/BeerGang/android_frameworks_base/commit/ba144b2defd209c2c020366316c65b288bf68880

Change-Id: Ic5e3b6c1eee902fd59c1d54ac6c5efb8cffad4ba

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
	packages/SystemUI/src/com/android/systemui/quicksettings/QuietHoursTile.java
base: Fix derp

Change-Id: I79e0e44738ad1b32b5f30f2f1223e20711c9b3e4

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Fix crash when clicking a file from recents or downloads

Change-Id: I6e1693d1d9f433b6baf25d3033245a56817ec16a
Add touch feedback to the clear all recents button

5 minutes of Photoshop™.

Change-Id: Idf8c97cf08a192605208cbee6f2ae41e0798e8d1

Conflicts:
	packages/SystemUI/res/layout-land/status_bar_recent_panel.xml
	packages/SystemUI/res/layout/status_bar_recent_panel.xml
App sidebar (1/2)

Change-Id: I2bf386f85c0b5bd7dfb35be115dcb62671ce2907
App sidebar: floating window

long click to launch app in floating window

Change-Id: I9b5df1cceb2314ee0f8727136c007c481346a264
App sidebar: some adjustments
- Cleanup
- fix disappearing appbar on changing appbar position
- may fix endless FC on changing appbar contents

Change-Id: I2e94290dc128447f0da8937eb5dc0ed10296a155

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
App sidebar: notify if app is not installed

better than force close

Change-Id: I9eebe1a3a4be2dad16ed9a8cff9c0694900d833d
[Base] Disbale LN by default

Change-Id: I9f0054dbcd5a7ba4f7b6b6ec903fbdfd86df17a8
Frameworks: Inaccurate proximity switch (2/2)

Change-Id: I890cc81e548f63c9bd75eaa7e309d15836d13944
Fix QS Layout

Change-Id: I93c647e3a6b4028cfad75a46670f301380f173b0
Update clear all drawables

Signed-off-by: Andre Saddler <dresadd09691@gmail.com>
Change-Id: I8ee251b5e2144b2fd62f26cb29a0721d6b3bb72b
Frameworks/base: Second Clock (1/2)

https://github.com/Dokdo-Project/platform_frameworks_base/commit/6ab5d6299295246c34a46ffd3f5fe83cdc191cd0#diff-1fa71c270d063a48f921f0760d10c7f3R122

PS2: Fu Whitespace
PS3: small Issue

Change-Id: Ie04942ae1bb1649d18db51086b46666b56ef1ea0
Add new drawables for download pause/resume

PS2:Whitespace

Change-Id: I9fb3b725fcac5f8fbc2f4316aca9188c5fda0814
SystemUI: prevent NPE on clear recents double press

Pressing Clear all button twice fast or while the list
is clearing but not yet fully cleared causes sysui to crash due to
mRecentTaskDescriptions being null: (http://pastebin.com/2gRFvf8k)

Workaround it by hiding clear all recents button.

Change-Id: I23d10edfd336041739fe80352ee01987e671dbd7
PB: enable MirrorMode and Reversed if activated
immersive mode: don't unconfirm a package, that's just dumb

* This is very annoying for specialized apps
* See here for a great explanation http://stackoverflow.com/a/20309721
* The fact that it doesn't even notify the user until the NEXT time they
  run it makes it completely pointless in my opinion anyway.

Change-Id: I423611efc07d467e1d81c66d58adcff331be8b38