settings: quicksettings: allow flip animation on clicking a tile (1/2)

fix building
more fixes, thanks to Dave Kessler
ported from BeerGang/android_packages_apps_Settings@e096896
Credit:VanirAOSP