xiaocong / android-uiautomator-server

MIT License
169 stars 103 forks source link

try to support performMultiPointerGesture #22

Closed hongbinbao closed 7 years ago

hongbinbao commented 7 years ago

boolean performMultiPointerGesture (PointerCoords... touches) Performs a multi-touch gesture. You must specify touch coordinates for at least 2 pointers. Each pointer must have all of its touch steps defined in an array of MotionEvent.PointerCoords. You can use this method to specify complex gestures, like circles and irregular shapes, where each pointer may take a different path. To create a single point on a pointer's touch path: PointerCoords p = new PointerCoords(); p.x = stepX; p.y = stepY; p.pressure = 1; p.size = 1;

hongbinbao commented 7 years ago

done