[1/2] Base: 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
make AD multiuser support

Conflicts:
	packages/SystemUI/res/values/custom_dimens.xml
	packages/SystemUI/res/values/custom_styles.xml

Change-Id: I1fc3047496cce71cefc1718b8ef3f4c4fc1605eb

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout/active_display_content.xml
	packages/SystemUI/res/values/custom_attrs.xml
	packages/SystemUI/res/values/custom_dimens.xml
	packages/SystemUI/res/values/custom_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java

	modified:   core/java/android/provider/Settings.java
	modified:   packages/SystemUI/res/layout/active_display_content.xml
	new file:   packages/SystemUI/res/layout/active_display_notification.xml
	modified:   packages/SystemUI/res/values/liquid_attrs.xml
	modified:   packages/SystemUI/res/values/liquid_dimens.xml
	modified:   packages/SystemUI/res/values/liquid_strings.xml
	modified:   packages/SystemUI/res/values/liquid_styles.xml
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardTouchDelegate.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java
	new file:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/LightSensorManager.java
	new file:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/NotificationData.java
	new file:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/NotificationUtils.java
	new file:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ProximitySensorManager.java
	new file:   packages/SystemUI/src/com/android/systemui/widget/RoundedDrawable.java
	new file:   packages/SystemUI/src/com/android/systemui/widget/RoundedImageView.java
ActiveDisplay: Fix for flo and other devices

The changes made to layout/active_display_content.xml were not
made to its layout-land and layout-sw600dp counterparts

Make them here too to stop flo from crashlooping in systemui.

These values may need to be tweaked later, but preventing crashloops
is top priority.

Change-Id: If137eaabad735539cc9d50c107a1733bef71538d

Conflicts:
	packages/SystemUI/res/layout-land/active_display_content.xml
	packages/SystemUI/res/layout-sw600dp/active_display_content.xml

	modified:   packages/SystemUI/res/layout-land/active_display_content.xml
	modified:   packages/SystemUI/res/layout-sw600dp/active_display_content.xml
[1/2] Base: 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: I346d4ed0ca02c6f8a6da1f3bf1de59ac9179d7b7

Conflicts:
	core/java/com/android/internal/util/liquid/DeviceUtils.java
	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java

	modified:   core/java/com/android/internal/util/liquid/DeviceUtils.java
	modified:   packages/SystemUI/res/layout-sw600dp/active_display_content.xml
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java
	modified:   packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ClockView.java
Merge branch 'kitkat' of https://github.com/LiquidSmooth/android_frameworks_base into HEAD