SystemUI: fix GPS toggle not changing states properly

When turning GPS on/off from outside the toggles (ie Settings),
it would not send updates to the callback implementations.

Change-Id: Ie462a9a160f8e262980bcf326685392546aee1ee
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: show date on 2 lines in status bar

This allows showing of the full day of the week, and removes
the blank space above the date (which always felt strange to
me when clicking it to access the calendar).

It also fixes a spacing issue on smaller screen devices that
causes the quick settings button to be partially chopped off
when the AM/PM clock settings are enabled.

Before: http://imgur.com/UzkFe
After: http://imgur.com/UXoBJ

Change-Id: I10b59f2facf973c0255fd4c002af6caf19194190
Lockscreen: option to use carousel animation when switching widgets (1/2)

This will add the option to use a carousel animation when
switching betweeen the widgets on the lockscreen.

PS2: rebase
PS3: fix NPE in tablet layout
PS4: fix include name
PS5: DERP!!!!

Change-Id: I1ad69810b5f012b56cb047dce47a39c1e8f542a2
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/layout-port/keyguard_widget_pager.xml
Lockscreen : Hide clock for Chronus/DeskClock

Hide statusbar clock if chronus or the DeskClock widgets
are being displayed

patch set 2 : Add check for Alarm clock widgets
Patch set 3 : Add null checks to be safe
Patch set 4 : More null checks
Patch set 5 : Removed null checks again

Change-Id: I083870b818b6257a3fbdb676c545945438c42fd7
Quick Settings: Swipe to switch

Adds the ability to switch to/from Quick Settings, using a sideways
swipe gesture.

Video demonstration: http://www.youtube.com/watch?v=jZaDVBIFAuA
(Video for the initial Patch Set only)

Patch Set 2: Flip animation follows your finger
Patch Set 3: Fix commit message
Patch Set 4: Fix commit message (again)
Patch Set 5: Pin down the statusbar during swipe
Patch Set 6: Smooth out animation after releasing swipe
Patch Set 7: Swipe in any direction to switch views
Patch Set 8: Ensure the statusbar is properly pinned down
Patch Set 9: Fix logic and event handling issues
Patch Set 10: Refactor for readability
Patch Set 11: Limit swipe detection to the bottom bar

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Revert "Patch Set 1/2: Add an "Automatically Connect" option for WiFi networks"

This commit breaks 3rd party apps like Tasker.  It is being reverted until a better solution can be found.

This reverts commit 19c7d4995a554bc26a17b55f481193c435d30560

Change-Id: Ie279aab8f52bd30dc21dbc70040fb3bd23721e33
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.

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

Conflicts:
	core/java/android/provider/Settings.java
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>
Framework: NavBarColor (1/2)

Change-Id: I7ed579d95d921e08d8f9d0a9160605457b8c4cb3

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