HALO: new drawables for hdpi and mdpi

- scaled down the xhdpi drawables properly for hdpi and mdpi
- removed some old and unused halo pngs
Merge pull request #23 from tonyp/jellybean

HALO: new drawables for hdpi and mdpi
Lock screen: Hide initial pages hints feature (1/2)
-Port and adapt of hide hints for initial page AOKP's idea (Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>).
 Option stored in lock screen settings.
-Moved last brightness strings in brightness section and fixed some code alignment.
Fix incorrect fragment animation used for hiding fragments
Mirror of support lib patch
https://android-review.googlesource.com/#/c/60032/ into
frameworks/base.

AOSP Commit: https://android-review.googlesource.com/#/c/60167/
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)
Merge pull request #24 from tonyp/jellybean

HALO: Option to pause the underlying app (1/2)
NFC Polling Mode (3/3)
Signed-off-by: Jubakuba <Jubakuba@gmail.com>
Signed-off-by: sethyx <sethyx@gmail.com>
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.
NotificationManagerService: fix typo on led off time variable
Fixing crash in PhoneNumberUtils getNumberFromIntent

Handling intent with no data when trying to retrieve number from
intent.
Merge branch 'jellybean' of https://github.com/ParanoidAndroid/android_frameworks_base into jellybean
Update README.md
Check themes of current user, not user 0.
LayerActivity: Corrected lifecycle
Should contemplate the case that the activity gets stopped
Revert "Lock screen: Hide initial pages hints feature (1/2)"

This reverts commit 485ae801d669f1b09e55842e1bab0ece62f93165.
Fix little derp causing visual bug

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

Change-Id: Ice7ab62229e27db53ef51fd5df55dbcd0a86358b
Show as floating window on recent apps

This also removes "hybrid properties" from recents menu, it is fairly unneeded
now. This is a test, It's probable that it will be removed later

Change-Id: I3db3a996fa08367e3dfa4231079fe5e811e3b08a
Halo: Add master switch to disable Halo (1/2)
-Port master switch from @Der-Schubi.
-Fixed Halo not showed at first notifiction pulldown.
Don't bring home to the front if we're opening a floating activity
NotificationManagerService: Fix up notification LED behaviour
- This should fix the notification LED for Phone and Mms apps (that were
  not using the FLAG_FORCE_LED_SCREEN_OFF introduced by CM cause we use
  our google based ones). Is removed with this one.

maniac103:
- This change also makes the assignment of the LED when multiple pending
  notifications want to use the LED more clear: The notification with
  highest priority gets the LED. If multiple notifications with same
  priority exist, the most recent one gets the LED.