/external/replicaisland/src/com/replica/replicaisland/ |
LevelSelectActivity.java | 324 public boolean onKeyDown(int keyCode, KeyEvent event) { 326 if (keyCode == KeyEvent.KEYCODE_BACK) { 333 public boolean onKeyUp(int keyCode, KeyEvent event) { 335 if (keyCode == KeyEvent.KEYCODE_BACK) {
|
DifficultyMenuActivity.java | 111 public boolean onKeyDown(int keyCode, KeyEvent event) { 113 if (keyCode == KeyEvent.KEYCODE_BACK) { 126 result = super.onKeyDown(keyCode, event);
|
ExtrasMenuActivity.java | 132 public boolean onKeyDown(int keyCode, KeyEvent event) { 134 if (keyCode == KeyEvent.KEYCODE_BACK) { 147 result = super.onKeyDown(keyCode, event);
|
/external/webkit/Source/WebCore/inspector/front-end/ |
SidebarPane.js | 128 if (isEnterKey(event) || event.keyCode === WebInspector.KeyboardShortcut.Keys.Space.code)
|
/external/webkit/Source/WebCore/platform/chromium/ |
PopupMenuChromium.h | 115 virtual bool isInterestedInEventForKey(int keyCode);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebScrollbarImpl.cpp | 222 int keyCode; 226 keyCode = ((keyboard.modifiers & WebInputEvent::ShiftKey) ? VKEY_PRIOR : VKEY_NEXT); 245 keyCode = keyboard.windowsKeyCode; 249 if (WebViewImpl::mapKeyCodeForScroll(keyCode, &scrollDirection, &scrollGranularity)) {
|
/frameworks/base/core/java/android/view/ |
KeyEvent.java | [all...] |
/packages/apps/Settings/src/com/android/settings/quicklaunch/ |
QuickLaunchSettings.java | 269 for (int keyCode = KeyEvent.getMaxKeyCode() - 1; keyCode >= 0; keyCode--) { 271 char shortcut = (char) Character.toLowerCase(keyMap.getDisplayLabel(keyCode));
|
/cts/tests/tests/text/src/android/text/method/cts/ |
MultiTapKeyListenerTest.java | 203 private void callOnKeyDown(final MultiTapKeyListener keyListener, final int keyCode, 208 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, 209 new KeyEvent(KeyEvent.ACTION_DOWN, keyCode));
|
NumberKeyListenerTest.java | 111 * If one of the chars in the getAcceptedChars() can be generated by the keyCode of this 172 int keyCode = TextMethodUtils.getUnacceptedKeyCode(MockNumberKeyListener.DIGITS); 173 if (-1 != keyCode) { 174 sendKeys(keyCode);
|
QwertyKeyListenerTest.java | 169 private void callOnKeyDown(final QwertyKeyListener keyListener, final int keyCode) { 172 keyListener.onKeyDown(mTextView, mTextView.getEditableText(), keyCode, 173 new KeyEvent(KeyEvent.ACTION_DOWN, keyCode));
|
/external/webkit/Source/WebCore/platform/gtk/ |
PlatformKeyboardEventGtk.cpp | 46 String PlatformKeyboardEvent::keyIdentifierForGdkKeyCode(unsigned keyCode) 48 switch (keyCode) { 148 return String::format("U+%04X", gdk_keyval_to_unicode(gdk_keyval_to_upper(keyCode))); 152 int PlatformKeyboardEvent::windowsKeyCodeForGdkKeyCode(unsigned keycode) 154 switch (keycode) { 511 return VK_F1 + (keycode - GDK_F1);
|
/frameworks/base/core/java/android/text/method/ |
LinkMovementMethod.java | 39 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, 41 switch (keyCode) { 52 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event);
|
/frameworks/base/core/java/android/webkit/ |
AutoCompletePopup.java | 70 public boolean onKeyPreIme(int keyCode, KeyEvent event) { 74 if (keyCode == KeyEvent.KEYCODE_BACK && mPopup.isShowing()) { 95 return mPopup.onKeyPreIme(keyCode, event);
|
WebViewProvider.java | 309 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event); 311 public boolean onKeyDown(int keyCode, KeyEvent event); 313 public boolean onKeyUp(int keyCode, KeyEvent event);
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
BassBoostTest.java | 111 public boolean onKey(View v, int keyCode, KeyEvent event) { 112 Log.d(TAG, "onKey() keyCode: "+keyCode+" event.getAction(): "+event.getAction()); 114 switch (keyCode) {
|
/packages/apps/Phone/src/com/android/phone/ |
IccNetworkDepersonalizationPanel.java | 160 public boolean onKeyDown(int keyCode, KeyEvent event) { 161 if (keyCode == KeyEvent.KEYCODE_BACK) { 165 return super.onKeyDown(keyCode, event);
|
/packages/apps/Stk/src/com/android/stk/ |
StkMenuActivity.java | 122 public boolean onKeyDown(int keyCode, KeyEvent event) { 128 switch (keyCode) { 141 return super.onKeyDown(keyCode, event);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
UserDictionaryToolsEdit.java | 167 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 168 if (keyCode == KeyEvent.KEYCODE_BACK) { 173 return super.onKeyDown(keyCode, event);
|
OpenWnnJAJP.java | 154 /** H/W 12Keyboard keycode replace table */ 808 int keyCode = 0; 810 keyCode = keyEvent.getKeyCode(); 817 if (keyCode == KeyEvent.KEYCODE_ENTER) { 838 if (keyEvent != null && keyEvent.isPrintingKey() && isTenKeyCode(keyCode) && !keyEvent.isNumLockOn()) { 841 switch (keyCode) { [all...] |
/frameworks/base/core/java/android/widget/ |
ZoomButtonsController.java | 476 int keyCode = event.getKeyCode(); 477 if (isInterestingKey(keyCode)) { 479 if (keyCode == KeyEvent.KEYCODE_BACK) { 514 private boolean isInterestingKey(int keyCode) { 515 switch (keyCode) {
|
/packages/apps/Settings/src/com/android/settings/ |
ChooseLockPattern.java | 80 public boolean onKeyDown(int keyCode, KeyEvent event) { 82 // chooseLockPatternFragment.onKeyDown(keyCode, event); 83 return super.onKeyDown(keyCode, event); 401 public boolean onKeyDown(int keyCode, KeyEvent event) { 402 if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) { 408 if (keyCode == KeyEvent.KEYCODE_MENU && mUiStage == Stage.Introduction) {
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuBuilder.java | 659 public boolean isShortcutKey(int keyCode, KeyEvent event) { 660 return findItemWithShortcutForKey(keyCode, event) != null; 758 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { 759 final MenuItemImpl item = findItemWithShortcutForKey(keyCode, event); 778 * with the keyCode. 780 void findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) { 784 // Get the chars associated with the keyCode (i.e using any chording combo) 787 if (!isKeyCodeMapped && (keyCode != KeyEvent.KEYCODE_DEL)) { 796 ((MenuBuilder)item.getSubMenu()).findItemsWithShortcutForKey(items, keyCode, event); 804 keyCode == KeyEvent.KEYCODE_DEL)) & [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuBuilder.java | 701 public boolean isShortcutKey(int keyCode, KeyEvent event) { 702 return findItemWithShortcutForKey(keyCode, event) != null; 801 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { 802 final MenuItemImpl item = findItemWithShortcutForKey(keyCode, event); 821 * with the keyCode. 824 void findItemsWithShortcutForKey(List<MenuItemImpl> items, int keyCode, KeyEvent event) { 828 // Get the chars associated with the keyCode (i.e using any chording combo) 831 if (!isKeyCodeMapped && (keyCode != KeyEvent.KEYCODE_DEL)) { 841 .findItemsWithShortcutForKey(items, keyCode, event); 850 keyCode == KeyEvent.KEYCODE_DEL)) & [all...] |
/frameworks/base/core/java/android/app/ |
Dialog.java | 539 public boolean onKeyDown(int keyCode, KeyEvent event) { 540 if (keyCode == KeyEvent.KEYCODE_BACK) { 553 public boolean onKeyLongPress(int keyCode, KeyEvent event) { 566 public boolean onKeyUp(int keyCode, KeyEvent event) { 567 if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() 580 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { 601 * @param keyCode The value in event.getKeyCode(). 605 public boolean onKeyShortcut(int keyCode, KeyEvent event) { [all...] |