Searched refs:GestureMatcher (Results 1 – 18 of 18) sorted by relevance
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
D | GesturesObserver.java | 23 import com.android.server.accessibility.gestures.GestureMatcher; 36 public final class GesturesObserver implements GestureMatcher.StateChangeListener { 65 private final List<GestureMatcher> mGestureMatchers = new ArrayList<>(); 71 public GesturesObserver(Listener listener, GestureMatcher... matchers) { in GesturesObserver() 101 final GestureMatcher matcher = mGestureMatchers.get(i); in onMotionEvent() 103 if (matcher.getState() == GestureMatcher.STATE_GESTURE_COMPLETED) { in onMotionEvent() 118 for (GestureMatcher matcher : mGestureMatchers) { in clear() 128 if (state == GestureMatcher.STATE_GESTURE_COMPLETED) { in onStateChanged() 137 } else if (state == GestureMatcher.STATE_GESTURE_CANCELED) { in onStateChanged()
|
D | SimpleSwipe.java | 26 import com.android.server.accessibility.gestures.GestureMatcher; 31 class SimpleSwipe extends GestureMatcher {
|
D | TwoFingersDownOrSwipe.java | 26 import com.android.server.accessibility.gestures.GestureMatcher; 33 final class TwoFingersDownOrSwipe extends GestureMatcher {
|
D | MagnificationGesturesObserver.java | 29 import com.android.server.accessibility.gestures.GestureMatcher; 95 MagnificationGesturesObserver(@NonNull Callback callback, GestureMatcher... matchers) { in MagnificationGesturesObserver()
|
D | MagnificationGestureMatcher.java | 24 import com.android.server.accessibility.gestures.GestureMatcher;
|
D | WindowMagnificationGestureHandler.java | 43 import com.android.server.accessibility.gestures.GestureMatcher; 463 final List<GestureMatcher> mGestureMatchers = new ArrayList<>(); in DetectingState() 492 mGestureMatchers.toArray(new GestureMatcher[mGestureMatchers.size()])); in DetectingState()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | GestureManifold.java | 85 public class GestureManifold implements GestureMatcher.StateChangeListener { 89 private final List<GestureMatcher> mGestures = new ArrayList<>(); 105 private final List<GestureMatcher> mMultiFingerGestures = new ArrayList<>(); 108 private final List<GestureMatcher> mTwoFingerSwipes = new ArrayList<>(); 240 for (GestureMatcher matcher : mGestures) { in onMotionEvent() 241 if (matcher.getState() != GestureMatcher.STATE_GESTURE_CANCELED) { in onMotionEvent() 249 if (matcher.getState() == GestureMatcher.STATE_GESTURE_COMPLETED) { in onMotionEvent() 261 for (GestureMatcher matcher : mGestures) { in clear() 321 if (state == GestureMatcher.STATE_GESTURE_STARTED && !mState.isGestureDetecting()) { in onStateChanged() 329 } else if (state == GestureMatcher.STATE_GESTURE_COMPLETED) { in onStateChanged() [all …]
|
D | Swipe.java | 38 class Swipe extends GestureMatcher { 96 GestureMatcher.StateChangeListener listener) { in Swipe() 105 GestureMatcher.StateChangeListener listener) { in Swipe() 113 GestureMatcher.StateChangeListener listener) { in Swipe()
|
D | MultiTap.java | 29 public class MultiTap extends GestureMatcher { 45 GestureMatcher.StateChangeListener listener) { in MultiTap()
|
D | SecondFingerMultiTap.java | 33 class SecondFingerMultiTap extends GestureMatcher { 45 Context context, int taps, int gesture, GestureMatcher.StateChangeListener listener) { in SecondFingerMultiTap()
|
D | MultiTapAndHold.java | 29 Context context, int taps, int gesture, GestureMatcher.StateChangeListener listener) { in MultiTapAndHold()
|
D | MultiFingerMultiTapAndHold.java | 33 GestureMatcher.StateChangeListener listener) { in MultiFingerMultiTapAndHold()
|
D | GestureMatcher.java | 37 public abstract class GestureMatcher { class 68 protected GestureMatcher(int gestureId, Handler handler, StateChangeListener listener) { in GestureMatcher() method in GestureMatcher
|
D | MultiFingerMultiTap.java | 34 public class MultiFingerMultiTap extends GestureMatcher { 64 GestureMatcher.StateChangeListener listener) { in MultiFingerMultiTap()
|
D | MultiFingerSwipe.java | 40 class MultiFingerSwipe extends GestureMatcher { 79 GestureMatcher.StateChangeListener listener) { in MultiFingerSwipe()
|
/frameworks/base/services/accessibility/ |
D | Android.bp | 45 "java/**/gestures/GestureMatcher.java",
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | GesturesObserverTest.java | 113 private static class GestureMatcherStub extends GestureMatcher {
|
/frameworks/base/core/java/android/view/accessibility/flags/ |
D | accessibility_flags.aconfig | 54 description: "Creates copies of MotionEvents and GestureEvents in GestureMatcher"
|