fix(MultiFingerMultiTap): The two finger triple tap is hard work when Magnification is activated
1. ACTION_POINTER_DONW: The two-finger triple tap and two-finger swipe are closely similar gestures when the user doesn't complete the triple tap. To differentiate between these gestures, we implement a delay and utilize the ACTION_UP event to determine whether it's a multi-tap or single-tap gesture. 2. ACTION_MOVE: When the ACTION_MOVE event is triggered before ACTION_PINTER_DONW for second tap, mSecondPointerDownLocation has already been set during the ACTION_POINTER_DOWN of first tap and we stop it transition to the panning state due to a two-finger triple tap (ACTION_UP), so, we need to check the value of mCompletedTapCount for second tap. NO_IFTTT=add the multi-finger multi-tap feature without syncing to the old state Bug: 313721606 Test: manual Test: atest FullScreenMagnificationGestureHandlerTest Change-Id: I136185e96b621f595d4feb8cc774264161237493
Loading
Please register or sign in to comment