MotionEvent: Simplify logic around transformations am: 6b38461a39 am: afc72f738d am: 7d0e81e299

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14556109

Change-Id: I39517a088f637cfe79773256804ee901691a0f54