Settings: Add heads up blacklist options. (2/2)

Change-Id: I13d849b49bee6f516b591625c2ea2e69dff12885

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/NotificationDrawer.java
Remove SystemSettingSwitchPreference.

We should not introduce one-off UI patterns when there are plenty of
examples where the same usage pattern (a feature on its own
PreferenceScreen with a global enable switch in the action bar) is
handled differently everywhere else (e.g. daydream, cast display,
blacklist). This makes for inconsistent UX.
Also, there are discoverability issues: As there's no other case of a
preference with an embedded control widget opening another preference
screen, users won't expect to find another screen behind it.
Additionally - but entirely subjective - the control looks plain ugly,
as the preference padding is too large for the large switch.

Change-Id: I61284e961babefa3748102b05055fb1d03b079b0

Conflicts:
	src/com/android/settings/cyanogenmod/NotificationDrawer.java
Deduplicate adapter-of-installed-packages code.

Change-Id: I454ba79eddaaff86233a2cc341f4c8bebe94729e
Hide heads up settings and show a notice if heads up is disabled.

This follows a UI pattern used at several other places, such as
daydream, screencast, profiles or blacklist settings.

Change-Id: I5635338ceccae8ba8450284d3078889333fb77c6
Settings: Add heads up quicksettings tile. (2/2)

Change-Id: Ib1db69671d9f5c2c6dfa019739674fee50df9340

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/quicksettings/QuickSettingsUtil.java
Settings: Fix switch state being out of sync.

    - Since QS Tile can also set state of Heads up now,
    we have to set a content observer for the action bar
    switch.

Change-Id: I1c63fd2627a0f823eb6982456e1ed79ab84d1957
Settings: Remove unnecessary padding from HeadsUpSettings.

Change-Id: I823aa97f32049dc6c6baf6c859c47219952fe454
Fix heads up action bar switch handling for tablets.

Similar to commit 91f47b9f55467f1c8de4c6c732375d9f6f3c3942.

Change-Id: Ia4c5e8169ccd6786d2284eccec30397cac48d218
Merge CM
Settings Search
Fixes
What R U doin her
Merge CM
Identicons: Add identicons to ChaOS Lab [2/3]

PS2: fix build
PS3: make all menu entries dependant on switch

Change-Id: Ifcbc108ec7d0885e5001b761b29c0abb21626b71

Conflicts:
	AndroidManifest.xml
	res/values/arrays_aicp.xml
	res/values/attrs_custom.xml
	res/values/strings_aicp.xml
	res/xml/aicp_lab_prefs.xml

Conflicts:
	res/values/liquid_arrays.xml
	res/values/liquid_strings.xml
	res/xml/display_settings.xml
Merge CM
Search fixes
Display stuff
Fix
[2/2] Settings: On-The-Go mode

On-The-Go turns on the camera of your phone and streams it to an overlay,
which is drawn over everything.
this makes you feel like your display is transparent, as you see the content
behind it.

its really useful when you are using your phone while walking, thats why
we called it "On-The-Go"

have fun!

Also:

[2/2] Settings: On-The-Go: Add quicktile

[2/2] Settings: On-The-Go: Hide on devices without camera
Hide camera switching for devices without front camera as well
if we dont have a front camera, open the first camera we have.
also hide the options from the dialog.

Conflicts:
	res/values/custom_strings.xml
	res/xml/power_menu_settings.xml

Conflicts:
	res/values/mahdi_strings.xml
	res/xml/power_menu_settings.xml
	src/com/android/settings/mahdi/PowerMenu.java
	src/com/android/settings/mahdi/quicksettings/QuickSettingsUtil.java
Fix some stuff
Merge CM
Translations
Some search fixes
HeadsUp: User configurable timeout (2/2)

Change-Id: I6c55636205237044891324f0dd855046aaafb256

Conflicts:
	res/values/attrs.xml
	res/values/cm_strings.xml
HeadsUp: option to launch in floating window (2/2)

Change-Id: Ibbdbf7957738d2301eacc190a0ab408ce20350b5

Conflicts:
	res/values/cm_strings.xml