/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/ |
H A D | PipTouchStateTest.java | 69 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting() 70 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTapLongSingleTap_notDoubleTapAndNotWaiting() 81 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTapTimeout_timeoutCallbackCalled() 82 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTapTimeout_timeoutCallbackCalled() 98 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTapDrag_doubleTapCanceled() 100 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, currentTime + 20, 500, 500)); in testDoubleTapDrag_doubleTapCanceled() 111 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, currentTime, 0, 0)); in testDoubleTap_doubleTapRegistered() 112 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, currentTime + 10, 0, 0)); in testDoubleTap_doubleTapRegistered() 113 mTouchState.onTouchEvent(createMotionEvent(ACTION_DOWN, in testDoubleTap_doubleTapRegistered() 115 mTouchState.onTouchEvent(createMotionEvent(ACTION_UP, in testDoubleTap_doubleTapRegistered() [all …]
|
/aosp12/frameworks/base/tests/Input/src/com/android/test/input/ |
H A D | InputEventAssignerTest.kt | 30 fun createMotionEvent(action: Int, eventTime: Long, source: Int): MotionEvent { regex 63 val event = createMotionEvent(MotionEvent.ACTION_MOVE, 10, SOURCE_TOUCHSCREEN) 75 val down = createMotionEvent(MotionEvent.ACTION_DOWN, 10, SOURCE_TOUCHSCREEN) 76 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_TOUCHSCREEN) 77 val move2 = createMotionEvent(MotionEvent.ACTION_MOVE, 13, SOURCE_TOUCHSCREEN) 78 val move3 = createMotionEvent(MotionEvent.ACTION_MOVE, 14, SOURCE_TOUCHSCREEN) 79 val move4 = createMotionEvent(MotionEvent.ACTION_MOVE, 15, SOURCE_TOUCHSCREEN) 104 val down = createMotionEvent(MotionEvent.ACTION_DOWN, 10, SOURCE_MOUSE) 105 val move1 = createMotionEvent(MotionEvent.ACTION_MOVE, 12, SOURCE_MOUSE)
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_view_InputQueue.cpp | 171 MotionEvent* InputQueue::createMotionEvent() { in createMotionEvent() function in android::InputQueue 172 return mPooledInputEventFactory.createMotionEvent(); in createMotionEvent() 245 MotionEvent* event = queue->createMotionEvent(); in nativeSendMotionEvent()
|
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/hvac/ |
H A D | TemperatureControlViewTest.java | 229 view.dispatchTouchEvent(createMotionEvent(ACTION_DOWN)); in touchViewForDurationMs() 235 view.dispatchTouchEvent(createMotionEvent(ACTION_UP)); in touchViewForDurationMs() 239 private MotionEvent createMotionEvent(int action) { in createMotionEvent() method in TemperatureControlViewTest
|
/aosp12/frameworks/base/core/jni/include/android_runtime/ |
H A D | android_view_InputQueue.h | 53 MotionEvent* createMotionEvent();
|
/aosp12/frameworks/native/include/input/ |
H A D | Input.h | 951 virtual MotionEvent* createMotionEvent() = 0; 967 virtual MotionEvent* createMotionEvent() override { return &mMotionEvent; } in createMotionEvent() function 989 virtual MotionEvent* createMotionEvent() override;
|
/aosp12/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 817 MotionEvent* motionEvent = factory->createMotionEvent(); in consume() 914 MotionEvent* motionEvent = factory->createMotionEvent(); in consumeSamples()
|
H A D | Input.cpp | 915 MotionEvent* PooledInputEventFactory::createMotionEvent() { in createMotionEvent() function in android::PooledInputEventFactory
|