async def METHOD_NAME(self, dx, dy):
    down_time = SystemClock.uptimeMillis()
    start_x, start_y = (self.width / 2, self.height / 2)
    end_x, end_y = (start_x + dx, start_y + dy)
    self.motion_event(down_time, MotionEvent.ACTION_DOWN, start_x, start_y)
    self.motion_event(down_time, MotionEvent.ACTION_MOVE, end_x, end_y)
    self.motion_event(down_time, MotionEvent.ACTION_UP, end_x, end_y)