Use seamless rotation if it is requested by display

Apart from making the display change has the highest priority to
decide whether to seamless rotation. Also Merge isRotationSeamless
and getRotationAnimation to one method so the animation hint can
be resolved in a single loop.


Fixes: 242179536
Test: ShellTransitionTests#testShouldRotateSeamlessly

Change-Id: I8ccf22e230fd4b6fab1e7aceb130fd876e9dc16c
2 files changed