Home
last modified time | relevance | path

Searched refs:motionEvents (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java68 List<MotionEvent> motionEvents = unpackMotionEvent(motionEvent); in onMotionEvent() local
69 FalsingClassifier.logDebug("Unpacked into: " + motionEvents.size()); in onMotionEvent()
71 for (MotionEvent m : motionEvents) { in onMotionEvent()
80 mRecentMotionEvents.addAll(motionEvents); in onMotionEvent()
212 List<MotionEvent> motionEvents = new ArrayList<>(); in unpackMotionEvent() local
232 motionEvents.add(MotionEvent.obtain( in unpackMotionEvent()
250 motionEvents.add(MotionEvent.obtainNoHistory(motionEvent)); in unpackMotionEvent()
252 return motionEvents; in unpackMotionEvent()
DZigZagClassifier.java78 List<MotionEvent> motionEvents = getRecentMotionEvents(); in isFalseTouch() local
87 if (motionEvents.size() < 3) { in isFalseTouch()
170 private List<Point> rotateMotionEvents(List<MotionEvent> motionEvents, double angle) { in rotateMotionEvents() argument
174 MotionEvent firstEvent = motionEvents.get(0); in rotateMotionEvents()
177 for (MotionEvent motionEvent : motionEvents) { in rotateMotionEvents()
185 MotionEvent lastEvent = motionEvents.get(motionEvents.size() - 1); in rotateMotionEvents()
DDistanceClassifier.java113 List<MotionEvent> motionEvents = getRecentMotionEvents(); in calculateDistances() local
115 if (motionEvents.size() < 3) { in calculateDistances()
116 logDebug("Only " + motionEvents.size() + " motion events recorded."); in calculateDistances()
120 for (MotionEvent motionEvent : motionEvents) { in calculateDistances()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java342 final List<MotionEvent> motionEvents = new ArrayList<>(); in getMotionEventsFromGestureSteps() local
351 motionEvents.clear(); in getMotionEventsFromGestureSteps()
352 return motionEvents; in getMotionEventsFromGestureSteps()
355 appendMoveEventIfNeeded(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps()
357 appendUpEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps()
359 appendDownEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps()
362 return motionEvents; in getMotionEventsFromGestureSteps()
376 private void appendMoveEventIfNeeded(List<MotionEvent> motionEvents, in appendMoveEventIfNeeded() argument
392 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded()
397 private void appendUpEvents(List<MotionEvent> motionEvents, in appendUpEvents() argument
[all …]