Searched refs:setTouchDelegate (Results 1 – 4 of 4) sorted by relevance
81 button.getViewTreeObserver().addOnGlobalLayoutListener(setTouchDelegate(button, in onCreate()87 delegated.getViewTreeObserver().addOnGlobalLayoutListener(setTouchDelegate(delegated, in onCreate()91 private static Runnable setTouchDelegate(View target, Supplier<Rect> rectSupplier) { in setTouchDelegate() method in AccessibilityEndToEndActivity92 return () -> ((View) target.getParent()).setTouchDelegate( in setTouchDelegate()
82 parent.setTouchDelegate(new TouchDelegate(rect, button)); in onCreate()
416 view.setTouchDelegate(delegate); in testAccessTouchDelegate()427 view.setTouchDelegate(null); in testAccessTouchDelegate()
836 parent.setTouchDelegate(new TouchDelegate(rect, button)); in testTouchDelegateInfoReportedToAccessibility()