/external/qemu/android/ |
hw-events.h | 48 KEY_CODE belows glues "KEY_" and "DELETE". 56 KEY_CODE(ESC ,1) \ 57 KEY_CODE(1 ,2) \ 58 KEY_CODE(2 ,3) \ 59 KEY_CODE(3 ,4) \ 60 KEY_CODE(4 ,5) \ 61 KEY_CODE(5 ,6) \ 62 KEY_CODE(6 ,7) \ 63 KEY_CODE(7 ,8) \ 64 KEY_CODE(8 ,9) [all...] |
/external/chromium/chrome/browser/extensions/ |
key_identifier_conversion_views_unittest.cc | 26 EXPECT_EQ(ui::VKEY_APPS, KeyEventFromKeyIdentifier("Apps").key_code()); 28 KeyEventFromKeyIdentifier("Nonsense").key_code()); 32 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("a").key_code()); 33 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("A").key_code()); 34 EXPECT_EQ(ui::VKEY_OEM_PERIOD, KeyEventFromKeyIdentifier(">").key_code()); 39 KeyEventFromKeyIdentifier(non_printing_char).key_code()); 43 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("U+0041").key_code()); 44 EXPECT_EQ(ui::VKEY_A, KeyEventFromKeyIdentifier("U+0061").key_code()); 45 EXPECT_EQ(ui::VKEY_DELETE, KeyEventFromKeyIdentifier("U+007F").key_code()); 48 EXPECT_EQ(ui::VKEY_UNKNOWN, KeyEventFromKeyIdentifier("U+030A").key_code()); [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
key_converter.cc | 18 ui::KeyboardCode key_code; member in struct:__anon9442::ModifierMaskAndKeyCode 102 bool IsSpecialKeyPrintable(ui::KeyboardCode key_code) { 103 return key_code == ui::VKEY_TAB || key_code == ui::VKEY_SPACE || 104 key_code == ui::VKEY_OEM_1 || key_code == ui::VKEY_OEM_PLUS || 105 key_code == ui::VKEY_OEM_COMMA || 106 (key_code >= ui::VKEY_NUMPAD0 && key_code <= ui::VKEY_DIVIDE); 123 // Returns whether |key| is a special WebDriver key. If true, |key_code| wil [all...] |
keycode_text_conversion_win.cc | 15 ui::KeyboardCode key_code, int modifiers, std::string* text, 17 UINT scan_code = ::MapVirtualKeyW(key_code, MAPVK_VK_TO_VSC); 28 int code = ::ToUnicode(key_code, scan_code, keyboard_state, chars, 4, 0); 39 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, 47 *key_code = static_cast<ui::KeyboardCode>(LOBYTE(vkey_and_modifiers));
|
keycode_text_conversion_x.cc | 21 ui::KeyboardCode key_code; member in struct:__anon9445::KeyCodeAndXKeyCode 132 return a.key_code < b.key_code; 137 int KeyboardCodeToXKeyCode(ui::KeyboardCode key_code) { 139 find.key_code = key_code; 144 found->key_code != key_code) 181 ui::KeyboardCode key_code, int modifiers, std::string* text, 184 int x_key_code = KeyboardCodeToXKeyCode(key_code); [all...] |
/external/chromium_org/content/browser/renderer_host/input/ |
web_input_event_util_posix.h | 13 ui::KeyboardCode GetWindowsKeyCodeWithoutLocation(ui::KeyboardCode key_code); 15 ui::KeyboardCode key_code);
|
web_input_event_util_posix.cc | 9 ui::KeyboardCode GetWindowsKeyCodeWithoutLocation(ui::KeyboardCode key_code) { 10 switch (key_code) { 21 return key_code; 26 ui::KeyboardCode key_code) { 27 switch (key_code) {
|
/external/chromium_org/ui/base/keycodes/ |
keyboard_code_conversion.cc | 11 uint16 GetCharacterFromKeyCode(KeyboardCode key_code, int flags) { 17 if (key_code >= VKEY_A && key_code <= VKEY_Z) 18 return key_code - VKEY_A + (ctrl ? 1 : (upper ? 'A' : 'a')); 24 switch (key_code) { 39 switch (key_code) { 60 if (key_code == ui::VKEY_PROCESSKEY) 64 if (key_code >= VKEY_0 && key_code <= VKEY_9) { 65 return shift ? ")!@#$%^&*("[key_code - VKEY_0] [all...] |
keyboard_code_conversion.h | 19 // events with key_code and flags information, then there is no way for us to 21 // a key_code only represents a physical key on the keyboard, it has nothing 34 UI_EXPORT uint16 GetCharacterFromKeyCode(KeyboardCode key_code, int flags);
|
/external/chromium_org/chrome/test/webdriver/ |
webdriver_key_converter.cc | 20 ui::KeyboardCode key_code; member in struct:__anon9509::ModifierMaskAndKeyCode 116 // Returns whether |key| is a special WebDriver key. If true, |key_code| will 118 bool KeyCodeFromSpecialWebDriverKey(char16 key, ui::KeyboardCode* key_code) { 123 *key_code = kSpecialWebDriverKeys[index]; 130 // a shorthand key. If true, |key_code| will be set and |client_should_skip| 133 ui::KeyboardCode* key_code, 143 *key_code = ui::VKEY_RETURN; 145 *key_code = ui::VKEY_TAB; 147 *key_code = ui::VKEY_BACK; 149 *key_code = ui::VKEY_SPACE [all...] |
keycode_text_conversion_win.cc | 16 std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers) { 17 UINT scan_code = ::MapVirtualKeyW(key_code, MAPVK_VK_TO_VSC); 27 int code = ::ToUnicode(key_code, scan_code, keyboard_state, chars, 4, 0); 40 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers) { 46 *key_code = static_cast<ui::KeyboardCode>(LOBYTE(vkey_and_modifiers));
|
keycode_text_conversion.h | 22 std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers); 27 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers);
|
keycode_text_conversion_gtk.cc | 16 std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers) { 21 key_code, modifiers & automation::kShiftKeyMask); 35 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers) { 62 *key_code = code;
|
keycode_text_conversion_x.cc | 23 ui::KeyboardCode key_code; member in struct:webdriver::__anon9502::KeyCodeAndXKeyCode 134 return a.key_code < b.key_code; 139 int KeyboardCodeToXKeyCode(ui::KeyboardCode key_code) { 141 find.key_code = key_code; 146 found->key_code != key_code) 182 std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers) { 183 int x_key_code = KeyboardCodeToXKeyCode(key_code); [all...] |
keycode_text_conversion_mac.mm | 18 std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers) { 23 key_code, 73 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers) { 95 *key_code = code;
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
ui_events.cc | 35 ui::KeyboardCode key_code) 40 key_code(key_code) {}
|
/external/chromium_org/chrome/browser/chromeos/ |
keyboard_driven_event_rewriter.cc | 52 if (event->key_code() != ui::VKEY_LEFT && 53 event->key_code() != ui::VKEY_RIGHT && 54 event->key_code() != ui::VKEY_UP && 55 event->key_code() != ui::VKEY_DOWN && 56 event->key_code() != ui::VKEY_RETURN) {
|
/external/chromium_org/ash/accelerators/ |
accelerator_dispatcher.cc | 52 const ui::KeyboardCode key_code = key_event.key_code(); local 53 if ((key_code >= ui::VKEY_A && key_code <= ui::VKEY_Z) || 54 (key_code >= ui::VKEY_0 && key_code <= ui::VKEY_9) || 55 (key_code == ui::VKEY_TAB)) { 116 ui::Accelerator accelerator(key_event.key_code(),
|
/external/chromium_org/chrome/browser/ui/gtk/ |
accelerator_utils_gtk.cc | 15 if (iter->second.key_code() == accelerator.key_code() &&
|
/external/chromium_org/ui/base/accelerators/ |
platform_accelerator_cocoa.mm | 14 PlatformAcceleratorCocoa::PlatformAcceleratorCocoa(NSString* key_code, 16 : characters_([key_code copy]),
|
/bootable/recovery/ |
ui.cpp | 112 void RecoveryUI::process_key(int key_code, int updown) { 117 key_pressed[key_code] = updown; 120 key_last_down = key_code; 125 info->key_code = key_code; 130 if (key_last_down == key_code) { 140 switch (CheckKey(key_code)) { 153 EnqueueKey(key_code); 161 info->ui->time_key(info->key_code, info->count); 166 void RecoveryUI::time_key(int key_code, int count) [all...] |
/external/chromium_org/ash/wm/ |
sticky_keys.cc | 108 if (event->key_code() == ui::VKEY_SHIFT || 109 event->key_code() == ui::VKEY_LSHIFT || 110 event->key_code() == ui::VKEY_RSHIFT) { 112 } else if (event->key_code() == ui::VKEY_CONTROL || 113 event->key_code() == ui::VKEY_LCONTROL || 114 event->key_code() == ui::VKEY_RCONTROL) { 116 } else if (event->key_code() == ui::VKEY_MENU || 117 event->key_code() == ui::VKEY_LMENU || 118 event->key_code() == ui::VKEY_RMENU) { 218 event->set_character(ui::GetCharacterFromKeyCode(event->key_code(), [all...] |
/external/chromium_org/chrome/browser/ui/ash/ |
volume_controller_chromeos.cc | 31 if (accelerator.key_code() == ui::VKEY_VOLUME_MUTE) 39 if (accelerator.key_code() == ui::VKEY_VOLUME_DOWN) 54 if (accelerator.key_code() == ui::VKEY_VOLUME_UP)
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
accelerator_utils_cocoa.mm | 18 // that have key_code() == VKEY_UNKNOWN but they contain a platform 24 ui::MacKeyCodeForWindowsKeyCode(accelerator.key_code(), 46 keyCode:accelerator.key_code()];
|
/external/chromium_org/ui/views/focus/ |
focus_manager_test.cc | 112 void FocusManagerTest::PostKeyDown(ui::KeyboardCode key_code) { 113 PostMessage(GetWidget()->GetNativeView(), WM_KEYDOWN, key_code, 0); 116 void FocusManagerTest::PostKeyUp(ui::KeyboardCode key_code) { 117 PostMessage(GetWidget()->GetNativeView(), WM_KEYUP, key_code, 0);
|