Home
last modified time | relevance | path

Searched refs:is_press (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ui/events/test/
Devent_generator.cc505 void EventGenerator::DispatchKeyEvent(bool is_press, in DispatchKeyEvent() argument
511 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()
Devent_generator.h354 void DispatchKeyEvent(bool is_press, KeyboardCode key_code, int flags);
/external/chromium_org/ui/events/x/
Devents_x_unittest.cc34 bool is_press, in InitButtonEvent() argument
43 button_event->type = is_press ? ButtonPress : ButtonRelease; in InitButtonEvent()
53 bool is_press, in InitKeyEvent() argument
62 key_event->type = is_press ? KeyPress : KeyRelease; in InitKeyEvent()