tools/cygprofile/profile_android_startup.py
def _SimulateSwipe(device, x1, y1, x2, y2):
  """Simulates a swipe on a device from (x1, y1) to (x2, y2).

  Coordinates are in (device dependent) pixels, and the origin is at the upper
  left corner.
  The simulated swipe will take 300ms.

  Args:
    device: (device_utils.DeviceUtils) device to run the command on.
    x1, y1, x2, y2: (int) Coordinates.
  """
  args = [str(x) for x in (x1, y1, x2, y2)]
  device.RunShellCommand(['input', 'swipe'] + args)
Simulates a swipe on a device from (x1, y1) to (x2, y2).

  Coordinates are in (device dependent) pixels, and the origin is at the upper
  left corner.
  The simulated swipe will take 300ms.

  Args:
    device: (device_utils.DeviceUtils) device to run the command on.
    x1, y1, x2, y2: (int) Coordinates.
  
Simulates a swipe on a device from (x1, y1) to (x2, y2).
Coordinates are in (device dependent) pixels, and the origin is at the upper
left corner.
The simulated swipe will take 300ms.
Simulates a swipe on a device from ( x1 y1 ) to ( x2 y2 ) . Coordinates are in ( device dependent ) pixels and the origin is at the upper left corner . The simulated swipe will take 300ms .
def _SimulateSwipe(device, x1, y1, x2, y2):
  args = [str(x) for x in (x1, y1, x2, y2)]
  device.RunShellCommand(['input', 'swipe'] + args)
def _SimulateSwipe ( device , x1 , y1 , x2 , y2 ) : args = [ str ( x ) for x in ( x1 , y1 , x2 , y2 ) ] device . RunShellCommand ( [ 'input' , 'swipe' ] + args )
Simulates a swipe on a device from (x1, y1) to (x2, y2).
Simulates a swipe on a device from ( x1 y1 ) to ( x2 y2 ) .
"""Simulates a swipe on a device from (x1, y1) to (x2, y2).

  Coordinates are in (device dependent) pixels, and the origin is at the upper
  left corner.
  The simulated swipe will take 300ms.

  Args:
    device: (device_utils.DeviceUtils) device to run the command on.
    x1, y1, x2, y2: (int) Coordinates.
  """
device
(device_utils.DeviceUtils) device to run the command on.
( device_utils . DeviceUtils ) device to run the command on .
x1
y1
x2
y2
x1, y1, x2, y2
None