[2/2] Add bluetooth triggers to profiles

Change-Id: I374cc93364c88b8b29c88345deccf297234ff624
Ringtones: Fix ANDROID_LOOP=true for ArgoNavis and Perseus ringtones

Add ANDROID_LOOP metatag to ArgoNavis and Perseus ringtones, removed in commit
https://github.com/CyanogenMod/android_frameworks_base/commit/5d7c089cabe599c3c5614c53f5a94c8c2357340f

Change-Id: I2fd05e73d68758867a17d2c3369cfeefc203ac5a
JIRA: CYAN-1434
Issue: https://jira.cyanogenmod.org/browse/CYAN-1434
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "[2/2] Add bluetooth triggers to profiles" into cm-10.1
unlcok google play

Change-Id: Id616e1f5e90aacaa6a8708958ca6325490fe83ba
ajust navbar/statusbar size

Change-Id: Ied183c698aa37ede93b6466ca6fdc49fb7893d80
move clear all buttom to bottom left

Change-Id: I21014f7c9d0d5bdd6659a6092e6605a78236c320
WIP: enable volume rocker music control when keyguard is active

Change-Id: I796c3e8d4d9095f1a869265f18d28a41fe41bf85
Revert "WIP: enable volume rocker music control when keyguard is active"

This reverts commit 95e715a8894111b25443ca6fc327e2318fd9bb09.
add navbar power button

Change-Id: I50ca19dd00d553761e0ebf737b170326f8b09e49
auto expanded desktop (framework)

Change-Id: Ifcb2b2a4813c557b5abacaca9992b0455495109f
Decrease auto rotation settle time

Change-Id: Ieb93358923a426433b41d511e11a7c22c68afeb8
Change choose activity behavior

Single click to run just once, long clock to always use.

Change-Id: I1db4b65084d3c2dded0f014e95db90c9cf1cdec1
Remove 'Complete action using' title

Change-Id: I357a775890bced9fae3bdb4edd0d20cd3633ddbc
Do not check captive portal in mobile network

Change-Id: I1686e08c387110d6c542ef6466b223e779802bc4
HALO (1/2)

HALO is Androids one and only multitasking solution.

We explicitly do not go the Samsung/Cornerstone route. This solution is basically an extension of
the regular notificationshade, which is an aggregator for notifications that can be checked out when
time permits. HALO completes it by allowing you to respond to tasks on the spot, trying to be as
unintrusive as possible and flexible in regards to policies (white/black lists).

Features:

- Apps open up in floating state, apps underneath do not pause
- complete SystemUI & Core integration, making HALO feel like a native feature, source/SDK and UI/UX
- HALO has white and blacklists, which for now allow fine control for apps pinging through HALO
- multiple gestures to navigate HALO:
  - double-tap-move: move
  - tap-drag-left/right: task through notifications, finger up launches
  - tap-drag-up: dismiss notification
  - tap-drag-down: put HALO into semi-hidden state
  - swipe while HALO is hidden wakes it up
  - drag-to-X to remove HALO altogether
- comes with as few settings as possible, everything should be self explanatory and intutive,
  users must be informed about the double-tap gestures which is the only catch.

Known issues:

- Integration has been finished for PhoneUI. TabletUI and PIE must be integrated still.
- Packageinstaller must allow HALO through its overlay check or it will disable the install-app button.
- The low level has a few remaining issues:
  - Some apps still go up fullscale (they trick us with services, circumventing the intent flagging)
  - Some 3D games still pause
  - There is one known app that refuses to end on back or touch-outside, that is WeChat
  - The activitystack pause implementation works but is makeshift

To-Do:

- On-screen tutorial at first start up to teach users the gestures
- Fixing all known issues, full integration in the remaining UI's
- Perhaps hybrid engine integration for running floating apps in a decreased size

Merge branch 'multiwindow' into jellybean

Conflicts:
	core/java/android/app/Activity.java
	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values-land/dimens.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/view/PieStatusPanel.java

Change-Id: Ia00cdbe8efb3bf5a6c874dc7e581d3a2982a1f90

Conflicts:
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Halo: Bugfix for Layout < 0 crash

Change-Id: I870a8b195995500fa631a8b08da413039769ff37
Floating window (1/2)
This is the popup code from Paranoid Android's HALO, which has already been commited. This commit just allows it to be on or off as some users may not want to use this function. We have a better idea on how to use this functionaility which will be seen later.

For now though, this is the messy way of turning it on and off.

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

Change-Id: Ica702fbe9348ea3055e8c15da97574d2da783479

Conflicts:
	core/java/android/provider/Settings.java
Fix Floating Window

Change-Id: Icf48df5d6ffbfb8e6b16a632f5135a0fa02dd946
Halo: Add master switch to disable Halo (1/2)

Change-Id: Ifb0f4e8abdce1ed3d4cc4c973edc08794781db64
Fix Halo not showed at first notifiction drop

Change-Id: Iefa98e2168e0c53db99466de69da91cfd3465155