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
Increase themeability of Statusbar

This primarily makes the Battery_Text_only a themeable item
Via the theme manager.  Also moved a few other minor style
aspects into @Styles for themers.

Patch 2:
add Theming for Clock, WifitText & Signal Text
Also fix a broken aspect of Signal text
(Signal dbm wasn't working)

Change-Id: I1d9f3651f5cb33557d3dfe0c7192aacaeaa688a5
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
add USB mass storage notification to tablet status bar

some tablets (specifically Samsung 7" Galaxy Tab) ship with
a removable sdcard, and run quite well using the native tablet
interface (@160dpi instead of stock 240dpi). This change allows
the USB mass storage notification when running @160 dpi in
these situations----**this also enables the 'usb connected'
option in tablet mode .

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Change-Id: I12a219ab28ef8ef65c8813ac78869f835b2dd8a6
Navring IME Switcher & Ring/Vib toggle (1/2)

adds extra options to use as  NavRing targets

Patch1: added ring/vib
Patch2: fixed the vib icon on NavRing
Patch3: added ring/silent & ring/vib/silent toggles, created icons for everything
        replaced the ring/vib/silent icon -- the 'silent' one was barely visible
        added a beep when ring mode is switched to Normal
Patch4: provided proper patch descriptions
Patch5: fixed the beep so it's the same volume for all toggles
Patch6: changed the icons and drawables so that targets "light up" when hovered over
Patch7: Changed the icons again to make then look better on light backgrounds

Change-Id: I2f5b825fb4430362f5c8176b3c7440048a267553
Merge "Disable touch while using the stylus (Galaxy Note)" into jb
Merge "add USB mass storage notification to tablet status bar" into jb
NavRing: make all icons look the same as the Google Now icon

Changed all the icons to have the same overall look as the Google
Now icon that was there originally

Patch2: made custom app icons look and work the same as the others
Patch3: fixed whitespaces in code
Patch4: fix more whitespaces

Change-Id: Ib2b2db6b3eb3e51d56e062949a27911636f171ef
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
Merge "Increase themeability of Statusbar" into jb
Merge "input: Add option to toggle pointer icon when using stylus" into jb
Fix NavBar ring's center layout on lowered DPIs

Change-Id: Id67c3bb1262544732408d2fa7b80755906f2d9f5
Signed-off-by: sethyx <sethyx@gmail.com>
Merge remote-tracking branch 'upstream/jb' into jb