Add Dock USB Audio Support for Samsung Car / Desk Docks 1 of 2.

Ported from CM10, original patch: http://review.cyanogenmod.com/20586

Also includes patches:
DockAudio: Always route audio back to normal on undock.
http://review.cyanogenmod.org/24830

Bugfix: Dock events can have state greater than 1
http://review.cyanogenmod.org/24995

------------------------------------------------------

Samsung docks have a non-sensing USB adio port.
Samsung get around this by having a separate Setting to route the Audio
The Changes made will only add the extra Observer if the Kernel supports the endpoint

  /sys/class/switch/dock/state

A new BroadcastReciever (SettingsChangedReceiver) is used to watch out for users changing the
Preference

The choice is made in the GalaxyS2Settings.apk (see 2 of 2)

  device/samsung/i9100/DeviceSettings/src/com/cyanogenmod/settings/device/DockFragmentActivity.java

After OnBootComplete and when the checkbox is changed, an Intent is triggered to this class.

When a Dock Event is caught if it is one the Samsung endpoint "dock" then if the users preference is
checked,
then the event is allowed to go on and route the audio.  If it is not checked then it is ignored.

Change-Id: I8e8f5001d5c651b07bb6af496bbf806732be21fa
Japanese: initial japanese translation port from CM10
Port Russian Translation from CM10 to CM10.1-SystemUI [WIP]
Add Colemak keyboard layout

Change-Id: I203b92e56522bc7b3014195d5d83dc1fdb3cab15
Danish Translation Correction

Same as in CM10 - "Starting Apps." is not the same as "How to start your apps."

Change-Id: Iaaeeb896ed4bdfe2807b0799285345c14bf21995
Fix profile broadcast

Change-Id: I68251d16c371e3e1a4ec33f921d40d2d81df1139
Smooth Spinners: Makes the loading "spinner" animation smoother in non-holo apps

The loading "spinner" animation is quite jerky by default when the progress xml's from
drawable are called in applications that don't use the holo progress animation. The holo
"spinner" animation is already smooth by default. This makes every other "spinner"
animation smooth.

We've been changing this value in all ROM's we release, both AOSP and CM based ones
as well as stock ROM's, since it gives a more polished look to the entire system. In the past
3 years we've been using this small tweak we have not noticed anything that would
adversely affect battery life or system operations as a whole.

Rebased to cm-10.1 by Kristof Petho

Change-Id: I617d197c2ff4f1a27e96dbc206c24c27036e18d6
Merge "Fix profile broadcast" into cm-10.1
Quick Settings : Fix Sound tile

This commit removes the deprecated VIBRATE related code and uses
the proper 4.x api/settings to toggle the ringer states.  It also
now shows the proper state on reboot.

Patchset 2 : Remove deprecated (non functioning) VIBRATE_IN_SILENT

Change-Id: Iec3e59e79c7ed686f8ff33f9cfdeb892ff70b151
Merge "Quick Settings : Fix Sound tile" into cm-10.1
Merge "Add Dock USB Audio Support for Samsung Car / Desk Docks 1 of 2." into cm-10.1
Port wimax support changes from CM9.

- Register WiMax service in ContextImpl (fixes 4G toggle).
- Fix misdocumented EXTRA_4G_STATE in WimaxManagerConstants.
- Share wimaxClassLoader between WimaxHelper and ConnectivityService.
- Add ACCESS_4G_RADIO_DISABLE, ACCESS_4G_STATE, and CHANGE_4G_STATE
  permissions to SystemUI.

Note that WimaxManagerConstants was previously misdocumented, confabulating
the lookup key EXTRA_4G_STATE ("4g_state") with EXTRA_WIMAX_STATUS
("wimax_status"), which no longer exists.  This is also fixed.

Change-Id: I4f5973e7bd2ff4c860036df0f38589b34ad72b49
Merge "Add Colemak keyboard layout" into cm-10.1
Merge "Danish Translation Correction" into cm-10.1
Merge "Japanese: initial japanese translation port from CM10" into cm-10.1
Italian translation for frameworks/base

* Fixed one string
* Compiled without warnings/errors

Change-Id: Ifd22c7e56e5e522066b0a5debf9d6e6c4d4e18fe
Merge "Port Russian Translation from CM10 to CM10.1-SystemUI [WIP]" into cm-10.1
"Clear all" button on recent apps

    Ported from ParanoidAndroid by zigackly:
    https://github.com/ParanoidAndroid/android_frameworks_base/commit/f8c44e6ef667a3ebe9b658f148fa78a8d4f9a8dd

    Add button to tablet layout ported from Codename Android by zigackly:
    https://github.com/CNA/android_frameworks_base/commit/8d259fe3588c261baa5a17c361255cf28cc82bfe

    Patch set 2: Make the layout consistent, with the button at the top right.

    Patch set 3: Remove the redundant use of removeTask()

    Patch set 4: Top right layout does not work in tablet mode: make it top left for tablets only.

    Patch set 5: Different implementation (No need to keep track of views) - Danesh M

    Patch set 6: Top left layout no longer works for tablet mode with new implementation.
                 Make it bottom left for tablets only.

Change-Id: Iceb86eef41160f1c17e51463b37fd97e27acfb2e

Conflicts:
	packages/SystemUI/res/layout-port/status_bar_recent_panel.xml
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java

Change-Id: I5f3827299866a951e657ce64bea7c5f31c34ef9e
Merge ""Clear all" button on recent apps" into cm-10.1
Merge remote-tracking branch 'upstream/cm-10.1' into cm-10.1