Squashed commit of Hybrid Tile (base)

Change-Id: Ic56a6d08a24c63dc866994c101ead30babc200a8
merge fix

Change-Id: Icfec0967340267d459c53a4a6d86ab3f83125755
Revert of "Hybrid Tile"
will be put back with proper ownership
Hybrid toggle

Change-Id: I5bdab2c3671c09ea0ba0b043f2c247ea3c02652a

Conflicts:

	core/java/android/provider/Settings.java
	core/java/com/android/internal/util/cm/QSConstants.java
	services/java/com/android/server/StatusBarManagerService.java
Custom view for hybrid toggle

displays DPI, Layout and Colors for the foreground app

Change-Id: I8b989365ec7a23bcd72780abf9eeb4e57eafd556
Open paprefs on long-press

Change-Id: I40411cd0fc54c7bc5e647e407f6b454178c50b4b
Derp

Change-Id: If3d359fd425609ddd581f9a428f78588612ed536
Caps

Change-Id: I1e5fa2d8681492ad579586ccabb9876e64573a12
SysUI/HybridToggle: do not launch with default intent

Change-Id: I0330f49a9c70b631b3cef794c92e07c82d8b0504
Code cleanup

A couple of fixes and some organization (untested but should work)
Fix build

Change-Id: If5a9d51d8522c9cb7b3d93c66baf287b29c71187
HT: quickapply, activity flags

Change-Id: Ie32e8c865eb457795af8c894911630c473b3afe9
Fix long tap

Not tested but should work

Change-Id: I5a16b0c22df687fdc4a75db44c4bbc012af1d6cf
[HTML5] Implementation of WebSockets (framework).

Added binding to android port for Html5 WebSockets.
Added external API for enabling\disabling from browser.
SSL Web Sockets are not implemented in the current version.

Change-Id: I8b7a42780410cb9f043e1f16570ea50db68e00ea
Restore Switch to QuickSettings & AOKP Date Click events.

Restored the switch to QuickSettings function if there are no notifications present.

Restored the AOKP click listeners for clock click actions.

Both of these were lost with update to align QuickSettings with CM base.

Change-Id: I51dafb1ee231593314219c47dd36c2fab25cf679
Restore Quick Pulldown & Correct Brightness tile.

Commit removes the inclusion of the SwitchToSettings function from the NotificationPanelView to restore the correct Quick Pulldown functionality. SwitchToSettings function remains in the code until I can fully implement this whilst allow full and correct function of the Quick Pulldown.

Modification of the BrightnessTile to correct non-functioning behaviour, prior to this commit the Brightness Tile made no change to the screen brightness. The tile now functions correctly

Change-Id: I83988411defef9e277dcdf95c9a360358b6fd357
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51
Please don't hardcode strings!

This avoids translations and clutters up the code really badly.
Uppercase

Just to keep consistency
Fix touch issue using 0% navbar

Change-Id: I0d140be9ab455291205fac7c38412b2c60e5b028

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java