HomeSort by relevance Sort by last modified time
    Searched refs:key_code (Results 1 - 25 of 257) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/
keycode_text_conversion.h 22 std::string ConvertKeyCodeToText(ui::KeyboardCode key_code, int modifiers);
27 char16 key, ui::KeyboardCode* key_code, int *necessary_modifiers);
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...]
webdriver_key_converter.h 20 WebKeyEvent CreateKeyDownEvent(ui::KeyboardCode key_code, int modifiers);
21 WebKeyEvent CreateKeyUpEvent(ui::KeyboardCode key_code, int modifiers);
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_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;
  /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:__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.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 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));
  /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/ime/
input_method_delegate.h 27 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) {
  /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 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/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 111 void EnqueueKey(int key_code);
126 int key_code; member in struct:RecoveryUI::__anon804
134 void process_key(int key_code, int updown);
138 void time_key(int key_code, int count);
  /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...]

Completed in 348 milliseconds

1 2 3 4 5 6 7 8 91011