Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-wix authored and asafkorem committed Jan 8, 2024
1 parent ccc0d89 commit d52c3d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ public void perform(UiController uiController, View view) {
*
* @param direction Direction to scroll (see {@link MotionDir})
* @param amountInDP Density Independent Pixels
* @param startOffsetPercentX Percentage denoting where X-swipe should start, with respect to the scrollable view.
* @param startOffsetPercentY Percentage denoting where Y-swipe should start, with respect to the scrollable view.
* @param startOffsetPercentX Percentage denoting where the scroll should start from on the X-axis, with respect to the scrollable view.
* @param startOffsetPercentY Percentage denoting where the scroll should start from on the Y-axis, with respect to the scrollable view.
*/
public static ViewAction scrollInDirection(final int direction, final double amountInDP, double startOffsetPercentX, double startOffsetPercentY) {
final Float _startOffsetPercentX = startOffsetPercentX < 0 ? null : (float) startOffsetPercentX;
Expand All @@ -134,8 +134,8 @@ public static ViewAction scrollInDirection(final int direction, final double amo
*
* @param direction Direction to scroll (see {@link MotionDir})
* @param amountInDP Density Independent Pixels
* @param startOffsetPercentX Percentage denoting where X-swipe should start, with respect to the scrollable view.
* @param startOffsetPercentY Percentage denoting where Y-swipe should start, with respect to the scrollable view.
* @param startOffsetPercentX Percentage denoting where the scroll should start from on the X-axis, with respect to the scrollable view.
* @param startOffsetPercentY Percentage denoting where the scroll should start from on the Y-axis, with respect to the scrollable view.
*/
public static ViewAction scrollInDirectionStaleAtEdge(final int direction, final double amountInDP, double startOffsetPercentX, double startOffsetPercentY) {
final Float _startOffsetPercentX = startOffsetPercentX < 0 ? null : (float) startOffsetPercentX;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ private ScrollHelper() {
*
* @param direction Direction to scroll (see {@link MotionDir})
* @param amountInDP Density Independent Pixels
* @param startOffsetPercentX Percentage denoting where X-swipe should start, with respect to the scrollable view. Null means select automatically.
* @param startOffsetPercentY Percentage denoting where Y-swipe should start, with respect to the scrollable view. Null means select automatically.
* @param startOffsetPercentX Percentage denoting where the scroll should start from on the X-axis, with respect to the scrollable view. Null means select automatically.
* @param startOffsetPercentY Percentage denoting where the scroll should start from on the Y-axis, with respect to the scrollable view. Null means select automatically.
*/
public static void perform(UiController uiController, View view, @MotionDir int direction, double amountInDP, Float startOffsetPercentX, Float startOffsetPercentY) throws ScrollEdgeException {
final int amountInPx = DeviceDisplay.convertDpiToPx(amountInDP);
Expand Down

0 comments on commit d52c3d6

Please sign in to comment.