Add DrawerLayout and ViewDragHelper classes found in the new support library.  These classes have been modified to work with the current framework and no need for any support or compat classes.

Change-Id: Ib57f37fadd5c01efef3188b8e2b906444d870fbf
Introducing the PreferenceDrawerActivity which makes use of the new navigation drawer UI google has introduced in updates to many of their apps.  This relies on headers which are displayed in the drawer and preference fragments as the main content.

Patch Set 2:
  Create drawable backgrounds for the drawer.

Patch Set 3:
  Only access the action bar if it is not null.  The setup wizard does
  not have an action bar and will cause settings to receive a NPE.

Change-Id: Ifddd889daaa5bdea01fef5c104536a0189ad93bf
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	core/res/res/values/attrs.xml
Give the drawer background more definition instead of just a solid color.

Change-Id: I6f5a116a01b13c200aa89000484d945f2ebb6a54
systemUI: add swipe QS to Notifications and back

Change-Id: I95aaa4fa1b0e8f74537e48936fe2c0f9f15671dd
Port forward: Core: Volume options panel 1/2

Change-Id: I7a5bb88d18b70b9c1bb236afd85270b27cd4106d
Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:

	core/java/android/provider/Settings.java
	core/java/android/view/VolumePanel.java

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

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

Conflicts:
	core/java/android/provider/Settings.java
add ability to unlink notification volume from ringtone volume

set initial notification link initial state
Dark app chooser

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Ported: Volume adjust sound preference 1/2

Author:    StevenHarperUK <StevenHarperUK@gmail.com>

Feature : Volume adjust sound preference 1/2

Adjusting the volume makes a nice "boing" sound
Personally I find this annoying
This patch makes this a preference in
Settings | Sound
    Volume adjust sound
        Play sound when adjusting volume with hard keys

The Checkbox is defaulted to ON (1 in defaults.xml)

Look for 2/2 for the Settings, Sound Panel Change

Change-Id: Iad89a0c49288094e21824aa9c9e1bf98c29cfec3
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml

Conflicts:
	core/java/android/provider/Settings.java
Fix build
Keyguard: Use translucent UI

Change-Id: I31a48ec17b2a39e431bf9d8f1ce8f9c731fb2f2d
QuickSettings: Invert long click and click actions

Change-Id: I49acc7d3c473debd33b2491f4dde15d185f59c52

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
wifi: Allow Settings to retrieve country code

This makes getCountryCode behave like getFrequencyBand

This allows Settings to get/set country code like
it can for frequency band.

add aditional fixes to original implementation
and changes for 4.4

Change-Id: Id9f00d3a678642c6c142fd1511af820d729507a7
QS: Add loading when toggling state, and longpress brightness

Change-Id: Ifa133e15259b45da4c625ce47b3f12209bcd1b94

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
QS: Add flippable tiles

This commit adds support for tiles that can be flipped to reveal
more information, as well as a two flippable tiles:
 - A Wi-Fi back tile displaying the current IP address in case
   you're connected to a Wi-Fi network. Tapping the back of the
   tile opens the tethering settings, if supported.
 - A Bluetooth back tile displaying the number of paired devices,
   and tapping it toggles discoverability.

This commit also moves the loading spinner to the BasicTile, as
it is only supported in basic_tile layout.

Change-Id: Ic08b08a97c3dd999b1915c7bb108c850a2cbcd9b

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsBasicTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsTileView.java
Camera: add ISO mode support

Change-Id: Ied2075f950269990d836fc768b2c6c36088d494f
camera: add power mode support

Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF,
branch ics_chocolate.

Change-Id: I8a60668b18980fd5e6f9dd341db5a8a63deb99d0
Camera: add additional ISO modes (2/2)

Change-Id: I3460c3de4cbef467430673146a9ddb2fdc8f5032
Fix Photosphere/Camera FCs

Photosphere is setting a few parameters "blindly"
while the API says it should check the device capabilities first.

On TF101 (and probably other devices) the camera HAL doesn't handle
FLASH_MODE & SCENE_MODE and so it sends the required RuntimeException
for these, which makes Photosphere FC the Camera app.

=> Fix: check device capabilities & ignore these 2 parameters if the device doesn't support them.

Fix based on following Team EOS patch: https://review.teameos.org/#/c/1598/

Change-Id: Idd80299802e9213a3c40414ace3d516d39f47783
camera: Add support for sending raw commands

 * Certain camera drivers need magic commands to select special modes
   such as ZSL or HDR. Add support for sending raw commands from
   applications.

Change-Id: I512a765c7a67ffd2877e465cf6493ffc2b3b54ac