Framework: Collapse Shade TogglePref

Change-Id: I2fddec83602b284266631bdff722aa93a2d10c30
Frameworks: GlowPad Torch (NavRing)

Secure/Insecure can both use this one.

PS2: Derp
PS3: Swapping to ints for ONE setting
PS5: GlowPadTorchHelper
PS6: Don't initate if FaceUnlock Active
     (Camera in use)
PS7: Rebase
PS?: More CleanUP

Change-Id: Ic5df8ff74c52350fbad25a64671322fbd4f9a0f5
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java
NavRing: Longpress Logic

Again, this matches shortpress logic.
    (And now matches longpress logic
    since this was merged on Lockscreen)

Vibrates on Longpress...
    Remove finger to launch.

Change-Id: Ia7f8bb2580643930511fd12764f4a41873ef64d2
Spen Options 1/2: Enable Spen options

brought up from http://gerrit.sudoservers.com/#/c/4309/

Patchset 2: Add options for removing and inserting the spen
            Not working yet... Uploading to see it better.

Patchset 3: Rebase off romans toggles and the new awesome
            action awesomeness.

Patchset 4: Clean up and abandon insert and reomve actions for now

Change-Id: Id1e0280163bdb72bd1d38d6825b144e4c599e220
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/aokp/AwesomeConstants.java
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
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

switch to boolean functions and simplified logic...
FW: Navring Spen pull arrays from AwesomeConstant

Use method of pulling arrays opposed to having to update
the arrays in RC. These will automaticlly pull new awesome
actions in.

Change-Id: I56f9e31db4d13a1589003e2d082239b4fff4294b
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Merge branch 'jb-mr1' of https://github.com/TeamHorizon/platform_frameworks_base into jb-mr1