Home | History | Annotate | Download | only in accessibility

Lines Matching defs:MotionEvent

20 import static android.view.MotionEvent.ACTION_CANCEL;
21 import static android.view.MotionEvent.ACTION_DOWN;
22 import static android.view.MotionEvent.ACTION_MOVE;
23 import static android.view.MotionEvent.ACTION_POINTER_DOWN;
24 import static android.view.MotionEvent.ACTION_POINTER_UP;
25 import static android.view.MotionEvent.ACTION_UP;
48 import android.view.MotionEvent;
49 import android.view.MotionEvent.PointerCoords;
50 import android.view.MotionEvent.PointerProperties;
148 private final Queue<MotionEvent> mDebugInputEventHistory;
149 private final Queue<MotionEvent> mDebugOutputEventHistory;
196 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
210 private void onMotionEventInternal(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
223 MotionEvent event, MotionEvent rawEvent, int policyFlags) {
271 private void dispatchTransformedEvent(MotionEvent event, MotionEvent rawEvent,
295 event = MotionEvent.obtain(event.getDownTime(),
315 private static void storeEventInto(Queue<MotionEvent> queue, MotionEvent event) {
316 queue.add(MotionEvent.obtain(event));
367 void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags);
411 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
434 public boolean onScroll(MotionEvent first, MotionEvent second,
528 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
564 "Unexpected event type: " + MotionEvent.actionToString(action));
585 * Time of last {@link MotionEvent#ACTION_DOWN} while in {@link DelegatingState}
590 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
634 MotionEvent mLastDown;
635 private MotionEvent mPreLastDown;
636 private MotionEvent mLastUp;
637 private MotionEvent mPreLastUp;
657 MotionEvent down = (MotionEvent) message.obj;
674 public void onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) {
677 case MotionEvent.ACTION_DOWN: {
771 private boolean isMultiTap(MotionEvent first, MotionEvent second) {
779 private long timeBetween(@Nullable MotionEvent a, @Nullable MotionEvent b) {
785 * Nullsafe {@link MotionEvent
790 * @return {@link MotionEvent#getEventTime}, or {@link Long#MIN_VALUE} if the event is null
792 private long timeOf(@Nullable MotionEvent event) {
808 public void afterLongTapTimeoutTransitionToDraggingState(MotionEvent event) {
811 MotionEvent.obtain(event)),
827 private void cacheDelayedMotionEvent(MotionEvent event, MotionEvent rawEvent,
831 mLastDown = MotionEvent.obtain(event);
834 mLastUp = MotionEvent.obtain(event);
879 private void onTripleTap(MotionEvent up) {
895 void transitionToViewportDraggingStateAndClear(MotionEvent down) {
950 private static MotionEvent recycleAndNullify(@Nullable MotionEvent event) {
982 public MotionEvent event;
983 public MotionEvent rawEvent;
986 public static MotionEventInfo obtain(MotionEvent event, MotionEvent rawEvent,
1010 private void initialize(MotionEvent event, MotionEvent rawEvent,
1012 this.event = MotionEvent.obtain(event);
1013 this.rawEvent = MotionEvent.obtain(rawEvent);
1047 : MotionEvent.actionToString(info.event.getAction()).replace("ACTION_", "")