diff --git a/wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/BaseUiAutomation.java b/wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/BaseUiAutomation.java index 7b6c3f39..912c3e1a 100644 --- a/wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/BaseUiAutomation.java +++ b/wa/framework/uiauto/app/src/main/java/com/arm/wa/uiauto/BaseUiAutomation.java @@ -258,7 +258,15 @@ public class BaseUiAutomation { } } - public void uiObjectVertPinchIn(UiObject view, int steps, int percent) throws Exception { + public void uiDeviceSwipeVertical(int startY, int endY, int xCoordinate, int steps) { + mDevice.swipe(startY, xCoordinate, endY, xCoordinate, steps); + } + + public void uiDeviceSwipeHorizontal(int startX, int endX, int yCoordinate, int steps) { + mDevice.swipe(startX, yCoordinate, endX, yCoordinate, steps); + } + + public void uiObjectVertPinchIn(UiObject view, int steps, int percent) throws Exception { final int FINGER_TOUCH_HALF_WIDTH = 20; // Make value between 1 and 100 diff --git a/wa/framework/uiauto/uiauto.aar b/wa/framework/uiauto/uiauto.aar index 472b4774..903ab0a0 100644 Binary files a/wa/framework/uiauto/uiauto.aar and b/wa/framework/uiauto/uiauto.aar differ