TouchDelegate

Class of android.view · TouchDelegate.java · Android's reference

public class TouchDelegate

Gives a view the touches in an area of its parent that is larger than the view.

Fields

public static final int ABOVE = 1 source
public static final int BELOW = 2 source
public static final int TO_LEFT = 4 source
public static final int TO_RIGHT = 8 source

Constructors

public TouchDelegate(Rect bounds, View delegateView) source

Methods

public boolean onTouchEvent(MotionEvent event) source
public boolean onTouchExplorationHoverEvent(MotionEvent event) source
public AccessibilityNodeInfo.TouchDelegateInfo getTouchDelegateInfo() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.