Resizable NavBar Widgets [1/2] WIP

Primarily this creates a longpress event on the widget
label to allow dragging up/down to resize the widget.
It also makes a lot of changes on how we store the widget size,
so a ROMControl change is needed as well.

Smooths out the resizing of widgets.
also provides a shortcut that can be used to toggle widgets.
Renamed the 'SystemUI' label to 'AOKP Actions' for shortcut picking

Change-Id: I753e988e86eef3707ab647383f28e880a81607f8
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Lockscreen: Add timeout and instant lock option to slide lock (2/2)

  This adds AOSP's new timeout and instant lock options to the
  slide (aka chooser) style lockscreen.

Change-Id: Ie83f71749c248825d0c868c6136d90e59342f8b7
Signed-off-by: KhasMek <Boushh@gmail.com>
VPN Traffic Amount in Human Readable Format

Normally, VPN traffic amounts are registered in the amount of
bytes that have been transferred over the VPN link.  But that's
ugly, ugly for humans that is.  Most of the time people like
Kilobytes, Megabytes, and Gigabytes; not ugly Bytes.  This
modification changes that so that you get a nice way of
describing the amount of data that has been transferred over
that VPN link.

Signed-off-by: Tom Parkison <thomas.parkison@gmail.com>
Change-Id: I3cef28d63cd98aad833a9d1c9262b162e78a11ab
Fix H+ and add new navbar widget icon

Patch Set 2: fix opacity of menu big and widget icon

Patch set 3: Fix ime switcher back to prevent resizing in landscape

Change-Id: Iae25432550982dbf625d43a17078a03d0007b4dc
Signed-off-by: Kyle Teague <kwesley1020@gmail.com>
SystemUI: Recents Ram Bar

Add Ram Bar to recents.

Notes.
1) You'll notice the Rambar gets updated frequently in the recents panel
for a few reasons to keep the data as up to date as possible, to update
after swiping away tasks, and also becuase this is now where we pick up
Boolean changes for if the bar is shown and if the all all button is
show. If you think an update is not needed let me know and we can try
to reduce how often we check it.

B) You'll notice the data here does not match the data in
Settings->Apps-> Running. I used the same Math and got values from
the same place as settings but for some reason the data is still different
Mike has me convinced it because the running process here is SystemUI and
it has a larger foot print then Settings. So if you see a mistake again
let me know and we can fix it.

3rd) I'm open for options on theming, at this point both letting the themers
handle it and using a color picker are reasonable ideas. Let the voting begin.

In conclusion I changed kill all to boolean and made it update on the fly
so no systemui kill is needed anymore, removed in my RC commit.

Change-Id: I9e0582b600e1f6a4057d90474dd150db7db5a982

Conflicts:

	core/java/android/provider/Settings.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
SystemUI:Make alt GB layout look like GB

This changes the alt layout to actually look like gingerbread instead of
just changing the data icons.  Everything has been editted to match ICS+

Screenshot:
https://www.dropbox.com/s/1j3g5sqo7g5w5bn/Screenshot_2012-10-19-21-43-08.png

Change-Id: Ie6bf60454bd50d744d0f8edb161db4ad9662d59b
Signed-off-by: Kyle Teague <kwesley1020@gmail.com>
framework: add lockscreen text color 1/2 [WIP]

Change-Id: I5d330624e43171b672cea60eebcbf45efa52cc90
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>

Conflicts:

	policy/src/com/android/internal/policy/impl/LockScreen.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
SystemUI: Port CmCircleBattery to StatusBar options (1/2)

This is a port from CM (http://goo.gl/h8cce) by Sven Dawitz (sven@dawitz.de)

For AOKP, this replaces the existing CircleMod with the new CM implementation
which uses 100% Java (as opposed to ~600 PNGs for all possible battery states).
While the original CM mod allowed a user to select whether the battery percentage
should be displayed inside the circle, I have removed this option to more
directly replace our existing CircleMod. That option should be easy enough to
add back in if we decide we prefer it.

You can view Sven's example screenshot at http://goo.gl/3KGbY

Patchset 2:
Made changes to preserve existing CircleMod implementation. Combined with
the corresponding ROMControl commit, users will now be able to choose from
(1) traditional CircleMod, which can be icon-themed; (2) the new java-based
circle implementation, which can be color-themed only; and (3) the new java-
based circle with the battery percentage displayed inside the indicator, which
can be color-themed only.

Signed-off-by: John Bowdre <jbowdre@gmail.com>
Author: Sven Dawitz <sven@dawitz.de>
Change-Id: I09782fbf8a78660d8ca253adca6a7ffec3d0931a
Clean up

Change-Id: If3bd634d093f2a6743552c207b14d3540b5a9a61
Camera : Powerkey shutter (1/3)

Allows user to take use power key to take pictures/videos

Patchset 2 : Add mask to setFlags
Patchset 3 : Rebased

Change-Id: Ic54cae422d7cf66c28d9ca778eca7931cc62c851
Framework Track Control : Switch from broadcast to audio service

Ordered broadcast is unreliable.
Switch to using the Audio Service's dispatchMediaKeyWithWakeLockToAudioService
as it sends the event to the correct receiver.

Patchset 2 - Switch power widgets over as well
Patchset 3 - Rename handler 'what' message to be more consistent
Patchset 4 - Fix renaming mishap

Change-Id: I022720a551b94637f7b16258dfb6a22234bcb736

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/MediaKeyEventButton.java

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Lockscreen VolCtrls : Don't raise volume on skipTrack

Set mIsLongPress to true when longpress was successful to avoid
volume from being changed on release

Change-Id: I874f7d66248e30535dddfec53ddd299718e3fa3d
Lockscreen: fix glowpad alignment

Change-Id: I7d5080a3e7d4eb2e90c28e416a698e1ed7c897b9