Home
last modified time | relevance | path

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

/external/chromium_org/ui/events/x/
Devents_x_unittest.cc29 bool is_press, in InitButtonEvent() argument
38 button_event->type = is_press ? ButtonPress : ButtonRelease; in InitButtonEvent()
48 bool is_press, in InitKeyEvent() argument
57 key_event->type = is_press ? KeyPress : KeyRelease; in InitKeyEvent()
/external/chromium_org/ui/aura/test/
Devent_generator.cc523 void EventGenerator::DispatchKeyEvent(bool is_press, in DispatchKeyEvent() argument
529 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()
Devent_generator.h329 void DispatchKeyEvent(bool is_press, ui::KeyboardCode key_code, int flags);