Base: [1/3] Customizable lockscreen & navring targets

This is a squashed commit, ported from CM:

Add GlowPadView extensions needed for lockscreen targets and nav ring
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: I4f82fd3fe04ac16c6737d38b2473f2a533c5d326

Framework : Lockscreen - Customizable shortcuts
Author: Danesh M <daneshm90@gmail.com>
Change-Id: Ic3b935df5c0da35f31373d96943e442dc39cf11b

Add back navigation ring customization
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: Iebe4ec7c2519b85cfd5189d060444764a50f3cf6
Add support for QC's time_daemon

Enabled by BOARD_USES_QC_TIME_SERVICES=true, it requires the device
to provide its own time_daemon executable and libtime_genoff.so
proprietaries. The library should be copied by the device's setup
config to $OUT/obj/lib for linkage (and pushed to the final build,
obviously)

Change-Id: Ie6964dbe2692dc33fc04093a5b89b6922d8443c8
Bring back two-line layout for status bar date.

Change-Id: I4bf7ce61b22da89b3b8c1a3f00e077461061f7b9
Merge "Bring back two-line layout for status bar date." into android-4.4
Add time_genoff.h needed by QC time daemon

This should have been included as part of
https://gerrit.omnirom.org/#/c/3532/

Devices that enable the time daemon fail to build without this.

Change-Id: I31a8f71af6f76ed526040ba5ff93a680e124ba4a
Merge "Base: [1/3] Customizable lockscreen & navring targets" into android-4.4
Port "Option to control cursor in text fields using volume keys (1/2)"

Change-Id: Ib8ab93eb635af8c87df15d72c46312ce7f95546c
SystemUI: temporary workaround for garbeled screenshot preview

The problem shows some underlying issues View.LAYER_TYPE_HARDWARE
so this is NOT a fix. Just since this issue is so obvious visible
it would save us from a lot of bug reports and questions for now :)

Change-Id: If188aa668c1024e857d931ccef4ad3e99edce348
[WIP] Multi-window

This is a big work in progress, which currently has some bugs,
but begins to look okay.

You can already multitask a little bit, by using the
app switcher and long-pressing an icon, then select "Add to
Split View".
Last window touched gets the key focus.

Code is very ugly, I know. Don't merge it, don't use it
for now. Unless you want to make your code ugly.

Enjoy :)

Change-Id: I4a03a84539fd3ac1273f0d3503fe8fafcd16be26
Force disable hardware keyboard

Change-Id: I12ffa641186144b075292d103def4da34b7bbc7b
Base: Add OmniROM flavour to settings easter egg

Before: http://www.youtube.com/watch?v=btzsbM-sxiU
After: http://i.imgur.com/ui2N37S.png

Change-Id: I18051da4e6b90825843ed21bd82c4ce1cb0bd60d
Quick Settings: Add visual indicator of ON/OFF Setting of Mobile Data tile

Change-Id: I7dc0c8943df7a9478655bdde6745662c3831288f
[1/2] base: allow disabling call end sound

Change-Id: I4e5942de5c61dab9ee59cbf3b6599af32edb1d47

Conflicts:

	core/java/android/provider/Settings.java
Turn off carrier provisioning by default

Whether or not to use carrier provisioning is a setting hidden to the
end user that is currently not set. Unfortunately, on some carriers that
may result in it being set to yes, or effectively set to yes, without
other accompanying changes that must occur, such as setting a tethering
apn and possibly having a carrier provisioning app, resulting in hitting
a paywall when a tethering plan exists, or, worse having nothing happen
at all when you try to tether since the data doesn't have an apn set.

Change-Id: I3b5b3cc86e3325302411f46e3fd5f7a7c1b9f57e
Base: [1/3] Customizable lockscreen & navring targets

This is a squashed commit, ported from CM:

Add GlowPadView extensions needed for lockscreen targets and nav ring
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: I4f82fd3fe04ac16c6737d38b2473f2a533c5d326

Framework : Lockscreen - Customizable shortcuts
Author: Danesh M <daneshm90@gmail.com>
Change-Id: Ic3b935df5c0da35f31373d96943e442dc39cf11b

Add back navigation ring customization
Author: Danny Baumann <dannybaumann@web.de>
Change-Id: Iebe4ec7c2519b85cfd5189d060444764a50f3cf6

Conflicts:

	core/java/android/provider/Settings.java
[1/2] SystemUI: Pull down QS if x > 70% width

Added Settings

Change-Id: Ic41d331e8f0166484b124e91a8ed8e904ff38edb

Conflicts:

	core/java/android/provider/Settings.java
Change pull-down to outer 15%

Change-Id: If9dd291446f6ec1a2148661219b5c32ffe1a7df3
SystemUI: Forward port Statusbar Clock and Date actions

Port of http://review.cyanogenmod.org/#/c/27795/4

PS2: Cleanup and address comments
PS3: Remove unused variables

Begin old commit message-----------

Patch set 1-2: Initial port
Patch set 3  : Fixes date click action
Patch set 4  : Remove unused import

Includes:
- Add onClick action to notification clock and date
  In expanded StatusBar
  - clicking clock opens alarms
  - clicking date opens calendar - today selected
  Id: I850732dcca0e65af59ce009aaf9f7ba18bcaf915

- Add onLongClick action to notication clock and date
  - As discussed with ciwrl on google+, LongClick opens DateTimeSettings
  - Moved on-touch color change to superior xml solution, as suggested by
    Andrew Boren <preludedrew@gmail.com> here: http://review.evervolv.com/#/c/3676/"
  Id: I1fae71e347ffcb786227ba0b2651a66f2df35e27

- Add SET_ALARM permission for SystemUI
  If one or more third-party alarm clock app is installed, clicking clock should
  open an app chooser for the alarm clock. However, permission for
  com.android.alarm.permission.SET_ALARM is required to make this behaviour
  work properly.

Change-Id: I8006e57a953fe0c4be480e0aa27a4c28c672f982
base: ActiveDisplay: fix for disappearing notification bar

What a derp
http://jira.omnirom.org/browse/OMNI-158
http://jira.omnirom.org/browse/OMNI-101

PS2
dont do it on secure lockscreens

Change-Id: Idf7fd7c15fcd87e2efb62f0a234e15f1df1921e8