Sha256: a1cc53715bc1c6364dd143281ac687a0fd69a3b883adfaa8fb6786b57399bafa
Contents?: true
Size: 772 Bytes
Versions: 14
Compression:
Stored size: 772 Bytes
Contents
package sh.calaba.instrumentationbackend.actions.gestures; import android.view.Display; import sh.calaba.instrumentationbackend.InstrumentationBackend; import sh.calaba.instrumentationbackend.Result; import sh.calaba.instrumentationbackend.actions.Action; public class DoubleTapCoordinate implements Action { @Override public Result execute(String... args) { Display display = InstrumentationBackend.solo.getCurrentActivity().getWindowManager().getDefaultDisplay(); float x = Float.parseFloat(args[0]); float y = Float.parseFloat(args[1]); InstrumentationBackend.solo.doubleTapOnScreen(x, y); return Result.successResult(); } @Override public String key() { return "double_tap_coordinate"; } }
Version data entries
14 entries across 14 versions & 1 rubygems