Home
last modified time | relevance | path

Searched refs:keyCode (Results 1 – 25 of 52) sorted by relevance

123

/external/webkit/WebCore/platform/android/
DKeyEventAndroid.cpp36 static int windowsKeyCodeForKeyEvent(unsigned int keyCode) { in windowsKeyCodeForKeyEvent() argument
38 switch(keyCode) { in windowsKeyCodeForKeyEvent()
163 static String keyIdentifierForAndroidKeyCode(int keyCode) in keyIdentifierForAndroidKeyCode() argument
167 switch (keyCode) { in keyIdentifierForAndroidKeyCode()
188 sprintf(upper, "U+%06X", windowsKeyCodeForKeyEvent(keyCode)); in keyIdentifierForAndroidKeyCode()
207 PlatformKeyboardEvent::PlatformKeyboardEvent(int keyCode, UChar32 unichar, in PlatformKeyboardEvent() argument
213 , m_keyIdentifier(keyIdentifierForAndroidKeyCode(keyCode)) in PlatformKeyboardEvent()
215 , m_windowsVirtualKeyCode(windowsKeyCodeForKeyEvent(keyCode)) in PlatformKeyboardEvent()
216 , m_nativeVirtualKeyCode(keyCode) in PlatformKeyboardEvent()
/external/skia/src/animator/
DSkDisplayEvents.cpp59 int keyCode = state ? state->fCode : 0; in doEvent() local
68 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in doEvent()
70 evt->fLastCode = (SkKey) keyCode; in doEvent()
106 int keyCode = state ? state->fCode : 0; in removeEvent() local
113 …if ((int) evt->code > keyCode || (int) (evt->fMax != (SkKey) -1 ? evt->fMax : evt->code) < keyCode) in removeEvent()
/external/webkit/WebCore/platform/wx/
DKeyEventWin.cpp42 static String keyIdentifierForWindowsKeyCode(short keyCode) in keyIdentifierForWindowsKeyCode() argument
44 switch (keyCode) { in keyIdentifierForWindowsKeyCode()
133 return String::sprintf("U+%04X", toupper(keyCode)); in keyIdentifierForWindowsKeyCode()
DKeyboardEventWx.cpp37 static String keyIdentifierForWxKeyCode(int keyCode) in keyIdentifierForWxKeyCode() argument
39 switch (keyCode) { in keyIdentifierForWxKeyCode()
127 return String::format("U+%04X", toupper(keyCode)); in keyIdentifierForWxKeyCode()
/external/webkit/WebCore/platform/win/
DKeyEventWin.cpp41 static String keyIdentifierForWindowsKeyCode(unsigned short keyCode) in keyIdentifierForWindowsKeyCode() argument
43 switch (keyCode) { in keyIdentifierForWindowsKeyCode()
141 return String::format("U+%04X", toASCIIUpper(keyCode)); in keyIdentifierForWindowsKeyCode()
/external/opencore/android/
Dmetadatadriver.cpp133 const char* MetadataDriver::extractMetadata(int keyCode) in extractMetadata() argument
139 if (keyCode < 0 || keyCode >= (int) NUM_METADATA_KEYS) { in extractMetadata()
140 LOGE("extractMetadata: Invalid keyCode: %d.", keyCode); in extractMetadata()
142 value = mMetadataValues[keyCode]; in extractMetadata()
840 const char* PVMetadataRetriever::extractMetadata(int keyCode) in extractMetadata() argument
848 return mMetadataDriver->extractMetadata(keyCode); in extractMetadata()
Dmetadatadriver.h94 const char* extractMetadata(int keyCode);
/external/webkit/WebKit/mac/Plugins/
DWebNetscapePluginEventHandlerCocoa.mm136 event.data.key.keyCode = [nsEvent keyCode];
150 event.data.key.keyCode = [nsEvent keyCode];
DWebNetscapePluginEventHandlerCarbon.mm220 UInt16 keyCode = [event keyCode];
221 return keyCode << 8 | characterCode;
325 LOG(PluginEvents, "NPP_HandleEvent(keyDown): %d charCode:%c keyCode:%lu",
/external/webkit/WebCore/dom/
DKeyboardEvent.cpp117 int KeyboardEvent::keyCode() const in keyCode() function in WebCore::KeyboardEvent
153 return keyCode(); in which()
DUIEvent.cpp62 int UIEvent::keyCode() const in keyCode() function in WebCore::UIEvent
DUIEvent.h53 virtual int keyCode() const;
DKeyboardEvent.h84 int keyCode() const; // key code for keydown and keyup, character for keypress
DUIEvent.idl36 readonly attribute long keyCode;
/external/webkit/WebCore/platform/qt/
DPlatformKeyboardEventQt.cpp40 static String keyIdentifierForQtKeyCode(int keyCode) in keyIdentifierForQtKeyCode() argument
42 switch (keyCode) { in keyIdentifierForQtKeyCode()
137 return String::format("U+%04X", toupper(keyCode)); in keyIdentifierForQtKeyCode()
/external/webkit/WebCore/platform/gtk/
DKeyEventGtk.cpp48 static String keyIdentifierForGdkKeyCode(guint keyCode) in keyIdentifierForGdkKeyCode() argument
50 switch (keyCode) { in keyIdentifierForGdkKeyCode()
147 return String::format("U+%04X", gdk_keyval_to_unicode(gdk_keyval_to_upper(keyCode))); in keyIdentifierForGdkKeyCode()
/external/webkit/WebCore/html/
DHTMLSelectElement.cpp672 int keyCode = static_cast<KeyboardEvent*>(evt)->keyCode(); in menuListDefaultEventHandler() local
675 if (keyCode == ' ') { in menuListDefaultEventHandler()
683 if (keyCode == '\r') { in menuListDefaultEventHandler()
691 if (keyCode == '\r') { in menuListDefaultEventHandler()
824 int keyCode = static_cast<KeyboardEvent*>(evt)->keyCode(); in listBoxDefaultEventHandler() local
826 if (keyCode == '\r') { in listBoxDefaultEventHandler()
/external/webkit/WebCore/plugins/mac/
DPluginViewMac.cpp523 event->keyCode(), event->charCode()); in handleKeyboardEvent()
548 int keyCode = platformEvent->nativeVirtualKeyCode(); in handleKeyboardEvent() local
571 record.message = ((keyCode & 0xFF) << 8) | (charCodes[0] & 0xFF); in handleKeyboardEvent()
577 keyCode, int(uchar(charCodes[0]))); in handleKeyboardEvent()
/external/webkit/WebKit/win/
DDOMEventsClasses.h260 virtual HRESULT STDMETHODCALLTYPE keyCode(
369 virtual HRESULT STDMETHODCALLTYPE keyCode( in keyCode() function
370 /* [retval][out] */ long* result) { return DOMUIEvent::keyCode(result); } in keyCode()
517 virtual HRESULT STDMETHODCALLTYPE keyCode( in keyCode() function
518 /* [retval][out] */ long* result) { return DOMUIEvent::keyCode(result); } in keyCode()
876 virtual HRESULT STDMETHODCALLTYPE keyCode( in keyCode() function
877 /* [retval][out] */ long* result) { return DOMUIEvent::keyCode(result); } in keyCode()
/external/webkit/WebCore/platform/chromium/
DPopupMenuChromium.cpp126 bool isInterestedInEventForKey(int keyCode);
468 bool PopupContainer::isInterestedInEventForKey(int keyCode) in isInterestedInEventForKey() argument
470 return m_listBox->isInterestedInEventForKey(keyCode); in isInterestedInEventForKey()
593 bool PopupListBox::isInterestedInEventForKey(int keyCode) in isInterestedInEventForKey() argument
595 switch (keyCode) { in isInterestedInEventForKey()
DPopupMenuChromium.h60 virtual bool isInterestedInEventForKey(int keyCode);
/external/webkit/WebCore/platform/
DPlatformKeyboardEvent.h143 PlatformKeyboardEvent(int keyCode, UChar32 unichar, Type,
/external/webkit/WebKit/win/Interfaces/
DDOMEvents.idl211 //readonly attribute long keyCode;
212 //HRESULT keyCode([out, retval] long* result);
387 //readonly attribute long keyCode;
388 HRESULT keyCode([out, retval] long* result);
/external/webkit/WebCore/platform/mac/
DKeyEventMac.mm40 switch ([event keyCode]) {
361 // Check that this is the type of event that has a keyCode.
371 switch ([event keyCode]) {
398 switch ([event keyCode]) {
770 switch ([event keyCode]) {
818 , m_nativeVirtualKeyCode([event keyCode])
/external/webkit/WebKitTools/DumpRenderTree/mac/
DEventSendingController.mm496 keyCode:0];
509 keyCode:0];
556 printf(" keyCode: %d\n", [(DOMKeyboardEvent*)event keyCode]);

123