airtest.core.android.touch_methods.maxtouch module

class Maxtouch(adb, backend=False, ori_function=None, input_event=None)[source]

Bases: airtest.core.android.touch_methods.base_touch.BaseTouch

install()[source]

Install maxtouch

Returns:None
uninstall()[source]

Uninstall maxtouch

Returns:None
setup_server()[source]

Setup maxtouch server and adb forward

Returns:server process
setup_client()[source]

Setup client

Returns:None
transform_xy(x, y)[source]

Normalized coordinates (x, y)

Parameters:
  • x – coordinate x
  • y – coordinate y
Returns:

transformed coordinates (x, y)