NavigationBar: Custom height (2/2)

Ported from http://review.cyanogenmod.org/#/c/23610/

Change-Id: Ibcb70ce1b3065f93b6471877064baad7d404e45a
Battery Bar

Port of https://github.com/AOKP/packages_apps_ROMControl/commit/4d23fe17046512f5d9841bd79cb1bc83480e73b0

Change-Id: Ib2839819420f171a6866050c008b268456454568
Add fast charge toggle

this commit add
- qs toggle
- interactive reacting with pw toggle
- option stays after reboot
- option is hidden if kernel doesn't support
- code cleanup

Change-Id: I070f2382052144c33fa054e36a6f27efdb6cbbcf
Add Margaritov Colorpicker

Change-Id: I51c06089411310111d89afd05c5b38ec160ee561
Settings: Colorpicker margaritov overwork and fixes which were urgent needed

More or less over a year a lot roms are using margaritov's and nillson's colorpicker
Due to the progress of roms this colorpicker needed a lot overwork now. Some fixes, some
improvements etc. etc. Should now be bugfree + additions we added and add now

Before I do a bigger list screenshot here....should explain all:

https://dl.dropbox.com/u/106208842/Screenshot_2013-02-26-02-39-02.png
https://dl.dropbox.com/u/106208842/Screenshot_2013-02-26-02-39-11.png

Important hints for kangers. Due that aosp depreciated hex color values on this stage
I decided to remove also in colorpicker this support in general to be aosp consistent.
This means that for defaultValues only int colors are accepted. Two ways to do this.

1. Set defaultValue in xml code. Like android:defaultValue="0xff33be5e" or link it there
   to a integer color resource (before there was only the possibility to set eg "#33be5e" which
   is depreciated from aosp)

2. Do it with the new integrated method I did about 2 month ago. setNewPreviewColor(int color)
   Of course at this point you can do to get hex resources like it was before, eg
   setNewPreviewColor(getResources().getColor(com.android.internal.R.color.holo_blue_dark)

3. or do both :p

cheers

Change-Id: I822eac92198f7cb3b2c394d8c419d12aa95ce313

Conflicts:
	res/layout/dialog_color_picker.xml
	res/values/strings.xml

Conflicts:
	res/layout-land/dialog_color_picker.xml
	res/layout/dialog_color_picker.xml
	res/values/strings.xml
	src/net/margaritov/preference/colorpicker/ColorPickerDialog.java
	src/net/margaritov/preference/colorpicker/ColorPickerPreference.java
Custom Carrier Label by BeerGang

https://github.com/BeerGang/android_packages_apps_Settings/commit/7efebbc66d7a8585c329c73a5dc2412f8745a156

Change-Id: I3510d45f182e6868c5f598a46502c47f8ab4376a
modified:   res/values/strings.xml
modified:   res/xml/display_settings.xml
modified:   src/com/android/settings/DisplaySettings.java

Conflicts:
	res/values/strings.xml

Conflicts:
	res/values/cm_strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java
Custom clock and date options

Change-Id: I38a7321eb485d9e01c1c4d11d13bb2255bf12af8
31062 - Added option to always pull down quick settings

Change-Id: I63fe0841f2bd69a549adaf811caab61d6b4db6ca
Battery Colours

Conflicts:
	res/xml/status_bar.xml
	src/com/android/settings/cyanogenmod/StatusBar.java

Change-Id: Ib879accac46f9c04e762de404d5bb16e26f0f874

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/StatusBar.java
User defined colours for pie controls (2/2)

This is the settings part of the commit.
For more information look at the framework/base commit.

patch set2: Rebased

Change-Id: Iaf486114db08cd6b002a3e5f25d6e4a9d915a7ae
Option to disable fullscreen keyboard [1/2]

Reworked with a little help from a commit of Cristiano Matos.

Change-Id: Ibc315913d8833033beaff4a6bbdf7b5f9c6d7f0e
NFC Polling Mode (2/3)

Change-Id: I4b966a53548a27e8d26c33699b8f7e18e5194a8a

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	src/com/android/settings/WirelessSettings.java
Advanced low battery indicator options (2/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version

This commit introduces following new SlimBean modes to indicate low battery

     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected. Also you user get a
status bar ticker message about the notification and notification is always
on first place of list. And last if vibration is enabled
notification vibrates.

cheers

-------------------------

Schubi:
Extended the new CM "more device settings" to a fully featured settings screen.

Change-Id: I9d1860ae57afd0f9a1d856e96180016b8aef145f
Configurable Notification Behavior [1/2]

Credits:
- Michele Primavera
- mnm9994u (SlimRoms)

Change-Id: If448dcdbf9a218b248582237feb0c0e4e0983377

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/xml/notification_drawer.xml
	src/com/android/settings/cyanogenmod/NotificationDrawer.java
HALO (2/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:
	res/values/arrays.xml
	src/com/android/settings/paranoid/Toolbar.java

Change-Id: I87ad32f302592fff2c77e7cb37c5695d40ee90cd

Conflicts:
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/tool_bar_settings.xml
	src/com/android/settings/paranoid/Toolbar.java

Conflicts:
	res/layout/installed_app_details.xml
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/xml/system_settings.xml
	src/com/android/settings/applications/InstalledAppDetails.java
	src/com/android/settings/cyanogenmod/SystemSettings.java
Floating window (2/2)
This is the setting part for the framework commit. This is a simple checkbox that allows the user to not make use of the floating window function seen in conjunction with PA's Halo feature. We are taking a different route on that Halo stuff and this is a very early start of it.

Schubi:
	Moved to CM System Settings

Conflicts:
	res/values/strings.xml
	res/xml/display_settings.xml
	res/xml/quicksettings_tiles_style.xml
	src/com/android/settings/DisplaySettings.java

Change-Id: I368248ec99d7cf2257640a0fdcf0e0738595b7ca

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/SystemSettings.java
Port Add Wifi name to notification drawer (2/2)

Change-Id: I0b0e8e69943f9bb14571062eadede3721a96ab81

Conflicts:
	res/values/cm_strings.xml
	res/xml/display_settings.xml
	src/com/android/settings/DisplaySettings.java
MMS Breath (3/3) & Missed Call Breath (3/3)

This will give your SMS notifications a breathing effect in the statusbar instead of being a static icon.

-----------------

Credits: @Kroz for the icons and idea!

This will give your Missed Call notifications a breathing effect in the statusbar instead of an static icon.

Conflicts:
	res/values/strings.xml

Conflicts:
	res/values/strings.xml
	src/com/android/settings/carbon/StatusBar.java

Change-Id: I583d7c6ed9c42697e0cdb1a4fda687f6f2a81a71

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/SystemUiSettings.java
Halo: Add master switch to disable Halo (2/2)

Change-Id: Iafde2e47f4d7fdafdf49c475eba26a8437c52089

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/SystemUiSettings.java
Option to enable Notification Light when screen is on (2/2)

This makes it possible to enable the Notification LED even when the screen is on

Change-Id: I3f5b8f2136a833a4c651887f3c8c97d27246863e

Conflicts:
	res/values/cm_strings.xml
	res/xml/system_ui_settings.xml
	src/com/android/settings/cyanogenmod/SystemUiSettings.java