Settings: Rewrite Quiet Hours (3/3)

Added:
	Wifi Connected Preference
	Charging Preference
	Individual Day Preference(s)

	Completely rewrote quiet hours
		to reduce system calls.
		No more calendar objects
		or checking three preferences
		and comparing their values
		on each quiet hours check.
		Reduce that to ONE preference
		check per preference

PS2: Fix going from forced on to timed off
	not causing an update in states.
PS3: Ensure battery status is correct if
	the device is plugged in before
	boot is finished
PS4: Clean-up old bits from the bobs.
PS5: Fix preference summaries being incorrect
	in some instances.

Change-Id: If6d94256c61be6ad8b2ffda4cab82f43bc4cc2af

Conflicts:
	AndroidManifest.xml
	res/values/slim_strings.xml
	res/xml/quiet_hours_settings.xml
	src/com/android/settings/ldroid/QuietHours.java
	src/com/android/settings/ldroid/service/SmsCallController.java
	src/com/android/settings/ldroid/service/SmsCallService.java
Settings: Heads up meets SlimKat....SlimKat meets Google IO [4/4]

For detailed explanation see here: https://gerrit.slimroms.net/#/c/9937/

This patch adds the 4 possible user configurable settings.

1. Enable always expanded heads up notifications.
2. Set heads up snooze time
3. Set timout timer
4. Show updates of pending notifications

5. Add in app info screen a checkbox to enable heads up for the app.
   As another possibility aside the longpress on the notification on
   notification drawer.

Change-Id: I999df799cecb487c502e4a77626445813eeb197f

Conflicts:
	AndroidManifest.xml
	res/values/slim_strings.xml
	res/xml/notification_drawer_qs_settings.xml
	src/com/android/settings/applications/InstalledAppDetails.java
	src/com/android/settings/ldroid/NotificationDrawerQsSettings.java
Settings: ES translations

PS2: Remove tabs

Change-Id: I51841453e1ddb06fbb179c520d723117030c95a1
Settings: translation - RU

If6d94256c61be6ad8b2ffda4cab82f43bc4cc2af
I999df799cecb487c502e4a77626445813eeb197f

Change-Id: I999d0a3e31ff1974d4575658cdf885765db9d08e
Settings: translation - RU

Rest of Torch paraphrase
Thanks @zujasehet

Change-Id: I960e3f7ff1283d6e3386d882bf112cdac09e0fca
Settings: ES translations (fix typo)

Change-Id: Ia628b0377ebbaeda601b286f7c89355208631a65
fix possible issue with launching new fragment

with api 19, Google introduced a a sanatize function to fix a security
issue (see Fragment Injection topics).

Not all class names had been included in the array, resulting in a force
close sometimes (most notably on Multi-Pane mode).

Change-Id: I4c1f3e492deb137bc4b556c75e94f38317947cac

Conflicts:
	src/com/android/settings/Settings.java
Settings: Quiet Hours Extra Daily Times (2/2)

Users complained that, for example,
	setting up weekend hours
	but then moving to weekday
	hours within the same day
	was previously impossible.

This allows...again...much further
	customization than even the
	updated and super custom times.
	After this there is no reason
	to complain =P

These are still only called as needed (boot,
	state change incoming, time changed)
	which is still much less polling
	than each haptic touch polling
	3 settings, creating a calendar
	object and comparing times...
	Each call, notification, etc...
	So I have no issue with it.

Also add a "reset times" button for
	user convenience.

PS2: Add preference categories to make it
	easier on the eyes
     Logic fixes and make unused preferences
	more obviously unused via setting
	the time summaries to "- - : - -"
     Set QuietHours summary to enabled pref

Change-Id: I6030f22e50a45883d5e8ba793e5b8706c4a9dac5

Conflicts:
	res/values/slim_strings.xml
Settings: translation - RU

I6030f22e50a45883d5e8ba793e5b8706c4a9dac5

Change-Id: Ica1a889d2b0954456637f49a48163c2b9e2bcb1c
Settings: ES translations

Change-Id: I0971d90cf44ad70b4fb6a3748494d20b3ad47c94
Settings: Make sure time-range summaries match

If time-range is set back to s == e make sure we set summaries
	for both respectively.

Change-Id: I74cf11896920ab88e34920bae45bb341f4d1cc1c
settings: add remote view tile (2/2)

Change-Id: If1459085628fecd8875cca51609b6bc7efbf1cbe

Conflicts:
	res/values/slim_strings.xml
	src/com/android/settings/ldroid/quicksettings/QuickSettingsUtil.java
Settings: enable hex color picker for quicksettings styles

Enable the hidden hex value option in the margaritov color
    picker used in the quicksettings styles menu so users
    can input hex values directly for tile background color,
    tile background pressed color, and text color. This was a
    requested feature.

Change-Id: Ib4e517c38a9edbc1a450c1266daa8b25e1cf4a5f
Settings: translation - RU

If1459085628fecd8875cca51609b6bc7efbf1cbe

Change-Id: Id8fd20d0d5ec4c7db7b66f7c902ba948bed0364d
Settings: ES translations

Change-Id: Ib97a7837e471b9004f5945e432124afd975fe63c
Settings: Show heads up at the bottom of the screen (2/2)

Due of user requests and indeed especially on hw key devices for a better
workflow we add an option to show heads up notifications on the bottom instead
of the top.

Animation we leave as is due that if it slide from the bottom into the screen it happens
to often that the user accidentaly interacts with it. If it comes from the top of the
container we add, the user has enough time to realize it. Sometimes a ms can make a big difference.

Change-Id: Ieab601df1dc4fa5350fe4b9e4952198eb8e2d788

Conflicts:
	res/values/slim_strings.xml
Settings: translation - RU

Ieab601df1dc4fa5350fe4b9e4952198eb8e2d788

Change-Id: I444f7ee1100df293590cae06b2ae6bdc49921800
Settings: italian translation

Change-Id: If8120d06ee619f0a5f7c03b9781d4b518b97e238
Settings: add new slim actions

add central strings and array for it

Change-Id: I68b2a5176fd0106c10c533242f5b41d5935c9e0a

Conflicts:
	res/values/slim_strings.xml
fix a typo in DE-translation

Change-Id: I54a746877a0b6dd43aba89e750b6b0bc789d4958