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

Commit 3541a644 authored by Dieter Hsu's avatar Dieter Hsu Committed by Android (Google) Code Review
Browse files

Merge "Refine API javadoc: onTouchExplorationHoverEvent"

parents 3a84b83f 4ee79ff9
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -157,6 +157,11 @@ public class TouchDelegate {
     * Forward hover events to the delegate view if the event is within the bounds
     * Forward hover events to the delegate view if the event is within the bounds
     * specified in the constructor and touch exploration is enabled.
     * specified in the constructor and touch exploration is enabled.
     *
     *
     * <p>This method is provided for accessibility purposes so touch exploration, which is
     * commonly used by screen readers, can properly place accessibility focus on views that
     * use touch delegates. Therefore, touch exploration must be enabled for hover events
     * to be dispatched through the delegate.</p>
     *
     * @param event The hover event to forward
     * @param event The hover event to forward
     * @return True if the event was consumed by the delegate, false otherwise.
     * @return True if the event was consumed by the delegate, false otherwise.
     *
     *