Mega Kang Part 2

Add hideable kill-all-button to recent switcher (1/2 FWB part)

original code done by Robin Morawetz for my IceColdSandwich ROM

Change-Id:

Signed off by StevenSpear426

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Signed-off-by: nocoast <voteforpedro8@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
	packages/SystemUI/res/layout/system_bar_recent_panel.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Clock click actions

Options for single, long and double click

if double click never set or set to nothing there is no delay on single click

default action if never set is clock options just like stock.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Longpress navring disable fix

Derp... with this if the long press is off the behavoir is like stock.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Quiet Hours (1/3) - CM

Signed-off-by: sethyx <sethyx@gmail.com>
Change-Id: Ib8fc8875d69249023876c7f05af30d96831691b5

Conflicts:

	core/java/android/provider/Settings.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Core: Volume options panel 1/2

Change-Id: I7a5bb88d18b70b9c1bb236afd85270b27cd4106d
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java
	core/java/android/view/VolumePanel.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Services: Notification LED Customization

framework edits for LED

Change-Id: I368f2af6588dfb5eb58a11018e967ac820984805
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Services: Fix herp derp for LED

LED will now change without a reboot needed
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Change-Id: I80b99d72a0cd85b8833b3bd80a5e2da0e8c1c4a5

Conflicts:

	services/java/com/android/server/NotificationManagerService.java

LED flash when screen ON (frameworks part 1/2)

Add ability to select whether the LED will flash
notifications when screen is ON.

Change-Id: I23e3579847b7c4f3b7f4bca63836ce9d2b5600a8

Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Services: custom app led colors (1 of 2)

Yeah the title explains it all :)

Change-Id: I4608e68a2c331136d241a5008f874c75ea78a39a
Signed-off-by: Adam Fisch <adammfisch@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java

Conflicts:

	services/java/com/android/server/NotificationManagerService.java

Port Forward: NavBar Customization

Custom NavBar targets
--Zaphod-Beeblebrox

Fix Navbar for tablets & other non xhdpi devices
--Zaphod-Beeblebrox

Fix improper resizing of navbar icons in landscape
--kwes1020

navbar alpha settings ported from ics
--akellar

SystemUI: fix navbar alpha
--syaoran12

Make navbar background themeable for theme chooser apks
--NMILTNER

Bring back navbar color, glow color, glow dur from ICS
--me..

navbar: ability to open/close notification shade
--jonathongrigg

SystemUI: fixed glow color to look stock
--syaoran12

Bring back down arrow (when IME is showing)
--me..

fix IME down arrow for custom navbar
--Zaphod-Beeblebrox

Navbar: Allow for up to seven navbar buttons
--Stevespear426

IME Toggler as NavBar target
--BMc08GT

adjust navbar logic
--romanbb

Change-Id: I857bfd554d9f057b4c2e29f802635f752ca98576

Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1

Configurable 0, 90, 180 and 270 degree rotation (framework part)

This is similar to my previous CM contributions. Requires settings
UI to configure (not done yet). The rationale is to be able to
have automatic rotation always enabled, but only for desired
angles.

Original-https://github.com/AOKP/frameworks_base/commit/ec06ed7f2a362581d202c034f6b9a9172b906508

Change-Id: I7e30e78f69e36794fa13724fe45e67e897f0ad80

Conflicts:

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

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>

SystemUI: Battery Bar

TODO: Still has same bug on sw600dp where centered-mirrored is off center

Change-Id: I938ef890459c600406a989414381e42df6d89ae0

Fix clock Clicks for tabs

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Show auto rotate to easy Xooms ocd

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>