/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskInitializerTest.kt | 92 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/ |
D | InputEventAssignerTest.kt | 46 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/ |
D | android_view_InputQueue.cpp | 168 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/ |
D | android_view_InputQueue.h | 51 KeyEvent* createKeyEvent();
|
/frameworks/native/include/input/ |
D | Input.h | 1131 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/ |
D | InputConsumerNoResampling.cpp | 47 std::unique_ptr<KeyEvent> createKeyEvent(const InputMessage& msg) { in createKeyEvent() function 403 std::unique_ptr<KeyEvent> keyEvent = createKeyEvent(msg); in handleMessage()
|
D | InputConsumer.cpp | 265 KeyEvent* keyEvent = factory->createKeyEvent(); in consume()
|
D | Input.cpp | 1264 KeyEvent* PooledInputEventFactory::createKeyEvent() { in createKeyEvent() function in android::PooledInputEventFactory
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputDispatcher.cpp | 491 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()
|