AudioService: Restore volumes after boot and when a headset is plugged

The correct volume levels for <device>_speaker and <device>_headset are not
restored after booting and when a headset device is plugged in or out.

This fixes a glitch where the first volume change event causes the volume to
be reset to the last stored value instead of increasing/decreasting it by
one step.

Change-Id: I6a483af34fd6d9dd706c6979202bf0cf26d80854
Reflect current state of torch in navigation ring button.

JIRA: CYAN-574

Patch Set 1  -  Initial release
Patch Set 2  -  Show the current state

Change-Id: I82594726df1c0b4b34efdb6e58a0300f99cb1cde
ServiceState: add support for DCHSPAP

Change-Id: Ib0a328652c14580718400b00146b770481be5458
Core: Updated Polish translation

Added all CyanogenMod Additions translation

Patch Set 5: Corections in reboot modes and display rotation

Change-Id: Ife1785ae7217098b3f2048b51118698e540415fd
Merge "AudioService: Restore volumes after boot and when a headset is plugged" into cm-10.1
Merge "ServiceState: add support for DCHSPAP" into cm-10.1
Merge "Core: Updated Polish translation" into cm-10.1
Changed USB page icon from Android to Cid

Change-Id: I57386c2d555723adad99cafe8ae6d2e8f6fe8cbd
Set QS panel opening to outer 15% of statusbar

Prevent accidental opening of QS panel in stead of notification bar

Change-Id: Ibe5f6504333af2ce124be1efbd463fb56a51c2dd
Option to enable gfx effects (Framework)

Based on original commit by kladd

Change-Id: Icf1ea2dc952ccb9c2e8fafd237e80a671bd467f7
Revert "SystemUI: fix delay in applying am/pm setting for notification clock"

This reverts commit 9e40defc3b40ead29bdceddbf5f3ff69c910783a.
Revert "4.2 Transition: Notification Header datetime click"

This reverts commit 809a720254b7432e3b821a55d23e57b054163fcb.
Revert "SystemUI: Forward port Statusbar Clock and Date actions"

This reverts commit 8d6125c0badfbd75f5dd71863aad7e688e849e8d.
4.2 Transition: Notification Header datetime click

- Fixes tiny clickable area for much smaller 4.2 date string
- remaps clock behavior:
  - click does open deskclock now - same as clicking clock widgets now does
  - long click jumps directly to alarm setup

Change-Id: Ic4e3f623ef7b6bf4116242b479c681f2866b4c9c
Fix status bar Clock events

Change-Id: I675d92d8f9bb497c9299867f62873d309def4fc4
Add clock styles and Clock color picker

This commit is a combination of CM, AOKP and SlimROMs work

features:

- Clock and date enable/disable
- Clock and date position
- AM/PM styles multilang support
- Fully customizable date in style and format
- Fully dynamic settings

Change-Id: Ied13570361e532374183b71998b50e15a0158d8c
[Framework] Port BatteryBar (2/2)

- Adds Battery bar with following features
- location set
- color
- aligment
- thickness
- animation

- dynamic slim settings

Change-Id: Iacb3e38505b0ab30bb3f9df54231aeb2c79c20f1
Fix update am/pm style on statusbar

- change works now on the fly not only after reboot

Change-Id: I2c202c35086878008ae23303ed07abc28614ffca
framework: add RAM Bar to Recents

Conflicts:

	core/java/android/provider/Settings.java

Change-Id: If1f3026404b6e77e8e8700bc0d3b4d65a2b0be97
Framework: Recents RAM bar (1/2)

due that the old rambar was resource consuming and as the settings rambar not really
right in showing the truth of real RAM usage in android, I decided to go new ways.

This commit changes our rambar (or better add a total new one) in following points:

- we do not use any longer ther permanent observed RunningState machine
- instead we read out /proc/meminfo (thanks steven for that idea)
- rambar shows now the real memory usage
- ppl have the possibility to show applications, cache and other ram usage as they like
- deeper explanations I add how android mem managment works.
- color picker for all rambar states
- reset to default
- updates only on actions on recents so that it is making sense
- and a lot other

cheers

Change-Id: I2cb29655f92fcdacd8a71d6192224ec8964acc17

Conflicts:

	core/java/android/provider/Settings.java