Searched refs:mMotionEvents (Results 1 – 7 of 7) sorted by relevance
44 private final List<MotionEvent> mMotionEvents = new ArrayList<>(); field in SingleTapClassifierTest59 for (MotionEvent motionEvent : mMotionEvents) { in tearDown()63 mMotionEvents.clear(); in tearDown()75 mMotionEvents.clear(); in testSimpleTap_XSlop()91 mMotionEvents.clear(); in testSimpleTap_YSlop()107 mMotionEvents.clear(); in testFalseTap_XSlop()123 mMotionEvents.clear(); in testFalseTap_YSlop()145 assertThat(mClassifier.isTap(mMotionEvents, 0.5).isFalse()).isFalse(); in testDirectlySuppliedMotionEvents()150 assertThat(mClassifier.isTap(mMotionEvents, 0.5).isFalse()).isTrue(); in testDirectlySuppliedMotionEvents()156 mMotionEvents.add(ev); in addMotionEvent()[all …]
40 private final List<MotionEvent> mMotionEvents = new ArrayList<>(); field in ClassifierTest77 for (MotionEvent motionEvent : mMotionEvents) { in resetDataProvider()81 mMotionEvents.clear(); in resetDataProvider()117 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent()118 mMotionEvents.size() - 1).getEventTime() + 1; in appendMotionEvent()128 mMotionEvents.add(motionEvent); in appendMotionEvent()150 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendTrackpadMotionEvent()151 mMotionEvents.size() - 1).getEventTime() + 1; in appendTrackpadMotionEvent()
47 private List<MotionEvent> mMotionEvents = new ArrayList<>(); field in DoubleTapClassifierTest71 for (MotionEvent motionEvent : mMotionEvents) { in tearDown()75 mMotionEvents.clear(); in tearDown()176 mMotionEvents.add(ev); in addMotionEvent()177 when(mDataProvider.getRecentMotionEvents()).thenReturn(mMotionEvents); in addMotionEvent()181 mPriorMotionEvents = mMotionEvents; in archiveMotionEvents()183 mMotionEvents = new ArrayList<>(); in archiveMotionEvents()
28 private final List<MotionEvent> mMotionEvents = new ArrayList<>(); field in MotionEventHelper31 for (MotionEvent event:mMotionEvents) { in recycleEvents()35 mMotionEvents.clear(); in recycleEvents()43 mMotionEvents.add(event); in obtainMotionEvent()
151 private List<MotionEvent> mMotionEvents = new ArrayList<>(); field in AccessibilityGestureEvent164 mMotionEvents.addAll(motionEvents); in AccessibilityGestureEvent()177 mMotionEvents = slice.getList(); in AccessibilityGestureEvent()206 return mMotionEvents; in getMotionEvents()218 mMotionEvents.stream().map(MotionEvent::copy).toList()); in copyForAsync()228 mMotionEvents.forEach(MotionEvent::recycle); in recycle()229 mMotionEvents.clear(); in recycle()241 for (int i = 0; i < mMotionEvents.size(); ++i) { in toString()242 String action = MotionEvent.actionToString(mMotionEvents.get(i).getActionMasked()); in toString()244 if (i < (mMotionEvents.size() - 1)) { in toString()[all …]
346 BlockingQueue<std::unique_ptr<MotionEvent>> mMotionEvents; member in android::InputPublisherAndConsumerNoResamplingTest358 mMotionEvents.push(std::move(event)); in onMotionEvent()545 mMotionEvents.popWithTimeout(NO_EVENT_TIMEOUT); in publishAndConsumeBatchedMotionMove()564 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeBatchedMotionMove()579 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeMotionEvent()
82 private Set<MotionEvent> mMotionEvents = new ArraySet<>(); field in EditorCursorDragTest92 for (MotionEvent event : mMotionEvents) { in after()95 mMotionEvents.clear(); in after()696 mMotionEvents.add(event); in obtainTouchEvent()714 mMotionEvents.add(event); in obtainTouchEventWithPointerId()