HALO: new drawables for hdpi and mdpi

- scaled down the xhdpi drawables properly for hdpi and mdpi
- removed some old and unused halo pngs
PIE: slight style change

Change-Id: I95c77a72d712a55fca38e259649eba7930fd15f5

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/Halo.java
	packages/SystemUI/src/com/android/systemui/statusbar/view/PieMenu.java
This avoid a conflict in PieMenu.java with bb merging
Pie: remove unused variable
KeygaurdSelectorView: Unregister reciever in onPause

Also check if we already have a reciever instance before
creating a new instance

Patch Set 2: Refactor field reciever to mUnlockReciever
           : Add null check to Context#unregisterReciever
Patch Set 3: Add null check to Vibrator#vibrate(int);
Change-Id: Ie9b03b20da29d05a64293ef6b7931393c34796a2
[2/2] Permit home button wake to be configurable

Change-Id: Ie52247d5c23c8f840ababc880dd41992049cefd1
HALO: Option to pause the underlying app (1/2)

- adds an option to pause the active app when using HALO
- this is enabled by default for devices with low memory
- (currently: <640MB RAM available to the kernel)

Conflicts:
	core/java/android/provider/Settings.java
Fix Lockscreen FC/reboot

PS2: register receiver in onResume()

Change-Id: If475f0750bbc408e727eb0d3cf532c936ad418e8
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Update NavRingHelpers for RC
Revert "PIE: slight style change"

This reverts commit d03dfa24e451a0277cebe6ff2e1b8c84638cbb2a.
Reworked transparent layer
When a halo'ed window is opened, the transparent layer will be always visible. It will manage the background dim.
This fixes some apps dimming its sandboxed processes (like chrome).

LayerActivity manages its own lifecycle. When it's focused after paused it finishes itself.

System processes (identified by "android" pkg in SystemUI and system uid in Activity) don't use the layer and still use their own background. This
has been kept this way to not interfere with their activity.
Frameworks: GlowPad Torch (NavRing)

Secure/Insecure can both use this one.

PS2: Derp
PS3: Swapping to ints for ONE setting
PS5: GlowPadTorchHelper
PS6: Don't initate if FaceUnlock Active
     (Camera in use)
PS7: Rebase
PS?: More CleanUP

Change-Id: Ic5df8ff74c52350fbad25a64671322fbd4f9a0f5
Framework: Collapse Shade TogglePref

Change-Id: I2fddec83602b284266631bdff722aa93a2d10c30
NavRing: Longpress Logic

Again, this matches shortpress logic.
    (And now matches longpress logic
    since this was merged on Lockscreen)

Vibrates on Longpress...
    Remove finger to launch.

Change-Id: Ia7f8bb2580643930511fd12764f4a41873ef64d2
LayerActivity: Corrected lifecycle
Should contemplate the case that the activity gets stopped
Fix little derp causing visual bug

To reproduce, disable halo, and press "clear all notifications" button

Change-Id: Ice7ab62229e27db53ef51fd5df55dbcd0a86358b
FW: Fix games FC

This reverts commit e8e0ac5fc9702a63638d2e3dd3ea9b913d89ce62.
Merge branch 'jb-mr1' of git://github.com/Root-Box/frameworks_base into RootBox

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java