summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jean Chen <chenjean@google.com> 2023-11-29 21:46:39 +0800
committer Jean Chen <chenjean@google.com> 2023-12-01 20:42:37 +0800
commit120e7c468e3065bf7d4fb4ca8d1772867a046fb8 (patch)
tree61dc0a2f750b75aa8ce8c4986cfbcb0522e89997 /libs/androidfw/StringPool.cpp
parentbd1371b44cd01ff7a9832a94b408d20de82c5630 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions