[1/2] Base: Add custom periods for data usage measurement

This commit adds week and day periods for data usage
measurement, instead of just months.

Change-Id: Ibd0067418435442d8cff922faf8ef0f6a5a28761
Add missing drawables for mdpi

this fixes FC's on enabling "contextual notification" in Settings

Change-Id: I678295725cf5c060c95841f96af450e44c87e598
Merge "Add missing drawables for mdpi" into android-4.4
frameworks/base: support devices with SoftAp that don't require firmware reload

Partial forward port from ICS.
Original Change-Id: If2db6e8ce675c3214ce645231c7a354f41ea0cc6

Conflicts:

	core/res/res/values/public.xml
	services/java/com/android/server/NetworkManagementService.java

Change-Id: I7912e12d30597cf50a5cf7a443c9d6b0b4dfda69
Merge "[1/2] Base: Add custom periods for data usage measurement" into android-4.4
Telephony: Introduce config item for Hot Swap support

When a Uicc Card is inserted or removed, Android pops up a prompt
to the user to reboot the device. This prompt is unnecessary if the
modem supports Hot Swapping of cards.

Introduce a new config item to indicate if the modem supports
hotswapping. Frameworks can then check this before propmting the
user.

Change-Id: I60c33d1f83d4f5b889b5f54bee0846675fbbb380
Base: Small DE translation fix

Fixes this: http://imgur.com/jVN49fU

Change-Id: Ibf3b771254adbc22f953ad1f7516f40b21923554
base: apply custom timeout upon volume dialog instantiation

The custom timeout is correctly applied at runtime, but after a reboot
the VolumePanel will revert to the default timeout, since the custom
value is not read from the config during instantiation

Change-Id: Ifa389011247adeee70ad5f3ff0b0072dd3dff02a
[1/2] base: fix OmniSwitch recents integration for multi-user

we must receive service start broadcasts with the user and send
the overlay broadcasts to the correct user

Change-Id: I0ae350adcd45d99f2c2a835b94de5d86b71e6031
Merge "base: apply custom timeout upon volume dialog instantiation" into android-4.4
Base: Lockscreen blur fixes

http://jira.omnirom.org/browse/OMNI-588

Change-Id: I063b1f6723246b3a8dd8617f51c656afd4e99666
Base: Live wallpaper in recent view

Show live wallpapers in the recents view on high-end devices

Change-Id: Iefbf4f292b6a9bfdb516f154cc2976db2ba86cde
[1/2] Base: Upgrade network traffic meter

*Updated class name to be less ambiguous
*Replaced the multi-check in settings with a proper listview
*Added the ability to view up-stream, down-stream or both
*Added the option to change how often it refreshes
*Added a check before it updates the status bar to prevent it from
refreshing everything needlessly
*Added icons to show data direction
*Remove unused style attributes

Icon artwork is courtesy android design downloads
Some features were inspired by previous work done by 0xD34D

OmniGears: https://gerrit.omnirom.org/#/c/5130/

Change-Id: I9f86292a6adbc5e30967df76fae510be248fc38b
Merge "Base: Live wallpaper in recent view" into android-4.4
Base: Reflect location mode in different QS drawables

Credits for the drawables to SlimRoms!

Change-Id: I8ca0ccdca9d95a2b4a76fa3490f14a21c452b5d4
Merge "Base: Reflect location mode in different QS drawables" into android-4.4
DocumentsUI: DE-Translation (add custom strings)

Change-Id: I3f632829baf221c92322d202f81d240919fdcb28
Base: Improve QuickSettings and bugfix

since im going to rewrite the QS but need more time, so i upload another commit
to fix some bugs and also improve the QS :)

based from
https://gerrit.paranoidandroid.co/#/c/3569/ and https://gerrit.paranoidandroid.co/#/c/3594/
thanks @BigBrother1984

slimroms patch (forgot the commit xD)
thanks @kufikugel

and small changes in our QS implementation

fix http://jira.omnirom.org/browse/OMNI-515
fix http://jira.omnirom.org/browse/OMNI-568
fix http://jira.omnirom.org/browse/OMNI-569

merged https://gerrit.omnirom.org/#/c/5164/
       https://gerrit.omnirom.org/#/c/5163/
into this since this commit now works :)

add longpress SleepTile toggle powermenu
fix bluetooth icon back tile
fix sleeptimeout mode
make sure invalidate all tiles views are called
remove unneeded animation listener (thanks @BigBrother1984)
fix Tiles background color
only auto arrange if dynamic mode enable on landscape

Change-Id: I0445e2018b1d0e4242850c7989b4285a3a7114c7
[1/2] Base: ActiveDisplay (rework interface)

really fix AD buggy stuff
tested with Music play
tested with No lockscreen
tested with faster screen turn off
check all sensor going off if AD not Showing or Disabled
fix notification posted/removed
make AD using System Window so it will covered all screen
fix Navbar translucent if Lockscreen Blur merged :P
now using Rounded Image
also introduce new RoundedImageView widget
 courtesy of @vinc3m1 (thanks)
fix build
fix sometimes screen turn off after unlock because screen timeout (hopefully)
now using new parser to get Notification data (thanks @Achep for the parser)
rework lightsensor manager
add NotificationUtils
fix brightness sometimes not changing

add support applications privacy mode (will not show content message if enable on each app)
see http://jira.omnirom.org/browse/OMNI-600

allow bypass AD if no notification and lockscreen is secure
see http://jira.omnirom.org/browse/OMNI-594

fix proximity always enable after adding new feature allow bypass AD
fix parsing notification data from app with targetSDK < 17

fix excluded app value (no body notice this broken since AD merged into OmniRom xD )

add option to allow bypass AD
make AD multiuser support

Conflicts:
	packages/SystemUI/res/values/custom_dimens.xml
	packages/SystemUI/res/values/custom_styles.xml

Change-Id: I1fc3047496cce71cefc1718b8ef3f4c4fc1605eb
Merge "[1/2] Base: ActiveDisplay (rework interface)" into android-4.4