input: Add option to toggle pointer icon when using stylus

* The visible pointer icon when hovering or drawing with the stylus is
  quite annoying when trying to actually draw with it. Turn it off by
  default and add an option to turn it on.

Change-Id: Ib7f23e8b69589e3f875d150caf05065b64676e44

Conflicts:
	services/input/InputReader.cpp
	services/input/InputReader.h
	services/jni/com_android_server_input_InputManagerService.cpp
Disable touch while using the stylus (Galaxy Note)

Android 4.0 cannot form multitouch events from multiple input
devices. So it is not possible to report one touchpoint from the
stylus position and, at the same time, another touchpoint from a
finger touch. Instead, when a new input device starts up the currently
active input is cancelled. This is highly undesirable while writing
with the pen.

The easiest solution is to ignore non-stylus touch events while the
stylus is within range (hovering) of the touchscreen. For example,
N-trig digitizers implement this in hardware. But wacom digitizers do
report pen data simultaneously with touch data. This patch disables
(non-stylus) touch input within 50ms of stylus data. On my Galaxy
Note this is necessary to make stylus input usable.

Change-Id: I9f458d85d8bf83d6cf03b467d46ce066fd55b7e0

Conflicts:
	services/input/InputReader.cpp
	services/input/InputReader.h
Fix SysUI FC when selecting CircleBattery, add Status Icon Color support on CircleBatt.

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/SbBatteryController.java
Bug Fixes

 * HALO landscape orientation freeze
 * Animation clean up (remove number batch when clearing HALO)
Port "Fix display of mobile status bar icon when using airplane mode"

Change-Id: Icb5b33008f97eaefd67bb4e5acd1e38bcf2dcb70
Cleanup
Revert "Reduce total number of background apps for low memory devices"

This reverts commit 82289c1ec2c3d1767b3baeb309a2044a2ad3d405.

Change-Id: Ic4ef44c9219030041a5436bab74fce9ce7c8879c
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
Ping on unlock changes

 * Stop message flip animation on unlock
 * Prevent ping spam on unlock -
    - Ping ONLY if NEW notification received while device is locked/screen is off
      (If a notification pinged HALO once but was ignored, it will not ping again unless updated)
halo, bugfixes

1. fixed size for content
2. flip animations for tasking only
3. batch size calculations
4. not a bug but pinned and system both get the same icon for now

Change-Id: I755cd4e88c909ab8b982e014d470791661a0041e
Configurable up to user (LTE or 4G)
Launch floating notifications from notification panel (long click)
 * Status bar - long click on notification select 'floating mode' option
 * PIE - long click on notification, auto launches floating window
fix derp