Freeze screen while changing expanded desktop mode.

Also animate from old to new state.

Change-Id: I2db8ec4d55f7b8b5e592cc1ef21b86ebdbd00eb0
PhoneWindowManager: Delay setting updates during window animation.

Change-Id: I90ee5d8f83176a38a32b5ff38c4b191f1b78532e
Fix status bar brightness control when on secure lock screen

When the notifications panel is disabled no views are handling touch events
on the status bar, so we see nothing beyond each ACTION_DOWN. Intercept touch
events when needed specifically for brightness control.

Also recycle VelocityTracker when we're not using it, as per its documentation.

Change-Id: I84d4c788bcdb1e05244710aca933d97e3e60d1b5
Merge "Fix status bar brightness control when on secure lock screen" into cm-10.2
Merge "Freeze screen while changing expanded desktop mode." into cm-10.2
Merge "PhoneWindowManager: Delay setting updates during window animation." into cm-10.2
HALO (1/2)

Change-Id: I0be200997e728f0eb476e7cf219300aa4eb6ff80
Transparent Statusbar

Change-Id: I5297b232184b9bfb12b507b6747db3fddb652c35
Revert removing FLAG_ACTIVITY_CLEAR_TOP from intent
Removing that flag from the intent provokes some apps not being able to finish pressing the back key.
This change doesn't affect other opened apps.

Change-Id: I81a47f8e648114d8e2144a3b9854ede299d67871
HALO: halo can save last position now

Change-Id: I5a608b02323ab9fdfa3922a3c9844e75c3a1ab09

fix

Change-Id: I00ced429cfcc90507b8cc14b228a74b8902e67e8

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
HALO: keep apps in recents

Change-Id: I9ede8a1aba8d6721f077a39a31b6cc5cd8272dc2

Conflicts:
	services/java/com/android/server/am/ActivityRecord.java

Conflicts:
	core/java/android/app/Activity.java

Conflicts:
	packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
Halo: unregister settings obeservers

Change-Id: I57ec9b874c332bec8be2b3e3ed2505f6be53b79e

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

Change-Id: Iff348d1c6f75cbcdc19f73d97f4234750b2a69bc
HALO Style revamp

- speech bubbles are centered
- number batches are roundand simplified, same color as in g+
- markers appear as dots above the bubble
- hiding and dimissing triggers text hints
- couple of bugfixes

WARNING: some of the drawables are good for xhdpi only for now and must
be scaled down for the other resolutions

Change-Id: Ib656664f6f8c42b747df18d65d1e3fb40cb7480c

Conflicts:
	packages/SystemUI/res/values/strings.xml
Finish the floating activity again

Change-Id: I1db29ddd2c056d7645f1028e084face815a44e0c
HALO hiddenstate-fix + smaller numberbatch

once HALO is hidden an orientationchange won't wake it up getting in
your way.

Change-Id: Id7c2232e4e3e6e49392becbdcddeb1a494faafc8
HALO cleanup & better drawables

Change-Id: I7afb5f1e473e9611059e1ea2acfaa9d307696449
HALO hide bugfix, smaller numberbatch still

Change-Id: I5a94e0a7c39a7369cae2b0cabdbe8696eb15dbc5
Fix halo FC - HDPI Drawables

Change-Id: Ibae81429f7d0e9a38905b9d5cef0e1fd2d232d08
HALO new vertical gestures (NOT READY FOR RELEASE)

itroduces step gestures

-- Clear all notifications
-- Clear current notification

(*)

-- Hide HALO
-- Silence HALO until woken

Change-Id: I4b5bb7ec612dc0eb1d95e970348b15fba1d79df0