Home
last modified time | relevance | path

Searched refs:keyEvent (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditorKeyBindings.cpp187 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in interpretKeyEvent() local
188 if (!keyEvent) in interpretKeyEvent()
208 if (keyEvent->shiftKey()) in interpretKeyEvent()
210 if (keyEvent->altKey()) in interpretKeyEvent()
212 if (keyEvent->ctrlKey()) in interpretKeyEvent()
214 if (keyEvent->metaKey()) in interpretKeyEvent()
217 if (keyEvent->type() == PlatformEvent::RawKeyDown) { in interpretKeyEvent()
228 const PlatformKeyboardEvent* keyEvent = evt->keyEvent(); in handleEditingKeyboardEvent() local
230 if (!keyEvent || keyEvent->isSystemKey()) in handleEditingKeyboardEvent()
236 if (keyEvent->type() == PlatformEvent::RawKeyDown) { in handleEditingKeyboardEvent()
[all …]
/external/chromium_org/chrome/test/functional/gtalk/
Djsutils.js79 var keyEvent = element.ownerDocument.createEvent('TextEvent');
80 keyEvent.initTextEvent('textInput', true, true, window, text);
81 element.dispatchEvent(keyEvent);
96 var keyEvent = element.ownerDocument.createEvent('Events');
97 keyEvent.ctrlKey = Boolean(opt_ctrlKey);
98 keyEvent.shiftKey = Boolean(opt_shiftKey);
99 keyEvent.altKey = Boolean(opt_altKey);
100 keyEvent.metaKey = Boolean(opt_metaKey);
101 keyEvent.initEvent(eventType, true, true);
102 keyEvent.keyCode = keycode;
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/photon/
DSDL_ph_events.c115 PhKeyEvent_t* keyEvent; in ph_DispatchEvent() local
343 keyEvent = PhGetData(phevent); in ph_DispatchEvent()
345 if (Pk_KF_Key_Down & keyEvent->key_flags) in ph_DispatchEvent()
348 …if ((keyEvent->key_cap==Pk_Up) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_Va… in ph_DispatchEvent()
353 …if ((keyEvent->key_cap==Pk_Down) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_… in ph_DispatchEvent()
358 posted = SDL_PrivateKeyboard(SDL_PRESSED, ph_TranslateKey(keyEvent, &keysym)); in ph_DispatchEvent()
363 …if ((keyEvent->key_cap==Pk_Up) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_Va… in ph_DispatchEvent()
368 …if ((keyEvent->key_cap==Pk_Down) && (keyEvent->key_scan==0) && ((keyEvent->key_flags & Pk_KF_Scan_… in ph_DispatchEvent()
373 posted = SDL_PrivateKeyboard(SDL_RELEASED, ph_TranslateKey( keyEvent, &keysym)); in ph_DispatchEvent()
/external/chromium_org/chrome/third_party/chromevox/chromevox/injected/
Dapi.js477 cvox.Api.isKeyShortcut = function(keyEvent, callback) { argument
490 if (KEY_IGNORE_LIST.indexOf(keyEvent.keyCode) && !keyEvent.altKey &&
491 !keyEvent.shiftKey && !keyEvent.ctrlKey && !keyEvent.metaKey) {
497 var keySeq = cvox.KeyUtil.keyEventToKeySequence(keyEvent);
503 for (var prop in keyEvent) {
505 strippedKeyEvent[prop] = keyEvent[prop];
/external/chromium/chrome/browser/ui/cocoa/
Dbase_view.mm40 - (void)keyEvent:(NSEvent *)theEvent {
123 [self keyEvent:theEvent];
127 [self keyEvent:theEvent];
131 [self keyEvent:theEvent];
Dbase_view.h30 - (void)keyEvent:(NSEvent *)theEvent;
/external/chromium_org/ui/base/cocoa/
Dbase_view.mm29 - (EventHandled)keyEvent:(NSEvent*)theEvent {
115 if ([self keyEvent:theEvent] != kEventHandled)
120 if ([self keyEvent:theEvent] != kEventHandled)
125 if ([self keyEvent:theEvent] != kEventHandled)
Dbase_view.h38 - (EventHandled)keyEvent:(NSEvent *)theEvent;
/external/jmonkeyengine/engine/src/desktop/com/jme3/input/awt/
DAwtKeyInput.java117 KeyInputEvent keyEvent = new KeyInputEvent(code, evt.getKeyChar(), true, false); in keyPressed() local
118 keyEvent.setTime(evt.getWhen()); in keyPressed()
120 eventQueue.add(keyEvent); in keyPressed()
126 KeyInputEvent keyEvent = new KeyInputEvent(code, evt.getKeyChar(), false, false); in keyReleased() local
127 keyEvent.setTime(evt.getWhen()); in keyReleased()
129 eventQueue.add(keyEvent); in keyReleased()
/external/chromium_org/third_party/WebKit/Source/web/tests/
DPopupMenuTest.cpp232 WebKeyboardEvent keyEvent; in simulateKeyEvent() local
233 keyEvent.windowsKeyCode = keyCode; in simulateKeyEvent()
234 keyEvent.type = eventType; in simulateKeyEvent()
235 m_webView->handleInputEvent(keyEvent); in simulateKeyEvent()
DWebViewTest.cpp1307 WebKeyboardEvent keyEvent; in openDateTimeChooser() local
1308 keyEvent.windowsKeyCode = WebCore::VKEY_SPACE; in openDateTimeChooser()
1309 keyEvent.type = WebInputEvent::RawKeyDown; in openDateTimeChooser()
1310 keyEvent.setKeyIdentifierFromWindowsKeyCode(); in openDateTimeChooser()
1311 webView->handleInputEvent(keyEvent); in openDateTimeChooser()
1313 keyEvent.type = WebInputEvent::KeyUp; in openDateTimeChooser()
1314 webView->handleInputEvent(keyEvent); in openDateTimeChooser()
/external/chromium/chrome/browser/resources/keyboard/
Dmain.js611 var keyEvent = {'type': 'keydown', 'keyIdentifier': key}; variable
613 keyEvent['shiftKey'] = true;
615 chrome.experimental.input.sendKeyboardEvent(keyEvent);
616 keyEvent['type'] = 'keyup';
617 chrome.experimental.input.sendKeyboardEvent(keyEvent);
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_input_field.h33 - (KeyEventHandled)keyEvent:(NSEvent*)event forInput:(id)sender;
Dautofill_dialog_window_controller.mm107 if ([[textfield inputDelegate] keyEvent:event
/external/chromium_org/ppapi/examples/ime/
Dime.cc486 const pp::KeyboardInputEvent keyEvent(event); in HandleInputEvent() local
487 ret = OnKeyDown(keyEvent); in HandleInputEvent()
491 const pp::KeyboardInputEvent keyEvent(event); in HandleInputEvent() local
492 Log("Char [" + keyEvent.GetCharacterText().AsString() + "]"); in HandleInputEvent()
493 ret = OnChar(keyEvent); in HandleInputEvent()
/external/chromium_org/chrome/browser/extensions/api/braille_display_private/
Dbraille_display_private_api.h41 const api::braille_display_private::KeyEvent& keyEvent) OVERRIDE;
/external/chromium_org/third_party/WebKit/Source/web/
DWebInputEventConversion.cpp639 if (!event.keyEvent()) in WebKeyboardEventBuilder()
641 nativeKeyCode = event.keyEvent()->nativeVirtualKeyCode(); in WebKeyboardEventBuilder()
642 …unsigned numberOfCharacters = std::min(event.keyEvent()->text().length(), static_cast<unsigned>(te… in WebKeyboardEventBuilder()
644 text[i] = event.keyEvent()->text()[i]; in WebKeyboardEventBuilder()
645 unmodifiedText[i] = event.keyEvent()->unmodifiedText()[i]; in WebKeyboardEventBuilder()
DWebPagePopupImpl.cpp291 return m_page->mainFrame()->eventHandler().keyEvent(event); in handleKeyEvent()
/external/chromium_org/third_party/WebKit/Source/core/events/
DKeyboardEvent.h93 const PlatformKeyboardEvent* keyEvent() const { return m_keyEvent.get(); } in keyEvent() function
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_mac.mm65 - (void)keyEvent:(NSEvent *)theEvent wasKeyEquivalent:(BOOL)equiv;
1149 [self keyEvent:theEvent wasKeyEquivalent:YES];
1165 - (void)keyEvent:(NSEvent*)theEvent {
1166 [self keyEvent:theEvent wasKeyEquivalent:NO];
1169 - (void)keyEvent:(NSEvent*)theEvent wasKeyEquivalent:(BOOL)equiv {
2057 // EventHandler::keyEvent() ->
2072 // [RenderWidgetHostViewMac keyEvent] (browser) ->
2074 // EventHandler::keyEvent() (renderer) ->
2085 // result of EventHandler::keyEvent().
2096 // [RenderWidgetHostViewMac keyEvent] (browser) ->
[all …]
/external/chromium_org/third_party/WebKit/Source/core/page/
DEventHandler.h161 bool keyEvent(const PlatformKeyboardEvent&);
DEventHandler.cpp3059 …llowedInFullScreen(FullscreenElementStack* fullscreen, const PlatformKeyboardEvent& keyEvent) const in isKeyEventAllowedInFullScreen()
3064 if (keyEvent.type() == PlatformKeyboardEvent::Char) { in isKeyEventAllowedInFullScreen()
3065 if (keyEvent.text().length() != 1) in isKeyEventAllowedInFullScreen()
3067 UChar character = keyEvent.text()[0]; in isKeyEventAllowedInFullScreen()
3071 int keyCode = keyEvent.windowsVirtualKeyCode(); in isKeyEventAllowedInFullScreen()
3078 bool EventHandler::keyEvent(const PlatformKeyboardEvent& initialKeyEvent) in keyEvent() function in WebCore::EventHandler
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_mac.mm173 - (void)keyEvent:(NSEvent*)theEvent wasKeyEquivalent:(BOOL)equiv;
700 // This cycle is normally broken when -keyEvent: receives an <esc> key, which
2353 [self keyEvent:theEvent wasKeyEquivalent:YES];
2369 - (EventHandled)keyEvent:(NSEvent*)theEvent {
2376 [self keyEvent:theEvent wasKeyEquivalent:NO];
2380 - (void)keyEvent:(NSEvent*)theEvent wasKeyEquivalent:(BOOL)equiv {
2381 TRACE_EVENT0("browser", "RenderWidgetHostViewCocoa::keyEvent");
3518 // EventHandler::keyEvent() ->
3533 // [RenderWidgetHostViewMac keyEvent] (browser) ->
3535 // EventHandler::keyEvent() (renderer) ->
[all …]
Drender_widget_host_view_mac_unittest.mm286 [view->cocoa_view() keyEvent:
292 [rwhv_mac_->cocoa_view() keyEvent:
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DTextViewTest.java398 public boolean onEditorAction(TextView textView, int sentImeId, KeyEvent keyEvent) { in onEditorAction() argument

12