Fix 1000dp recents layout
Fix Tablet UI Mode FC

Users: Note that the UI Mode settings in the XYSettings is un-usable atm, the settings will be remove once i got the time to do it. Secondly, tablet interface ui and yadda yadda will be available in the Hybrid Settings. Enjoy

Credits to BeerGang.
FIx: PhabletUI NavBar in landscape
Fix missing import

Signed-off-by: iceandfire <arhamjamal@gmail.com>
FW: Add new Rush battery. - icons: @olivergeith

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/SbBatteryController.java
HALO minimal style (1/2)

TODO: Bring more styles and turn it into a list...
HALO Style got a lil better

I'm a noob coder, maybe someone can help me make better AOSP guideline styling? But so far, this is the possible working factor i've got...

P.S Added Sony styled touch effect

And someone gotta resize it for hdpi and mdpi
Pink Halo Background for the ladies...
Don't bring home to the front if we're opening a floating activity
FW: Improve speedometer battery style - @olivergeith
Reworked transparent layer
When a halo'ed window is opened, the transparent layer will be always visible. It will manage the background dim.
This fixes some apps dimming its sandboxed processes (like chrome).

LayerActivity manages its own lifecycle. When it's focused after paused it finishes itself.

System processes (identified by "android" pkg in SystemUI and system uid in Activity) don't use the layer and still use their own background. This
has been kept this way to not interfere with their activity.
LayerActivity: Corrected lifecycle
Should contemplate the case that the activity gets stopped
Fix little derp causing visual bug

To reproduce, disable halo, and press "clear all notifications" button

Change-Id: Ice7ab62229e27db53ef51fd5df55dbcd0a86358b
Merge pull request #11 from pcarenza/jb-mr1

Jb mr1
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...