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
merge CyanogenMod

Change-Id: I892ca17bac506e9a256c20e29a94450e645f9135