-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PointerEvents: Store last hitPath, eventCoordinates for different poi…
…nters Summary: Changelog: [Internal] - Key cached values between different MotionEvents by pointerId. Currently the implementation uses one cached list and array to store the last hitPath and event coordinates. We use these to determine if we've entered or left any views. With more pointers, we need to be tracking these values for each pointer. As well, clean up usage of `mLastTargetCoordinates`. This doesn't need to be a global as its an array that's updated by reference in `findTargetPathAndCoordinatesForTouch` Reviewed By: vincentriemer Differential Revision: D39152528 fbshipit-source-id: 28c18629bf974f41950401c7726a4757ad43ac28
- Loading branch information
1 parent
c89f5fd
commit c34659a
Showing
1 changed file
with
74 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters