Home
last modified time | relevance | path

Searched refs:createKeyEvent (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskInitializerTest.kt92 private fun createKeyEvent( in createUnderTest() method
160 createKeyEvent( in initialize_handleSystemKey()
228 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 0) in tailButtonGestureDetection_singlePress_shouldShowNoteTaskOnUp()
233 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 50) in tailButtonGestureDetection_singlePress_shouldShowNoteTaskOnUp()
246 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 0) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice()
249 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 50) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice()
252 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 99, eventTime = 99) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice()
255 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 99, eventTime = 150) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice()
268 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 0) in tailButtonGestureDetection_longPress_shouldNotShowNoteTask()
271 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 1000) in tailButtonGestureDetection_longPress_shouldNotShowNoteTask()
/frameworks/base/tests/Input/src/com/android/test/input/
DInputEventAssignerTest.kt46 private fun createKeyEvent(action: Int, eventTime: Long): KeyEvent { in createKeyEvent() method
118 val down = createKeyEvent(KeyEvent.ACTION_DOWN, 20) in testKeyEvent()
121 val up = createKeyEvent(KeyEvent.ACTION_UP, 21) in testKeyEvent()
126 val down2 = createKeyEvent(KeyEvent.ACTION_DOWN, 22) in testKeyEvent()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp168 KeyEvent* InputQueue::createKeyEvent() { in createKeyEvent() function in android::InputQueue
169 return mPooledInputEventFactory.createKeyEvent(); in createKeyEvent()
223 KeyEvent* event = queue->createKeyEvent(); in nativeSendKeyEvent()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_view_InputQueue.h51 KeyEvent* createKeyEvent();
/frameworks/native/include/input/
DInput.h1131 virtual KeyEvent* createKeyEvent() = 0;
1148 virtual KeyEvent* createKeyEvent() override { return &mKeyEvent; } in createKeyEvent() function
1172 virtual KeyEvent* createKeyEvent() override;
1202 KeyEvent* createKeyEvent() override { return new KeyEvent(); }; in createKeyEvent() function
/frameworks/native/libs/input/
DInputConsumerNoResampling.cpp47 std::unique_ptr<KeyEvent> createKeyEvent(const InputMessage& msg) { in createKeyEvent() function
403 std::unique_ptr<KeyEvent> keyEvent = createKeyEvent(msg); in handleMessage()
DInputConsumer.cpp265 KeyEvent* keyEvent = factory->createKeyEvent(); in consume()
DInput.cpp1264 KeyEvent* PooledInputEventFactory::createKeyEvent() { in createKeyEvent() function in android::PooledInputEventFactory
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp491 KeyEvent createKeyEvent(const KeyEntry& entry) { in createKeyEvent() function
6542 const KeyEvent event = createKeyEvent(entry); in doInterceptKeyBeforeDispatchingCommand()
6666 KeyEvent event = createKeyEvent(keyEntry); in afterKeyEventLockedInterruptable()
6717 KeyEvent event = createKeyEvent(keyEntry); in afterKeyEventLockedInterruptable()