You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/gesturehandler/platforms/android/java/com/swmansion/gesturehandler/GestureHandlerOrchestrator.java
+55-11Lines changed: 55 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
importandroid.graphics.Matrix;
6
6
importandroid.graphics.PointF;
7
+
importandroid.graphics.Rect;
7
8
importandroid.view.MotionEvent;
8
9
importandroid.view.View;
9
10
importandroid.view.ViewGroup;
@@ -288,23 +289,61 @@ private void cancelAll() {
288
289
mPreparedHandlers[i].cancel();
289
290
}
290
291
}
292
+
/**
293
+
* Transforms an event in the coordinates of wrapperView into the coordinate space of the received view.
294
+
*
295
+
* This modifies and returns the same event as it receives
296
+
*
297
+
* @param view - view to which coordinate space the event should be transformed
0 commit comments