Add getSurfaceRotation API to MotionEvent

Add an API to get the current rotation value of the transform of the
MotionEvent.

Bug: 207771136
Test: atest MotionEventTest
Change-Id: I05fb4455d0dcfc0de8c8564473ee8d43ac86c0bd
2 files changed