Fix Icon size in DocumentsUI

For XXHDPI devices if you go into Settings/Display and Notification light and select a custom value (application) you will see a GIANT icon.

Before - http://i.imgur.com/DRkua3T.png

After - http://i.imgur.com/f7xW4tY.png

Change-Id: Ia355bddc515906134c8b3b4e67d381aaacceec78
[1/2] base: allow disabling haptic feedback for virtual keys

Allows disabling haptic feedback for devices with
capacitive buttons (virtual keys)

Change-Id: I2820686ec2a93eb4a056af29ecee22dd699e9ab4
Add support for ICS camera blobs

foreported from https://gerrit.omnirom.org/#/c/901/ for legacy devices

Change-Id: Icf9010f4b6059405275107fadd5aac81cd294182
[1/3] base: added offscreen gesture support

Currently only oppo devices support this
To enable use overlay
    <bool name="config_offscreenGestureSupport">true</bool>

Offscreen gestures are gestures drawn on the screen
when off. Oppo supports the following gestures
V, circle, II, <, >, double tap

The default mapping form oppo are
V - toggle torch
circle - start camera
II - play/pause musiv
> - next track
< - previous track

This gestures are reported as keys F3,F4,F5,F6,F7,F8

This change also switches to the oppo dt2w implementation
in kernel.

This also adds the base support for volume key music track
control since this is sharing the same code

PS2
fixed broken volume wake

PS3
use sendBroadcastAsUser

PS4
also log key scan code

Change-Id: I89914d7ecc25dd1e13e60793233ee0db8dd1feed
Merge "Add support for ICS camera blobs" into android-4.4
Merge "Fix Icon size in DocumentsUI" into android-4.4
add bools to overlay for Samsung CDMA SMS decoding hacks

ported from CM7/9/10/11

Change-Id: I28093cdb8770f98b94cedbff63e6121c798cf9af
SystemUI: fix traffic meter conversion to bps

Android measures the amount of data transferred in bytes,
however, by convention, data rates should be measured in bits
per second.

*Convert the change in total data and time to bits and seconds,
and then divide the amount transferred by the number of
seconds that have elapsed.

*Update the labels and have them use the correct SI prefixes.

*Factor out or add @hide to public methods and constructors

*Remove all Runnables and Messages from Handler queue when
disabled

*Minor formatting changes to stay consistent with Android's
code-style guidelines.
https://source.android.com/source/code-style.html

PS2: Set maximum digits to prevent it from filling the statusbar

Change-Id: I9add610a8d14f5a48f2af0a82ced0c186224e282
Fix for data and roaming icons

- Enable data connected flag based on the data state.

- Do not display data icon in data connected state
if radio type is unknown

- Display data icon independent of voice service state
i.e even if voice network is unavailable

- Show cdma roaming indicators if either voice
or data is roaming.

- Cleanup roaming indicator default values.
Set default CDMA Eri index to roaming off

- Show service if either voice/data is in
service if ro.config.combined_signal is true

- Consider eri only when in service

- Add in service check to isCdmaEri.
roaming related information
in registration state will not be valid
during out of service.

Change-Id: I915421a6f5906d80ed5b8dd9c433115ad5df1f14
CRs-Fixed: 285986, 303275, 326204, 326634, 333008, 339297
(cherry picked from commit 7a3c1c35ed00f17dd345f824690877999dff2042)
(cherry picked from commit 83894db8b770d770891d42d078ba6d4dcfb29fb5)
Destination PS no: 2

Conflicts:
	core/res/res/values/config.xml
Telephony: Handle DATA_CALL_LIST in DCC.

- Added async handling of NetStatPoll.

Change-Id: Iffb7bf369062264dd773338c732bc69318d90b73
Bug: 11596853

Conflicts:
	telephony/java/com/android/internal/telephony/DctConstants.java
Wifi: wifi not connecting, once the APN gets disabled state

APNs are disabled on select network and they are enabled on
receiving connected event.
But forgetting an APN before the connected event is received,
will result all the remaining APN to be in disabled state and
they never connect.
So, Enabling all the disabled APN on forget network will help
to connect automatically to a saved APN.

Change-Id: Ifa2054916c5dfe66fe51f10ed713b5f7020c7ac5
wifi: Defer p2p find while in obtaining IP address state.

Do not allow p2p_find while station is obtaining IP adddress.

Change-Id: I0484f5af742ce208b7b6054b723d2281d432c3cd
[WIP] Multi-window

This is a big work in progress, which currently has some bugs,
but begins to look okay.

You can already multitask a little bit, by using the
app switcher and long-pressing an icon, then select "Add to
Split View".
Last window touched gets the key focus.

Code is very ugly, I know. Don't merge it, don't use it
for now. Unless you want to make your code ugly.

Enjoy :)

Change-Id: I4a03a84539fd3ac1273f0d3503fe8fafcd16be26