The TouchUtils class in the documentation for Android has features such as drag():
drag()
https://developer.android.com/reference/android/test/TouchUtils.html#drag(android.test.InstrumentationTestCase,%20float,%20float,%20float,%20float,%20int)
but they do not support multi-touch gestures, such as two fingers.
Looking at the methods MotionEvent.obtain(), there seems to be no way to trigger a “virtual” event with a few touches from the test table.
MotionEvent.obtain()
Does anyone have a job?
-, , MotionEvent.obtainNano(), . , .
MotionEvent.obtainNano()