Gets the screen coordinates of an event.
x
and y
are set to -1 if this is not a
MotionEvent or TouchEvent.
this |
the event |
x |
the x coordinate |
y |
the y coordinate |