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

Commit 268fb194 authored by Jelle Fresen's avatar Jelle Fresen Committed by Android (Google) Code Review
Browse files

Merge "Clarify documentation of canScrollHorizontally/Vertically"

parents a5f75cc2 4ca8aeba
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line 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.
     * 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.
     * @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.
     * @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.
     * 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.
     * @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.
     * @return true if this view can be scrolled in the specified direction, false otherwise.
     */
     */