/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | TapClassifier.java | 42 public Result isTap(List<MotionEvent> motionEvents, double falsePenalty) { in isTap() argument 43 if (motionEvents.isEmpty()) { in isTap() 46 float downX = motionEvents.get(0).getX(); in isTap() 47 float downY = motionEvents.get(0).getY(); in isTap() 49 for (MotionEvent event : motionEvents) { in isTap()
|
H A D | ZigZagClassifier.java | 99 List<MotionEvent> motionEvents = getRecentMotionEvents(); in calculateFalsingResult() local 108 if (motionEvents.size() < 3) { in calculateFalsingResult() 205 private List<Point> rotateMotionEvents(List<MotionEvent> motionEvents, double angle) { in rotateMotionEvents() argument 209 MotionEvent firstEvent = motionEvents.get(0); in rotateMotionEvents() 212 for (MotionEvent motionEvent : motionEvents) { in rotateMotionEvents() 220 MotionEvent lastEvent = motionEvents.get(motionEvents.size() - 1); in rotateMotionEvents()
|
H A D | FalsingDataProvider.java | 93 List<MotionEvent> motionEvents = unpackMotionEvent(motionEvent); in onMotionEvent() local 94 FalsingClassifier.logVerbose("Unpacked into: " + motionEvents.size()); in onMotionEvent() 96 for (MotionEvent m : motionEvents) { in onMotionEvent() 112 mRecentMotionEvents.addAll(motionEvents); in onMotionEvent() 322 List<MotionEvent> motionEvents = new ArrayList<>(); 342 motionEvents.add(MotionEvent.obtain( 362 motionEvents.add(MotionEvent.obtainNoHistory(motionEvent)); 364 return motionEvents;
|
H A D | DistanceClassifier.java | 123 List<MotionEvent> motionEvents = getRecentMotionEvents(); in calculateDistances() local 125 if (motionEvents.size() < 3) { in calculateDistances() 126 logDebug("Only " + motionEvents.size() + " motion events recorded."); in calculateDistances() 131 for (MotionEvent motionEvent : motionEvents) { in calculateDistances()
|
/aosp14/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | MotionEventInjector.java | 360 final List<MotionEvent> motionEvents = new ArrayList<>(); in getMotionEventsFromGestureSteps() local 369 motionEvents.clear(); in getMotionEventsFromGestureSteps() 370 return motionEvents; in getMotionEventsFromGestureSteps() 375 appendUpEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 377 appendDownEvents(motionEvents, step.touchPoints, currentTouchPointSize, in getMotionEventsFromGestureSteps() 380 return motionEvents; in getMotionEventsFromGestureSteps() 394 private void appendMoveEventIfNeeded(List<MotionEvent> motionEvents, in appendMoveEventIfNeeded() argument 415 private void appendUpEvents(List<MotionEvent> motionEvents, in appendUpEvents() argument 429 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, action, in appendUpEvents() 443 private void appendDownEvents(List<MotionEvent> motionEvents, in appendDownEvents() argument [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
H A D | DragDetectorTest.kt | 47 private val motionEvents = mutableListOf<MotionEvent>() regex 66 motionEvents.forEach { 69 motionEvents.clear() 201 motionEvents.add(ev)
|
/aosp14/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityGestureEvent.java | 160 int gestureId, int displayId, @NonNull List<MotionEvent> motionEvents) { in AccessibilityGestureEvent() argument 163 mMotionEvents.addAll(motionEvents); in AccessibilityGestureEvent()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationGestureHandlerTest.java | 255 final List<MotionEvent> motionEvents = in goFromStateIdleTo() local 258 for (MotionEvent downEvent: motionEvents) { in goFromStateIdleTo()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
H A D | TouchExplorerTest.java | 468 List<MotionEvent> motionEvents = gestureEvent.getMotionEvents(); in passInGesture() local 469 assertEquals(actions.size(), motionEvents.size()); in passInGesture() 471 assertEquals((int) actions.get(i), motionEvents.get(i).getAction()); in passInGesture()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |