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.
public static final int ABOVE = 1 sourcepublic static final int BELOW = 2 sourcepublic static final int TO_LEFT = 4 sourcepublic static final int TO_RIGHT = 8 sourcepublic TouchDelegate(Rect bounds, View delegateView) sourcepublic boolean onTouchEvent(MotionEvent event) sourcepublic boolean onTouchExplorationHoverEvent(MotionEvent event) sourcepublic AccessibilityNodeInfo.TouchDelegateInfo getTouchDelegateInfo() sourceMade 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.