AOKP custom system animations (1/2)

Porting this to L to see how she works out

Ported from here: http://gerrit.aokp.co/#/c/12304/

Thanks to Steve Spear
add needed boolean methods