/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
InteractionController.java | 180 * @param keyCode 186 public boolean sendKeyAndWaitForEvent(final int keyCode, final int metaState, 193 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 197 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 543 public boolean sendKey(int keyCode, int metaState) { 545 Log.d(LOG_TAG, "sendKey (" + keyCode + ", " + metaState + ")"); 550 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, 554 keyCode, 0, metaState, KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0,
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
JetBoyView.java | 87 public KeyGameEvent(int keyCode, boolean up, KeyEvent msg) { 88 this.keyCode = keyCode; 93 public int keyCode; 749 // Log.d(TAG, "key code is " + event.keyCode + " " + (event.up ? 755 if (event.keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { 764 if (event.keyCode == KeyEvent.KEYCODE_DPAD_CENTER && (context == null)) { [all...] |
/external/webkit/Source/WebKit/chromium/src/mac/ |
WebInputEventFactory.mm | 58 switch ([event keyCode]) { 86 // Check that this is the type of event that has a keyCode. 99 switch ([event keyCode]) { 129 // so e.g. 'A' gets the same keyCode on QWERTY, AZERTY or Dvorak layouts. 140 // Ctrl+A on an AZERTY keyboard would get VK_Q keyCode if we relied on -[NSEvent keyCode] below. 148 // 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). 149 return WebCore::windowsKeyCodeForKeyCode([event keyCode]); 169 switch ([event keyCode]) { 552 result.nativeKeyCode = [event keyCode]; [all...] |
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginEventHandlerCarbon.mm | 216 void WebNetscapePluginEventHandlerCarbon::syntheticKeyDownWithCommandModifier(int keyCode, char character) 223 event.message = keyCode << 8 | character; 235 UInt16 keyCode = [event keyCode]; 236 return keyCode << 8 | characterCode; 340 LOG(PluginEvents, "NPP_HandleEvent(keyDown): %d charCode:%c keyCode:%lu",
|
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | 661 public boolean onKeyDown(int keyCode, KeyEvent event) { 662 if (shouldLogKey(keyCode)) { 671 return super.onKeyDown(keyCode, event); 675 public boolean onKeyUp(int keyCode, KeyEvent event) { 676 if (shouldLogKey(keyCode)) { 680 return super.onKeyUp(keyCode, event); 683 private static boolean shouldLogKey(int keyCode) { 684 switch (keyCode) { 692 return KeyEvent.isGamepadButton(keyCode) 693 || KeyEvent.isModifierKey(keyCode); [all...] |
/frameworks/base/media/java/android/media/ |
AudioManager.java | 447 int keyCode = event.getKeyCode(); 448 if (keyCode != KeyEvent.KEYCODE_VOLUME_DOWN && keyCode != KeyEvent.KEYCODE_VOLUME_UP 449 && keyCode != KeyEvent.KEYCODE_VOLUME_MUTE 469 int keyCode = event.getKeyCode(); 470 switch (keyCode) { 481 keyCode == KeyEvent.KEYCODE_VOLUME_UP 487 keyCode == KeyEvent.KEYCODE_VOLUME_UP 510 int keyCode = event.getKeyCode(); 511 switch (keyCode) { [all...] |
/frameworks/base/services/input/ |
InputReader.h | 323 int32_t keyCode) = 0; 356 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0; 397 int32_t keyCode); 425 InputDevice* device, int32_t keyCode, int32_t scanCode); 477 InputDevice* device, int32_t keyCode, int32_t scanCode); 534 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 933 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
DefaultSoftKeyboardJAJP.java | [all...] |
/frameworks/base/libs/androidfw/ |
Input.cpp | 49 bool KeyEvent::hasDefaultAction(int32_t keyCode) { 50 switch (keyCode) { 87 bool KeyEvent::isSystemKey(int32_t keyCode) { 88 switch (keyCode) { 130 int32_t keyCode, 139 mKeyCode = keyCode;
|
/external/webkit/Source/WebCore/dom/ |
SelectElement.cpp | 634 int keyCode = static_cast<KeyboardEvent*>(event)->keyCode(); 637 if (keyCode == ' ' && isSpatialNavigationEnabled(element->document()->frame())) { 645 if (keyCode == ' ' || keyCode == '\r') { 659 if (keyCode == ' ') { 671 } else if (keyCode == '\r') { 679 if (keyCode == '\r') { [all...] |
KeyboardEvent.h | 87 int keyCode() const; // key code for keydown and keyup, character for keypress
|
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 51 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, 53 switch (keyCode) { 65 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event);
|
/frameworks/base/libs/androidfw/tests/ |
InputPublisherAndConsumer_test.cpp | 77 const int32_t keyCode = AKEYCODE_ENTER; 85 keyCode, scanCode, metaState, repeatCount, downTime, eventTime); 106 EXPECT_EQ(keyCode, keyEvent->getKeyCode());
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsDialog.java | 126 public boolean onKeyDown(int keyCode, KeyEvent event) { 127 if (keyCode == KeyEvent.KEYCODE_TAB) { 161 return super.onKeyDown(keyCode, event);
|
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
ProfileActivity.java | 330 public boolean onKeyDown(int keyCode, KeyEvent event) { 331 if ((keyCode == KeyEvent.KEYCODE_BACK) && mWeb.canGoBack()) { 335 return super.onKeyDown(keyCode, event);
|
/packages/apps/Browser/src/com/android/browser/ |
UrlInputView.java | 322 public boolean onKeyDown(int keyCode, KeyEvent evt) { 323 if (keyCode == KeyEvent.KEYCODE_ESCAPE && !isInTouchMode()) { 327 return super.onKeyDown(keyCode, evt);
|
/packages/apps/Calculator/src/com/android/calculator2/ |
Calculator.java | 236 public boolean onKeyDown(int keyCode, KeyEvent keyEvent) { 237 if (keyCode == KeyEvent.KEYCODE_BACK && getAdvancedVisibility() 242 return super.onKeyDown(keyCode, keyEvent);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowActivity.java | 294 public boolean onKeyDown(int keyCode, KeyEvent event) { 295 switch (keyCode) { 318 return super.onKeyDown(keyCode, event);
|
/packages/apps/Music/src/com/android/music/ |
MediaPlaybackActivity.java | 699 private boolean seekMethod1(int keyCode) 704 if(keyboard[y][x] == keyCode) { 735 private boolean seekMethod2(int keyCode) 739 if(keyboard[0][i] == keyCode) { 753 public boolean onKeyUp(int keyCode, KeyEvent event) { 755 switch(keyCode) 798 return super.onKeyUp(keyCode, event); 811 public boolean onKeyDown(int keyCode, KeyEvent event) 816 if((seekmethod==0)?seekMethod1(keyCode):seekMethod2(keyCode)) [all...] |
/packages/apps/Stk/src/com/android/stk/ |
StkInputActivity.java | 173 public boolean onKeyDown(int keyCode, KeyEvent event) { 174 switch (keyCode) { 180 return super.onKeyDown(keyCode, event);
|
/cts/tests/src/android/app/cts/ |
DialogStubActivity.java | 345 public boolean onKeyDown(int keyCode, KeyEvent event) { 347 return super.onKeyDown(keyCode, event); 351 public boolean onKeyUp(int keyCode, KeyEvent event) { 353 return super.onKeyUp(keyCode, event);
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/ |
CCombo3.java | 194 if (event.keyCode == SWT.ARROW_UP) { 201 } else if (event.keyCode == SWT.ARROW_DOWN) { 279 e.keyCode = event.keyCode;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/string/ |
StringPropertyDialog.java | 102 if (e.stateMask == SWT.CTRL && e.keyCode == SWT.CR) {
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/ |
TextDialog.java | 95 if (e.stateMask == SWT.CTRL && e.keyCode == SWT.CR) {
|
/frameworks/base/core/java/android/webkit/ |
AccessibilityInjectorFallback.java | 512 private boolean isEnterActionKey(int keyCode) { 513 return keyCode == KeyEvent.KEYCODE_DPAD_CENTER 514 || keyCode == KeyEvent.KEYCODE_ENTER 515 || keyCode == KeyEvent.KEYCODE_NUMPAD_ENTER; 616 builder.append(", keyCode: ");
|