Searched refs:getRecentMotionEvents (Results 1 – 12 of 12) sorted by relevance
142 mDataProvider.getRecentMotionEvents().stream().map(163 mDataProvider.getRecentMotionEvents(), 0).isFalse()248 mDataProvider.getRecentMotionEvents(), 0); in isSimpleTap()287 mSingleTapClassifier.isTap(mDataProvider.getRecentMotionEvents().isEmpty() in isFalseTap()289 : mDataProvider.getRecentMotionEvents(), falsePenalty); in isFalseTap()351 mLongTapClassifier.isTap(mDataProvider.getRecentMotionEvents().isEmpty() in isFalseLongTap()353 : mDataProvider.getRecentMotionEvents(), falsePenalty); in isFalseLongTap()
46 List<MotionEvent> getRecentMotionEvents() { in getRecentMotionEvents() method in FalsingClassifier47 return mDataProvider.getRecentMotionEvents(); in getRecentMotionEvents()
99 List<MotionEvent> motionEvents = getRecentMotionEvents(); in calculateFalsingResult()195 return rotateMotionEvents(getRecentMotionEvents(), -angle); in rotateVertical()202 return rotateMotionEvents(getRecentMotionEvents(), angle); in rotateHorizontal()
38 return isTap(getRecentMotionEvents(), 0.5); in calculateFalsingResult()
174 public List<MotionEvent> getRecentMotionEvents() { in getRecentMotionEvents() method in FalsingDataProvider279 List<MotionEvent> recentMotionEvents = getRecentMotionEvents(); in recalculateData()
52 List<MotionEvent> secondTapEvents = getRecentMotionEvents(); in calculateFalsingResult()
123 List<MotionEvent> motionEvents = getRecentMotionEvents(); in calculateDistances()
83 List<MotionEvent> motionEventList = mDataProvider.getRecentMotionEvents(); in test_trackMotionEvents_dropUpEvent()105 List<MotionEvent> motionEventList = mDataProvider.getRecentMotionEvents(); in test_trackMotionEvents_keepUpEvent()126 List<MotionEvent> motionEventList = mDataProvider.getRecentMotionEvents(); in test_trackRecentMotionEvents()164 List<MotionEvent> motionEventList = mDataProvider.getRecentMotionEvents(); in test_unpackMotionEvents()
107 when(mFalsingDataProvider.getRecentMotionEvents()).thenReturn(mMotionEventList); in setup()225 when(mFalsingDataProvider.getRecentMotionEvents()).thenReturn(new ArrayList<>()); in testIsFalseSingleTap_EmptyRecentEvents()253 when(mFalsingDataProvider.getRecentMotionEvents()).thenReturn(new ArrayList<>()); in testIsFalseLongTap_EmptyRecentEvents()
157 when(mDataProvider.getRecentMotionEvents()).thenReturn(mMotionEvents); in addMotionEvent()
177 when(mDataProvider.getRecentMotionEvents()).thenReturn(mMotionEvents); in addMotionEvent()
90 when(mFalsingDataProvider.getRecentMotionEvents()).thenReturn(mMotionEventList); in setup()