Java android.test TouchUtils fields, constructors, methods, implement or subclass

Example usage for Java android.test TouchUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.test TouchUtils.

The text is from its open source code.

Method

voidclickView(InstrumentationTestCase test, View v)
Simulate touching the center of a view and releasing.
intdragViewBy(ActivityInstrumentationTestCase test, View v, int gravity, int deltaX, int deltaY)
Simulate touching a view and dragging it by the specified amount.
intdragViewBy(InstrumentationTestCase test, View v, int gravity, int deltaX, int deltaY)
Simulate touching a view and dragging it by the specified amount.
voidtapView(InstrumentationTestCase test, View v)
Simulate touching the center of a view and releasing quickly (before the tap timeout).