Stylus gestures features (1/2)

Forward-port of https://github.com/CyanogenMod/android_frameworks_base/commit/9f3ee9f7c0877fcfbe90a7c176481f949194fb75
to JB

Change-Id: I9c8a03dce226d2463659846ff3a12435efdf5c1d

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/strings.xml
	core/res/res/values/symbols.xml
Active display: make sure mNotificaiton is set correctly

Change-Id: I4111ca843e340cca4d6dac4b2c2922ce3039e487
Active display: register/unregister recievers and listeners when enabled/disabled

Change-Id: Ic73e63da2c9634bc864ab1a1387eb9145eb0b5b0
Active Display: check if recievers and listeners are registered

Change-Id: I1a881aebcbfc2bae92535a4e9ea55ba3789d8b43
Active display: Catch Resources.NotFoundException

This caused the SystemUI to FC when the device was powered and a notification was fired.
Display stayed off and the SystemUI kept restarting until the device was unlocked manually.

Change-Id: Ibfd82242e82aa9ee5c0898f5f0714e490eac0ea9
Revert "Active Display: check if recievers and listeners are registered"

This reverts commit 16384847ed731e25b1a63f4fd921c9b4808ab674.
Active display: Unify (un)registering callbacks and add proper checks.

Change-Id: Ie4c4660a54d2c60831f7a3bcc66b3a9ca1d035f2
Active-D: Make GlowPadView center the current notification icon for us

sudo makemeasandwich

ps2: make scaling both smarter and stupider SIMULTANEOUSLY

Change-Id: I582f387fd3c1c83f2bbd0d31a4b43e22d1b82d63
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Active display: Fix for HDPI devices.

Thank's to @AlmightyMegadeth00 for the tips...

Signed-off-by: aways <aways@c-rom.biz>
fix active display?
Signed-off-by: scott <scott@ubuntu.com>

Change-Id: I421cfc0dcdd91eabb70f2cb474efdd6fc7f57a59
Active display: Option to change display timeout…

…[1/2] [log]

Change-Id: I3e0d9d05ddf3892b0223c012b5420bbcf4e3b6e1

Conflicts:
	core/java/android/provider/Settings.java
Active display: allow hiding low priority notifications. [1/2]

Change-Id: I4831d6864b509e62b449c25619c59f5d6760ec47
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java

Conflicts:
	core/java/android/provider/Settings.java
frameworks/base: Increase Zygote preload GC threshold to half the heapgrowthlimit.

Increase Zygote preload GC threshold to half the heapgrowthlimit,
to reduce boot up time.

Change-Id: I6ea0f115e5f96836adec5ba9b796f54e6e898643
Increase the buffer
Remove duplicate ringtones, notifications, and alarms

Commented out files in AudioPackage5.mk and AudioPackage6.mk that already get built in AudioPackage7.mk so they don't get built twice.

Change-Id: I3e9ffb4756f73dfc76009b7c1aa14e881366e6c6
Fixed the remove dup tones patch to correct build erros

Change-Id: I06653a76c44b9cc280b5e4344f5404badf8c3cf0
Fixed build errors caused by previous attempt to remove duplicate tones.

Moved commented out lines to bottom of files in AudioPackage5.mk and AudioPackage6.mk

Change-Id: Iefe9f64d360b41a3f29338bdc9502387e433f6c8
missed