/external/chromium_org/ui/events/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 EVENTS_BASE_EXPORT uint16 GetCharacterFromKeyCode(KeyboardCode key_code,
|
/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/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:__anon9710::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.h | 21 bool ConvertKeyCodeToText(ui::KeyboardCode key_code, 31 ui::KeyboardCode* key_code,
|
key_converter.h | 18 KeyEvent CreateKeyDownEvent(ui::KeyboardCode key_code, int modifiers); 19 KeyEvent CreateKeyUpEvent(ui::KeyboardCode key_code, int modifiers);
|
keycode_text_conversion_win.cc | 14 ui::KeyboardCode key_code, int modifiers, std::string* text, 16 UINT scan_code = ::MapVirtualKeyW(key_code, MAPVK_VK_TO_VSC); 27 int code = ::ToUnicode(key_code, scan_code, keyboard_state, chars, 4, 0); 38 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers, 46 *key_code = static_cast<ui::KeyboardCode>(LOBYTE(vkey_and_modifiers));
|
/external/chromium_org/chrome/browser/ui/gtk/ |
accelerator_utils_gtk.cc | 15 if (iter->second.key_code() == accelerator.key_code() &&
|
/external/chromium_org/media/base/ |
keyboard_event_counter.cc | 23 ui::KeyboardCode key_code) { 26 if (pressed_keys_.find(key_code) != pressed_keys_.end()) 28 pressed_keys_.insert(key_code); 33 pressed_keys_.erase(key_code);
|
keyboard_event_counter.h | 36 void OnKeyboardEvent(ui::EventType event, ui::KeyboardCode key_code);
|
/external/chromium_org/ui/base/ime/ |
dummy_input_method_delegate.cc | 20 ui::KeyboardCode key_code,
|
input_method_delegate.h | 29 ui::KeyboardCode key_code,
|
dummy_input_method_delegate.h | 26 ui::KeyboardCode key_code,
|
/external/chromium_org/ash/system/chromeos/ |
keyboard_brightness_controller.cc | 18 if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_DOWN) { 30 if (accelerator.key_code() == ui::VKEY_BRIGHTNESS_UP) {
|
/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 && 57 event->key_code() != ui::VKEY_F6) {
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
ui_events.cc | 35 ui::KeyboardCode key_code) 40 key_code(key_code) {}
|
/external/chromium_org/ash/accelerators/ |
accelerator_dispatcher.cc | 57 const ui::KeyboardCode key_code = key_event.key_code(); local 58 if ((key_code >= ui::VKEY_A && key_code <= ui::VKEY_Z) || 59 (key_code >= ui::VKEY_0 && key_code <= ui::VKEY_9) || 60 (key_code == ui::VKEY_TAB)) { 121 ui::Accelerator accelerator(key_event.key_code(),
|
/external/chromium_org/chrome/browser/ui/views/ |
accelerator_utils_aura.cc | 19 if (accel_data.keycode == accelerator.key_code() && 30 if (it->keycode == accelerator.key_code() &&
|
app_menu_button_win.cc | 16 if (event.key_code() == ui::VKEY_SPACE) {
|
/external/chromium_org/content/test/ |
mock_keyboard.cc | 20 int key_code, 44 return driver_.GetCharacters(key_code, output);
|
/bootable/recovery/ |
ui.h | 113 void EnqueueKey(int key_code); 128 int key_code; member in struct:RecoveryUI::__anon804 136 void process_key(int key_code, int updown); 140 void time_key(int key_code, int count);
|
/external/chromium_org/chrome/browser/chromeos/login/ |
keyboard_driven_oobe_key_handler.cc | 20 if (event->key_code() == ui::VKEY_F6) {
|
/external/chromium_org/ash/autoclick/ |
autoclick_controller.cc | 26 bool IsModifierKey(ui::KeyboardCode key_code) { 27 return key_code == ui::VKEY_SHIFT || 28 key_code == ui::VKEY_LSHIFT || 29 key_code == ui::VKEY_CONTROL || 30 key_code == ui::VKEY_LCONTROL || 31 key_code == ui::VKEY_RCONTROL || 32 key_code == ui::VKEY_MENU || 33 key_code == ui::VKEY_LMENU || 34 key_code == ui::VKEY_RMENU; 162 if (!IsModifierKey(event->key_code())) [all...] |