framework: fix screenshot and rotation animation for devices with abnormal hw rotation

port foreward from cm10.1:
https://github.com/CyanogenMod/android_frameworks_base/commit/ac555b9ca9a76d13a26fc9ea40980fe57258761b#diff-d6f7bba268a742c91252cc9e64e2381a

Change-Id: I14b6e2403b9be345a1a591138f8a3a12ca8e4f89
Keyguard: fix statusbar lags when default widget shown.

When statusbar became expanded KeyguardStatusView receives
onKeyguardVisibilityChanged callback and refreshes ClockView.
Because it receives more than one call and every time it reads
new values from resources it cause lags in opening statusbar panel.

Replace this code with BroadcastReceiver and ContentObserver to
refresh it only in case something was changed.

Change-Id: If0dbc1db059536806852661931cb2e6436f2acf4
Merge "framework: fix screenshot and rotation animation for devices with abnormal hw rotation" into cm-11.0
Merge "Keyguard: fix statusbar lags when default widget shown." into cm-11.0
SystemUI: unbreak RecentsPanel with translucent decors.

Change-Id: Ibcc4f5fc11109c0f2c149e66b7531e8c9ea79ae1
core: add AST support

Change-Id: I42203d7c0173e6cd880da3937f88e8f5c501db9d
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0-sgt7