static IList <GestureElement> GetChildGestures( NativeGestureRecognizer sender, WeakReference weakEventTracker, WeakReference weakRecognizer, EventTracker eventTracker, View view) { if (!weakRecognizer.IsAlive) { return(null); } if (eventTracker._disposed || view == null) { return(null); } var originPoint = sender.LocationInView(eventTracker._renderer.NativeView); var childGestures = view.GetChildElements(new Point(originPoint.X, originPoint.Y)); return(childGestures); }
static IList <GestureElement>?GetChildGestures( NativeGestureRecognizer sender, WeakReference weakEventTracker, WeakReference weakRecognizer, GestureManager?eventTracker, View?view) { if (!weakRecognizer.IsAlive) { return(null); } if (eventTracker == null || eventTracker._disposed || view == null) { return(null); } var originPoint = sender.LocationInView(eventTracker._handler.PlatformView); var childGestures = view.GetChildElements(new Point(originPoint.X, originPoint.Y)); return(childGestures); }