Framework:Power Widget Support (1/4) (Phone)

This commit adds the Power widget for phones.  All toggles should work
except for LTE (disabled for now)

Patch set 2  - Fixes Sync toggle
Patch set 3  - Removes WIP
Patch set 4  - Rebase
               Switch to MultiSelectListPreference

Patch set 5 - 16
- some fixes

Patch set 17
- whitespace cleanup
- added some license text
- remove background on toggles for future ports of slim stuff
- some small cosmetic things

Change-Id: I17669420d9db9a347af182fc398c6426e18534f4

Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/layout/status_bar_expanded.xml
	packages/SystemUI/res/layout/status_bar_expanded_header.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Change-Id: I104ca847cf004792c4a1b4b0c3b6acace9355fa1

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	telephony/java/com/android/internal/telephony/ITelephony.aidl
	telephony/java/com/android/internal/telephony/RILConstants.java
Fix mobile data power widget button

Completely reworked to track modile data enabling from outside.

Fix long press to mobile data settings

Patch Set2: cleaned pesky white spaces

Patchset 3: rebased

Change-Id: Ie9b2e12d7e2fff9c4b174c07f341fc1eff32d1ed
Frameworks part: Port Reboot button in power widgets

patch set 2: removed permissions specific to Network Type Button

patch set 3: added license text

Change-Id: Idbcebcc176df133e020ff7f10d78fb6111bf38e9
SystemUI: Use Settings.Global.getInt to read global settings

Change-Id: Idd15cf4b02b27da88a5ef77925c7b09206d46bba
SystemUI: Request CHANGE_NETWORK_MODE permission

com.android.phone.CHANGE_NETWORK_MODE permission is required for the
network toggle to function properly

also 4G permissions are required for us

Change-Id: I88a6f6705553fcb08bee5e8308e89395a4749e4f

Conflicts:
	packages/SystemUI/AndroidManifest.xml
Long press notification page switch button to toggle power widgets

Change-Id: I3a100acae96f52f413c3d82270b2598bf3a6d213

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Framework: Add Fast Charge widget - (1/2)

Change-Id: Iac753914624ce82e0ccd2a89dda66870923fa5f4
Update FastCharge widget

Change-Id: Icec19a391c394b6d22ec1e352f731ce2435d13b9
Show all widgets on lockscreen

Change-Id: I1aa21d56e8b4d8cd85f9cc4d45d58bfffc5111f4
Update swipe animation for powerwidget

Change-Id: I49709d3ce7fbacea9abe0123de52dec3f2a2b59d
Reworked Wifi AP Button in powerwidget to be like quick settings

This fixes issue 93 in redmine: WiFi is brought back to its previous
state after disabling WiFi AP.

Change-Id: I22047e17092b8706512ec52128b0405b1a4bf8a7
Fix notification cutoff at slim dpi

Change-Id: I0dc2cc2a7748463c4392ba8d9145e3cc0d95edf2
SystemUI: Added Notification Sound Toggle to PowerWidget (1/2)

The power widget this patch adds effectively toggles ONLY the notification sounds.
Typically when you silence or force-vibrate your phone, it does this to both ringer+notification sounds.
This behaviour is by design in Android since 2.2.

What this toggle does is switch between notification sound volume 0 and whatever you have set,
not "muting" it by Android standards (since you can't w/o also muting ringer), but still silencing it.

For people who want to be able to quickly silence notifications but still hear the ringer.

-
Patchset 2: Added mdhi graphics

Change-Id: I51e4e53ff0592dac5e57a10fc745578e7b69918e
Fix merge derp for powerwidget

Change-Id: Ia48010d0da6ffd0620531cb894a7980dd075cdb3
Revert "SystemUI: add statusbar slider preference"

This reverts commit 5229608e7e76824c6a6945e15357659773cc40a4.
Revert "SystemUI: add statusbar slider preference"

This reverts commit 43123f6876e3003dde8a59986341bec32867341d.

Conflicts:
	core/java/android/provider/Settings.java

Change-Id: I6122f330cea5cd30611488dcd30b83edbac1aaf6
Status bar brightness control from CM10 (1/2)

Change-Id: Ida526bf19e56d549f7cc75c47466e6953295d888

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Framework:Notification Drawer Brightness Slider - (1/2)

Patchset 10:

fixed the compile errors

Patchset 11:
- cleanup tabs and whitespaces
- cleanup unused code
- cleanup code which doesn't work for 4.2.1
- change getInt and putInt to getIntForUser and putIntForUser
- change setBrightness to new aosp handling
- rearrangments
- optical changes to fit better to 4.2.1
- animation same as pw because a pw feature

Patchset 12
- added forgoten userhandling observer

Patchset 13
- added license text xml

Patchset 14
- damn old code - another cleanup unused imports

cheers

Lars

Change-Id: I28c0a61c684be8429331a1445e261c5150a10138

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Conflicts:
	core/java/android/provider/Settings.java
Fix missing strings and merge derpage for PowerWidget

Change-Id: I41063072fb29c1f828463c36a9cd99e1d2fdf7d2
Revert "Pinterest typo (1/2)"

This reverts commit 8e214b21753b9082d1ae44c90b29b6faf8a524b7.