audio: add support for MSM audio formats

- Add support for EVRC, QCELP, and WMA formats
- Add definition for 5.1 channel recording
- Reference change If3676b88fa287b484ef8616c0a6b67177b61a720

Change-Id: I6b6e5ca98921adeadd2a3d76580fe85fb28eeaf0
(cherry picked from commit 10c4f204bb5ac78b9cf3854b536663ccd3d50333)
(cherry picked from commit 3f99cc5f134b0f00a52218ae1c0273cc11ae7702)
(cherry picked from commit 1d35b52c7c9cf1cfd3a3de372391a7a57f593af9)
audio: Define Proxy device

- Added Proxy device changes

Change-Id: I47921d696171de40bcfc30ebf99d4cafa0d4d4a3
(cherry picked from commit a8b7ed78ec088bc6924854661bacde51d7194ab3)
(cherry picked from commit cff61cfd964a1150919d9bfa7ec0ebfe35d5f247)
(cherry picked from commit bf8f7a2a574cb2e6aafae3efa6e4ee163ef65cf7)
audio: audio enhancements for playback and recording.

- Add playback and record support for EVRC, QCELP,
  WMA, AMRWBPLUS, WAV, ACE, and EC3.
- Add support for 5.1 channel recording.
- Add support for in call music.
- Add constants for call_state and vsid.
- Add definition for FM and proxy audio devices.
- Remove unnecessary format checks in frameworks.

Change-Id: If3676b88fa287b484ef8616c0a6b67177b61a720
(cherry picked from commit 6ca6cc15af88992ea485a458e67a8546b156672e)
(cherry picked from commit f65028d1752969bf43c853c1bb12ecd12055d5e8)
(cherry picked from commit b1952442db41188b74f331bd2397a579424821ab)
  audio: Support for MSM audio formats

  -Add audio format support for Voip.

Change-Id: Ie045ba926b3e1266afd3fb6fba09af3a55daaeef
(cherry picked from commit d1810964ecd2d50064a1fed51049ddc354b9a788)
(cherry picked from commit cd9c6dc56bedcabca77c2a01c6fb15f4d2e8edd5)
(cherry picked from commit 01c09aeae38716860ef1a806985cc946dca93f60)
audio: Add ifdefs for QCOM_HARDWARE audio features

Change-Id: I0ea423f9a28934dc1fee73bbb53c0d9d867877ff
Changed USB page icon from Android to Cid

Change-Id: I57386c2d555723adad99cafe8ae6d2e8f6fe8cbd
SystemUI: fix RecentPanel position in landscape mode.

In landscape mdoe we forcing ltr layout direction. This cause
call to resolvePadding too late and discards paddings
computed by fitSystemWindows. To workaround this we can catch
onRtlPropertiesChanged and force executuin of fitSystemWindows
one more time. To fix scroll issue after padding will be setted
we calling scrollTo with correct position.

Change-Id: I0ac10ac3554142b15114ce7588b61debda27235a
QuickSettings : Port from cm-10.2 (WIP)

Port quicksettings / ribbon from cm-10.2

Change-Id: I6710a62a82ed274eb9e8c86cd2a1faf657ae53f1
Quick Settings: Swipe to switch

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

Change-Id: I3cab45f72fe3c5fa40d4631fc6a84ea7bfe51bd1
Improve notification shade auto-collapse code.

- When the user dismisses a notification by swiping, also collapse
  notification shade if there are persistent notifications remaining.
  Only skip collapsing if there are still non-persistent notifications
  pending
- When the notification is removed by the app, wait a bit until
  collapsing the shade so the removal doesn't come as a surprise to the
  user
- Centralize the collapse trigger at one place

Change-Id: I4e5114f66e799a7c80e18b38abce5678da460846
Make notification-shade-collapse-after-dismiss behaviour configurable

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7
QuickSettings: Update all QS drawables to fit KitKat

- Recolored all drawables according to the new color theme
- Recreated some drawables to be able to include all in xxhdpi
- Remove some unused drawables

Change-Id: Ib5430059f67ff73677821122b8f2037094ba90c5
QuickSettings: Re-add Quick pulldown

Change-Id: I7bad553fe7eb4a3e91af69f811d99b74f7572aa3
Add FastCharge toggle and powerwidget button

Originates from SLIM
Some improvements by fishears

Change-Id: I585aafacba766fd0a8b2a86e265a2357c358d415

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/values-nl/cm_strings.xml
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Reimplement expanded desktop on top of immersive mode.

Change-Id: I8ed08afebef0bb08a2694b1dbdd6dd1887b5b065
SystemUI: fix recents animation in expanded mode.

Change-Id: I63b83763933468c4f1953341aad4317d142e8bb4

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
PieService: back to CM.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88
PhoneWindowManager: add ability to use Pie service for system gestures.

Change-Id: Id4e2c0d82f771cd1c20e9196fb6db347494cca69
Keyguard: smooth background change.

Change-Id: Ia0e4d0000db72b5cdb6fede03791805e34fa311d
Show panels on lockscreen in expanded desktop mode.

Change-Id: Iaa2d712130707169c7a08156f8ea5afc247fc4cf