animation: Use the animation mixin in core and pass fill-mode as an argument

Bug: 65923
Change-Id: I4222d811d56a84fe046dfe4a96eda636e76967a5
Merge "animation: Use the animation mixin in core and pass fill-mode as an argument"