(self, start, end, duration=400)
| 173 | return ret |
| 174 | |
| 175 | def swipe_precise(self, start, end, duration=400): |
| 176 | start_x, start_y = start |
| 177 | end_x, end_y = end |
| 178 | adb_command = f"adb -s {self.device} shell input swipe {start_x} {start_x} {end_x} {end_y} {duration}" |
| 179 | ret = execute_adb(adb_command) |
| 180 | return ret |
no test coverage detected