[2/2] OmniGears: Upgrade network traffic meter

*Implements list preferences where applicable to simplify the settings
*Add the ability to track Upstream, Downstream, or both
*Add the option to change the frequency with which it updates

PS3: add a config to disable network traffic meter
PS6: Update strings and check if stats are supported automatically

Base: https://gerrit.omnirom.org/#/c/5129/

PS8
use TrafficStats.UNSUPPORTED constant
use value as summary for list preference

PS10
use this to cleanup some of the other settings nor now

Change-Id: I778d981fb7a57d07127608f99d45936a55ae4898
OmniGears: remove double strings

Change-Id: I9fa378f400d5b1a749941066ce47c9757a20ab05
[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
[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

Change-Id: I3f5b8f2136a833a4c651887f3c8c97d27246863e
[2/2] OmniGears: Driving Mode

Add option Driving mode

this will speak for:

Allow changing Volume TTS
Incoming call
new Message from
read new message
battery fully charged
charging start
charging stop
Clock speak after screen turn on
Date speak after screen turn on
Which app allowed to speak for Notifications
Speak for Music track title (thanks Utkarsh for idea :D)
fix audio focus while music playing
add less speak notification

NOTE: Requires TTS engine installed

how to use:
goto More... (below INTERFACE) => Driving Mode
Enable Drive mode then choose what you want to speak while driving :D

Drive mode will automatically check for TTS engine installed or not

have fun ^.^

Change-Id: I4711d026ca807c445de8115b60f7c59d59f1f179

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_attrs.xml
	src/org/omnirom/omnigears/interfacesettings/MoreInterfaceSettings.java
Merge branch 'android-4.4' into cherry-picks

Conflicts:
	res/values/custom_arrays.xml
	res/values/custom_strings.xml
	res/xml/active_display_settings.xml
	src/org/omnirom/omnigears/chameleonos/ActiveDisplaySettings.java
	src/org/omnirom/omnigears/interfacesettings/BarsSettings.java
fix merge derp