Home
last modified time | relevance | path

Searched refs:createMotionEvent (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
H A DPipTouchStateTest.java69 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 DInputEventAssignerTest.kt30 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 Dandroid_view_InputQueue.cpp171 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 DTemperatureControlViewTest.java229 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 Dandroid_view_InputQueue.h53 MotionEvent* createMotionEvent();
/aosp12/frameworks/native/include/input/
H A DInput.h951 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 DInputTransport.cpp817 MotionEvent* motionEvent = factory->createMotionEvent(); in consume()
914 MotionEvent* motionEvent = factory->createMotionEvent(); in consumeSamples()
H A DInput.cpp915 MotionEvent* PooledInputEventFactory::createMotionEvent() { in createMotionEvent() function in android::PooledInputEventFactory