Loading services/accessibility/java/com/android/server/accessibility/gestures/MultiTapAndHold.java +6 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,12 @@ class MultiTapAndHold extends MultiTap { } } @Override protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { super.onUp(event, rawEvent, policyFlags); cancelAfterDoubleTapTimeout(event, rawEvent, policyFlags); } @Override public String getGestureName() { switch (mTargetTaps) { Loading services/accessibility/java/com/android/server/accessibility/gestures/TouchExplorer.java +0 −4 Original line number Diff line number Diff line Loading @@ -286,10 +286,6 @@ public class TouchExplorer extends BaseEventStreamTransformation @Override public void onDoubleTapAndHold() { // Pointers should not be zero when running this command. if (mState.getLastReceivedEvent().getPointerCount() == 0) { return; } // Try to use the standard accessibility API to long click if (!mAms.performActionOnAccessibilityFocusedItem( AccessibilityNodeInfo.AccessibilityAction.ACTION_LONG_CLICK)) { Loading Loading
services/accessibility/java/com/android/server/accessibility/gestures/MultiTapAndHold.java +6 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,12 @@ class MultiTapAndHold extends MultiTap { } } @Override protected void onUp(MotionEvent event, MotionEvent rawEvent, int policyFlags) { super.onUp(event, rawEvent, policyFlags); cancelAfterDoubleTapTimeout(event, rawEvent, policyFlags); } @Override public String getGestureName() { switch (mTargetTaps) { Loading
services/accessibility/java/com/android/server/accessibility/gestures/TouchExplorer.java +0 −4 Original line number Diff line number Diff line Loading @@ -286,10 +286,6 @@ public class TouchExplorer extends BaseEventStreamTransformation @Override public void onDoubleTapAndHold() { // Pointers should not be zero when running this command. if (mState.getLastReceivedEvent().getPointerCount() == 0) { return; } // Try to use the standard accessibility API to long click if (!mAms.performActionOnAccessibilityFocusedItem( AccessibilityNodeInfo.AccessibilityAction.ACTION_LONG_CLICK)) { Loading