/external/webkit/Source/WebCore/inspector/front-end/ |
KeyboardShortcut.js | 90 * Creates a number encoding keyCode in the lower 8 bits and modifiers mask in the higher 8 bits. 92 * keyCode is the Code of the key, or a character "a-z" which is converted to a keyCode value. 95 WebInspector.KeyboardShortcut.makeKey = function(keyCode, optModifiers) 97 if (typeof keyCode === "string") 98 keyCode = keyCode.charCodeAt(0) - 32; 102 return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyCode, modifiers); 116 return WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers(keyboardEvent.keyCode, modifiers); 145 WebInspector.KeyboardShortcut._makeKeyFromCodeAndModifiers = function(keyCode, modifiers [all...] |
/development/cmds/monkey/ |
README.NETWORK.txt | 47 key [down|up] keycode 49 This command injects KeyEvent's into the input system. The keycode 50 parameter refers to the KEYCODE list in the KeyEvent class 53 an example, it can be 82 (the integer value of the keycode), 54 KEYCODE_MENU (the name of the keycode), or just menu (and the Monkey 55 will add the KEYCODE part). Do note that this last part doesn't work 90 press keycode 92 The press command is a shortcut for the key command. The keycode
|
/external/kernel-headers/original/linux/ |
keychord.h | 30 * all of the keys in the keycode list are in the pressed state. 32 * The keychord will not be signalled if keys not in the keycode
|
/external/qemu/ |
gen-charmap.py | 25 /* keycode base caps fn caps+fn number */ 87 keycode = m.group(1) 125 if specials.has_key(keycode): 126 keycode = specials[keycode] 127 keycode = "kKeyCode" + keycode 129 result.append( (keycode,base,caps,fn,caps_fn,number) )
|
/frameworks/base/include/media/ |
MediaMetadataRetrieverInterface.h | 41 virtual const char* extractMetadata(int keyCode) = 0; 53 virtual const char* extractMetadata(int keyCode) { return NULL; }
|
/external/webkit/Source/WebCore/platform/mac/ |
KeyEventMac.mm | 42 // Check that this is the type of event that has a keyCode. 55 switch ([event keyCode]) { 86 switch ([event keyCode]) { 130 switch ([event keyCode]) { 168 // so e.g. 'A' gets the same keyCode on QWERTY, AZERTY or Dvorak layouts. 179 // Ctrl+A on an AZERTY keyboard would get VK_Q keyCode if we relied on -[NSEvent keyCode] below. 187 // E.g. the key next to Caps Lock has the same Event.keyCode on U.S. keyboard ('A') and on Russian keyboard (CYRILLIC LETTER EF). 188 return windowsKeyCodeForKeyCode([event keyCode]); 198 , m_nativeVirtualKeyCode([event keyCode]) [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneFallbackEventHandler.java | 62 final int keyCode = event.getKeyCode(); 65 return onKeyDown(keyCode, event); 67 return onKeyUp(keyCode, event); 71 boolean onKeyDown(int keyCode, KeyEvent event) { 78 switch (keyCode) { 82 getAudioManager().handleKeyDown(keyCode, AudioManager.USE_DEFAULT_STREAM_TYPE); 183 boolean onKeyUp(int keyCode, KeyEvent event) { 185 Slog.d(TAG, "up " + keyCode); 192 switch (keyCode) { 200 getAudioManager().handleKeyUp(keyCode, [all...] |
/frameworks/base/core/java/android/text/method/ |
MetaKeyKeyListener.java | 266 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { 267 if (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) { 272 if (keyCode == KeyEvent.KEYCODE_ALT_LEFT || keyCode == KeyEvent.KEYCODE_ALT_RIGHT 273 || keyCode == KeyEvent.KEYCODE_NUM) { 278 if (keyCode == KeyEvent.KEYCODE_SYM) { 321 public boolean onKeyUp(View view, Editable content, int keyCode, KeyEvent event) { 322 if (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Sweep.java | 82 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 83 switch (keyCode) { 93 return super.onKeyDown(keyCode, event);
|
/external/chromium/chrome/browser/ui/cocoa/ |
chrome_event_processing_window_unittest.mm | 18 NSEvent* KeyEvent(const NSUInteger flags, const NSUInteger keyCode) { 28 keyCode:keyCode];
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
GridDelete.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { 56 if (keyCode == KeyEvent.KEYCODE_DEL) { 61 return super.onKeyDown(keyCode, event);
|
/frameworks/base/include/ui/ |
KeyLayoutMap.h | 66 status_t mapKey(int32_t scanCode, int32_t* keyCode, uint32_t* flags) const; 67 status_t findScanCodesForKey(int32_t keyCode, Vector<int32_t>* outScanCodes) const; 73 int32_t keyCode;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ConfirmRateLimitActivity.java | 104 public boolean onKeyDown(int keyCode, KeyEvent event) { 105 if ((keyCode == KeyEvent.KEYCODE_BACK) 109 return super.onKeyDown(keyCode, event);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
WebSearchSuggestionView.java | 77 public boolean onKey(View v, int keyCode, KeyEvent event) { 80 if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT && v != mIcon2) { 82 } else if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT && v == mIcon2) {
|
/external/qemu/android/ |
keycode.c | 12 #include "android/keycode.h"
|
/external/webkit/Source/WebCore/manual-tests/ |
focus-change-between-key-events.html | 10 var cc = evt.charCode ? evt.charCode : evt.keyCode;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 92 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { 93 if (keyCode == KeyEvent.KEYCODE_MENU || keyCode == KeyEvent.KEYCODE_BACK) { 124 return mMenu.performShortcut(keyCode, event, 0);
|
/packages/apps/Camera/src/com/android/camera/ |
ActivityBase.java | 90 public boolean onKeyDown(int keyCode, KeyEvent event) { 92 if (keyCode == KeyEvent.KEYCODE_SEARCH 93 || keyCode == KeyEvent.KEYCODE_MENU) { 97 return super.onKeyDown(keyCode, event);
|
/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialer.java | 153 public boolean backspace(View view, Editable content, int keyCode, 159 * Return true if the keyCode is an accepted modifier key for the 162 private boolean isAcceptableModifierKey(int keyCode) { 163 switch (keyCode) { 180 int keyCode, KeyEvent event) { 181 // if (DBG) log("DTMFKeyListener.onKeyDown, keyCode " + keyCode + ", view " + view); 187 if (event.getRepeatCount() == 0 && super.onKeyDown(view, content, keyCode, event)) { 210 int keyCode, KeyEvent event) { 211 // if (DBG) log("DTMFKeyListener.onKeyUp, keyCode " + keyCode + ", view " + view) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
AccessibleInputMethodServiceProxy.java | 141 * Provide haptic feedback and send the specified keyCode to the input 144 * @param keyCode 146 private void sendDownUpKeyEvents(int keyCode) { 149 mInputMethod.sendDownUpKeyEvents(keyCode);
|
/external/chromium/chrome/browser/resources/ |
keyboard_overlay.js | 131 var modifierWithKeyCode = keyCodeToModifier[e.keyCode]; 133 // if e.keyCode is one of Shift, Ctrl and Alt, isPressed should 236 * keycode: 'd', modifiers: ['CTRL', 'SHIFT'] => 'd<>CTRL<>SHIFT' 237 * keycode: 'alt', modifiers: ['ALT', 'SHIFT'] => 'ALT<>SHIFT' 239 function getAction(keycode, modifiers) { 241 if (keycode.toUpperCase() in MODIFIER_TO_CLASS) { 242 keycode = keycode.toUpperCase(); 243 if (keycode in modifiers) { 246 var action = [keycode].concat(modifiers [all...] |
/cts/tests/src/android/view/cts/ |
WindowStubActivity.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { 57 return super.onKeyDown(keyCode, event);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List12.java | 70 public boolean onKey(View v, int keyCode, KeyEvent event) { 72 switch (keyCode) {
|
/development/samples/BrowserPlugin/jni/form/ |
FormPlugin.h | 62 bool handleNavigation(ANPKeyCode keyCode); 63 void handleTextInput(TextInput* input, ANPKeyCode keyCode, int32_t unichar);
|
/cts/tests/src/android/app/cts/ |
InstrumentationTestActivity.java | 208 public boolean onKeyDown(int keyCode, KeyEvent event) { 210 mKeyDownCode = keyCode; 211 return super.onKeyDown(keyCode, event); 221 public boolean onKeyUp(int keyCode, KeyEvent event) { 223 mKeyUpCode = keyCode; 224 return super.onKeyUp(keyCode, event);
|