/frameworks/base/services/java/com/android/server/ |
InputManager.java | 66 int keyCode); 165 * @param keyCode The key code to check. 168 public int getKeyCodeState(int deviceId, int sourceMask, int keyCode) { 169 return nativeGetKeyCodeState(deviceId, sourceMask, keyCode); 382 public int interceptKeyBeforeQueueing(long whenNanos, int keyCode, boolean down, 385 whenNanos, keyCode, down, policyFlags, isScreenOn); 390 int flags, int keyCode, int metaState, int repeatCount, int policyFlags) { 392 action, flags, keyCode, metaState, repeatCount, policyFlags);
|
/frameworks/base/include/ui/ |
InputReader.h | 159 int32_t keyCode) = 0; 214 int32_t keyCode); 309 int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 361 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 402 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 413 int32_t keyCode; 431 void processKey(nsecs_t when, bool down, int32_t keyCode, int32_t scanCode, 504 virtual int32_t getKeyCodeState(uint32_t sourceMask, int32_t keyCode); 513 int32_t keyCode; 738 int32_t keyCode; [all...] |
InputTransport.h | 127 int32_t keyCode; 204 int32_t keyCode,
|
/frameworks/base/core/java/android/inputmethodservice/ |
InputMethodService.java | [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
SimUnlockScreen.java | 244 public boolean onKeyDown(int keyCode, KeyEvent event) { 245 if (keyCode == KeyEvent.KEYCODE_BACK) { 255 if (keyCode == KeyEvent.KEYCODE_DEL) { 257 mPinText.onKeyDown(keyCode, event); 263 if (keyCode == KeyEvent.KEYCODE_ENTER) {
|
PowerDialog.java | 150 public boolean onKey(View v, int keyCode, KeyEvent event) { 156 // Log.i(TAG, "keyCode: " + keyCode + " action: " + event.getAction()); 157 if (keyCode != KeyEvent.KEYCODE_DPAD_CENTER
|
/packages/apps/Phone/src/com/android/phone/ |
InCallMenuView.java | 416 int keyCode = event.getKeyCode(); 418 switch (keyCode) { 438 return mInCallScreen.onKeyDown(keyCode, event); 443 (keyCode == KeyEvent.KEYCODE_CALL || 450 return mInCallScreen.onKeyUp(keyCode, event);
|
/sdk/traceview/src/com/android/traceview/ |
ProfileView.java | 135 if (event.keyCode == SWT.ESC) { 137 } else if (event.keyCode == SWT.CR) { 151 if (event.keyCode == SWT.ESC) { 153 } else if (event.keyCode == SWT.BS) { 163 } else if (event.keyCode == SWT.CR) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SearchActivity.java | 618 protected boolean onSuggestionKeyDown(int position, int keyCode, KeyEvent event) { 620 if ( keyCode == KeyEvent.KEYCODE_ENTER 621 || keyCode == KeyEvent.KEYCODE_SEARCH 622 || keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { 759 private boolean forwardKeyToQueryTextView(int keyCode, KeyEvent event) { 760 if (!event.isSystem() && !isDpadKey(keyCode)) { 769 private boolean isDpadKey(int keyCode) { 770 switch (keyCode) { 808 public boolean onKey(View view, int keyCode, KeyEvent event) { 810 if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) [all...] |
/development/apps/Term/src/com/android/term/ |
Term.java | 381 public boolean onKeyDown(int keyCode, KeyEvent event) { 382 if (handleControlKey(keyCode, true)) { 384 } else if (isSystemKey(keyCode, event)) { 386 return super.onKeyDown(keyCode, event); 387 } else if (handleDPad(keyCode, true)) { 391 // Translate the keyCode into an ASCII character. 392 int letter = mKeyListener.keyDown(keyCode, event); 405 public boolean onKeyUp(int keyCode, KeyEvent event) { 406 if (handleControlKey(keyCode, false)) { 408 } else if (isSystemKey(keyCode, event)) [all...] |
/external/webkit/WebKit/chromium/src/mac/ |
WebInputEventFactory.mm | 57 switch ([event keyCode]) { 85 // Check that this is the type of event that has a keyCode. 98 switch ([event keyCode]) { 125 switch ([event keyCode]) { 522 switch ([event keyCode]) { 880 result.nativeKeyCode = [event keyCode]; [all...] |
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 255 public boolean onKeyDown(int keyCode, KeyEvent event) { 256 if (mAlert.onKeyDown(keyCode, event)) return true; 257 return super.onKeyDown(keyCode, event); 261 public boolean onKeyUp(int keyCode, KeyEvent event) { 262 if (mAlert.onKeyUp(keyCode, event)) return true; 263 return super.onKeyUp(keyCode, event); [all...] |
Dialog.java | 489 public boolean onKeyDown(int keyCode, KeyEvent event) { 490 if (keyCode == KeyEvent.KEYCODE_BACK) { 503 public boolean onKeyLongPress(int keyCode, KeyEvent event) { 516 public boolean onKeyUp(int keyCode, KeyEvent event) { 517 if (keyCode == KeyEvent.KEYCODE_BACK && event.isTracking() 530 public boolean onKeyMultiple(int keyCode, int repeatCount, KeyEvent event) { [all...] |
/frameworks/base/libs/ui/ |
InputReader.cpp | 74 int32_t updateMetaState(int32_t keyCode, bool down, int32_t oldMetaState) { 76 switch (keyCode) { 121 int32_t rotateKeyCode(int32_t keyCode, int32_t orientation) { 124 if (keyCode == keyCodeRotationMap[i][0]) { 129 return keyCode; 218 LOGD("Input event: device=0x%x type=0x%x scancode=%d keycode=%d value=%d", 219 rawEvent.deviceId, rawEvent.type, rawEvent.scanCode, rawEvent.keyCode, 500 int32_t keyCode) { 501 return getState(deviceId, sourceMask, keyCode, & InputDevice::getKeyCodeState); 704 int32_t InputDevice::getKeyCodeState(uint32_t sourceMask, int32_t keyCode) { [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
DefaultSoftKeyboardJAJP.java | [all...] |
/frameworks/base/core/java/android/view/ |
WindowManagerPolicy.java | 547 * @param keyCode The key code. 555 public int interceptKeyBeforeQueueing(long whenNanos, int keyCode, boolean down, int policyFlags, 573 * @param keyCode The key code. 581 int keyCode, int metaState, int repeatCount, int policyFlags);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
EditSlideDurationActivity.java | 122 public boolean onKey(View v, int keyCode, KeyEvent event) { 127 switch (keyCode) {
|
/packages/apps/Stk/src/com/android/stk/ |
StkDialogActivity.java | 116 public boolean onKeyDown(int keyCode, KeyEvent event) { 117 switch (keyCode) {
|
/cts/tests/tests/widget/src/android/widget/cts/ |
MultiAutoCompleteTextViewTest.java | 344 protected void performFiltering(CharSequence text, int keyCode) { 345 super.performFiltering(text, keyCode); 348 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { 349 super.performFiltering(text, start, end, keyCode);
|
/development/apps/FontLab/src/com/android/fontlab/ |
FontLab.java | 281 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 285 switch (keyCode) { 307 return super.onKeyDown(keyCode, event); 328 return super.onKeyDown(keyCode, event);
|
/development/apps/OBJViewer/com/android/objviewer/ |
OBJViewer.java | 105 public boolean onKeyDown(int keyCode, KeyEvent event) { 107 if (glView.processKey(keyCode)) { 111 switch (keyCode) { 138 return super.onKeyDown(keyCode, event);
|
/external/webkit/WebCore/dom/ |
KeyboardEvent.h | 84 int keyCode() const; // key code for keydown and keyup, character for keypress
|
/external/webkit/WebCore/inspector/front-end/ |
SidebarPane.js | 128 if (isEnterKey(event) || event.keyCode === WebInspector.KeyboardShortcut.KeyCodes.Space)
|
/frameworks/base/media/java/android/media/ |
MediaMetadataRetriever.java | 180 * meta data value associated with the keyCode. 182 * The keyCode currently supported is listed below as METADATA_XXX 185 * @param keyCode One of the constants listed below at the end of the class. 186 * @return The meta data value associate with the given keyCode on success; 189 public native String extractMetadata(int keyCode);
|
/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));
|