Screenshots - respect insets of bitmap when passed in.

Explicitly sets the size of the animated screenshot preview to the size
of the bounds for the animation provided.
Adds an option to not show the flash animation when using a provided image
to show visually consistency between the originating view and the screen
shot UI.

Bug: 154524544
Test: locally on fullscreen, partial and overview screenshots
Change-Id: I3d0b48fd44d93182472f939114025bf67bdf8e71
2 files changed