SystemUI: Status bar clock - fixes

This commit fixes:

- no overlapping more from status bar icons on center clock.
  The width depending on what the user has setuped (date and clock) is exactly meassured now
- do not start animations if they are not needed
- reduce settings provider calls
- a bit cleanup

Change-Id: I7a37a6ae8f9bad0f265119af05dc20cf21cd6890
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
[1/2] Base: Hide power menu on lockscreen

Adds an option to enable/disable power menu on lockscreen.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
policy: only disable power menu on secure lock screen

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Revert "Enable Notification Ticker"

This reverts commit 715a53c6c490cddfaa80f2bd055a05a536150dfa.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Frameworks: Do not allow to access quick settings on secure lockscreen - option (1/2)

We have a lot security guys as user due of using the phones as business phones...that
said a lot complains go into the direction of google how it is possible to have
access to quick settings on a secure lockscreen which is absolutely understandable
due that you are able to control Wifi BT AirplaneMode data etc.

This patch takes care on this problem and adds an option to control this behaviour.

ATTENTION: Due that this is really an UX derp for an average user this feature is
enabled by default now. User need to disable it explicit in settings to get on secure
locksreen the original android behaviour back.

PS2:
- fix derp

Change-Id: Ib437802ae8687dc8e99122a40e285bdd2df3e04c
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>