Settings: QuietHours AutoSMS && Bypass Alarm

AOKP kanged DarkSlim...
	An original Slim feature.

Hai Slim =]
	Have an original AOKP feature.

PS2: Whitespace
PS3: Use slim_arrays
PS4: Remove unused imports &&
	Use StateListDrawable
	for Alarm Dismiss (color-
	changing button)
PS5: moved services into slim folder to have all seperated
     minor code style corrections
     add dialog instance handling in QuietHours.java
PS6: the right class folder is a good idea sometimes :p
PS8: added cancel button to the dialogs
PS9: Holo Gray

AICPfy

Change-Id: Ia24450ac6aa60e74f8c93113a35d43b4602de189
Settings: Quiet Hours Automatic Switch (2/2)

Given that we have settings that may be useful
	for any time the phone is set to silent
	(automatic reponse/bypass especially):
	enable an automatic switch method

Change-Id: I6abeb6f1716ed230fdb11b426a915acb08c3122b
Settings: Quiet Hours Logic Change (2/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)
This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Dependant upon this patch as well:
	https://review.slimroms.net:8443/#/c/39226/

Change-Id: I20873f7c66ea20d247cb8764a475f0bb17ccfbfa
settings: refactor QuietHours code

PatchSet: use correct context

Change-Id: I9391e274250128af5f0e9dea4bdfde2485d9a746
Settings: Add "Is Starred" to Quiet Hours (1/1)

Starred contacts only for bypass and response
	settings.

Change-Id: I3b2f216e1138a89751b9864d38e0f7e556d0a4de
Settings: QuierHours service: call with qualified user and introduce controller

This commit fixes 2 issues:

1. Call the service with a qualified user.

2. Complete overwork of the handling. Currently the SmsCallHellper is doing
   way to much work. Especially when time change broadcasts trigger the service
   update. Which ended in certain cases to a complete system overload.
   To fix it we use now a single tone controller to take care of this all

Change-Id: Iee4c988f206c9efe90c06114a9030637ba5bac97
Settings: calendar is not a single tone

uh man should not fix stuff on 4am morning :/

as well fix a logic derp

and another one :/

Change-Id: I6f2555ec2d1aa6b729f7ec519371b99f0906a41c
Settings: let the controller handle all

observer should update the service.

Fix ANR for schedulService() loop on start service
	command issued

PS:
After Juba fixed the root cause and the loop the boolean check is not needed anymore

Change-Id: Ic74239fc785c3590fe8a6dd030c71cb653c43bf8
Settings: Update QuietHours Checkbox on Toggle

Register observer to listen to outside changes
	to QH state

Change-Id: I5caf9c1492e6cdd616ac58841ba1e8a6439becd1
Settings: Prevent GC from grabbing observer

Change-Id: I3c35b18550243c5e31364cac5e6ccc9ec41201ec
Reorder Quiet hours menu a little

Change-Id: I9d568ccd9840cfa18379770235b82e410c5f3651
Settings: Don't match action bar parent for search on tablets.

Also adjust IME flags to
a) show the search icon as action key and
b) to not appear fullscreen in landscape

Change-Id: I9bc9851d39aa4d6dbed40df63dd4ea8df6f4c3f9
Settings : Scroll to preference on search and highlight

Change-Id: I93c4106d022b416205cc33cf5dbdf5d7635a002a
Highlight search string match.

Change-Id: I72c0380512028674c91f287325f221a686a4821d
Improve search performance.

The normalization regex is slow (5-10ms per entry on mako), so better
pre-cache it. Also cache the icons, as the number of icons is vastly
smaller than the number of potential search results, so they'll be
reused very often.

The regex change alone brings the duration of a single filter run down
to ~20ms from ~1200ms on mako.

Change-Id: Ia0fa9c554d0d585a52c8a2b87eecbf045388c961
Settings: Quiet hours fix (2/2)

Change-Id: I762aac6e4a862f836649c193c632d581177b0eef
App Circle Sidebar: Support for Configurable Trigger Region[2/2]

PS2: fix settings fc

Change-Id: I3a6ec82de4f330ad59a84fda2c6291f9af4c451a
quiet hours fixes for checkboxes

Change-Id: I21c86c5da13bdeb827905726fb03a8dce5790d72
Settings: Bump SettingsSearch db version.

Change-Id: I0ba3be71f61fcae9c2fe67064b5f890fdd0abb2c
Merge remote-tracking branch 'ap/kitkat' into kitkat