Follow up Androidx dynamic animation api change

 Refactor codes using DynamicAnimation Animation handler api codes
    for following up Androidx codes changes.

Change needed to support AndroidX platform prebuilts, which include changes that fix a severe accessibility bug and setting.

Bug: 167382784
Bug: 221303983
Test: build
Change-Id: Ie75cc4068fa0b49816756650e900b7943f6c97d2
Merged-In: Iaa0e787675f53ac16cf61f2d2b6adae02ab55623
2 files changed