Home
last modified time | relevance | path

Searched refs:STATE_CLEAR (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DTouchState.java48 public static final int STATE_CLEAR = 0; field in TouchState
63 STATE_CLEAR,
73 private int mState = STATE_CLEAR;
108 setState(STATE_CLEAR); in clear()
221 setState(STATE_CLEAR); in onInjectedAccessibilityEvent()
309 return mState == STATE_CLEAR; in isClear()
318 case STATE_CLEAR: in getStateSymbolicName()
DGestureMatcher.java41 public static final int STATE_CLEAR = 0; field in GestureMatcher
52 @IntDef({STATE_CLEAR, STATE_GESTURE_STARTED, STATE_GESTURE_COMPLETED, STATE_GESTURE_CANCELED})
55 @State private int mState = STATE_CLEAR;
81 mState = STATE_CLEAR; in clear()
285 case STATE_CLEAR: in getStateSymbolicName()
DMultiFingerMultiTap.java124 if ((getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) && null != nearest) { in onUp()
176 if ((getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) && nearest != null) { in onPointerDown()
198 if (getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) { in onPointerUp()
DSwipe.java169 if (getState() == STATE_CLEAR) { in onMove()
190 } else if (getState() == STATE_CLEAR) { in onMove()
DMultiTap.java90 if (getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) { in onUp()
DSecondFingerMultiTap.java95 if (getState() == STATE_GESTURE_STARTED || getState() == STATE_CLEAR) { in onPointerUp()
DMultiFingerSwipe.java278 if (getState() == STATE_CLEAR) { in onMove()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java30 import static com.android.server.accessibility.gestures.TouchState.STATE_CLEAR;
263 assertState(STATE_CLEAR); in testUpEvent_OneFingerMove_clearStateAndInjectHoverEvents()
309 assertState(STATE_CLEAR); in testFlickCrossViews_clearStateAndExpectedEvents()
317 assertState(STATE_CLEAR); in testTwoFingersMove_shouldDelegatingAndInjectActionDownPointerDown()
327 assertState(STATE_CLEAR); in upEventWhenInTwoFingerMove_clearsState()
338 assertState(STATE_CLEAR); in clearEventsWhenInTwoFingerMove_clearsStateAndSendsUp()
349 assertState(STATE_CLEAR); in testTwoFingersDrag_shouldDraggingAndActionDown()
360 assertState(STATE_CLEAR); in testTwoFingersNotDrag_shouldDelegatingAndActionUpDownPointerDown()
377 assertState(STATE_CLEAR); in testThreeFingersMove_shouldDelegatingAnd3ActionPointerDown()
488 case STATE_CLEAR: in goFromStateClearTo()
[all …]
/frameworks/base/core/java/android/accessibilityservice/
DTouchInteractionController.java68 public static final int STATE_CLEAR = 0; field in TouchInteractionController
91 STATE_CLEAR,
117 private int mState = STATE_CLEAR;
415 case STATE_CLEAR: in stateToString()
/frameworks/base/core/api/
Dcurrent.txt3710 field public static final int STATE_CLEAR = 0; // 0x0