telephony: set additional audioparameters for incall audio

this is the other part to what synced to repo in frameworks_opt_telphony

PatchSet2 : Eliminate Whitespaces
PatchSet3 : Eliminate Whitespaces for real this time

Change-Id: Idfd29591f35bca46cf2180377b90822376aa10ea

Conflicts:
	core/res/res/values/symbols.xml
Fix potential deadlock between LockScreen and WindowManagerService

If LockScreen is enhanced using SurfaceView/GLSurfaceView,
deadlock problem between LockScreen and WindowManagerService
can occur because of IWindow.resized() callback.
And it must lead to watchdog and reset.

IWindow.resized() callback is one-way function so calling resized()
callback of a remote IWindow object is never blocked.
However, calling resized() callback of a local IWindow object
(LockScreen is running on the same system_server process)
is always blocked until resized() callback returns.
Because resized() callback of SurfaceView/GLSurfaceView can lead to
WindowManagerService.relayoutWindow() call, deadlock can occur
between relayoutWindow() and performLayoutAndPlaceSurfacesLockedInner().
(Both functions need locking mWindowMap)

So this patch simulate one-way call when calling resized() callback
of a local IWindow object.

Change-Id: I2a6a5c74ed22d8e6b7a3bea3424ff2879d227105
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
Framework: NavBarColor (1/2)

Change-Id: I7ed579d95d921e08d8f9d0a9160605457b8c4cb3
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
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
new toggle: sound state (ring/vib/silent)

Change-Id: Ic65995368720a035611abd4a10f99a69091ccb85
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
FW: Hiding NavBar - {WIP - DO NOT MERGE}

This is a very rough beginning.  Still needs a lot of clean-up
and an Option/Flag inside ROMControl.

Think of this more as a proof of concept that the rest of us can
build upon.

Right now it only works if you hide your NavBar.

PS2: Adjustable Window Height
     Adjustable Timeout
     Add resets for the start swipe checks
     Now Requires RC part

PS3: Just use the actual navbar height
     make the transparent window only 10 pixels high
     so that its not overylaying important stuff...

PS4: add enable option so there isn't a window sitting on top
     of the navbar when not hidden.

PS5: add check to make sure we dont try to inflate the hidden
     navbar is the real navbar is showing

ps6: Re-aligned views so that we can catch touch events and extend
     the timeout perioud.  Start structure for dismissing Popup
     and trying to get the proper StatusBar for NavRing Delegate
     Set SwipeHeight to only 2 pixels for this.  It's working,
     but is a tad sensitive.  May need another couple of pixels, but
     also need to make sure we get split-touch working right too.

Still needs: Fix for touches getting eaten <--- fixed ish
             Lockscreen and navring support

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