Example #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);
        }
Example #2
0
        public void DoClick(RECT viewportRect, Vec2f pointRate)
        {
            var point = GetEmulatorPoint(viewportRect, pointRate);

            AdbTools.GetInstance().DoTap(point);
        }
Example #3
0
 public void DoClick(RawPoint point)
 {
     AdbTools.GetInstance().DoTap(point);
 }