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

Commit 843a30bb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Note that View.onTouchEvent is called for touchpad events too" into main

parents a7ddd68e afcbf60c
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -371,7 +371,7 @@ import java.util.function.Predicate;
 *     </tr>
 *     <tr>
 *         <td><code>{@link #onTouchEvent(MotionEvent)}</code></td>
 *         <td>Called when a touch screen motion event occurs.
 *         <td>Called when a motion event occurs with pointers down on the view.
 *         </td>
 *     </tr>
 *     <tr>
@@ -17843,7 +17843,13 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    }
    /**
     * Implement this method to handle touch screen motion events.
     * Implement this method to handle pointer events.
     * <p>
     * This method is called to handle motion events where pointers are down on
     * the view. For example, this could include touchscreen touches, stylus
     * touches, or click-and-drag events from a mouse. However, it is not called
     * for motion events that do not involve pointers being down, such as hover
     * events or mouse scroll wheel movements.
     * <p>
     * If this method is used to detect click actions, it is recommended that
     * the actions be performed by implementing and calling