Searched defs:keycode (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium_org/third_party/skia/include/views/android/
H A DAndroidKeyToSkKey.h16 // Convert an Android keycode to an SkKey. This is an incomplete list, only
18 SkKey AndroidKeycodeToSkKey(int keycode) { argument
19 switch (keycode) {
/external/skia/include/views/android/
H A DAndroidKeyToSkKey.h16 // Convert an Android keycode to an SkKey. This is an incomplete list, only
18 SkKey AndroidKeycodeToSkKey(int keycode) { argument
19 switch (keycode) {
/external/chromium_org/chrome/browser/ui/views/
H A Daccelerator_table.h22 ui::KeyboardCode keycode; member in struct:chrome::AcceleratorMapping
H A Dmenu_test_base.cc32 void MenuTestBase::KeyPress(ui::KeyboardCode keycode, argument
35 GetWidget()->GetNativeWindow(), keycode, false, false,
/external/chromium_org/ui/events/keycodes/
H A Dkeyboard_code_conversion_win.cc10 WORD WindowsKeyCodeForKeyboardCode(KeyboardCode keycode) { argument
11 return static_cast<WORD>(keycode);
14 KeyboardCode KeyboardCodeForWindowsKeyCode(WORD keycode) { argument
15 return static_cast<KeyboardCode>(keycode);
H A Dkeyboard_code_conversion_android.cc64 KeyboardCode KeyboardCodeFromAndroidKeyCode(int keycode) { argument
66 switch (keycode) {
/external/chromium_org/content/browser/renderer_host/
H A Dnative_web_keyboard_event_android.cc34 int modifiers, double time_secs, int keycode, int unicode_character,
37 type, modifiers, time_secs, keycode, unicode_character,
45 int modifiers, double time_secs, int keycode, int unicode_character,
48 type, modifiers, time_secs, keycode, unicode_character,
32 NativeWebKeyboardEvent( blink::WebInputEvent::Type type, int modifiers, double time_secs, int keycode, int unicode_character, bool is_system_key) argument
43 NativeWebKeyboardEvent( jobject android_key_event, blink::WebInputEvent::Type type, int modifiers, double time_secs, int keycode, int unicode_character, bool is_system_key) argument
/external/chromium_org/remoting/client/plugin/
H A Dnormalizing_input_filter_mac_unittest.cc37 KeyEvent MakeKeyEvent(uint32 keycode, bool pressed) { argument
39 event.set_usb_keycode(keycode);
H A Dnormalizing_input_filter_cros_unittest.cc40 KeyEvent MakeKeyEvent(uint32 keycode, bool pressed) { argument
42 event.set_usb_keycode(keycode);
48 void PressAndReleaseKey(InputStub* input_stub, uint32 keycode) { argument
49 input_stub->InjectKeyEvent(MakeKeyEvent(keycode, true));
50 input_stub->InjectKeyEvent(MakeKeyEvent(keycode, false));
/external/qemu/distrib/sdl-1.2.15/src/video/dga/
H A DSDL_dgaevents.c81 KeyCode keycode; local
85 keycode = xkey.keycode;
87 printf("KeyPress (X11 keycode = 0x%X)\n", xkey.keycode);
90 keysym.scancode = keycode;
91 keysym.sym = X11_TranslateKeycode(DGA_Display, keycode);
117 KeyCode keycode; local
121 keycode = xkey.keycode;
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DInputKeyboard.java34 public void press(float currentTime, int keycode) { argument
35 assert keycode >= 0 && keycode < mKeys.length;
36 if (keycode >= 0 && keycode < mKeys.length){
37 mKeys[keycode].press(currentTime, 1.0f);
41 public void release(int keycode) { argument
42 assert keycode >= 0 && keycode < mKeys.length;
43 if (keycode >
[all...]
H A DInputSystem.java86 public void keyDown(int keycode) { argument
89 mKeyboard.press(gameTime, keycode);
92 public void keyUp(int keycode) { argument
93 mKeyboard.release(keycode);
/external/chromium_org/content/browser/renderer_host/input/
H A Dweb_input_event_builders_android.cc27 int keycode,
37 ui::KeyboardCodeFromAndroidKeyCode(keycode);
40 result.nativeKeyCode = keycode;
24 Build(WebInputEvent::Type type, int modifiers, double time_sec, int keycode, int unicode_character, bool is_system_key) argument
/external/qemu/ui/
H A Dkeymaps.h2 * QEMU keysym to keycode conversion using rdesktop keymaps
47 uint16_t keycode; member in struct:__anon30250::__anon30251
57 int keycode_is_keypad(void *kbd_layout, int keycode);
H A Dkeymaps.c2 * QEMU keysym to keycode conversion using rdesktop keymaps
113 int keycode = strtol(rest, &rest2, 0); local
116 add_to_key_range(&k->keypad_range, keycode);
118 //fprintf(stderr, "keypad keysym %04x keycode %d\n", keysym, keycode);
121 /* if(keycode&0x80)
122 keycode=(keycode<<8)^0x80e0; */
124 //fprintf(stderr,"Setting keysym %s (%d) to %d\n",line,keysym,keycode);
125 k->keysym2keycode[keysym] = keycode;
179 keycode_is_keypad(void *kbd_layout, int keycode) argument
[all...]
/external/chromium_org/athena/input/public/
H A Daccelerator_manager.h44 ui::KeyboardCode keycode; // KeyEvent event flags. member in struct:athena::AcceleratorData
/external/chromium_org/chrome/browser/extensions/
H A Dglobal_shortcut_listener_x11.cc104 KeyCode keycode = XKeysymToKeycode(x_display_, local
112 XGrabKey(x_display_, keycode, modifiers | kModifiersMasks[i],
119 XUngrabKey(x_display_, keycode, modifiers | kModifiersMasks[i],
135 KeyCode keycode = XKeysymToKeycode(x_display_, local
139 XUngrabKey(x_display_, keycode, modifiers | kModifiersMasks[i],
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebInputEvent.cpp201 int WebKeyboardEvent::windowsKeyCodeWithoutLocation(int keycode) argument
203 switch (keycode) {
214 return keycode;
219 int WebKeyboardEvent::locationModifiersFromWindowsKeyCode(int keycode) argument
221 switch (keycode) {
/external/chromium_org/ui/base/accelerators/
H A Daccelerator.cc31 Accelerator::Accelerator(KeyboardCode keycode, int modifiers) argument
32 : key_code_(keycode),
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/appmenu/
H A DAppMenuTest.java237 private void pressKey(final int keycode) { argument
242 view.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, keycode));
243 view.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_UP, keycode));
/external/chromium_org/third_party/WebKit/Source/core/events/
H A DKeyboardEvent.cpp50 static inline int windowsVirtualKeyCodeWithoutLocation(int keycode) argument
52 switch (keycode) {
63 return keycode;
/external/chromium_org/ui/base/ime/chromeos/
H A Dcharacter_composer_unittest.cc22 uint keycode,
24 return character_composer->FilterKeyPressInternal(key, keycode, flags);
30 uint keycode,
32 EXPECT_FALSE(character_composer->FilterKeyPressInternal(key, keycode,
40 uint keycode,
42 EXPECT_TRUE(character_composer->FilterKeyPressInternal(key, keycode,
20 FilterKeyPress(CharacterComposer* character_composer, uint key, uint keycode, int flags) argument
28 ExpectKeyNotFilteredWithKeyCode(CharacterComposer* character_composer, uint key, uint keycode, int flags) argument
38 ExpectKeyFilteredWithKeycode(CharacterComposer* character_composer, uint key, uint keycode, int flags) argument
/external/chromium_org/chrome/browser/chromeos/input_method/
H A Dinput_method_engine_browsertests.cc384 ui::KeyboardCode keycode; member in struct:chromeos::input_method::__anon3246::__anon3247
419 kMediaKeyCases[i].keycode,
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dx11_input_method_context_impl_gtk2.cc165 const int keycode = modmap->modifiermap[i]; local
166 if (!keycode)
168 modifier_keycodes_.insert(keycode);
173 switch (keysyms[(keycode - min_keycode) * keysyms_per_keycode + j]) {
176 meta_keycodes_.push_back(keycode);
180 super_keycodes_.push_back(keycode);
184 hyper_keycodes_.push_back(keycode);
225 gdk_keymap_get_entries_for_keycode(keymap, xkey.keycode,
262 event->key.hardware_keycode = xkey.keycode;
264 event->key.is_modifier = IsKeycodeModifierKey(xkey.keycode);
288 const int keycode = keycodes[i]; local
[all...]
/external/chromium_org/remoting/host/
H A Dinput_injector_mac.cc34 void CreateAndPostKeyEvent(int keycode, argument
39 CGEventCreateKeyboardEvent(NULL, keycode, pressed));
182 int keycode = local
185 VLOG(3) << "Converting USB keycode: " << std::hex << event.usb_keycode()
186 << " to keycode: " << keycode << std::dec;
189 if (keycode == ui::KeycodeConverter::InvalidNativeKeycode())
194 if (keycode == kVK_Command) {
196 } else if (keycode == kVK_Shift) {
198 } else if (keycode
[all...]

Completed in 955 milliseconds

123