SystemUI: do not collapse panels if keyevent was canceled.

Change-Id: I9af82e9fa2305142521075938dfd05521adeb9f4
(1/2) Volume Rocker:

* Volume rocker wake
* Volume rocker music control

Change-Id: I0b9b252153e1fe048f7048a9da2197797a577ff1
Signed-off-by: Andre Saddler <dresadd09691@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Core: Disable fullscreen keyboard.

* Hardcode the keyboard in landscape mode avoiding going full screen.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Add missing sem-colon, always forget it :)

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I290d17571204c753382873ca15b98a3ab5917765
Volume Rocker: Switch from Broadcast to Audioservice.

* Fix volume rocker music track seek.
* Minor fixes

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: If4afda046b9fbebda611615371a718122ffb57b6
Volume Rocker: Do not wake up during track seek.

* After switching to Audioservice track seek works great but it woke the device too if we select both options. Wake only if we do not skip tracks (like raising the volume).

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Volume Rocker: Hardcode music track seek option (1/2).

* The feature is enabled by default but not configurable.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Remove unneeded variables.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I0c72dd00f8a161255a59330862fa69c66735a3e4
Quicktoggles

Patchset 1: Invert actions
Patchset 2: Basic drag and drop handler (temporally stored, no animations)
Patchset 3: Animations and hover effect
Patchset 4: White color, better view swaping method, fixed bugs
Patchset 5: Edit mode (long press on user tile), Overshoot interpolator for scale animation (still temporal)
Patchset 6: Removed interpolator, added animation on entering/leaving edit mode, Stuff sticks through reboot
Patchset 7: Fixed view swapping for real
Patchset 8: Fixed jerky animations
Patchset 9: Fixes for phonestatusbar, preparing for activation method
Patchset 10: Airplane toggle -> Aint nobody got time for dat. Disable activation on user tile (waiting another method to come up to my mind)
Patchset 11: Better drag handler, edit mode on tablets only
Patchset 12: New icons, animations, back to hovering
Patchset 13: Fix behaviour with temporary tiles and slow animations
Patchset 14: Edit mode on phones (credits to Curtis Mayers: https://gerrit.paranoidandroid.co/#/c/241/)
Patchset 15: I'm not the only nitpicky here right?

Change-Id: I967f94428606f8f909cb428eaaa6d12e9d59808e

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
Update reboot and screenshot power menu drawables with xxhdpi versions

Change-Id: I59fff6cf1621f59662408b8223a6582cdb54049e
[1/2] Frameworks: Optional statusbar battery icons

    * Circle battery and circle battery percent (from CM <Sven Dawitz>)
    * Battery bar percent from Google
    * Quicksetting battery tile reflects status icon (from SlimROM <kufikugel>)

Part 2: packages_apps_Settings

Patch set 2: clean white spaces
Patch set 3: fix conflicts

Signed-off-by: Anu6is <curtis.mayers@gmail.com>

Change-Id: Ic4056d08874672263444152813a4a8e805a4abf3

Conflicts:
	core/java/android/print/IPrintDocumentAdapterObserver.aidl
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Status bar date/time actions

Separate clickable actions for time and date statusbar pulldown
    * Click the time to open Alarm
    * Click the date opens Calendar

Original commit - https://github.com/omnirom/android_frameworks_base/commit/dd045bb093809196ab2df6954eda1c27cb28facf

Change-Id: I2a476d778dc49d3543292865c38f20dcb242d3df
Immersive mode on quick settings

This adds the ability to toggle statusbar / navbar via quicksettings (former expanded desktop), but
using the new 4.4 APIs that allow a swipe-up, swipe-down gesture, to restore bars.

Credits to CM project for the implementation
http://review.cyanogenmod.org/#/c/53468/

Drawables by Arz Bhatia

Patchset 2: Rebase
Patchset 6: Fixes from CM

Change-Id: I1f694d87f0364aed7b6951714ea2bfbfd8555064

Conflicts:
	media/java/android/media/IMediaRouterClient.aidl
Improve tethering notification icons

Replaces the stock icons with the ones I submitted as part of
http://review.cyanogenmod.com/#/c/15930/ in CM9.

Change-Id: Iecfae9ad579c6c9ae06da0a08b61e9359a8a37b0
Add xxhdpi versions of our improved tethering icons

Change-Id: If943f81389774a1f8ca0407cab4756687a273be7
Fix quicksettings issues

Also add rotation tile

Change-Id: I315745ee60030eb8ead4ee1798940b45af91449a
QuickSettings: Immersive: Collapse panels on click

Most of the time users will want to enable immersive mode and go right back to the app.  This simplifies this process by closing
the quicksettings panel after immersive is activated or deactivated.

Change-Id: I7bb154941405e8efb568cf5c3cce92e963539ff8
Signed-off-by: Evan Anderson <evan1124@gmail.com>
 Battery status icon tweaks

    * Circle battery color and size adjusted
    * Battery bar text color
        - Black above 50%
        - White 50% & under
    * PS2: Use kitkat holo white

    :) :) :) :) :D

Change-Id: I28e3da69130bd088849133bb9c504e1f21897d0c
Prevent lock/unlock sound during music playback

Lock/unlock sound mixes in with music and causes
lag and distortion.

Change-Id: I9d3582c6bf28aa62a5a6712bc9e89eb2f73e0288
Quicksettings: Immersive: Fix collapse panel animation.

Right now it collapse after the ui goes into immersive mode so the collapse animation is not showed.
First collapse the panel then go into immersive mode so we see the animation.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: Icf2925fa517fc077929e02d1f96a8cd51163b809
Fix: Battery Status Icons

    - Dim circle battery icon on opaque status bars (reflect stock behavior)
    - Reduce size of circle battery
    - Reset battery bar text color when it crosses the 50% threshhold

Patch Set 1: Initial Commit
Patch Set 2: Remove pa_colors

Change-Id: If182ee6e3c5f10a8b9354ae77094fb659108454a
Battery Text: Fix rounding issues and take density into account

We are a Multi-Dpi ROM... on 4.2 and 4.3 the text in the circle battery icon
was a small bit up on a lower dpi. The original author compensated this with
just a +1 to the Y value. Thats not the right way...
Calculate the current dpi into the offset and all is well.

We want a perfect 4.4...so this nitpicks even if we are talking about
0.5dp should be fixed

Change-Id: I5c6c1e237cd9049101ee88347a9b4d4b5a2b9682