Frameworks: Add Reworked KK HALO Drawables by @arzbhatia

PS2: Fix tabs

Change-Id: Ia39b1d23f2a7443e100d27230d4e131a38d9fc09
Signed-off-by: Arnav Gosain <nolinuxnoparty@gmail.com>
Framework: Rewrite Quiet Hours (2/3)

Added:
	New Toggle States.
		Toggle is now aware
		of if quiet hours
		is truly enabled or not.
		Enable "force" mode
		on click: turns quiet hours
		on / off
		Double-click to return
		to "timed" mode.

	New Features:
		Wifi Connected Requirement
		Battery Charging Requirement
		Individual day times

        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: Ensure booted before firing intent

______vanirized______

PS5: cleanup

Change-Id: I61ef5afa32c5ff883129b9362423af7f724c5ac1
Signed-off-by: Dan Trifan <jimsth@gmail.com>
HeadsUp: Only remove heads up if attached to window

Attempting to remove mHeadsUpNoficiationView from the window manager
when it is not currently attached will throw an IllegalArgumentException
so we check if it is attached and if so remove it, otherwise carry on.

Change-Id: Ida916eba496c4183e47288ef24a8a93c46a7eddf
Merge "Framework: Rewrite Quiet Hours (2/3)" into kk44
Merge "Frameworks: Add Reworked KK HALO Drawables by @arzbhatia" into kk44
Themes: Add method to "apply all" a theme

Change-Id: Ic8feaeade6c52707e6b5b17921b1b577b94ec8cf
Themes: Add URI for querying previews of applied components.

Change-Id: I97417901f3b03fc82df5a823970991ddd8092df2
WallpaperCropper: load wallpapers in the background

Change-Id: I134d94a85f25bf5db4c15fa9a89265c53e5b0c1d
Signed-off-by: Roman Birg <roman@cyngn.com>
If your bum is leaking, you need to be seeking: rocka pads

Change-Id: I4843e2274d54f445a0ef755aa0e92329de1deea5
quiet hours: add back the option to disable system sounds (1/2)

Change-Id: Ie494c441c3e0e48a5394fce3f5e0ef671c3d085f
Signed-off-by: Dan Trifan <jimsth@gmail.com>
lockscreen: fix custom lockscreen image

Jesus H christ.  This code could have been a lot simpler.

Change-Id: I2516cc6e8341c2198e4e5110c21cdba4a2fb178a
KeyButtonView: fix longpress and double press actions on a recents key

Change-Id: I24556a4b9ea9529bf71f62ccb4a6a542afd09b57
Lockscreen blur: fix duplicate flag updates

This fixes the wallpaper from flashing when the keyguard is unlocked.

Change-Id: I73d1116c10b09eddd3c462142e0699fe4d34fdb8
HeadsUp: Fix dismiss on back key press.

Change-Id: Ia213aeba114d153f5561622a2bea884963f3d8a1
frameworks: move safe volume warning above expanded volume panel

Fixes JIRA bug BACON-50

Change-Id: I1bc7c4781aa81cccd42281f70b394b7f7d81d3e5
Signed-off-by: Roman Birg <roman@cyngn.com>
SystemUI: improve one finger notification expansion

Fixes JIRA bug BACON-70.

Sometimes the quick settings ribbon would eat the initial ACTION_DOWN
setting mInitialTouchY in the expand helper, but we are clearly not in a
notification that we can expand here. So only set the initial y point if
we are inside the notification scrollview.

Change-Id: I628553ac15cc6b4ee3c682fe46bd1d96c6bc154d
Signed-off-by: Roman Birg <roman@cyngn.com>
Selected libs/androidfw/ResourceTypes reconciliationationation

Change-Id: Ie96e10182febe1d3ff4600e620c32b06a9e8c268
ActiveDisplay: fixes/improvements medley #4,678

Add in permanently banned apps (thanks to omni for the idea)
Fix screen shutting off if you tap/hold the unlock handle multiple times and
  then start an app or unlock the device
get rid of pointless dummy activity and use the unlock intent
use powermanager for handling the screen stuff
use ACTION_SCREEN_STATE(s) to set if the screen is on or off instead of IPC to prevent race

Change-Id: If7f83d4f662753d17bed1b48d445af9c4e16bf5b
Merge "ActiveDisplay: fixes/improvements medley #4,678" into kk44
Merge "quiet hours: add back the option to disable system sounds (1/2)" into kk44