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
	services/java/com/android/server/am/ActivityStack.java

Change-Id: I09c90d615b1b2954293214d5e6107e2e2caab803

Conflicts:

	core/java/android/provider/Settings.java
Mix HALO fixes
White Halo Toggle
HALO Changes

- Blacklisted apps don't show in HALO while scrolling
  * Blacklisted icons are visible in status bar but are skipped
    when scrolling through HALO

- Added count for total number of unique notifications in HALO
  * Total count is visible when HALO is idle / disappears while hidden or tasking
  * Total count ignores pinned apps, blacklisted apps and persistent notifications

- Added new icons for pinned apps and persistent notifications

- Set a standard distance between message markers for HALO
  * Notification markers no longer spread out on larger screens
  * Distance between markers will be reduced if necessary to accomodate multiple notifications

- Notification dismissal sync
  * When a notifcation is launched via HALO, it is cleared immediately from the bubble
    the next most recently received notification takes it place in HALO
  * If a notification is cleared via the notification shade, either from the status bar or the PIE menu,
    the notification is automatically removed form HALO

- HALO will ping on screen unlock ONLY if active notificaitons exist, under the followng conditions
  * Status bar is hidden and HALO is hidden (Expanded Desktop Mode/Hide HALO after activity)
  * Protected lock screen is enabled - The android notification ticker does not "tick" when
    using a protected lock screen HALO usually does not update while the phone is locked

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
ScreenShot QuickTrash

Conflicts:

	core/res/res/values/symbols.xml
Remove HALO table support
HALO bugfixes

- couple of problems with concurrent threads
- green batch only for nap
- italics gone
- mdpi and & hdpi icons
- statusbar-icon gaps
- flipping batch when content changes
- batch fadeout without flip
- code style

Change-Id: Idfb145eb8e220bf224dd3d0e235e3647dcc82ed9
HALO persistent notifications less pronounced + fixes

Change-Id: Ib485468303dfd7ca7fea17d7c755a3ee4e075940
Fix hardware home key behavior on wake-up

Change-Id: Ib489e4b8bb1d10591afc96c680c7865d61c959a0
--- HALO 2.0 ---

1. Shows the actual notifications as they come
2. Multitouch, you can interact with notifications while tasking
3. Tons of bugfixes

show actual notification in halo

Change-Id: I29f73c2714e3854f1d885c56baaef5552be2ff91

halo multitouch, interactive notifications

Change-Id: I710fddb53688923babcb1307c05cfb0f01995855

...

Change-Id: I8bcf92df9fd5591d775083fa8e666b7d04378227

calc coords properly, margins fixed

Change-Id: Ic3b107f80cd07ff50567d0591fabbad0c0b546f7

halo

new content pngs
up and down pointed thingies
margins
content size/max width
...

Change-Id: I681fbefe27a87c08774291fc9a58cdafaff4d28f

last bugfixes

Change-Id: I5b4648f6d526f637b9bed1147f3f7be08486c4a0

copyright

Change-Id: Iad42c452c948739235b7b5823b91403b134ca1cc

Conflicts:

	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java

Conflicts:
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fix build

Change-Id: Iaab5267df51477695e409ecb8e728f3d4cc9c034
halofixes

Change-Id: Iec9e85cfaa9042b9c8f37c68c496d31b2ab25354
halo, tweaking

Change-Id: I35f8dc19ed5840e186989ec3cfa5529c9d39dd48

Conflicts:

	packages/SystemUI/res/values/strings.xml

Conflicts:
	packages/SystemUI/res/values/cm_strings.xml
fix HALO silence bug when notification is dismissed
halo, wrong touch calculation, nap trigger fixed

Change-Id: Ib09163d71cddb2cbe8f375313e0c1e03b37fd504
halo, still wrong multitouchhandling

Change-Id: Id9c00c25add4a493309f170eb97acf0a06c378d0
halo, fancy flip

Change-Id: I364e63c1ad15caf8ed469a49862a533044583855
halo, flip for incoming messages

Change-Id: If54cbd39eb926f6f78db04608ba72c3ff0c356fc
Protected lockscreen - do not ping on unlock if silenced
halo performance, batch revamp

Change-Id: Ic32c146a1e4753c5a3342831d6c719a654816e54