/frameworks/base/core/java/android/view/ |
KeyEvent.java | [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
InspectorView.js | 285 if (event.keyCode > 0x30 && event.keyCode < 0x3A) 286 panelIndex = event.keyCode - 0x31; 287 else if (event.keyCode > 0x60 && event.keyCode < 0x6A && keyboardEvent.location === KeyboardEvent.DOM_KEY_LOCATION_NUMPAD) 288 panelIndex = event.keyCode - 0x61;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebInputEventFactoryMac.mm | 69 static int windowsKeyCodeForKeyCode(uint16_t keyCode) 202 if (keyCode >= 0x80) 205 return windowsKeyCode[keyCode]; 278 switch ([event keyCode]) { 306 // Check that this is the type of event that has a keyCode. 316 switch ([event keyCode]) { 346 // so e.g. 'A' gets the same keyCode on QWERTY, AZERTY or Dvorak layouts. 357 // Ctrl+A on an AZERTY keyboard would get VK_Q keyCode if we relied on -[NSEvent keyCode] below. 365 // 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) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTextView.java | 278 public boolean onKeyDown(int keyCode, KeyEvent event) { 279 previousKeyCodes.add(keyCode); 282 return onKeyListener.onKey(realView, keyCode, event); 289 public boolean onKeyUp(int keyCode, KeyEvent event) { 290 previousKeyCodes.add(keyCode); 293 return onKeyListener.onKey(realView, keyCode, event);
|
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 341 public boolean onKeyDown(int keyCode, KeyEvent event) { 342 if (mAlert.onKeyDown(keyCode, event)) return true; 343 return super.onKeyDown(keyCode, event); 347 public boolean onKeyUp(int keyCode, KeyEvent event) { 348 if (mAlert.onKeyUp(keyCode, event)) return true; 349 return super.onKeyUp(keyCode, event); [all...] |
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiDevice.java | 312 public boolean pressKeyCode(int keyCode) { 313 Tracer.trace(keyCode); 315 return getAutomatorBridge().getInteractionController().sendKey(keyCode, 0); 322 * @param keyCode the key code of the event. 327 public boolean pressKeyCode(int keyCode, int metaState) { 328 Tracer.trace(keyCode, metaState); 330 return getAutomatorBridge().getInteractionController().sendKey(keyCode, metaState);
|
/packages/apps/MusicFX/src/com/android/musicfx/seekbar/ |
AbsSeekBar.java | 538 public boolean onKeyDown(int keyCode, KeyEvent event) { 541 if ((keyCode == KeyEvent.KEYCODE_DPAD_LEFT && !mIsVertical) 542 || (keyCode == KeyEvent.KEYCODE_DPAD_DOWN && mIsVertical)) { 548 } else if ((keyCode == KeyEvent.KEYCODE_DPAD_RIGHT && !mIsVertical) 549 || (keyCode == KeyEvent.KEYCODE_DPAD_UP && mIsVertical)) { 558 return super.onKeyDown(keyCode, event);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | [all...] |
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
WebViewContentsClientAdapter.java | 160 int keyCode = event.getKeyCode(); 161 if (keyCode == KeyEvent.KEYCODE_MENU || 162 keyCode == KeyEvent.KEYCODE_HOME || 163 keyCode == KeyEvent.KEYCODE_BACK || 164 keyCode == KeyEvent.KEYCODE_CALL || 165 keyCode == KeyEvent.KEYCODE_ENDCALL || 166 keyCode == KeyEvent.KEYCODE_POWER || 167 keyCode == KeyEvent.KEYCODE_HEADSETHOOK || 168 keyCode == KeyEvent.KEYCODE_CAMERA || 169 keyCode == KeyEvent.KEYCODE_FOCUS | [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
salsa.js | 80 if (e.keyCode == '37' || e.keyCode == '38') { 84 } else if (e.keyCode == '39' || e.keyCode == '40') {
|
/external/chromium_org/chrome/common/extensions/docs/static/js/ |
popup.js | 30 if (event.keyCode == 27)
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
experimental.offscreenTabs_custom_bindings.js | 26 maybeCopy(e, 'keyCode', result);
|
/external/chromium_org/chrome/test/remoting/ |
remote_desktop_browsertest.h | 93 void SimulateKeyPressWithCode(ui::KeyboardCode keyCode, const char* code); 95 void SimulateKeyPressWithCode(ui::KeyboardCode keyCode,
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
KeyboardEvent.cpp | 51 static inline int windowsVirtualKeyCodeWithoutLocation(int keycode) 53 switch (keycode) { 64 return keycode; 178 int KeyboardEvent::keyCode() const 216 // That's exactly what IE's "keyCode" returns. So they are the same for keyboard events. 217 return keyCode();
|
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/ |
KeyCodeConversionAndroid.cpp | 85 int windowsKeyCodeForKeyEvent(unsigned int keyCode) 88 switch (keyCode) {
|
/external/jmonkeyengine/engine/src/android/com/jme3/input/android/ |
AndroidInput.java | 295 public boolean onKeyDown(int keyCode, KeyEvent event) {
299 evt.setKeyCode(keyCode);
307 if ((keyCode == KeyEvent.KEYCODE_VOLUME_UP) || (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN)) {
315 public boolean onKeyUp(int keyCode, KeyEvent event) {
319 evt.setKeyCode(keyCode);
327 if ((keyCode == KeyEvent.KEYCODE_VOLUME_UP) || (keyCode == KeyEvent.KEYCODE_VOLUME_DOWN)) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/view/ |
TestMenu.java | 155 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { 160 public boolean isShortcutKey(int keyCode, KeyEvent event) {
|
TestWindow.java | 95 @Override public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { 172 @Override public boolean isShortcutKey(int keyCode, KeyEvent event) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
MenuLoaderTest.java | 171 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { 177 public boolean isShortcutKey(int keyCode, KeyEvent event) {
|
/frameworks/base/services/input/ |
InputListener.h | 61 int32_t keyCode; 69 int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode,
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
TestAppView.java | 80 public boolean onKeyDown(int keyCode, KeyEvent event) 84 return super.onKeyDown(keyCode, event);
|
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/ |
FmPresetList.java | 98 public boolean onKeyDown(int keyCode, KeyEvent event) { 100 switch (keyCode) {
|
FmRxFreqInput.java | 109 public boolean onKey(View v, int keyCode, KeyEvent event) { 111 switch (keyCode) {
|
/hardware/ti/wpan/tools/FM/FmTxApp/src/com/ti/fmtxapp/ |
FmTxConfig.java | 296 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { 299 if (keyCode == KeyEvent.KEYCODE_SOFT_RIGHT) { 305 if (keyCode == KeyEvent.KEYCODE_SOFT_LEFT) { 313 if (keyCode != KeyEvent.KEYCODE_DPAD_CENTER && 314 keyCode != KeyEvent.KEYCODE_DPAD_UP && 315 keyCode != KeyEvent.KEYCODE_DPAD_DOWN && 316 keyCode != KeyEvent.KEYCODE_ENTER) { 321 switch (keyCode) {
|
/packages/apps/Mms/src/com/android/mms/ui/ |
EditSlideDurationActivity.java | 117 public boolean onKey(View v, int keyCode, KeyEvent event) { 122 switch (keyCode) {
|