/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
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()
|
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()
|
D | FalsingDataProvider.java | 101 List<MotionEvent> motionEvents = unpackMotionEvent(motionEvent); in onMotionEvent() local 102 FalsingClassifier.logVerbose("Unpacked into: " + motionEvents.size()); in onMotionEvent() 104 for (MotionEvent m : motionEvents) { in onMotionEvent() 120 if (!motionEvents.isEmpty() && !mRecentKeyEvents.isEmpty()) { in onMotionEvent() 124 mRecentMotionEvents.addAll(motionEvents); in onMotionEvent() 349 List<MotionEvent> motionEvents = new ArrayList<>(); 369 motionEvents.add(MotionEvent.obtain( 389 motionEvents.add(MotionEvent.obtainNoHistory(motionEvent)); 391 return motionEvents;
|
D | DistanceClassifier.java | 124 List<MotionEvent> motionEvents = getRecentMotionEvents(); in calculateDistances() local 126 if (motionEvents.size() < 3) { in calculateDistances() 127 logDebug("Only " + motionEvents.size() + " motion events recorded."); in calculateDistances() 132 for (MotionEvent motionEvent : motionEvents) { in calculateDistances()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 360 final List<MotionEvent> motionEvents = new ArrayList<>(); in getMotionEventsFromGestureSteps() local 369 motionEvents.clear(); in getMotionEventsFromGestureSteps() 370 return motionEvents; in getMotionEventsFromGestureSteps() 373 appendMoveEventIfNeeded(motionEvents, step.touchPoints, currentTouchPointSize, 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 410 motionEvents.add(obtainMotionEvent(mDownTime, currentTime, MotionEvent.ACTION_MOVE, in appendMoveEventIfNeeded() 415 private void appendUpEvents(List<MotionEvent> motionEvents, in appendUpEvents() argument [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DragDetectorTest.kt | 47 private val motionEvents = mutableListOf<MotionEvent>() constant in com.android.wm.shell.windowdecor.DragDetectorTest 66 motionEvents.forEach { in tearDown() 69 motionEvents.clear() in tearDown() 201 motionEvents.add(ev) in createMotionEvent()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityGestureEvent.java | 161 int gestureId, int displayId, @NonNull List<MotionEvent> motionEvents) { in AccessibilityGestureEvent() argument 164 mMotionEvents.addAll(motionEvents); in AccessibilityGestureEvent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | WindowMagnificationGestureHandlerTest.java | 307 final List<MotionEvent> motionEvents = in goFromStateIdleTo() local 310 for (MotionEvent downEvent: motionEvents) { in goFromStateIdleTo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/ |
D | TouchExplorerTest.java | 469 List<MotionEvent> motionEvents = gestureEvent.getMotionEvents(); in passInGesture() local 470 assertEquals(actions.size(), motionEvents.size()); in passInGesture() 472 assertEquals((int) actions.get(i), motionEvents.get(i).getAction()); in passInGesture()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |