Settings: : Slim heads up customizations for LP (2/2)

Basically it follows the same idea like we had on SlimKat....see here
https://github.com/SlimRoms/frameworks_base/commit/323ed77c5e5bd6d421beae1f8118eb580be5ecf1

That said there are some differences in this more or less completely recoded feature.

- Moved it into the app policy files
- Enable/Disable on every app (no system apps)  either longpress a notification and an button appears / or in notification app settings
- For now only snooze and heads up timeout configurable....other stuff will follow later.
- fix up some AOSP code for it as well fix some UX inconsitence.
- left swipe dismiss, right swipe put into background, swipe down opens notification drawer and moves the notification into it
  (aosp default behaviour is a big UX disaster....swipe up dismisses it completely and swipe down open notification drawer but heads up stays....first
   happened to me 10000 times accidentally which is really bad and second does not make sense. Hence this change of the default behaviour)

Well and a lot smaller things as usual.

Change-Id: I96c3259ad705b1776c58d2119410cd97d5f6d928

Conflicts:

	res/values/slim_strings.xml
	src/com/android/settings/notification/NotificationSettings.java

(cherry picked from commit c8ac8f32087dd2584c54477415cc42a62564f650)

Conflicts:
	src/com/android/settings/notification/NotificationSettings.java
Settings: add headsup manifest permission

Change-Id: I26f1a086c73030183488b563a31b60f43e028f69
(cherry picked from commit 1ac2e0320dfdcac23e632f92000a5443b48c7379)
Update temasek translation: RU

(cherry picked from commit a8686af804ca60ad45ecec2d86ad2b339b0576cf)
Revert "Revert "settings: Fix warnings""

This reverts commit 29f58c70388857cad9f928e13881de619c1c7898.

Fixed in 2b5ad1694e849353118386ae96a8b0e5e24ea0c1

Change-Id: I79c3addc7e5c1e83b8df2033f7ee497d9f5ac4eb
(cherry picked from commit 98ebb254fb8ff5dab78dc726135516a47163f695)
Settings: Option to enable/disable scrolling cache

(cherry picked from commit 5a5c87dea007b37446cb24e8e4a1b229d15cee3a)

Conflicts:
	res/xml/development_prefs.xml
Settings: Added a missing FR translation

Google did a bad job.
One french translation about the battery saver is missing into the official Lollipop.

Here's the fix !

Change-Id: Ie26a1993166604414eb4dff55902a80759a3a333
(cherry picked from commit d91e866460f0583fce74d4fe4d006ef9783e9bfe)
Profiles: update text style to match Settings

-CategoryTitle for headers
-Material.Subhead for titles
-Material.Body1 for summaries
-fix some padding in abstract_trigger_row
-use ic_wifi_signal_4_teal for wifi icons

https://www.dropbox.com/s/mm8aiz44gvpsdlq/Screenshot_2014-12-15-21-54-45.png?dl=0
https://www.dropbox.com/s/z89en7orfup4b55/Screenshot_2014-12-15-21-54-55.png?dl=0

Change-Id: I5e9b77ba056220f0b82a92b2ff46c0f73d0b911b
(cherry picked from commit 479f51f04fded6960e335b041ba45df2cf4e7035)
Settings: : add ability to change the color in battery saver mode (1/2)

User complain about the ugly orange....give the user the ability to change the
color in status and navigation bar if battery saver mode is activated.

Especially for you Tylog :D

Change-Id: I37bc2865e6af4ea84cb4b9d254f5e8b1580083a9
(cherry picked from commit c1119b6b7564db725a2af080fc3002c4c56fd35b)
Settings: fix landscape layout on color picker

Change-Id: I9ecbb4154a28fb007fb54e9d737d0cd942105174
(cherry picked from commit 44eb63f40eac40c7407b6491b7b2fddd723f7c2a)
Settings: Wi-Fi WPS Materialized icon

Both aosp and factory images the icon is not visible

Let's make it visible and materialized.

Patchset: redraw vector and add xxxhdpi versions

Change-Id: I00580cfb719dd955f243b24afd186ee2c8f9cad0
(cherry picked from commit 8ff2ab06f25d6fd6dfc682cbdd29d9c75be21715)
Settings: Gesture Lockscreen (2/2)

Changes needed for lollipop

Change-Id: Icf2f5a5cd3474ea325097437bc2956c10e2ae9d7
(cherry picked from commit a1c5e1c85a13e6019a9d7d14d2f14c4203c8023f)
Unlock Gesture: Add user configurable lockscreen shortcuts Support

(cherry picked from commit 5a4cdd5e23bae33394f6d5ebb402ca0da59584b2)
Gesture panel [1/2]

This includes shortcut picker addition from cm author: Danesh
https://github.com/VanirAOSP/packages_apps_Settings/commit/ed26d12ca6c8b025810b91e4a4fd6010df2d71e0

This adds a gesture panel to launch custom actions.  The panel can be
opened from the navbar or quicksettings panel.  Hardware key binding
support will be added next

Squashed commit of the following:

commit 5c3c770ce764c81d2e8b07c5c621d58d879c88ff
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Thu Aug 28 22:32:33 2014 -0400

    hide gesture menu.. it's accessible from the gesture panel now

    Change-Id: Id39b0f7bc67ebf46c6e1c7f83c746dec327afcb2

commit 7fd93ce683b136941c6a407180d905889792b4c1
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Tue Aug 26 18:29:49 2014 -0400

    QS: add Gesture panel tile

    Change-Id: I6ecb534815198204467f0bb8020640a5727b7ba5

commit b156a65dacb9579e4d588e2f870abfe3b111e9c7
Author: PrimeDirective <activethrasher00@gmail.com>
Date:   Mon Aug 25 22:26:14 2014 -0400

    Add gesture panel support

    currently only used for the navbar, will be moved to vanir actions and
    made into a QS tile and as a bindable action for hardware button devices.

    Thanks to chameleonOS for the gesture activity creater code this is based on

    Change-Id: Iacd509fa337d67b652b13ee6bc3b26ec1686c02a

Signed-off-by: DHOMD <DHO@dho.im>

Conflicts:
	res/values/colors.xml
	res/values/vanir_strings.xml
	res/xml/system_ui_settings.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/cyanogenmod/SystemUiSettings.java
	src/com/android/settings/quicksettings/QuickSettingsUtil.java

Conflicts:
	AndroidManifest.xml
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	src/com/android/settings/Settings.java
	src/com/android/settings/androidx/HomeButtonSettings.java

Change-Id: Ia4bbe4128c51768e52d94d2fd9c5db6df9884f84
(cherry picked from commit 27c7c6b1b0631a0105be714883d31632675281b2)