/packages/apps/Music/src/com/android/music/ |
MediaButtonIntentReceiver.java | 74 int keycode = event.getKeyCode(); local 83 switch (keycode) { 125 if (keycode == KeyEvent.KEYCODE_HEADSETHOOK &&
|
/packages/apps/Phone/src/com/android/phone/ |
IccPanel.java | 86 public boolean onKeyDown(int keyCode, KeyEvent event) { 87 if (keyCode == KeyEvent.KEYCODE_BACK) { 91 return super.onKeyDown(keyCode, event);
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11events.c | 58 SDLKey X11_TranslateKeycode(Display *display, KeyCode kc); 311 (peekevent.xkey.keycode == event->xkey.keycode) && 556 KeyCode keycode = xevent.xkey.keycode; local 559 printf("KeyPress (X11 keycode = 0x%X)\n", xevent.xkey.keycode); 564 keysym.scancode = keycode; 565 keysym.sym = X11_TranslateKeycode(SDL_Display, keycode); 749 KeyCode keycode = xevent.xkey.keycode; local [all...] |
/frameworks/base/core/java/android/text/method/ |
MultiTapKeyListener.java | 82 int keyCode, KeyEvent event) { 112 if (keyCode == KeyEvent.KEYCODE_STAR) { 133 if (sRecs.indexOfKey(keyCode) == rec) { 154 rec = sRecs.indexOfKey(keyCode); 161 rec = sRecs.indexOfKey(keyCode); 227 return super.onKeyDown(view, content, keyCode, event);
|
TextKeyListener.java | 129 int keyCode, KeyEvent event) { 132 return im.onKeyDown(view, content, keyCode, event); 137 int keyCode, KeyEvent event) { 140 return im.onKeyUp(view, content, keyCode, event); 214 int keyCode, KeyEvent event) { 218 public boolean onKeyUp(View view, Editable content, int keyCode,
|
MovementMethod.java | 37 public boolean onKeyDown(TextView widget, Spannable text, int keyCode, KeyEvent event); 38 public boolean onKeyUp(TextView widget, Spannable text, int keyCode, KeyEvent event);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewBase.java | 118 * @param keyCode The wake key, which may be relevant for configuring the 122 abstract public void wakeWhenReadyTq(int keyCode); 173 final int keyCode = event.getKeyCode(); 175 switch (keyCode) { 217 keyCode == KeyEvent.KEYCODE_VOLUME_UP 227 switch (keyCode) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
PagedViewWidget.java | 169 public boolean onKeyDown(int keyCode, KeyEvent event) { 170 return FocusHelper.handleAppsCustomizeKeyEvent(this, keyCode, event) 171 || super.onKeyDown(keyCode, event); 175 public boolean onKeyUp(int keyCode, KeyEvent event) { 176 return FocusHelper.handleAppsCustomizeKeyEvent(this, keyCode, event) 177 || super.onKeyUp(keyCode, event);
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyKeyEvent.java | 38 public MonkeyKeyEvent(int action, int keycode) { 41 mKeyCode = keycode;
|
/development/samples/GlobalTime/src/com/android/globaltime/ |
GLView.java | 71 * public boolean onKeyDown(int keyCode, KeyEvent event) { 73 * if (mGlView.processKey(keyCode)) { 77 * switch (keyCode) { 83 * super.onKeyDown(keyCode, event); 680 * @param keyCode the key code as passed to Activity.onKeyDown. 685 public boolean processKey(int keyCode) { 688 if ((keyCode == STATE_KEY) || 689 (keyCode == KeyEvent.KEYCODE_SLASH) || 690 (keyCode == KeyEvent.KEYCODE_PERIOD)) 715 if (keyCode == KeyEvent.KEYCODE_ENTER) [all...] |
/frameworks/base/core/java/android/widget/ |
ZoomButton.java | 76 public boolean onKeyUp(int keyCode, KeyEvent event) { 78 return super.onKeyUp(keyCode, event);
|
/frameworks/base/core/tests/coretests/src/android/util/ |
TouchModeFlexibleAsserts.java | 60 public static void assertNotInTouchModeAfterKey(InstrumentationTestCase test, int keyCode, View checkForTouchMode) { 61 test.sendKeys(keyCode);
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
SceneGraphView.java | 74 public boolean onKeyDown(int keyCode, KeyEvent event) 78 return super.onKeyDown(keyCode, event);
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
RSTestView.java | 76 public boolean onKeyDown(int keyCode, KeyEvent event) 78 return super.onKeyDown(keyCode, event);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
XTest.h | 75 unsigned int /* keycode */, 105 unsigned int /* keycode */,
|
/system/core/toolbox/ |
sendevent.c | 22 #define EVIOCGKEYCODE _IOR('E', 0x04, int[2]) /* get keycode */ 23 #define EVIOCSKEYCODE _IOW('E', 0x04, int[2]) /* set keycode */
|
/development/apps/NinePatchLab/src/com/android/ninepatch/ |
NinePatchLab.java | 169 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 170 switch (keyCode) { 198 return super.onKeyDown(keyCode, event); 200 return super.onKeyDown(keyCode, event);
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
app-linux.c | 222 unsigned int keycode, keysym; local 223 keycode = ((XKeyEvent *)&ev)->keycode; 224 keysym = XKeycodeToKeysym(sDisplay, keycode, 0);
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
SoftKeyboard.java | 311 private boolean translateKeyDown(int keyCode, KeyEvent event) { 313 keyCode, event); 348 @Override public boolean onKeyDown(int keyCode, KeyEvent event) { 349 switch (keyCode) { 381 if (keyCode == KeyEvent.KEYCODE_SPACE 401 if (mPredictionOn && translateKeyDown(keyCode, event)) { 407 return super.onKeyDown(keyCode, event); 415 @Override public boolean onKeyUp(int keyCode, KeyEvent event) { 422 keyCode, event); 426 return super.onKeyUp(keyCode, event) [all...] |
/development/tools/emulator/opengl/tests/event_injector/ |
emulator-console.h | 49 void emulatorConsole_sendKey( EmulatorConsole* con, int keycode, int down );
|
/external/qemu/android/ |
keycode-array.c | 15 #include "android/keycode-array.h"
|
keycode-array.h | 15 /* Contains declarations for routines that manage keycode sequence that needs
|
/external/qemu/hw/ |
devices.h | 27 void stellaris_gamepad_init(int n, qemu_irq *irq, const int *keycode);
|
/external/webkit/Source/WebCore/dom/ |
UIEvent.idl | 34 readonly attribute long keyCode;
|
/external/webkit/Source/WebCore/platform/chromium/ |
KeyCodeConversion.h | 36 int windowsKeyCodeForKeyEvent(unsigned keycode);
|