Update config ordering when entering/leaving pip

- Always set the activity windowing mode to the previous windowing mode
  prior to pip until SysUI has a chance to update
- When entering with bounds animation, do the bounds animation before
  resetting the activity windowing mode and setting final bounds
- When entering with alpha animation, immediately reset the activity
  windowing mode and final bounds
- When exiting, set the activity windowing mode to fullscreen along with
  the task bounds and do an inverse scale animation from the previous
  size up to fullscreen
- Skip the animation when exiting to fullscreen in another orientation
- Dumping pip task org state

Bug: 149946388
Test: Enter/exit pip
Test: atest PinnedStackTests

Change-Id: Ia5a50a5e2ce7621c2c678d0ded3d8c02b1932302
12 files changed