Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4ca8aeba authored by Jelle Fresen's avatar Jelle Fresen
Browse files

Clarify documentation of canScrollHorizontally/Vertically

Fix: 195570254
Test: N/A

Change-Id: I517ccb099fe606d2fc157d2f7ceb06e209e4db7d
parent 67c45bb9
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -19816,6 +19816,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    /**
     * Check if this view can be scrolled horizontally in a certain direction.
     *
     * <p>This is without regard to whether the view is enabled or not, or if it will scroll
     * in response to user input or not.
     *
     * @param direction Negative to check scrolling left, positive to check scrolling right.
     * @return true if this view can be scrolled in the specified direction, false otherwise.
     */
@@ -19833,6 +19836,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    /**
     * Check if this view can be scrolled vertically in a certain direction.
     *
     * <p>This is without regard to whether the view is enabled or not, or if it will scroll
     * in response to user input or not.
     *
     * @param direction Negative to check scrolling up, positive to check scrolling down.
     * @return true if this view can be scrolled in the specified direction, false otherwise.
     */