/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | VerifiedMotionEventTest.kt | 65 val motionEvent = createVerifiedMotionEvent() in testParcelUnparcel() constant 81 val motionEvent = createVerifiedMotionEvent() in testParcelInputEvent() constant 99 val motionEvent = createVerifiedMotionEvent() in testParcelMotionEvent() constant 116 val motionEvent = createVerifiedMotionEvent() in testParcelInputToMotionEvent() constant 130 val motionEvent = createVerifiedMotionEvent() in testGetFlag() constant
|
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/ |
H A D | SwipeChipbarAwayGestureHandlerTest.kt | 57 val motionEvent = createMotionEvent(y = VIEW_BOTTOM - 100f) in <lambda>() constant 67 val motionEvent = createMotionEvent(y = VIEW_BOTTOM + 20f) in <lambda>() constant 77 val motionEvent = createMotionEvent(y = VIEW_BOTTOM * 4f) in <lambda>() constant 87 val motionEvent = createMotionEvent(y = VIEW_BOTTOM - 100f) in <lambda>() constant
|
/aosp_15_r20/frameworks/native/libs/input/ |
H A D | Resampler.cpp | 89 void setMotionEventPointerCoords(MotionEvent& motionEvent, size_t sampleIndex, size_t pointerIndex, in setMotionEventPointerCoords() 111 void LegacyResampler::updateLatestSamples(const MotionEvent& motionEvent) { in updateLatestSamples() 282 MotionEvent& motionEvent) { in addSampleToMotionEvent() 305 void LegacyResampler::overwriteStillPointers(MotionEvent& motionEvent, size_t sampleIndex) const { in overwriteStillPointers() 332 void LegacyResampler::overwriteOldPointers(MotionEvent& motionEvent, size_t sampleIndex) const { in overwriteOldPointers() 363 void LegacyResampler::resampleMotionEvent(nanoseconds frameTime, MotionEvent& motionEvent, in resampleMotionEvent() 398 MotionEvent& motionEvent, in resampleMotionEvent()
|
/aosp_15_r20/frameworks/base/apct-tests/perftests/core/src/android/input/ |
H A D | VelocityTrackerBenchmarkTest.kt | 77 val motionEvent = MotionEvent.obtain( in createMotionEvent() constant 116 val motionEvent = MotionEvent.obtain( in createMotionEvent() constant 203 val motionEvent = motionState.createMotionEvent() in testAddMovement() constant
|
/aosp_15_r20/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
H A D | ASurfaceControlInputReceiverTest.java | 147 MotionEvent motionEvent = motionEvents.poll(WAIT_TIME_S, TimeUnit.SECONDS); in assertMotionEventOnWindowCenter() local 215 public boolean onMotionEvent(MotionEvent motionEvent) { in testTransferGestureFromHostToEmbedded() 262 public void onMotionEventReceived(MotionEvent motionEvent) { in testTransferGestureFromHostToEmbeddedRemote() 297 public boolean onMotionEvent(MotionEvent motionEvent) { in testTransferGestureFromEmbeddedToHost() 341 public void onMotionEventReceived(MotionEvent motionEvent) { in testTransferGestureFromEmbeddedToHostRemote()
|
/aosp_15_r20/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | OrientationTouchTransformerTest.java | 356 MotionEvent motionEvent = generateMotionEvent(motionAction, x, y); in generateAndTransformMotionEvent() local 362 MotionEvent motionEvent = generateAndTransformMotionEvent(MotionEvent.ACTION_DOWN, x, y); in tapAndAssertTrue() local 368 MotionEvent motionEvent = generateAndTransformMotionEvent(MotionEvent.ACTION_DOWN, x, y); in tapAndAssertFalse() local 374 boolean getCondition(MotionEvent motionEvent); in getCondition()
|
/aosp_15_r20/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | HeadsUpNotificationOnTouchListener.java | 147 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() 261 float downX, float downY, MotionEvent motionEvent, Axis dismissAxis) { in getDeltaInAxis() 270 private void disallowAndCancelTouchEvents(View view, MotionEvent motionEvent) { in disallowAndCancelTouchEvents() 346 MotionEvent obtainMotionEvent(MotionEvent motionEvent) { in obtainMotionEvent()
|
/aosp_15_r20/frameworks/native/services/inputflinger/tests/ |
H A D | FakeWindows.cpp | 107 const MotionEvent& motionEvent = static_cast<const MotionEvent&>(*event); in consumeEvent() local 145 std::unique_ptr<MotionEvent> motionEvent = consumeMotion(); in consumeMotionEvent() local 210 MotionEvent& motionEvent = static_cast<MotionEvent&>(*event); in assertNoEvents() local 310 std::unique_ptr<MotionEvent> motionEvent = in consumeMotionEvent() local
|
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | MenuListViewTouchHandler.java | 56 @NonNull MotionEvent motionEvent) { in onInterceptTouchEvent() 127 @NonNull MotionEvent motionEvent) { in onTouchEvent() 143 private void addMovement(MotionEvent motionEvent) { in addMovement()
|
/aosp_15_r20/frameworks/base/core/java/android/view/ |
H A D | LetterboxScrollProcessor.java | 80 public List<MotionEvent> processMotionEvent(@NonNull MotionEvent motionEvent) { in processMotionEvent() 152 public InputEvent processMotionEventBeforeFinish(@NonNull MotionEvent motionEvent) { in processMotionEventBeforeFinish() 162 private boolean isOutsideAppBounds(@NonNull MotionEvent motionEvent, @NonNull Rect appBounds) { in isOutsideAppBounds()
|
/aosp_15_r20/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | WindowMagnificationGestureHandler.java | 539 public boolean shouldStopDetection(MotionEvent motionEvent) { in shouldStopDetection() 549 MotionEvent motionEvent) { in onGestureCompleted() 575 MotionEvent motionEvent) { in onGestureCancelled() 585 private void changeToDelegateStateIfNeed(MotionEvent motionEvent) { in changeToDelegateStateIfNeed()
|
/aosp_15_r20/cts/tests/tests/view/src/android/view/cts/ |
H A D | MotionEventUtils.java | 69 public void verifyMatchesPointerProperties(MotionEvent motionEvent, int pointerIndex) { in verifyMatchesPointerProperties() 403 public void verifyMatchesPointerCoords(MotionEvent motionEvent, int pointerIndex) { in verifyMatchesPointerCoords() 410 public void verifyMatchesHistoricalPointerCoords(MotionEvent motionEvent, int pointerIndex, in verifyMatchesHistoricalPointerCoords()
|
/aosp_15_r20/out/soong/.intermediates/frameworks/base/libs/WindowManager/Shell/WindowManager-Shell/android_common/kapt/gen/stubs/com/android/wm/shell/windowdecor/tiling/ |
D | DividerMoveCallback.java | 15 android.view.MotionEvent motionEvent); in onDividerMoveStart() 26 android.view.MotionEvent motionEvent); in onDividerMovedEnd()
|
/aosp_15_r20/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/ |
D | MockWindow.java | 187 public boolean superDispatchTouchEvent(MotionEvent motionEvent) { in superDispatchTouchEvent() 192 public boolean superDispatchTrackballEvent(MotionEvent motionEvent) { in superDispatchTrackballEvent() 197 public boolean superDispatchGenericMotionEvent(MotionEvent motionEvent) { in superDispatchGenericMotionEvent()
|
/aosp_15_r20/packages/apps/Dialer/java/com/android/dialer/widget/ |
D | LockableViewPager.java | 42 public boolean onInterceptTouchEvent(MotionEvent motionEvent) { in onInterceptTouchEvent() 47 public boolean onTouchEvent(MotionEvent motionEvent) { in onTouchEvent()
|
/aosp_15_r20/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
H A D | PointerCountClassifierTest.java | 73 MotionEvent motionEvent = MotionEvent.obtain( in testFail_multiPointer() local 90 MotionEvent motionEvent = MotionEvent.obtain( in testPass_multiPointerDragDown() local
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/touchpad/tutorial/ui/gesture/ |
H A D | FakeMotionEvent.kt | 29 fun motionEvent( in <lambda>() method
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/classifier/ |
H A D | ProximityClassifierTest.java | 138 MotionEvent motionEvent = MotionEvent.obtain(1, 1, MotionEvent.ACTION_DOWN, 0, 0, 0); in touchDown() local 144 MotionEvent motionEvent = MotionEvent.obtain(1, 1 + duration, MotionEvent.ACTION_UP, 0, in touchUp() local
|
/aosp_15_r20/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/launcher3/taskbar/ |
D | RecentsHitboxExtenderTest.java | 105 MotionEvent motionEvent = getMotionEvent(ACTION_DOWN, in motionWithinHitbox() local 117 MotionEvent motionEvent = getMotionEvent(ACTION_DOWN, in motionOutsideHitbox() local
|
/aosp_15_r20/cts/libs/input/src/com/android/cts/input/ |
H A D | EventVerifier.kt | 35 val motionEvent = in getMotionEvent() constant
|
/aosp_15_r20/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
H A D | EventCapturingMotionEventListener.java | 52 public boolean onTouch(View view, MotionEvent motionEvent) { in onTouch() 57 public boolean onHover(View view, MotionEvent motionEvent) { in onHover()
|
/aosp_15_r20/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | PointerEventDispatcherTest.kt | 78 val motionEvent = MotionEvent.obtain(downTime, downTime, in testSendMotionToCrashingListenerDoesNotCrash() constant
|
/aosp_15_r20/development/cmds/monkey/src/com/android/commands/monkey/ |
H A D | MonkeySourceScriptTest.kt | 45 val motionEvent = receiveEvent(script, MonkeyEvent.EVENT_TYPE_TOUCH) as MonkeyMotionEvent in assertTouchEvent() constant
|
/aosp_15_r20/frameworks/native/libs/input/tests/ |
H A D | TestEventMatchers.h | 115 bool MatchAndExplain(const MotionEvent& motionEvent, std::ostream*) const { in MatchAndExplain() 137 bool MatchAndExplain(const MotionEvent& motionEvent, std::ostream* os) const { in MatchAndExplain()
|
/aosp_15_r20/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
D | RichTextViewTest.java | 126 MotionEvent motionEvent = MotionEvent.obtain(123, 22, MotionEvent.ACTION_DOWN, 0, 0, 0); in onTouchEvent_clickOnLinks_shouldReturnTrue() local 144 MotionEvent motionEvent = MotionEvent.obtain(123, 22, MotionEvent.ACTION_DOWN, 0, 0, 0); in onTouchEvent_clickOutsideLinks_shouldReturnFalse() local
|