Example usage for Java android.test TouchUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | clickView(InstrumentationTestCase test, View v) Simulate touching the center of a view and releasing. |
int | dragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, int deltaX, int deltaY) Simulate touching a view and dragging it by the specified amount. |
int | dragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, int deltaY) Simulate touching a view and dragging it by the specified amount. |
void | tapView(InstrumentationTestCase test, View v) Simulate touching the center of a view and releasing quickly (before the tap timeout). |