[tools/android] Add offset support to touch replay

This change introduces --offset-x and --offset-y options to the replay command, allowing users to shift the replayed touch events by a specified amount along the x and y axes.

Change-Id: Id8024976ef1f3e6dd7e78abb928fe65e8ad8a7ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7233781
Reviewed-by: Egor Pasko <[email protected]>
Commit-Queue: Anand Ravi <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1554892}
NOKEYCHECK=True
GitOrigin-RevId: f3f7a3106c00b54a5fc645a63769beaed5825ac0
1 file changed