PowerManager : Make proximity check opt-in

Change-Id: I7cf64a82530da2e655018e43683ba7a5584d54f8
(cherry picked from commit 2323852b776e1ccee5dd48f88f2f7a77d96a967a)
Make sure ThemeConfig is non-null when loading resources

When the device boots into safemode, the theme config will end up
being null and we need to check that prior to using it to retrieve
resources for the StatusBarIconView

This fixes CYAN-5009

Change-Id: I1a90bc9f9c65cb41a6e58947bbd1b6d7728a952b
(cherry picked from commit ad6c58261c2cc025cb8fdc806469d9dfd3835aaa)
PAC-man: make swipe to quick settings default
CarbonROM: Smart Pulldown 1/2
PACman:
Frameworks: go kitkat + style tweaks and follow googles color sheme
fix number picker blue line and highlight

Change-Id: I473c855a0e2cd068e62cd2ec4b807c04215b1c81
fix remaining blue dialog dividers

Change-Id: I0b4d2d0706f3393933e40d9c70b62aa3c9b68ed5

Conflicts:
	core/res/res/layout/dialog_custom_title_holo.xml
	core/res/res/layout/dialog_title_holo.xml
	core/res/res/layout/dialog_title_icons_holo.xml
fb: changed all open forgoten UI from google into new UI

Thanks kroz

Change-Id: Ibc32ad8e73617dd74c8cd313dc2e071962eec966
fb: update missing google UI changes for 4.4

Thanks to kroz other things are now as well consistent to the new
google UI style

Change-Id: I604d29293b04bbcf279efd4d5bf2970ff8ee0c75
fb: change alert dialog to new 4.4 UI guidelines and add

Holo / Holo.Light switch to reflect it proper on the
different app styles.

Change-Id: I0fb7cd06d19a8eef66551e9f0281d60f33b2efe6
fb: global menu follow new 4.4 UI

The sound indicator is still ICS blue...change it to white
In general we should consider to change all tab_selected
files into a Holo.Light switch due it is already defined in styles.xml

but thats work for our themer :p

Change-Id: I02b5331e223319517c5536522cd6bc419745ce3f
fb: correct seeker fb style for 4.4

Based on this commit https://github.com/SlimRoms/frameworks_base/commit/a845169c128c19825a69a0ebdf2e4d366fdd67ad

the idea was good but bad done. A middle in the night action lol.
Problem is that holo light themed app cannot handle the white seekbar of course
So add the complete seekbar into the Holo.Light switch to support both cases

Holo: white seekbar
Holo.Light: drak gray seekbar

Change-Id: I82252d0cb30cd4af47d624a37ccc904cb7e9c1e6

Conflicts:
	packages/SystemUI/res/drawable/status_bar_toggle_button.xml
	packages/SystemUI/src/com/android/systemui/settings/ToggleSlider.java
fb: follow on seekbars new UI guideline for 4.4

Google forgot some things.....seekbar is one example

Change-Id: I996062a978322c93694e360dff1e4f42dc589062
Revert "CarbonROM: Smart Pulldown 1/2"

This reverts commit 12df150d492ca35918dd5d35449f46c920faa860.

Conflicts:
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
Revert "Revert "CarbonROM: Smart Pulldown 1/2""

This reverts commit 2a5d0215783a82446abd08742f7372742fe2388f.
Revert "fb: follow on seekbars new UI guideline for 4.4"

This reverts commit d42971d848dc20b2aae4644a119000cf23d5b2fd.
Revert "fb: correct seeker fb style for 4.4"

This reverts commit 02161e683c9d162a786c38aea5aac7a6a237d802.
Revert "fb: global menu follow new 4.4 UI"

This reverts commit 46817e9a47845398360ae59f14b72c7babba9b5a.
Revert "fb: change alert dialog to new 4.4 UI guidelines and add"

This reverts commit 5fd8ca22de94b646c417a73da8a4b2b302f8a59b.
Revert "fb: update missing google UI changes for 4.4"

This reverts commit 4ded85322dfee1a324e43987fafdbb4d7ff21825.