Animate height changes of permission grant dialog

- Usee the android:animateLayoutChanges="true" attribute on the views that
  change height. So we only have to animate the fadeout/fade-/slide-in,
  not Y translations.
- Remove unnecessary local state
- Prepare animation code for addition of more views
- Scale animation speed with what is requested by settings. Among other
  things this allows disabling of animations

Bug: 78788390
Test: Looked at animations
Change-Id: I378d4d61670c453e7fbad1a099a21b8b4f24b896
2 files changed
tree: fd08d8e12b74a8ab70e999de40e2d70d2eecd98c
  1. PermissionController/