Pass non-nullable event by reference instead of pointer

Since the motion event is never expected to be null, pass it by
reference instead of by pointer.

Bug: 210158587
Test: build only
Change-Id: Ib5c5f90ed5dab53b4ccb769b220ecdb177004a2f
4 files changed