(self, x, y, duration=1000)
| 147 | return ret |
| 148 | |
| 149 | def long_press(self, x, y, duration=1000): |
| 150 | adb_command = f"adb -s {self.device} shell input swipe {x} {y} {x} {y} {duration}" |
| 151 | ret = execute_adb(adb_command) |
| 152 | return ret |
| 153 | |
| 154 | def swipe(self, x, y, direction, dist="medium", quick=False): |
| 155 | unit_dist = int(self.width / 10) |
no test coverage detected