[2/2] OmniGears: ActiveDisplay (rework interface)

really fix AD buggy stuff
tested with Music play
tested with No lockscreen
tested with faster screen turn off
check all sensor going off if AD not Showing or Disabled
fix notification posted/removed
make AD using System Window so it will covered all screen
fix Navbar translucent if Lockscreen Blur merged :P
now using Rounded Image
also introduce new RoundedImageView widget
 courtesy of @vinc3m1 (thanks)
fix build
fix sometimes screen turn off after unlock because screen timeout (hopefully)
now using new parser to get Notification data (thanks @Achep for the parser)
rework lightsensor manager
add NotificationUtils
fix brightness sometimes not changing

add support applications privacy mode (will not show content message if enable on each app)
see http://jira.omnirom.org/browse/OMNI-600

allow bypass AD if no notification and lockscreen is secure
see http://jira.omnirom.org/browse/OMNI-594

fix proximity always enable after adding new feature allow bypass AD
fix parsing notification data from app with targetSDK < 17

fix excluded app value (no body notice this broken since AD merged into OmniRom xD )

add option to allow bypass AD

rebased
change string to better explanation for feature
thanks @Pulser and @Jiangyi

Change-Id: Iec1915ec5faeaaa6b599916bd4195ed59f2e1653
OmniGears: FR translation

PS2-8: rebase, correction and add new translation

Change-Id: If54d5d39bcca9a70be9d13c811b80f59de3f9699
[2/2] OmniGears: fix ActiveDisplay for WifiOnly Devices

fix http://jira.omnirom.org/browse/OMNI-637
also fix for devices with unsupported Proximity sensor and Light sensor

Change-Id: I19a8c2cf1afbf7c631d27481ed84e700ba56368f
OmniGears: make easy to add a checkbox preference

based from Cyanogenmod, but im adding more preferences :D

use SystemCheckBoxPreference if you want adding option for Settings.System
use SecureCheckBoxPreference if you want adding option for Settings.Secure
use GlobalCheckBoxPreference if you want adding option for Settings.Global

example:

we always using like this

    <CheckBoxPreference
        android:key="soft_back_kill_app"
        android:title="@string/soft_back_kill_app_title"
        android:summary="@string/soft_back_kill_app_summary"
        android:persistent="false"/>

and put preference into java code

but with this patch, we can use like this

    <org.omnirom.omnigears.preference.SystemCheckBoxPreference
        android:key="soft_back_kill_app_enable" << put key from android.provider.Settings
        android:title="@string/soft_back_kill_app_title"
        android:summary="@string/soft_back_kill_app_summary" />

the preference will always use presistent command

no need to add this preference into java code again :)
and say goodbye to bad java code style xD

will make all checkbox preference using this, if merged :)

depends on https://gerrit.omnirom.org/#/c/5789/ :)

Change-Id: Ied880d49ccc60c1e02615eccc6d01ddbd30bddf7
Merge "[2/2] OmniGears: fix ActiveDisplay for WifiOnly Devices" into android-4.4
Merge "OmniGears: FR translation" into android-4.4
OmniGears: BarsSettings cleanup

use DeviceUtils also cleanup summary

Change-Id: I88fd7b2ef4af74ec2b867df4d5084bddc0159285
OmniGears: cleanup volume default settings

unify with other settings

Change-Id: Id1e0a267c979e08b4e22b55f3599def308592f59
[2/2] OmniGears: Option to enable Notification Light when screen is on

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

PS5
use this to change also
-align color pref
-disable battery light reset menu since no other page has this

Change-Id: I3f5b8f2136a833a4c651887f3c8c97d27246863e
Merge branch 'android-4.4' of https://github.com/omnirom/android_packages_apps_OmniGears into omnirom-android-4.4

Conflicts:
	res/values/custom_strings.xml
	src/org/omnirom/omnigears/interfacesettings/BarsSettings.java