Monitor device storage directly in /data/data

The DeviceStorageMonitorService watches over /data, and when things get
full, starts deleting app cached files.  The app caches are actually
under /data/data, which on DINC is its own mount.  This means the
monitor did not notice when app cache grew too big, as it only saw the
size of /data proper.

This patch makes the monitor look at /data/data instead.  For DINC, this
means it can properly manage app cache, but it won't notice if the upper
/data partition is getting full.  That's not as common as /data/data
filling up though.  For the Samsung devices that mount a /datadata and
then symlink to /data/data, it should also work, as statfs dereferences
links first.  For all other devices with only /data, reading statfs on
/data/data still yields the total/free sizes of the /data partition.

Change-Id: I118a85a04c3a257d54d40ce7802426b4e0fe3e87
installd: Delete cache properly for devices using datadata partition

The java side already checks /data/data for free space but installd
still checks /data causing it to never reap the cache (because it
thinks that enough free space is available.)

Change-Id: I736af6ff7ea0c8ae07900168f6b8ac2f7a4dbe0b
SystemUI: cleaner recents key implementation

Also, I noticed that the RecentsTaskLoader implemented
View.OnTouchListener, so just use that implementation for the button.
Also camelCased some variables.

I can't stand the way AokpTarget looks... so I renamed it to
AwesomeAction :/

Change-Id: If51c592bebcfbe98d49bb362f845a1b1d86cfb1e
Signed-off-by: Roman Birg <romanbirg@gmail.com>
FW - User select Tablet Mode [2/2]

Allows user to set UI to one of three modes:

Phone/Tablet/Phablet.

Needs RC commit as well.

Patch 2:  Still having lots of resource issues.  I am just uploading
	this to get a good diff look at what's changed in TabletStatusBar.

Patch3:  Cleanup

Patch 4:  This one at least boots and enables the tablet bar.
	there is a lot of work still to be done to enable the quick
	settings panel, etc.
patch 5:  Implemented the Quick Settings framework.  Haven't tested yet
	(Well, it compiled) - just posting in case I get busy again,
	at least someone can take off where I've stopped.
patch 6: Fix Setting/Notification toggle.

patch 7: Tweak layouts - fix battery/clock

patch 8: Shift Tablet NavRing to left corner

patch 9: add drawables needed for patch 8

patch 10: fix more layouts - various modes now working well

patch 11: Should fix the rest of the notification issues on Tablet mode

patch 12: Fix lockscreen navring and add option to hide compat mode button

patch 13: Re-vamp Notification Title Layout clock/date & buttons layout better
	  Notif Panel goes to Settings if no Clearable Notifications.
	  System Bar responds to NavBar size changes in both land/port
	  Date/Clock actions working

patch 14: Move resources out of sw600/sw720 into "regular" bins. This is
	  needed for dealing with Tablet Mode on phones (< 600dp).

patch 15: Pull in Steve's Sliding Navbar width adjutments.
	  also move a few margins into @dimens.  This will need to be
	  changed on a per device/overlay basis.

patch 16: Fix AokpTarget class into AwesomeAction

Change-Id: Ia8d8a7ecaaca232587a54c9f7674936de7b05bda
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:
	core/java/android/provider/Settings.java
Framework: NavBarColor (1/2)

Change-Id: I7ed579d95d921e08d8f9d0a9160605457b8c4cb3
Alternate Signal Layout (1/2)

Provides for an alternate (GB style) signal cluster
that separates the mobile type/traffic from the signal meter.
This will give themers more flexibility in statusbar design & layout.

Patch 2: Remove Log Spam
Patch 3: Graphics cleanup
Patch 4: Cleanup
Patch 5: Additional cleanup
Patch 6: Small xml adjustment
Patch 7: Add a bool value to allow theme to set/use Alt_cluster.  Will not over-ride user setting.

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/drawable-hdpi/stat_sys_data_fully_connected_hp.png
	packages/SystemUI/res/drawable-mdpi/stat_sys_data_fully_connected_hp.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_fully_connected_hp.png
	packages/SystemUI/res/layout/status_bar.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

framework: revert data icons back to stock jellybean

The following change - http://gerrit.sudoservers.com/#/c/3293/
altered the data icons in the statusbar and as a result many
were misaligned and funky. This reverts them back to stock.

Conflicts:

	packages/SystemUI/res/drawable-hdpi/stat_sys_data_fully_connected_hp.png
	packages/SystemUI/res/drawable-mdpi/stat_sys_data_fully_connected_hp.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_fully_connected_hp.png

Alt Signal Layouts

This creates a second set of Data Type, Traffic & Strength icons
for the Alt Signal Layout.  This will allow themers to build options
for either layout without corrupting one or the other.
I also tweaked the layouts a bit for better alignment with various Text/icon combinations.

I also addressed the 'Blue/Grey' DataType icon.  the 3g/4g/H, etc icons should
now properly show blue or grey depending on connectivity, just like the signal bars do.

I also suggest a fair amount of testing since I've redone quite a bit of the logic regarding signal/icon displays.  Don't want this going out the door broken.

Patchset 2:  Layout Tweak
Patchset 3:  Honor theme setting for Alt Signal (or userpref)
Patchset 4:  mdpi/hdpi icons.
Patchset 5:  Force icon update on change & whitespace cleanup
Patchset 6:  Adjust/fix Layout when using SignalText
Patchset 6:  Tweak layout
Patchset 7:  Rebase for 4.1.2
Patchset 8: More layout tweakge

Conflicts:

	packages/SystemUI/res/drawable-hdpi/stat_sys_data_fully_connected_hp_alt.png
	packages/SystemUI/res/drawable-mdpi/stat_sys_data_fully_connected_hp_alt.png
	packages/SystemUI/res/drawable-xhdpi/stat_sys_data_fully_connected_hp_alt.png
	packages/SystemUI/res/layout/signal_cluster_view_alt.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/TelephonyIcons.java

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

port forward

Change-Id: If9e03ab52a0254aac99c8d8da6805b349e052b93
Signed-off-by: Zaphod <mwilson@acesappraisal.com>

Conflicts:
	core/java/android/provider/Settings.java