Revert "SystemUI: make clock and time clickable in statusbar"

This reverts commit 74a3b04a457967577f3366d35f62b847d8037463.
Revert "status bar: native battery percentage"

This reverts commit 363f776cb15312b961fa808619028249a0b5913f.

Conflicts:

	core/java/android/provider/Settings.java
Revert "Squashed: Add options for reboot to recovery and reboot to bootloader"

This reverts commit b14beef1c0bf641cad388635aacf34a20ff23713.

Conflicts:

	core/res/res/values/symbols.xml
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
SystemUI: Ensure that the Clock is actually enabled in IconMerger

to device if we need to calculate

Change-Id: If12b0e26b32f044f1a82cf8b539283194d1d0b4c
Keyguard: Enable quick unlock (1/2)

old way does not work anymore exactly like before. So adapt the idea to new LP code

Thankd DVTonder for the basic idea prior LP

PS:
- do PIN view correctly
- Hide OK button if quick unlock is enabled on PIN view

Change-Id: I86660afafb8648d36d6c135343c88afcfc5173fc

Conflicts:
	core/java/android/provider/Settings.java
Forward Port: Smoother Upload and Download Animation

Change-Id: I6e6409cc85ad951019dbac10156d4aed92f4c5bc
Keyguard: don't refresh ui when screen off

KeyguardStatusView is doing refresh all the time,
which cause high power when screen off.

PatchSet:
- We turn of the refresh when screen is off which is a good
  idea. But we should force latest next refresh when screen turns
  on. Du that a timechanged refresh maybe comes a bit later.

Change-Id: Icbb9a92bae3cf099417ab820617dd3f17e49f75a
Forward Port: Volume button seek on screen off [1/2]

PS : Fix the short press event type

Change-Id: Id55a1240a133b5144502fced862bae040b390662

Conflicts:

	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Frameworks: only send volume key events to the session manager if it is not a wake key

This fixes the problem of volume adjustment when volume wake up is activated and volume rocker
music search disabled.

Change-Id: I04873fd82885134c3674290dae530def269bfb50
configurable advanced reboot menu

Conflicts:

	core/java/android/provider/Settings.java
status bar: battery level text

1. Add TextView to display battery level percentage next to the battery icon.
2. Remove support for displaying battery percentage on the actual battery icon itself.
3. Also respect view on lockscreen and opened notification drawer.
status bar power menu
status bar power menu: use constants
SystemUI: make long pressing recent switch to last app

With this patch, long pressing the recents key on the navigation bar
will attempt to switch to your last application in the activity stack
before the active one.

The user's current home launcher package is ignored as well as SystemUI (so that
RecentsActivity does not influence the behavior).

Change-Id: I38771e0fce16b55bb5186af47115b4e812cb60b0
Signed-off-by: Roman Birg <roman@cyngn.com>
Signed-off-by: Adnan Begovic <adnan@cyngn.com>

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyButtonView.java