Lines Matching refs:keyCode
33 int keyCode = event.getKeyCode();
40 if (keyCode >= KeyEvent.KEYCODE_A && keyCode <= KeyEvent.KEYCODE_Z) {
41 keyChar = keyCode - KeyEvent.KEYCODE_A + 'a';
45 } else if (keyCode >= KeyEvent.KEYCODE_0
46 && keyCode <= KeyEvent.KEYCODE_9)
47 keyChar = keyCode - KeyEvent.KEYCODE_0 + '0';
48 else if (keyCode == KeyEvent.KEYCODE_COMMA)
50 else if (keyCode == KeyEvent.KEYCODE_PERIOD)
52 else if (keyCode == KeyEvent.KEYCODE_APOSTROPHE)
54 else if (keyCode == KeyEvent.KEYCODE_AT)
56 else if (keyCode == KeyEvent.KEYCODE_SLASH) keyChar = '/';
59 mLastKeyCode = keyCode;
62 if (KeyEvent.KEYCODE_DEL == keyCode) {
66 } else if (KeyEvent.KEYCODE_ENTER == keyCode) {
68 } else if (KeyEvent.KEYCODE_SPACE == keyCode) {
92 mLastKeyCode = keyCode;