Ejemplo n.º 1
0
        public void DoDrag(RECT viewportRect, Vec2f startPointRate, Vec2f endPointRate, int dragDuration)
        {
            var startPoint = GetEmulatorPoint(viewportRect, startPointRate);
            var endPoint   = GetEmulatorPoint(viewportRect, endPointRate);

            AdbTools.GetInstance().DoDrag(startPoint, endPoint, dragDuration);
        }
Ejemplo n.º 2
0
        public void DoClick(RECT viewportRect, Vec2f pointRate)
        {
            var point = GetEmulatorPoint(viewportRect, pointRate);

            AdbTools.GetInstance().DoTap(point);
        }
Ejemplo n.º 3
0
 public void DoClick(RawPoint point)
 {
     AdbTools.GetInstance().DoTap(point);
 }