/packages/apps/Mms/src/com/android/mms/ui/ |
SlideshowActivity.java | 285 public boolean onKeyDown(int keyCode, KeyEvent event) { 286 switch (keyCode) { 308 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...] |
VerticalTextSpinner.java | 169 public boolean onKeyDown(int keyCode, KeyEvent event) { 175 if ((keyCode == KeyEvent.KEYCODE_DPAD_UP) && canScrollDown()) { 180 } else if ((keyCode == KeyEvent.KEYCODE_DPAD_DOWN) && canScrollUp()) { 186 return super.onKeyDown(keyCode, event);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DefaultSuggestionView.java | 285 public boolean onKey(View v, int keyCode, KeyEvent event) { 288 if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT && v != mIcon2) { 291 } else if (keyCode == KeyEvent.KEYCODE_DPAD_LEFT && v == mIcon2) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
AdvancedSettings.java | 159 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/ |
StkInputActivity.java | 174 public boolean onKeyDown(int keyCode, KeyEvent event) { 175 switch (keyCode) { 181 return super.onKeyDown(keyCode, event);
|
/cts/tests/src/android/app/cts/ |
DialogStubActivity.java | 367 public boolean onKeyDown(int keyCode, KeyEvent event) { 369 return super.onKeyDown(keyCode, event); 373 public boolean onKeyUp(int keyCode, KeyEvent event) { 375 return super.onKeyUp(keyCode, event);
|
/development/simulator/app/ |
DeviceManager.h | 110 void SendKeyEvent(int32_t keyCode, bool down);
|
/external/webkit/WebCore/platform/ |
PlatformKeyboardEvent.h | 148 PlatformKeyboardEvent(int keyCode, UChar32 unichar, int repeatCount,
|
/frameworks/base/libs/ui/ |
EventHub.cpp | 196 int32_t EventHub::getKeyCodeState(int32_t deviceId, int32_t keyCode) const { 201 return getKeyCodeStateLocked(device, keyCode); 206 int32_t EventHub::getKeyCodeStateLocked(device_t* device, int32_t keyCode) const { 208 device->layoutMap->findScancodes(keyCode, &scanCodes); 346 outEvent->keyCode = 0; 420 & outEvent->keyCode, & outEvent->flags); 421 LOGV("iev.code=%d keyCode=%d flags=0x%08x err=%d\n", 422 iev.code, outEvent->keyCode, outEvent->flags, err); 424 outEvent->keyCode = AKEYCODE_UNKNOWN; 428 outEvent->keyCode = iev.code [all...] |
InputTransport.cpp | 321 int32_t keyCode, 329 "action=0x%x, flags=0x%x, keyCode=%d, scanCode=%d, metaState=0x%x, repeatCount=%d," 332 deviceId, source, action, flags, keyCode, scanCode, metaState, repeatCount, 343 mSharedMessage->key.keyCode = keyCode; 663 mSharedMessage->key.keyCode,
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
Gallery.java | 301 public boolean onKeyDown(int keyCode, KeyEvent event) { 303 return mRenderView.onKeyDown(keyCode, event) || super.onKeyDown(keyCode, event); 305 return super.onKeyDown(keyCode, event);
|
/packages/apps/Settings/src/com/android/settings/ |
ChooseLockPattern.java | 373 public boolean onKeyDown(int keyCode, KeyEvent event) { 374 if (keyCode == KeyEvent.KEYCODE_BACK && event.getRepeatCount() == 0) { 380 if (keyCode == KeyEvent.KEYCODE_MENU && mUiStage == Stage.Introduction) { 385 return super.onKeyDown(keyCode, event);
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
OpenWnnJAJP.java | 697 int keyCode = 0; 699 keyCode = keyEvent.getKeyCode(); 706 if (keyCode == KeyEvent.KEYCODE_ENTER) { 728 && ((keyCode == KeyEvent.KEYCODE_SHIFT_LEFT) 729 || (keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) 730 || (keyCode == KeyEvent.KEYCODE_ALT_LEFT) 731 || (keyCode == KeyEvent.KEYCODE_ALT_RIGHT) 732 || (keyEvent.isAltPressed() && (keyCode == KeyEvent.KEYCODE_SPACE)))))) { 742 && ((keyCode == KeyEvent.KEYCODE_SHIFT_LEFT) 743 ||(keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
MonthView.java | [all...] |
/external/webkit/WebKit/win/Interfaces/ |
IWebUIDelegatePrivate.idl | 61 HRESULT webViewGetDlgCode([in] IWebView* sender, [in] UINT keyCode, [out, retval] LONG_PTR* code);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppIncomingFileConfirmActivity.java | 165 public boolean onKeyDown(int keyCode, KeyEvent event) { 166 if (keyCode == KeyEvent.KEYCODE_BACK) {
|
/packages/apps/Browser/src/com/android/browser/ |
FindDialog.java | 132 int keyCode = event.getKeyCode(); 134 if (keyCode == KeyEvent.KEYCODE_ENTER
|
/packages/apps/Gallery/src/com/android/camera/ |
GridViewSpecial.java | 579 public boolean onKeyDown(int keyCode, KeyEvent event) { 583 switch (keyCode) { 610 return super.onKeyDown(keyCode, event); 613 switch (keyCode) { 629 return super.onKeyDown(keyCode, event); 637 public boolean onKeyUp(int keyCode, KeyEvent event) { 640 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER) { 653 return super.onKeyUp(keyCode, event); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllApps2D.java | 162 public boolean onKey(View v, int keyCode, KeyEvent event) { 165 switch (keyCode) {
|
/external/webkit/WebKit/chromium/src/ |
EditorClientImpl.cpp | 535 int mapKey = modifiers << 16 | evt->keyCode(); 625 if (evt->keyCode() == VKEY_DOWN 626 || evt->keyCode() == VKEY_UP) { 807 m_backspaceOrDeletePressed = event->keyCode() == VKEY_BACK || event->keyCode() == VKEY_DELETE; [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | 130 * The keycode that is currently held down (as a modifier) for chording. If 555 final int keyCode = event.getKeyCode(); 559 mPanelChordingKey = keyCode; 571 } else if (mPanelMayLongPress && mPanelChordingKey == keyCode 682 public boolean performPanelShortcut(int featureId, int keyCode, KeyEvent event, int flags) { 683 return performPanelShortcut(getPanelState(featureId, true), keyCode, event, flags); 686 private boolean performPanelShortcut(PanelFeatureState st, int keyCode, KeyEvent event, 698 handled = st.menu.performShortcut(keyCode, event, flags); [all...] |
/frameworks/base/core/java/android/webkit/ |
WebView.java | [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
KeyEventTest.java | 735 public boolean onKeyDown(int keyCode, KeyEvent event) { 737 mKeyCode = keyCode; 742 public boolean onKeyLongPress(int keyCode, KeyEvent event) { 746 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { 748 mKeyCode = keyCode; 757 public boolean onKeyUp(int keyCode, KeyEvent event) { 759 mKeyCode = keyCode;
|
/external/webkit/WebKit/win/ |
DOMEventsClasses.h | 260 virtual HRESULT STDMETHODCALLTYPE keyCode( 369 virtual HRESULT STDMETHODCALLTYPE keyCode( 370 /* [retval][out] */ long* result) { return DOMUIEvent::keyCode(result); } 517 virtual HRESULT STDMETHODCALLTYPE keyCode( 518 /* [retval][out] */ long* result) { return DOMUIEvent::keyCode(result); } [all...] |