Home
last modified time | relevance | path

Searched refs:InitKeyEvent (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/ui/events/
Devent_unittest.cc32 event.InitKeyEvent(ET_KEY_RELEASED, VKEY_A, EF_NONE); in TEST()
49 event.InitKeyEvent(ET_KEY_PRESSED, VKEY_RETURN, EF_CONTROL_DOWN); in TEST()
53 event.InitKeyEvent(ET_KEY_PRESSED, VKEY_RETURN, EF_NONE); in TEST()
259 event.InitKeyEvent(ET_KEY_PRESSED, VKEY_SHIFT, EF_SHIFT_DOWN); in TEST()
264 event.InitKeyEvent(ET_KEY_RELEASED, VKEY_SHIFT, EF_SHIFT_DOWN); in TEST()
269 event.InitKeyEvent(ET_KEY_PRESSED, VKEY_CONTROL, EF_CONTROL_DOWN); in TEST()
274 event.InitKeyEvent(ET_KEY_RELEASED, VKEY_CONTROL, EF_CONTROL_DOWN); in TEST()
279 event.InitKeyEvent(ET_KEY_PRESSED, VKEY_MENU, EF_ALT_DOWN); in TEST()
284 event.InitKeyEvent(ET_KEY_RELEASED, VKEY_MENU, EF_ALT_DOWN); in TEST()
358 xevent.InitKeyEvent(ET_KEY_PRESSED, VKEY_SPACE, kNativeCodeSpace); in TEST()
[all …]
/external/chromium_org/content/browser/renderer_host/
Dweb_input_event_aura_unittest.cc27 xev.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_CONTROL, 0); in TEST()
35 xev.InitKeyEvent(ui::ET_KEY_RELEASED, ui::VKEY_CONTROL, ControlMask); in TEST()
50 xev.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_CONTROL, 0); in TEST()
60 xev.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_CONTROL, 0); in TEST()
127 xev.InitKeyEvent(ui::ET_KEY_PRESSED, test_case.ui_keycode, 0); in TEST()
/external/chromium_org/ui/wm/core/
Dnested_accelerator_controller_unittest.cc89 native_event.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, 0); in DispatchKeyReleaseA()
92 native_event.InitKeyEvent(ui::ET_KEY_RELEASED, ui::VKEY_A, 0); in DispatchKeyReleaseA()
/external/chromium_org/ui/events/x/
Devents_x_unittest.cc51 void InitKeyEvent(Display* display, in InitKeyEvent() function
74 InitKeyEvent(display, &event, true, x_keycode, 0); in HasFunctionKeyFlagSetIfSupported()
456 InitKeyEvent(display, &event, true, x_keycode, 0); in TEST_F()
613 InitKeyEvent(display, &x_event, true, 0, state); in TEST_F()
630 InitKeyEvent(display, &x_event, true, 0, state); in TEST_F()
/external/chromium_org/ui/events/test/
Devents_test_utils_x11.h41 void InitKeyEvent(EventType type,
Devents_test_utils_x11.cc149 void ScopedXI2Event::InitKeyEvent(EventType type, in InitKeyEvent() function in ui::ScopedXI2Event
Devent_generator.cc525 xevent.InitKeyEvent(is_press ? ui::ET_KEY_PRESSED : ui::ET_KEY_RELEASED, in DispatchKeyEvent()
/external/chromium_org/ui/base/ime/
Dinput_method_chromeos_unittest.cc959 xevent.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, kFlags); in TEST_F()
995 xevent.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_B, kFlags); in TEST_F()
1011 xevent2.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_C, kFlags); in TEST_F()
1050 xevent.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, ui::EF_SHIFT_DOWN); in TEST_F()
/external/chromium_org/ui/views/controls/menu/
Dmenu_controller_unittest.cc186 key_event.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_ESCAPE, 0); in DispatchEscapeAndExpect()
/external/chromium_org/content/renderer/
Drender_view_browsertest.cc226 xevent.InitKeyEvent(ui::ET_KEY_PRESSED, in SendKeyEvent()
235 xevent.InitKeyEvent(ui::ET_KEY_PRESSED, in SendKeyEvent()
246 xevent.InitKeyEvent(ui::ET_KEY_RELEASED, in SendKeyEvent()
/external/chromium_org/ash/accelerators/
Daccelerator_controller_unittest.cc647 key_event.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_A, 0); in TEST_F()
658 key_event.InitKeyEvent(ui::ET_KEY_RELEASED, ui::VKEY_A, 0); in TEST_F()
/external/chromium_org/ash/sticky_keys/
Dsticky_keys_unittest.cc60 scoped_xevent_.InitKeyEvent(type, code, 0); in GenerateKey()
/external/chromium_org/chrome/browser/chromeos/events/
Devent_rewriter_unittest.cc148 xev.InitKeyEvent(test.type, test.input.key_code, test.input.flags); in CheckKeyTestCase()
199 xev.InitKeyEvent(test.type, test.input.key_code, test.input.flags); in CheckFunctionKeyTestCase()
1732 xev.InitKeyEvent(ui::ET_KEY_PRESSED, ui::VKEY_CONTROL, 0); in TEST_F()