HALO cleanup

hdpi and mdpi drawables were inconsistent, if you plan to use HALO on
lower res devices you must reproduce them.

Change-Id: I2746837bacd60c3079ace4c7523a68b8cd415f5f

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java

Conflicts:
	core/java/com/android/internal/widget/ActionBarView.java
HALO: new drawables for hdpi and mdpi

Change-Id: I531f4ae4244a389e9d6bbb6a3bc9f29447eebd50

- scaled down the xhdpi drawables properly for hdpi and mdpi
- removed some old and unused halo pngs
Fix build

Change-Id: Ie3989eba09a290b05eb0801a45d9a2f6b9c85132

OK,I think I have to change an input method
Fix Notification bar display shift

Change-Id: Ibe4afd63971c3c97f6fc430527ac0c673406824c
HALO: Add switch of HALO Button on Notification Drawer (1/2)

Change-Id: Id9bd3b1bd51afddd63dc83132a1aef15a45592fb
HALO: Don't bring home to the front if we're opening a floating activity

Change-Id: I73900ee7c62f621c36e7364d83ac3afc9039509f
HALO: make a trusted overlay

Change-Id: Ia607430d28330238b74037d7c03181398e5cee2b
Gesture: swipe on hardware keys to lock screen

This only supports devices that has MENU HOME BACK hardware keys for now.
Merge Derpy

Change-Id: I74e3df7239cd4d9f256cd3ff060bbaf09d8e20ca
HALO: Kill floating activities running in the same thread when tapping outside

This change makes all activities from the same app to be finished when we tap outside the halo window. Other apps running in different threads
(floating or not) won't be finished.

Change-Id: Ib377579ae5dc3b9f7e4c95129d6d353d2ba4b65f

Conflicts:
	core/java/android/app/ActivityThread.java
HALO: fix speech fade out

Change-Id: I7305c3912241818ef483ccf6fedfe6b33710ec4f

Conflicts:
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
HALO: dismiss/flip fix, clearall/last-notif-empty fix

Change-Id: Idf7a617c9e2180e6d52fd042f0ebb662b7cf83d0

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
HALO: fixb build
Revert "HALO: Kill floating activities running in the same thread when tapping outside"

This reverts commit 1a9348ed33c2fb19a1f212b37f44bf67434eff12.
Revert "HALO: fix speech fade out"

This reverts commit 22dbc2044d3e442ad5658af855b26ed678c03f03.
Revert "Revert "HALO: fix speech fade out""

This reverts commit d11ee9a0b2180937d520a5fe0040db15b8810649.
Revert "Revert "HALO: Kill floating activities running in the same thread when tapping outside""

This reverts commit 9b06895fee3a79ec75f2d66dafdbf2d5623c7599.
HALO: halo can save last position now

Change-Id: I5a608b02323ab9fdfa3922a3c9844e75c3a1ab09

fix

Change-Id: I00ced429cfcc90507b8cc14b228a74b8902e67e8
Frameworks: hot reboot support
1. add hot reboot option to advanced reboot menu
2. do not start reboot proccess when reboot option is "hot reboot"
3. kill system_server when reboot option is "hot reboot"

Conflicts:
	core/res/res/values-zh-rCN/strings.xml
	core/res/res/values/arrays.xml
	core/res/res/values/strings.xml

Change-Id: I9b75b04e29147466c1c7c20e6cbd08e6748fe07a
Frameworks: fix possible NPE when reboot

this is because of mRebootReason may be null and sometimes mRebootReason is not cleared after a hot reboot