Fix a few bugs from AppGridHelper.
Bug: 139312948
Test: build and run test
Change-Id: If0941a7e2975cedeafef2bed51aa15eddfd442ad
diff --git a/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoAppGridHelper.java b/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoAppGridHelper.java
index 0fa10f5..33549be 100644
--- a/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoAppGridHelper.java
+++ b/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/IAutoAppGridHelper.java
@@ -28,36 +28,36 @@
/**
* Setup expectations: None.
*
- * Scroll up from the bottom of the scrollable region to top in <code>durationMs</code>
+ * <p>Scroll up from the bottom of the scrollable region to top in <code>durationMs</code>
* milliseconds only if app grid is currently open.
*/
- public void scrollUp(int durationMs);
+ public void scrollUpOnePage(long durationMs);
/**
* Setup expectations: None.
*
- * Scroll up from the bottom of the scrollable region towards top by <code>percent</code>
- * percent of the whole scrollable region in <code>durationMs</code> milliseconds only if
- * app grid is currently open.
+ * <p>Scroll up from the bottom of the scrollable region towards top by <code>percent</code>
+ * percent of the whole scrollable region in <code>durationMs</code> milliseconds only if app
+ * grid is currently open.
*/
- public void scrollUp(float percent, int durationMs);
+ public void scrollUp(float percent, long durationMs);
/**
* Setup expectations: None.
*
- * Scroll down from the top of the scrollable region to bottom in <code>durationMs</code>
+ * <p>Scroll down from the top of the scrollable region to bottom in <code>durationMs</code>
* seconds only if app grid is currently open.
*/
- public void scrollDown(int durationMs);
+ public void scrollDownOnePage(long durationMs);
/**
* Setup expectations: None.
*
- * Scroll down from the top of the scrollable region towards bottom by <code>percent</code>
- * percent of the whole scrollable region in <code>durationMs</code> milliseconds only if
- * app grid is currently open.
+ * <p>Scroll down from the top of the scrollable region towards bottom by <code>percent</code>
+ * percent of the whole scrollable region in <code>durationMs</code> milliseconds only if app
+ * grid is currently open.
*/
- public void scrollDown(float percent, int durationMs);
+ public void scrollDown(float percent, long durationMs);
/**
* Setup expectations: In App grid.