Searched refs:is_press (Results 1 – 3 of 3) sorted by relevance
505 void EventGenerator::DispatchKeyEvent(bool is_press, in DispatchKeyEvent() argument511 if (is_press && character) { in DispatchKeyEvent()521 { NULL, (is_press ? key_press : WM_KEYUP), key_code, 0 }; in DispatchKeyEvent()525 xevent.InitKeyEvent(is_press ? ui::ET_KEY_PRESSED : ui::ET_KEY_RELEASED, in DispatchKeyEvent()530 ui::EventType type = is_press ? ui::ET_KEY_PRESSED : ui::ET_KEY_RELEASED; in DispatchKeyEvent()
354 void DispatchKeyEvent(bool is_press, KeyboardCode key_code, int flags);
34 bool is_press, in InitButtonEvent() argument43 button_event->type = is_press ? ButtonPress : ButtonRelease; in InitButtonEvent()53 bool is_press, in InitKeyEvent() argument62 key_event->type = is_press ? KeyPress : KeyRelease; in InitKeyEvent()