Searched refs:is_press (Results 1 – 3 of 3) sorted by relevance
29 bool is_press, in InitButtonEvent() argument38 button_event->type = is_press ? ButtonPress : ButtonRelease; in InitButtonEvent()48 bool is_press, in InitKeyEvent() argument57 key_event->type = is_press ? KeyPress : KeyRelease; in InitKeyEvent()
523 void EventGenerator::DispatchKeyEvent(bool is_press, in DispatchKeyEvent() argument529 if (is_press && character) { in DispatchKeyEvent()539 { NULL, (is_press ? key_press : WM_KEYUP), key_code, 0 }; in DispatchKeyEvent()543 xevent.InitKeyEvent(is_press ? ui::ET_KEY_PRESSED : ui::ET_KEY_RELEASED, in DispatchKeyEvent()548 ui::EventType type = is_press ? ui::ET_KEY_PRESSED : ui::ET_KEY_RELEASED; in DispatchKeyEvent()
329 void DispatchKeyEvent(bool is_press, ui::KeyboardCode key_code, int flags);